From 5579760348fb210ebf3c23507c282cc54aae0d8f Mon Sep 17 00:00:00 2001 From: miike Date: Wed, 12 Apr 2017 16:52:52 +0100 Subject: [PATCH] Add com.optimizely.optimizelyx/summary/jsonschema/1-0-0 (close #545) --- .../summary/jsonschema/1-0-0 | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 schemas/com.optimizely.optimizelyx/summary/jsonschema/1-0-0 diff --git a/schemas/com.optimizely.optimizelyx/summary/jsonschema/1-0-0 b/schemas/com.optimizely.optimizelyx/summary/jsonschema/1-0-0 new file mode 100644 index 000000000..e7197124e --- /dev/null +++ b/schemas/com.optimizely.optimizelyx/summary/jsonschema/1-0-0 @@ -0,0 +1,32 @@ +{ + "$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#", + "description": "Schema for an Optimizely X summary context", + "self": { + "vendor": "com.optimizely.optimizelyx", + "name": "summary", + "format": "jsonschema", + "version": "1-0-0" + }, + "type": "object", + "properties": { + "experimentId": { + "type": ["integer", "null"], + "minimum": 0, + "maximum": 9223372036854775807 + }, + "variationName": { + "type": ["string", "null"], + "maxLength": 255 + }, + "variation": { + "type": ["integer", "null"], + "minimum": 0, + "maximum": 9223372036854775807 + }, + "visitorId": { + "type": ["string", "null"], + "maxLength": 100 + } + }, + "additionalProperties": true +}