{
    "additionalProperties": true,
    "description": "Schema for an Optimizely state context (http://developers.optimizely.com/javascript/reference/#state)",
    "properties": {
        "experimentId": {
            "type": [
                "string",
                "null"
            ]
        },
        "isActive": {
            "type": [
                "boolean",
                "null"
            ]
        },
        "variationId": {
            "type": [
                "string",
                "null"
            ]
        },
        "variationIndex": {
            "maximum": 32767,
            "type": [
                "integer",
                "null"
            ]
        },
        "variationName": {
            "type": [
                "string",
                "null"
            ]
        }
    },
    "self": {
        "format": "jsonschema",
        "name": "state",
        "vendor": "com.optimizely",
        "version": "1-0-0"
    },
    "type": "object"
}