{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/grazzy/json-schema/grazzy-post-api-v2-chat-chats-response-schema.json",
  "title": "PostApiV2ChatChatsResponse",
  "x-generated": "2026-12-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/grazzy-openapi-generated.yml#/components/schemas/PostApiV2ChatChatsResponse",
  "type": "object",
  "properties": {
    "department_id": {
      "type": "integer"
    },
    "department_name": {
      "type": "string"
    },
    "id": {
      "type": "string"
    },
    "message": {
      "type": "string"
    },
    "session": {
      "type": "object",
      "properties": {
        "browser": {
          "type": "string"
        },
        "city": {
          "type": "string"
        },
        "country_code": {
          "type": "string"
        },
        "country_name": {
          "type": "string"
        },
        "end_date": {
          "type": "string",
          "format": "date-time"
        },
        "id": {
          "type": "string"
        },
        "ip": {
          "type": "string"
        },
        "platform": {
          "type": "string"
        },
        "region": {
          "type": "string"
        },
        "start_date": {
          "type": "string",
          "format": "date-time"
        },
        "user_agent": {
          "type": "string"
        }
      }
    },
    "started_by": {
      "type": "string"
    },
    "timestamp": {
      "type": "string",
      "format": "date-time"
    },
    "type": {
      "type": "string"
    },
    "unread": {
      "type": "boolean"
    },
    "visitor": {
      "type": "object",
      "properties": {
        "email": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "notes": {
          "type": "string"
        },
        "phone": {
          "type": "string"
        }
      }
    },
    "webpath": {
      "type": "array",
      "items": {}
    },
    "zendesk_ticket_id": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}