{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/hubspot/refs/heads/main/json-structure/crm-search-api-crmobject-structure.json",
  "name": "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": "datetime",
      "description": "The date and time the record was created.",
      "example": "2025-03-15T14:30:00Z"
    },
    "updatedAt": {
      "type": "datetime",
      "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
    }
  }
}