{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amigo/main/json-schema/amigo-agent-definition-version-detail-schema.json",
  "title": "AgentDefinitionVersionDetail",
  "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/AgentDefinitionVersionDetail",
  "properties": {
    "version": {
      "type": "integer",
      "title": "Version"
    },
    "body_sha256": {
      "type": "string",
      "title": "Body Sha256"
    },
    "validator_rev": {
      "type": "string",
      "title": "Validator Rev"
    },
    "has_write_tools": {
      "type": "boolean",
      "title": "Has Write Tools"
    },
    "agent_count": {
      "type": "integer",
      "title": "Agent Count"
    },
    "definition_id": {
      "type": "string",
      "format": "uuid",
      "title": "Definition Id"
    },
    "framework": {
      "type": "string",
      "enum": [
        "claude-agent-sdk",
        "openai-agents"
      ],
      "title": "Framework"
    },
    "body": {
      "additionalProperties": true,
      "type": "object",
      "title": "Body"
    }
  },
  "type": "object",
  "required": [
    "version",
    "body_sha256",
    "validator_rev",
    "has_write_tools",
    "agent_count",
    "definition_id",
    "framework",
    "body"
  ]
}