{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/hubspot/refs/heads/main/json-schema/crm-associations-api-association-type-schema.json",
  "title": "AssociationType",
  "description": "Defines the type of association",
  "type": "object",
  "properties": {
    "associationCategory": {
      "type": "string",
      "enum": [
        "HUBSPOT_DEFINED",
        "USER_DEFINED",
        "INTEGRATOR_DEFINED"
      ],
      "description": "Category of the association type",
      "example": "HUBSPOT_DEFINED"
    },
    "associationTypeId": {
      "type": "integer",
      "description": "Numeric identifier for the association type",
      "example": 500123
    },
    "label": {
      "type": "string",
      "description": "Human-readable label for the association",
      "example": "Example Record"
    }
  },
  "required": [
    "associationCategory",
    "associationTypeId"
  ]
}