{
  "type": "object",
  "description": "Represents a call engagement in the CRM",
  "properties": {
    "id": {
      "type": "string",
      "description": "The unique identifier for the call",
      "example": "512"
    },
    "properties": {
      "type": "object",
      "description": "The call properties",
      "example": {
        "hs_call_title": "Discovery Call",
        "hs_call_body": "Discussed product requirements",
        "hs_call_duration": "1800000",
        "hs_call_direction": "OUTBOUND",
        "hs_call_disposition": "connected",
        "hs_call_status": "COMPLETED",
        "hs_timestamp": "2024-01-15T10:30:00.000Z"
      }
    },
    "propertiesWithHistory": {
      "type": "object",
      "description": "Properties with their change history",
      "example": {
        "key": "value"
      }
    },
    "createdAt": {
      "type": "string",
      "description": "When the call was created",
      "format": "date-time",
      "example": "2024-01-15T10:30:00.000Z"
    },
    "updatedAt": {
      "type": "string",
      "description": "When the call was last updated",
      "format": "date-time",
      "example": "2024-01-15T11:00:00.000Z"
    },
    "archived": {
      "type": "boolean",
      "description": "Whether the call is archived",
      "example": false
    },
    "archivedAt": {
      "type": "string",
      "description": "When the call was archived (if archived)",
      "format": "date-time",
      "example": "2025-03-15T14:30:00Z"
    }
  },
  "required": [
    "id",
    "properties",
    "createdAt",
    "updatedAt",
    "archived"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Call"
}