{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/oqda-de/json-schema/oqda-de-api-index-schema.json",
  "title": "ApiIndex",
  "x-generated": "2026-11-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/oqda-de-openapi.json#/components/schemas/ApiIndex",
  "type": "object",
  "required": [
    "name",
    "version",
    "status",
    "documentation",
    "openapi",
    "endpoints"
  ],
  "properties": {
    "name": {
      "type": "string"
    },
    "version": {
      "type": "string",
      "const": "v1"
    },
    "status": {
      "type": "string",
      "enum": [
        "stable",
        "deprecated"
      ]
    },
    "documentation": {
      "type": "string",
      "format": "uri"
    },
    "openapi": {
      "type": "string",
      "format": "uri"
    },
    "mcp": {
      "type": "string",
      "format": "uri"
    },
    "deprecationPolicy": {
      "type": "string",
      "format": "uri"
    },
    "errors": {
      "type": "string",
      "format": "uri"
    },
    "rateLimits": {
      "type": "string",
      "format": "uri"
    },
    "endpoints": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "method",
          "path",
          "operationId",
          "url"
        ],
        "properties": {
          "method": {
            "type": "string"
          },
          "path": {
            "type": "string"
          },
          "operationId": {
            "type": "string"
          },
          "summary": {
            "type": "string"
          },
          "url": {
            "type": "string",
            "format": "uri"
          }
        }
      }
    }
  }
}