{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/popp/json-schema/popp-list-agents-response-schema.json",
  "title": "ListAgentsResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/popp-agents-api-openapi.yml#/components/schemas/ListAgentsResponse",
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "id",
          "name",
          "tone"
        ],
        "properties": {
          "id": {
            "type": "string",
            "description": "Unique identifier for the agent"
          },
          "agentName": {
            "type": "string",
            "description": "Name of the agent"
          },
          "agentTone": {
            "type": "string",
            "description": "The communication tone of the agent",
            "enum": [
              "CASUAL",
              "ENCOURAGING",
              "FRIENDLY",
              "MOTIVATIONAL",
              "NEUTRAL",
              "PROFESSIONAL"
            ]
          },
          "organizationId": {
            "type": "string",
            "description": "Unique identifier for the organization"
          },
          "organizationConfigId": {
            "type": [
              "string",
              "null"
            ],
            "description": "Unique identifier for the organization configuration"
          }
        }
      }
    }
  },
  "required": [
    "data"
  ],
  "additionalProperties": false
}