{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/grazzy/json-schema/grazzy-post-api-v2-chat-chats-request-schema.json",
  "title": "PostApiV2ChatChatsRequest",
  "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/PostApiV2ChatChatsRequest",
  "type": "object",
  "properties": {
    "visitor": {
      "type": "object",
      "properties": {
        "phone": {
          "type": "string"
        },
        "notes": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "email": {
          "type": "string"
        }
      }
    },
    "message": {
      "type": "string"
    },
    "type": {
      "type": "string"
    },
    "timestamp": {
      "type": "integer"
    },
    "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"
        }
      }
    }
  }
}