{ "type": "object", "description": "Input for creating an association", "name": "CreateAssociationInput", "properties": { "to": { "type": "object", "description": "Reference to a CRM object by ID", "properties": { "id": { "type": "string", "description": "ID of the object" } }, "required": [ "id" ] }, "types": { "type": "array", "description": "Association types to create", "items": { "type": "object", "description": "Input for specifying an association type", "properties": { "associationCategory": { "type": "string", "enum": [ "HUBSPOT_DEFINED", "USER_DEFINED", "INTEGRATOR_DEFINED" ] }, "associationTypeId": { "type": "integer" } }, "required": [ "associationCategory", "associationTypeId" ] } } }, "required": [ "to", "types" ], "$schema": "https://json-structure.org/draft/2020-12/schema" }