{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/openeo/json-schema/openeo-link-schema.json",
  "title": "Link",
  "description": "A link to another resource on the web. Bases on [RFC 5899](https://www.rfc-editor.org/rfc/rfc5988.html).",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/openeo-account-management-api-openapi.yml#/components/schemas/link",
  "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."
    }
  }
}