HubSpot · JSON Structure

Hubspot Crm Associations Association Definition Collection Structure

Collection of association definitions

Type: object Properties: 2 Required: 1
AnalyticsCommerceContentCRMCustomer ServiceEmail MarketingMarketingMarketing AutomationOperationsSales

AssociationDefinitionCollection is a JSON Structure definition published by HubSpot, describing 2 properties, of which 1 is required. It conforms to the https://json-structure.org/draft/2020-12/schema meta-schema.

Properties

results paging

Meta-schema: https://json-structure.org/draft/2020-12/schema

JSON Structure

Raw ↑
{
  "type": "object",
  "description": "Collection of association definitions",
  "name": "AssociationDefinitionCollection",
  "properties": {
    "results": {
      "type": "array",
      "description": "Array of association definitions",
      "items": {
        "type": "object",
        "description": "Definition of an association type between two object types",
        "properties": {
          "id": {
            "type": "string",
            "description": "Unique identifier for the association definition"
          },
          "fromObjectTypeId": {
            "type": "string",
            "description": "Source object type ID"
          },
          "toObjectTypeId": {
            "type": "string",
            "description": "Target object type ID"
          },
          "name": {
            "type": "string",
            "description": "Name of the association type"
          },
          "label": {
            "type": "string",
            "description": "Display label for the association"
          },
          "inverseLabel": {
            "type": "string",
            "description": "Label for the inverse association"
          },
          "category": {
            "type": "string",
            "description": "Category of the association definition",
            "enum": [
              "HUBSPOT_DEFINED",
              "USER_DEFINED",
              "INTEGRATOR_DEFINED"
            ]
          }
        },
        "required": [
          "id",
          "fromObjectTypeId",
          "toObjectTypeId"
        ]
      }
    },
    "paging": {
      "type": "object",
      "description": "Pagination information",
      "properties": {
        "next": {
          "type": "object",
          "description": "Pagination cursor for next page",
          "properties": {
            "after": {
              "type": "string",
              "description": "Cursor token for the next page"
            },
            "link": {
              "type": "string",
              "description": "Link to the next page"
            }
          }
        }
      }
    }
  },
  "required": [
    "results"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}