AB Tasty · Schema

Flag

Flag schema from AB Tasty Decision API

AggregationExperimentationFeature FlagsPersonalizationA/B Testing

Properties

Name Type Description
value object Value of the flag
metadata object
View JSON Schema on GitHub

JSON Schema

decision-api-flag-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/ab-tasty/refs/heads/main/json-schema/decision-api-flag-schema.json",
  "title": "Flag",
  "description": "Flag schema from AB Tasty Decision API",
  "type": "object",
  "properties": {
    "value": {
      "oneOf": [
        {
          "type": "object"
        },
        {
          "type": "string"
        },
        {
          "type": "number"
        },
        {
          "type": "boolean"
        }
      ],
      "description": "Value of the flag"
    },
    "metadata": {
      "$ref": "#/components/schemas/FlagMetadata"
    }
  }
}