{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/ecmwf/main/json-schema/ecmwf-landing-page-schema.json",
  "title": "LandingPage",
  "description": "https://github.com/radiantearth/stac-api-spec/tree/v1.0.0/core\nhttps://github.com/radiantearth/stac-api-spec/tree/v1.0.0/ogcapi-features#landing-page-\nhttps://github.com/radiantearth/stac-api-spec/tree/v1.0.0/item-search#link-relations",
  "x-generated": "2026-10-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ecmwf-data-stores-catalogue-openapi.yml#/components/schemas/LandingPage",
  "properties": {
    "id": {
      "type": "string",
      "minLength": 1,
      "title": "Id"
    },
    "description": {
      "type": "string",
      "minLength": 1,
      "title": "Description"
    },
    "stac_version": {
      "type": "string",
      "pattern": "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$",
      "title": "Stac Version",
      "default": "1.0.0"
    },
    "links": {
      "$ref": "#/$defs/stac_pydantic__api__links__Links"
    },
    "stac_extensions": {
      "anyOf": [
        {
          "items": {
            "type": "string",
            "minLength": 1,
            "format": "uri"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Stac Extensions",
      "default": []
    },
    "title": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Title"
    },
    "type": {
      "type": "string",
      "const": "Catalog",
      "title": "Type"
    },
    "conformsTo": {
      "items": {
        "type": "string",
        "minLength": 1,
        "format": "uri"
      },
      "type": "array",
      "title": "Conformsto",
      "default": [
        "https://api.stacspec.org/v1.0.0/core",
        "http://www.opengis.net/spec/ogcapi-features-1/1.0/conf/core"
      ]
    }
  },
  "additionalProperties": true,
  "type": "object",
  "required": [
    "id",
    "description",
    "links",
    "type"
  ],
  "$defs": {
    "ItemsLink": {
      "properties": {
        "href": {
          "type": "string",
          "pattern": ".*\\/items(\\?.*)?\\b",
          "title": "Href"
        },
        "rel": {
          "type": "string",
          "enum": [
            "self",
            "items"
          ],
          "title": "Rel"
        },
        "type": {
          "type": "string",
          "const": "application/geo+json",
          "title": "Type",
          "default": "application/geo+json"
        },
        "title": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Title"
        },
        "method": {
          "type": "string",
          "enum": [
            "GET",
            "POST"
          ],
          "title": "Method",
          "default": "GET"
        },
        "headers": {
          "anyOf": [
            {
              "additionalProperties": true,
              "type": "object"
            },
            {
              "type": "null"
            }
          ],
          "title": "Headers"
        },
        "body": {
          "anyOf": [
            {
              "additionalProperties": true,
              "type": "object"
            },
            {
              "type": "null"
            }
          ],
          "title": "Body"
        },
        "merge": {
          "type": "boolean",
          "title": "Merge",
          "default": false
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "href",
        "rel"
      ],
      "title": "ItemsLink"
    },
    "MimeTypes": {
      "type": "string",
      "enum": [
        "image/tiff; application=geotiff",
        "image/tiff; application=geotiff; profile=cloud-optimized",
        "image/jp2",
        "image/png",
        "image/jpeg",
        "application/geo+json",
        "application/geo+json-seq",
        "application/geopackage+sqlite3",
        "application/vnd.google-earth.kml+xml",
        "application/vnd.google-earth.kmz",
        "application/x-protobuf",
        "application/vnd.mapbox-vector-tile",
        "application/x-hdf",
        "application/x-hdf5",
        "application/xml",
        "application/json",
        "application/ndjson",
        "text/html",
        "text/plain",
        "application/vnd.oai.openapi+json;version=3.0",
        "application/vnd.oai.openapi;version=3.0",
        "application/schema+json",
        "application/pdf",
        "text/csv",
        "application/vnd.apache.parquet",
        "application/octet-stream"
      ],
      "title": "MimeTypes",
      "description": "https://github.com/radiantearth/stac-spec/blob/v1.0.0/item-spec/item-spec.md#media-types"
    },
    "PaginationLink": {
      "properties": {
        "href": {
          "type": "string",
          "minLength": 1,
          "title": "Href"
        },
        "rel": {
          "type": "string",
          "enum": [
            "next",
            "prev"
          ],
          "title": "Rel"
        },
        "type": {
          "anyOf": [
            {
              "$ref": "#/$defs/MimeTypes"
            },
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Type"
        },
        "title": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Title"
        },
        "method": {
          "type": "string",
          "enum": [
            "GET",
            "POST"
          ],
          "title": "Method",
          "default": "GET"
        },
        "headers": {
          "anyOf": [
            {
              "additionalProperties": true,
              "type": "object"
            },
            {
              "type": "null"
            }
          ],
          "title": "Headers"
        },
        "body": {
          "anyOf": [
            {
              "additionalProperties": true,
              "type": "object"
            },
            {
              "type": "null"
            }
          ],
          "title": "Body"
        },
        "merge": {
          "type": "boolean",
          "title": "Merge",
          "default": false
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "href",
        "rel"
      ],
      "title": "PaginationLink",
      "description": "https://github.com/radiantearth/stac-api-spec/blob/v1.0.0/item-search/README.md#pagination"
    },
    "SearchLink": {
      "properties": {
        "href": {
          "type": "string",
          "pattern": ".*\\/search(\\?.*)?\\b",
          "title": "Href"
        },
        "rel": {
          "type": "string",
          "enum": [
            "self",
            "search",
            "next",
            "prev"
          ],
          "title": "Rel"
        },
        "type": {
          "type": "string",
          "const": "application/geo+json",
          "title": "Type",
          "default": "application/geo+json"
        },
        "title": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Title"
        },
        "method": {
          "type": "string",
          "enum": [
            "GET",
            "POST"
          ],
          "title": "Method",
          "default": "GET"
        },
        "headers": {
          "anyOf": [
            {
              "additionalProperties": true,
              "type": "object"
            },
            {
              "type": "null"
            }
          ],
          "title": "Headers"
        },
        "body": {
          "anyOf": [
            {
              "additionalProperties": true,
              "type": "object"
            },
            {
              "type": "null"
            }
          ],
          "title": "Body"
        },
        "merge": {
          "type": "boolean",
          "title": "Merge",
          "default": false
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "href",
        "rel"
      ],
      "title": "SearchLink",
      "description": "https://github.com/radiantearth/stac-api-spec/tree/v1.0.0/item-search#link-relations"
    },
    "stac_pydantic__api__links__Links": {
      "items": {
        "anyOf": [
          {
            "$ref": "#/$defs/SearchLink"
          },
          {
            "$ref": "#/$defs/PaginationLink"
          },
          {
            "$ref": "#/$defs/ItemsLink"
          },
          {
            "$ref": "#/$defs/stac_pydantic__links__Link"
          }
        ]
      },
      "type": "array",
      "title": "Links"
    },
    "stac_pydantic__links__Link": {
      "properties": {
        "href": {
          "type": "string",
          "minLength": 1,
          "title": "Href"
        },
        "rel": {
          "type": "string",
          "minLength": 1,
          "title": "Rel"
        },
        "type": {
          "anyOf": [
            {
              "$ref": "#/$defs/MimeTypes"
            },
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Type"
        },
        "title": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Title"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "href",
        "rel"
      ],
      "title": "Link",
      "description": "https://github.com/radiantearth/stac-spec/blob/v1.0.0/collection-spec/collection-spec.md#link-object"
    }
  }
}