{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amigo/main/json-schema/amigo-agent-definition-list-response-schema.json",
  "title": "AgentDefinitionListResponse",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amigo-agent-definitions-api-openapi.yml#/components/schemas/AgentDefinitionListResponse",
  "properties": {
    "items": {
      "items": {
        "$ref": "#/$defs/AgentDefinitionSummary"
      },
      "type": "array",
      "title": "Items"
    },
    "has_more": {
      "type": "boolean",
      "title": "Has More"
    },
    "continuation_token": {
      "title": "Continuation Token"
    }
  },
  "type": "object",
  "required": [
    "items",
    "has_more"
  ],
  "$defs": {
    "AgentDefinitionSummary": {
      "properties": {
        "definition_id": {
          "type": "string",
          "format": "uuid",
          "title": "Definition Id"
        },
        "name": {
          "type": "string",
          "title": "Name"
        },
        "framework": {
          "type": "string",
          "enum": [
            "claude-agent-sdk",
            "openai-agents"
          ],
          "title": "Framework"
        },
        "status": {
          "type": "string",
          "enum": [
            "active",
            "archived"
          ],
          "title": "Status"
        }
      },
      "type": "object",
      "required": [
        "definition_id",
        "name",
        "framework",
        "status"
      ],
      "title": "AgentDefinitionSummary"
    }
  }
}