{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/hubspot/refs/heads/main/json-schema/crm-search-api-crmobject-schema.json",
  "title": "CRMObject",
  "description": "A CRM object record returned from a search.",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The unique identifier for the CRM record.",
      "example": "500123"
    },
    "properties": {
      "type": "object",
      "description": "The CRM record's properties as key-value pairs.",
      "additionalProperties": {
        "type": "string"
      },
      "example": {
        "key": "value"
      }
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time the record was created.",
      "example": "2025-03-15T14:30:00Z"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time the record was last updated.",
      "example": "2025-03-15T14:30:00Z"
    },
    "archived": {
      "type": "boolean",
      "description": "Whether the record has been archived.",
      "example": true
    }
  }
}