{
  "type": "object",
  "description": "Represents the flag state override for a specific portal (account)",
  "properties": {
    "appId": {
      "type": "integer",
      "description": "The unique identifier for the HubSpot application",
      "format": "int64",
      "example": 12345678
    },
    "flagName": {
      "type": "string",
      "description": "The name of the feature flag",
      "example": "new-dashboard-feature"
    },
    "portalId": {
      "type": "integer",
      "description": "The unique identifier for the HubSpot portal (account)",
      "format": "int64",
      "example": 98765432
    },
    "flagState": {
      "type": "string",
      "description": "The state of a feature flag",
      "example": "ON",
      "enum": [
        "ON",
        "OFF",
        "ABSENT"
      ]
    }
  },
  "required": [
    "appId",
    "flagName",
    "portalId",
    "flagState"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "PortalFlagState"
}