{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/outcomet-app/json-schema/outcomet-app-agent-index-schema.json",
  "title": "AgentIndex",
  "x-generated": "2026-11-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/outcomet-app-openapi.json#/components/schemas/AgentIndex",
  "type": "object",
  "required": [
    "object",
    "name",
    "version",
    "status",
    "domain",
    "endpoints"
  ],
  "properties": {
    "object": {
      "type": "string",
      "const": "index"
    },
    "name": {
      "type": "string"
    },
    "version": {
      "type": "string"
    },
    "status": {
      "type": "string",
      "enum": [
        "ok"
      ]
    },
    "domain": {
      "type": "string",
      "format": "uri"
    },
    "description": {
      "type": "string"
    },
    "base_url": {
      "type": "string",
      "format": "uri"
    },
    "documentation_url": {
      "type": "string",
      "format": "uri"
    },
    "openapi_url": {
      "type": "string",
      "format": "uri"
    },
    "sandbox_url": {
      "type": "string",
      "format": "uri"
    },
    "endpoints": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "method",
          "url",
          "auth",
          "description"
        ],
        "properties": {
          "method": {
            "type": "string"
          },
          "url": {
            "type": "string",
            "format": "uri"
          },
          "auth": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "anonymous_methods": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      }
    },
    "authentication": {
      "type": "object",
      "additionalProperties": true
    },
    "machine_readable": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "contact": {
      "type": "string"
    }
  }
}