{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/openeo/json-schema/openeo-links-pagination-schema.json",
  "title": "links_pagination",
  "description": "Links related to this list of resources, for example links for pagination\nor alternative formats such as a human-readable HTML version.\nThe links array MUST NOT be paginated.\n\nIf pagination is implemented, the following `rel` (relation) types apply:\n\n1. `next` (REQUIRED): A link to the next page, except on the last page.\n\n2. `prev` (OPTIONAL): A link to the previous page, except on the first page.\n\n3. `first` (OPTIONAL): A link to the first page, except on the first page.\n\n4. `last` (OPTIONAL): A link to the last page, except on the last page.\n\nFor additional relation types see also the lists of\n[common relation types in openEO](#section/API-Principles/Web-Linking).",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/openeo-file-storage-api-openapi.yml#/components/schemas/links_pagination",
  "type": "array",
  "items": {
    "$ref": "#/$defs/link"
  },
  "$defs": {
    "link": {
      "title": "Link",
      "description": "A link to another resource on the web. Bases on [RFC 5899](https://www.rfc-editor.org/rfc/rfc5988.html).",
      "type": "object",
      "required": [
        "href",
        "rel"
      ],
      "properties": {
        "rel": {
          "type": "string",
          "description": "Relationship between the current document and the linked document. SHOULD be a [registered link relation type](https://www.iana.org/assignments/link-relations/link-relations.xml) whenever feasible."
        },
        "href": {
          "type": "string",
          "description": "The value MUST be a valid URL.",
          "format": "uri"
        },
        "type": {
          "type": "string",
          "description": "The value MUST be a string that hints at the format used to represent data at the provided URI, preferably a media (MIME) type."
        },
        "title": {
          "type": "string",
          "description": "Used as a human-readable label for a link."
        }
      }
    }
  }
}