Optimizely · Schema

FlagVariationInput

Input for creating or updating a flag variation

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
View JSON Schema on GitHub

JSON Schema

optimizely-flagvariationinput-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/FlagVariationInput",
  "title": "FlagVariationInput",
  "type": "object",
  "description": "Input for creating or updating a flag variation",
  "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",
      "additionalProperties": {
        "type": "string"
      }
    }
  }
}