{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "NINA SEAPOP \u2014 Catalog Record",
  "description": "OGC API Records / STAC Collection metadata record for the NINA SEAPOP seabird monitoring dataset. Encodes discovery metadata with links to both the raw OBIS source endpoint and the OIM-aligned Features endpoint.\n",
  "type": "object",
  "required": [
    "type",
    "id",
    "title",
    "description",
    "links",
    "extent",
    "license"
  ],
  "properties": {
    "type": {
      "type": "string",
      "enum": [
        "Collection"
      ],
      "x-jsonld-id": "http://purl.org/dc/terms/type"
    },
    "id": {
      "type": "string",
      "description": "Identifier for this catalog record.",
      "examples": [
        "nina-seapop"
      ],
      "x-jsonld-id": "http://purl.org/dc/terms/identifier"
    },
    "title": {
      "type": "string",
      "examples": [
        "NINA SEAPOP Seabird Colony Observations"
      ],
      "x-jsonld-id": "http://purl.org/dc/terms/title"
    },
    "description": {
      "type": "string",
      "x-jsonld-id": "http://purl.org/dc/terms/description"
    },
    "license": {
      "type": "string",
      "description": "SPDX expression or URI.",
      "examples": [
        "CC-BY-4.0"
      ],
      "x-jsonld-id": "http://purl.org/dc/terms/license",
      "x-jsonld-type": "@id"
    },
    "extent": {
      "type": "object",
      "required": [
        "spatial",
        "temporal"
      ],
      "properties": {
        "spatial": {
          "type": "object",
          "required": [
            "bbox"
          ],
          "properties": {
            "bbox": {
              "type": "array",
              "items": {
                "type": "array",
                "minItems": 4,
                "maxItems": 6,
                "items": {
                  "type": "number"
                }
              },
              "description": "One or more bounding boxes [west, south, east, north]. Full dataset covers Norway and Svalbard.\n"
            }
          }
        },
        "temporal": {
          "type": "object",
          "required": [
            "interval"
          ],
          "properties": {
            "interval": {
              "type": "array",
              "items": {
                "type": "array",
                "minItems": 2,
                "maxItems": 2,
                "items": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "description": "Start/end instants as ISO 8601 strings; null means open.\n"
            }
          }
        }
      },
      "x-jsonld-id": "http://purl.org/dc/terms/spatial"
    },
    "providers": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "name",
          "roles"
        ],
        "properties": {
          "name": {
            "type": "string"
          },
          "roles": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "url": {
            "type": "string",
            "format": "uri"
          }
        }
      },
      "x-jsonld-id": "http://purl.org/dc/terms/publisher"
    },
    "keywords": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "x-jsonld-id": "http://www.w3.org/ns/dcat#keyword"
    },
    "links": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "href",
          "rel"
        ],
        "properties": {
          "href": {
            "type": "string",
            "format": "uri"
          },
          "rel": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "x-jsonld-id": "http://purl.org/dc/terms/type"
          },
          "title": {
            "type": "string",
            "x-jsonld-id": "http://purl.org/dc/terms/title"
          }
        }
      },
      "x-jsonld-id": "http://www.w3.org/ns/dcat#distribution"
    },
    "assets": {
      "type": "object",
      "additionalProperties": {
        "type": "object",
        "required": [
          "href"
        ],
        "properties": {
          "href": {
            "type": "string",
            "format": "uri"
          },
          "title": {
            "type": "string",
            "x-jsonld-id": "http://purl.org/dc/terms/title"
          },
          "type": {
            "type": "string",
            "x-jsonld-id": "http://purl.org/dc/terms/type"
          },
          "roles": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "x-jsonld-id": "http://www.w3.org/ns/dcat#distribution"
    },
    "sci:doi": {
      "type": "string",
      "description": "STAC scientific extension: DOI for this dataset.",
      "examples": [
        "10.15468/gk9xqd"
      ],
      "x-jsonld-id": "http://purl.org/dc/terms/identifier"
    },
    "sci:citation": {
      "type": "string",
      "description": "STAC scientific extension: full citation string.",
      "x-jsonld-id": "http://purl.org/dc/terms/bibliographicCitation"
    },
    "prov:wasGeneratedBy": {
      "type": "object",
      "description": "STAC prov extension: activity that produced this dataset.",
      "properties": {
        "type": {
          "type": "string",
          "x-jsonld-id": "http://purl.org/dc/terms/type"
        },
        "startedAtTime": {
          "type": "string"
        },
        "endedAtTime": {
          "type": "string"
        },
        "wasAssociatedWith": {
          "type": "object"
        }
      },
      "x-jsonld-id": "http://www.w3.org/ns/prov#wasGeneratedBy",
      "x-jsonld-type": "@id"
    }
  },
  "additionalProperties": true,
  "x-jsonld-prefixes": {
    "dct": "http://purl.org/dc/terms/",
    "dcat": "http://www.w3.org/ns/dcat#",
    "prov": "http://www.w3.org/ns/prov#",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "sci": "https://stac-extensions.github.io/scientific/v1.0.0/schema.json#"
  }
}