HubSpot · Schema

HubDBTableCreateRequest

Request body for creating or updating a HubDB table.

AnalyticsCommerceContentCRMCustomer ServiceEmail MarketingMarketingMarketing AutomationOperationsSales

Properties

Name Type Description
name string The machine-readable name of the table.
label string The human-readable label for the table.
columns array
View JSON Schema on GitHub

JSON Schema

hubspot-cms-hubdb-hub-db-table-create-request-schema.json Raw ↑
{
  "type": "object",
  "description": "Request body for creating or updating a HubDB table.",
  "properties": {
    "name": {
      "type": "string",
      "description": "The machine-readable name of the table.",
      "example": "Example Record"
    },
    "label": {
      "type": "string",
      "description": "The human-readable label for the table.",
      "example": "Example Record"
    },
    "columns": {
      "type": "array",
      "example": [
        {
          "name": "Example Record",
          "label": "Example Record",
          "type": "standard"
        }
      ],
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "type": {
            "type": "string"
          }
        }
      }
    }
  },
  "required": [
    "name",
    "label"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "HubDBTableCreateRequest"
}