{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/chatway-app/json-schema/chatway-app-get-api-v1-agents-response-schema.json",
  "title": "GetApiV1AgentsResponse",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/chatway-app-openapi-generated.yml#/components/schemas/GetApiV1AgentsResponse",
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "attributes": {
            "type": "object",
            "properties": {
              "email": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "status": {
                "type": "string"
              },
              "online_status": {
                "type": "string"
              },
              "profile_photo_url": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "resized_profile_photo_url": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "role": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "meta": {
      "type": "object",
      "properties": {
        "pagination": {
          "type": "object",
          "properties": {
            "total": {
              "type": "integer"
            },
            "count": {
              "type": "integer"
            },
            "per_page": {
              "type": "integer"
            },
            "current_page": {
              "type": "integer"
            },
            "total_pages": {
              "type": "integer"
            }
          }
        }
      }
    },
    "links": {
      "type": "object",
      "properties": {
        "self": {
          "type": "string"
        },
        "first": {
          "type": "string"
        },
        "next": {
          "type": [
            "string",
            "null"
          ]
        },
        "last": {
          "type": "string"
        }
      }
    }
  }
}