{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/hubspot/refs/heads/main/json-structure/crm-associations-api-batch-association-create-input-structure.json", "name": "BatchAssociationCreateInput", "description": "Input for batch creating associations", "type": "object", "properties": { "inputs": { "type": "array", "items": { "type": "object", "description": "Single item in a batch association create request", "properties": { "from": { "$ref": "#/components/schemas/ObjectReference" }, "to": { "$ref": "#/components/schemas/ObjectReference" }, "types": { "type": "array", "items": { "$ref": "#/components/schemas/AssociationTypeInput" }, "example": [ { "associationCategory": "HUBSPOT_DEFINED", "associationTypeId": 500123 } ] } }, "required": [ "from", "to", "types" ] }, "description": "Associations to create", "example": [ { "from": {}, "to": {}, "types": [ {} ] } ] } }, "required": [ "inputs" ] }