{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/alphabazaar-ai/json-schema/alphabazaar-ai-agent-status-response-schema.json",
  "title": "AgentStatusResponse",
  "description": "GET /api/agent/status",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/alphabazaar-ai-openapi.yml#/components/schemas/AgentStatusResponse",
  "properties": {
    "status": {
      "type": "string",
      "title": "Status"
    },
    "user": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "User"
    },
    "capabilities": {
      "items": {
        "$ref": "#/$defs/AgentCapability"
      },
      "type": "array",
      "title": "Capabilities"
    },
    "next_step": {
      "$ref": "#/$defs/AgentNextStep"
    },
    "docs": {
      "$ref": "#/$defs/AgentDocs"
    }
  },
  "type": "object",
  "required": [
    "status",
    "capabilities",
    "next_step",
    "docs"
  ],
  "$defs": {
    "AgentCapability": {
      "properties": {
        "action": {
          "type": "string",
          "title": "Action"
        },
        "method": {
          "type": "string",
          "title": "Method"
        },
        "path": {
          "type": "string",
          "title": "Path"
        },
        "auth": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "title": "Auth"
        },
        "body": {
          "anyOf": [
            {},
            {
              "type": "null"
            }
          ],
          "title": "Body"
        },
        "note": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Note"
        }
      },
      "type": "object",
      "required": [
        "action",
        "method",
        "path"
      ],
      "title": "AgentCapability"
    },
    "AgentDocs": {
      "properties": {
        "openapi": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Openapi"
        },
        "skill": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Skill"
        },
        "llms": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Llms"
        },
        "quickstart": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Quickstart"
        },
        "mcp_server_card": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Mcp Server Card"
        }
      },
      "type": "object",
      "title": "AgentDocs"
    },
    "AgentNextStep": {
      "properties": {
        "action": {
          "type": "string",
          "title": "Action"
        },
        "method": {
          "type": "string",
          "title": "Method"
        },
        "path": {
          "type": "string",
          "title": "Path"
        },
        "body": {
          "anyOf": [
            {},
            {
              "type": "null"
            }
          ],
          "title": "Body"
        }
      },
      "type": "object",
      "required": [
        "action",
        "method",
        "path"
      ],
      "title": "AgentNextStep"
    }
  }
}