Optimizely · Schema

VariationInput

Input for creating or updating a variation

A/B TestingContent ManagementCustomer DataE-CommerceExperimentationFeature FlagsMarketing

Properties

Name Type Description
name string Name of the variation
weight integer Traffic allocation weight for the variation
View JSON Schema on GitHub

JSON Schema

optimizely-variationinput-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/VariationInput",
  "title": "VariationInput",
  "type": "object",
  "description": "Input for creating or updating a variation",
  "properties": {
    "name": {
      "type": "string",
      "description": "Name of the variation"
    },
    "weight": {
      "type": "integer",
      "description": "Traffic allocation weight for the variation",
      "minimum": 0,
      "maximum": 10000
    }
  }
}