{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sparklaun-ch/json-schema/sparklaun-ch-public-api-index-response-schema.json",
  "title": "PublicApiIndexResponse",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sparklaun-ch-openapi.yml#/components/schemas/PublicApiIndexResponse",
  "type": "object",
  "required": [
    "service",
    "version",
    "openapi_url",
    "endpoints"
  ],
  "properties": {
    "service": {
      "type": "string"
    },
    "version": {
      "type": "string"
    },
    "openapi_url": {
      "type": "string",
      "format": "uri"
    },
    "endpoints": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/PublicApiEndpoint"
      }
    }
  },
  "$defs": {
    "PublicApiEndpoint": {
      "type": "object",
      "required": [
        "method",
        "path",
        "description"
      ],
      "properties": {
        "method": {
          "type": "string",
          "enum": [
            "GET"
          ]
        },
        "path": {
          "type": "string"
        },
        "description": {
          "type": "string"
        }
      }
    }
  }
}