{ "version": 1, "features": [ { "name": "Feature.Variants.A", "description": "Enabled", "enabled": true, "strategies": [ { "name": "default", "parameters": {} } ], "variants": [ { "name": "variant1", "weight": 1, "payload": { "type": "string", "value": "val1" } } ] }, { "name": "Feature.Variants.B", "description": "Enabled for user=123", "enabled": true, "strategies": [], "variants": [ { "name": "variant1", "weight": 1, "payload": { "type": "string", "value": "val1" } }, { "name": "variant2", "weight": 1, "payload": { "type": "string", "value": "val2" } } ] }, { "name": "Feature.Variants.C", "description": "Testing three variants", "enabled": true, "strategies": [], "variants": [ { "name": "variant1", "weight": 33, "payload": { "type": "string", "value": "val1" } }, { "name": "variant2", "weight": 33, "payload": { "type": "string", "value": "val2" } }, { "name": "variant3", "weight": 33, "payload": { "type": "string", "value": "val3" } } ] }, { "name": "Feature.Variants.D", "description": "Variants with payload", "enabled": true, "strategies": [], "variants": [ { "name": "variant1", "weight": 1, "payload": { "type": "string", "value": "val1" } }, { "name": "variant2", "weight": 49, "payload": { "type": "string", "value": "val2" } }, { "name": "variant3", "weight": 50, "payload": { "type": "string", "value": "val3" } } ] }, { "name": "Feature.Variants.override.D", "description": "Variant with overrides", "enabled": true, "strategies": [], "variants": [ { "name": "variant1", "weight": 33, "payload": { "type": "string", "value": "val1" }, "overrides": [ { "contextName": "userId", "values": ["132", "61"] } ] }, { "name": "variant2", "weight": 33, "payload": { "type": "string", "value": "val2" } }, { "name": "variant3", "weight": 34, "payload": { "type": "string", "value": "val3" } } ] }, { "name": "Feature.Variants.E", "description": "Enabled", "enabled": false, "strategies": [ { "name": "default", "parameters": {} } ], "variants": [ { "name": "variant1", "weight": 1, "payload": { "type": "string", "value": "val1" } } ] } ] }