{
  "$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-label-schema.json",
  "title": "AssociationLabel",
  "description": "A label that can be applied to associations",
  "type": "object",
  "properties": {
    "typeId": {
      "type": "integer",
      "description": "Numeric identifier for the label type",
      "example": 500123
    },
    "label": {
      "type": "string",
      "description": "Display text for the label",
      "example": "Example Record"
    },
    "category": {
      "type": "string",
      "enum": [
        "HUBSPOT_DEFINED",
        "USER_DEFINED",
        "INTEGRATOR_DEFINED"
      ],
      "description": "Category of the label",
      "example": "HUBSPOT_DEFINED"
    }
  },
  "required": [
    "typeId",
    "label",
    "category"
  ]
}