Optimizely · Schema

FlagVariation

A variation of a feature flag with variable values

A/B TestingContent ManagementCustomer DataE-CommerceExperimentationFeature FlagsMarketing

Properties

Name Type Description
key string Unique key for the variation
name string Human-readable name of the variation
variables object Map of variable keys to their values for this variation
View JSON Schema on GitHub

JSON Schema

optimizely-flagvariation-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/FlagVariation",
  "title": "FlagVariation",
  "type": "object",
  "description": "A variation of a feature flag with variable values",
  "properties": {
    "key": {
      "type": "string",
      "description": "Unique key for the variation"
    },
    "name": {
      "type": "string",
      "description": "Human-readable name of the variation"
    },
    "variables": {
      "type": "object",
      "description": "Map of variable keys to their values for this variation",
      "additionalProperties": {
        "type": "string"
      }
    }
  }
}