{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/hedgr-app/json-schema/hedgr-app-api-catalog-schema.json",
  "title": "ApiCatalog",
  "description": "RFC 9727 API catalog in RFC 9264 linkset format.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/hedgr-app-openapi.json#/components/schemas/ApiCatalog",
  "type": "object",
  "required": [
    "linkset"
  ],
  "properties": {
    "linkset": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "anchor": {
            "type": "string",
            "format": "uri"
          },
          "item": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "href": {
                  "type": "string",
                  "format": "uri"
                },
                "title": {
                  "type": "string"
                }
              }
            }
          },
          "service-desc": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          },
          "service-doc": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          },
          "status": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          }
        }
      }
    }
  }
}