Optimizely · Schema
Variation
A variation within an experiment
A/B TestingContent ManagementCustomer DataE-CommerceExperimentationFeature FlagsMarketing
Properties
| Name | Type | Description |
|---|---|---|
| variation_id | integer | Unique identifier for the variation |
| name | string | Name of the variation |
| weight | integer | Traffic allocation weight for the variation |
| actions | array | List of actions (changes) applied in this variation |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/Variation",
"title": "Variation",
"type": "object",
"description": "A variation within an experiment",
"properties": {
"variation_id": {
"type": "integer",
"format": "int64",
"description": "Unique identifier for the variation"
},
"name": {
"type": "string",
"description": "Name of the variation"
},
"weight": {
"type": "integer",
"description": "Traffic allocation weight for the variation",
"minimum": 0,
"maximum": 10000
},
"actions": {
"type": "array",
"description": "List of actions (changes) applied in this variation",
"items": {
"type": "object",
"properties": {
"page_id": {
"type": "integer",
"format": "int64",
"description": "The page this action applies to"
},
"changes": {
"type": "array",
"description": "List of changes applied on the page",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "The type of change"
},
"value": {
"type": "string",
"description": "The change value"
}
}
}
}
}
}
}
}
}