{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/systemprompt-io/json-schema/systemprompt-io-api-discovery-schema.json",
  "title": "ApiDiscovery",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/systemprompt-io-openapi.json#/components/schemas/ApiDiscovery",
  "type": "object",
  "required": [
    "name",
    "version",
    "description",
    "documentation",
    "endpoints",
    "contact"
  ],
  "properties": {
    "contact": {
      "$ref": "#/$defs/ApiContact"
    },
    "description": {
      "type": "string"
    },
    "documentation": {
      "type": "string"
    },
    "endpoints": {
      "$ref": "#/$defs/ApiEndpoints"
    },
    "name": {
      "type": "string"
    },
    "version": {
      "type": "string"
    }
  },
  "$defs": {
    "ApiContact": {
      "type": "object",
      "required": [
        "email"
      ],
      "properties": {
        "email": {
          "type": "string"
        }
      }
    },
    "ApiEndpoints": {
      "type": "object",
      "required": [
        "health",
        "ready",
        "openapi",
        "auth",
        "customers",
        "tenants"
      ],
      "properties": {
        "auth": {
          "type": "string"
        },
        "customers": {
          "type": "string"
        },
        "health": {
          "type": "string"
        },
        "openapi": {
          "type": "string"
        },
        "ready": {
          "type": "string"
        },
        "tenants": {
          "type": "string"
        }
      }
    }
  }
}