{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/catchintent-com/json-schema/catchintent-com-api-catalog-schema.json",
  "title": "ApiCatalog",
  "x-generated": "2026-11-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/catchintent-com-openapi.yml#/components/schemas/ApiCatalog",
  "type": "object",
  "required": [
    "linkset"
  ],
  "properties": {
    "linkset": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "anchor"
        ],
        "properties": {
          "anchor": {
            "type": "string",
            "format": "uri"
          },
          "service-desc": {
            "$ref": "#/$defs/LinksetRelation"
          },
          "service-doc": {
            "$ref": "#/$defs/LinksetRelation"
          },
          "service-meta": {
            "$ref": "#/$defs/LinksetRelation"
          },
          "status": {
            "$ref": "#/$defs/LinksetRelation"
          }
        },
        "additionalProperties": true
      }
    }
  },
  "additionalProperties": true,
  "$defs": {
    "LinksetRelation": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "href"
        ],
        "properties": {
          "href": {
            "type": "string",
            "format": "uri"
          },
          "type": {
            "type": "string"
          },
          "title": {
            "type": "string"
          }
        },
        "additionalProperties": true
      }
    }
  }
}