{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/gamedevoutsourcing-com/json-schema/gamedevoutsourcing-com-api-index-schema.json",
  "title": "ApiIndex",
  "description": "The self-description at the API root.",
  "x-generated": "2026-11-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/gamedevoutsourcing-com-openapi.json#/components/schemas/ApiIndex",
  "type": "object",
  "required": [
    "name",
    "version",
    "description",
    "documentation",
    "endpoints",
    "limits",
    "license",
    "citation",
    "caveats"
  ],
  "properties": {
    "name": {
      "type": "string"
    },
    "version": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "documentation": {
      "type": "string",
      "format": "uri"
    },
    "mcpEndpoint": {
      "type": "string",
      "format": "uri",
      "description": "The same data over MCP, for clients that speak it."
    },
    "website": {
      "type": "string",
      "format": "uri"
    },
    "endpoints": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "method",
          "path",
          "description"
        ],
        "properties": {
          "method": {
            "type": "string"
          },
          "path": {
            "type": "string"
          },
          "description": {
            "type": "string"
          }
        }
      }
    },
    "limits": {
      "type": "object",
      "properties": {
        "maxStudiosPerRequest": {
          "type": "integer"
        },
        "defaultStudiosPerRequest": {
          "type": "integer"
        },
        "requestsPerMinutePerIp": {
          "type": "integer"
        },
        "pagination": {
          "type": "string"
        },
        "contactDetails": {
          "type": "string"
        }
      }
    },
    "license": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "appliesTo": {
          "type": "string"
        },
        "attribution": {
          "type": "string"
        }
      }
    },
    "citation": {
      "$ref": "#/$defs/Citation"
    },
    "caveats": {
      "$ref": "#/$defs/Caveats"
    }
  },
  "$defs": {
    "Caveats": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The standing qualifications on everything this directory publishes. They travel with every payload rather than being stated once, because a caller quotes one response, not a preamble it read earlier. Reproduce the ones that bear on what you are saying."
    },
    "Citation": {
      "type": "string",
      "description": "The attribution line to reproduce when quoting anything from this response."
    }
  }
}