HubSpot · JSON Structure

Hubspot Domains Domain Structure

Represents a domain connected to a HubSpot CMS site

Type: object Properties: 21 Required: 8
AnalyticsCommerceContentCRMCustomer ServiceEmail MarketingMarketingMarketing AutomationOperationsSales

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

Properties

id domain createdAt updatedAt isResolving isManuallyMarkedAsResolving isSslEnabled isSslOnly isPrimaryBlogPost isPrimarySitePage isPrimaryLandingPage isPrimaryEmail isPrimaryKnowledge isUsedForBlogPost isUsedForSitePage isUsedForLandingPage isUsedForEmail isUsedForKnowledge expectedCname redirectTo secondaryToDomain

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

JSON Structure

Raw ↑
{
  "type": "object",
  "description": "Represents a domain connected to a HubSpot CMS site",
  "name": "Domain",
  "properties": {
    "id": {
      "type": "string",
      "description": "The unique identifier for the domain"
    },
    "domain": {
      "type": "string",
      "description": "The actual domain or sub-domain (e.g., www.hubspot.com)"
    },
    "createdAt": {
      "type": "datetime",
      "description": "When the domain was created"
    },
    "updatedAt": {
      "type": "datetime",
      "description": "When the domain was last updated"
    },
    "isResolving": {
      "type": "boolean",
      "description": "Whether the DNS for this domain is optimally configured for use with HubSpot"
    },
    "isManuallyMarkedAsResolving": {
      "type": "boolean",
      "description": "Whether the domain has been manually marked as resolving"
    },
    "isSslEnabled": {
      "type": "boolean",
      "description": "Whether SSL is enabled for this domain"
    },
    "isSslOnly": {
      "type": "boolean",
      "description": "Whether the domain only accepts HTTPS connections"
    },
    "isPrimaryBlogPost": {
      "type": "boolean",
      "description": "Whether this is the primary domain for blog posts"
    },
    "isPrimarySitePage": {
      "type": "boolean",
      "description": "Whether this is the primary domain for site pages"
    },
    "isPrimaryLandingPage": {
      "type": "boolean",
      "description": "Whether this is the primary domain for landing pages"
    },
    "isPrimaryEmail": {
      "type": "boolean",
      "description": "Whether this is the primary domain for email web pages"
    },
    "isPrimaryKnowledge": {
      "type": "boolean",
      "description": "Whether this is the primary domain for knowledge base"
    },
    "isUsedForBlogPost": {
      "type": "boolean",
      "description": "Whether the domain is used for CMS blog posts"
    },
    "isUsedForSitePage": {
      "type": "boolean",
      "description": "Whether the domain is used for CMS site pages"
    },
    "isUsedForLandingPage": {
      "type": "boolean",
      "description": "Whether the domain is used for CMS landing pages"
    },
    "isUsedForEmail": {
      "type": "boolean",
      "description": "Whether the domain is used for CMS email web pages"
    },
    "isUsedForKnowledge": {
      "type": "boolean",
      "description": "Whether the domain is used for CMS knowledge pages"
    },
    "expectedCname": {
      "type": "string",
      "description": "The expected CNAME record for this domain"
    },
    "redirectTo": {
      "type": "string",
      "description": "The domain to redirect to, if any"
    },
    "secondaryToDomain": {
      "type": "string",
      "description": "The primary domain this domain is secondary to"
    }
  },
  "required": [
    "id",
    "domain",
    "isResolving",
    "isUsedForBlogPost",
    "isUsedForSitePage",
    "isUsedForLandingPage",
    "isUsedForEmail",
    "isUsedForKnowledge"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}