{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://stac-utils.github.io/stac-geoparquet/json-schema/metadata.json",
  "title": "STAC GeoParquet Metadata",
  "description": "JSON Schema for STAC GeoParquet metadata stored in Parquet file metadata",
  "type": "object",
  "properties": {
    "version": {
      "type": "string",
      "const": "1.0.0",
      "description": "The stac-geoparquet metadata version."
    },
    "collections": {
      "type": "object",
      "description": "A mapping from Collection ID to Collection object. As usual, the Collection ID used as the key of the mapping must match the ID in the Collection object.",
      "additionalProperties": {
        "type": "object",
        "description": "This object represents a Collection in a SpatioTemporal Asset Catalog. Note that this object is not validated against the STAC Collection schema. You'll need to validate it separately from stac-geoparquet."
      }
    },
    "collection": {
      "type": "object",
      "description": "This object represents a Collection in a SpatioTemporal Asset Catalog. Note that this object is not validated against the STAC Collection schema. You'll need to validate it separately from stac-geoparquet.",
      "deprecated": true
    }
  },
  "required": [
    "version"
  ]
}
