HubSpot · JSON Structure

Hubspot Crm Feature Flags Feature Flag Structure

Represents a feature flag configuration for an application

Type: object Properties: 4 Required: 3
AnalyticsCommerceContentCRMCustomer ServiceEmail MarketingMarketingMarketing AutomationOperationsSales

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

Properties

appId flagName defaultState overrideState

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

JSON Structure

Raw ↑
{
  "type": "object",
  "description": "Represents a feature flag configuration for an application",
  "name": "FeatureFlag",
  "properties": {
    "appId": {
      "type": "integer",
      "description": "The unique identifier for the HubSpot application"
    },
    "flagName": {
      "type": "string",
      "description": "The name of the feature flag"
    },
    "defaultState": {
      "type": "string",
      "description": "The state of a feature flag",
      "enum": [
        "ON",
        "OFF",
        "ABSENT"
      ]
    },
    "overrideState": {
      "type": "string",
      "description": "The state of a feature flag",
      "enum": [
        "ON",
        "OFF",
        "ABSENT"
      ]
    }
  },
  "required": [
    "appId",
    "flagName",
    "defaultState"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}