1{
2 "page": {
3 "condition": null,
4 "helpUrl": null,
5 "title": "Page 1",
6 "variables": [
7 {
8 "name": "stringExample",
9 "visibility": "Visible"
10 },
11 {
12 "name": "visibilityControl"
13 "visibility": "Visible"
14 },
15 {
16 "name": "visibilityTest",
17 "visibility": "Hidden"
18 }
19 ]
20 },
21 "variableDefinitions": {
22 "stringExample": {
23 "label": "What is the value of the string?",
24 "description": "The String.",
25 "defaultValue": null,
26 "variableType": {
27 "type": "StringType",
28 "enums": [
29 "foo",
30 "bar",
31 "baz",
32 "testStr"
33 ]
34 }
35 },
36 "stringExample2": {
37 "label": "What is the value of this string?",
38 "description": "The String2.",
39 "defaultValue": null,
40 "variableType": {
41 "type": "StringType"
42 }
43 },
44 "visibilityControl": {
45 "label": "Do you want to answer more questions?",
46 "description": "Check to test visibility",
47 "variableType": {
48 "type": "BooleanType"
49 },
50 "defaultValue": false,
51 "required": true
52 },
53 "visibilityTest": {
54 "label": "I should only be visible when visibilityControl is checked",
55 "variableType": {
56 "type": "StringType",
57 "enums": [
58 "aaa",
59 "bbb",
60 "ccc"
61 ]
62 }
63 },
64 "visibilityTest2": {
65 "label": "I should only be enabled when visibilityControl is checked",
66 "variableType": {
67 "type": "StringType"
68 }
69 },
70 "datasetExample": {
71 "label": "Pick a dataset",
72 "description": "Interesting dataset",
73 "variableType": {
74 "type": "DatasetType"
75 }
76 },
77 "dimensionExample": {
78 "label": "Pick a dimension",
79 "description": "Dim testing",
80 "defaultValue": {
81 "datasetId": "{{Variables.datasetExample.datasetId}}",
82 "fieldName": "test"
83 },
84 "variableType": {
85 "type": "DatasetDimensionType"
86 },
87 "required": false
88 }
89 },
90 "initialValues": {
91 "stringExample": null,
92 "stringExample2": null,
93 "visibilityControl": false,
94 "dimensionExample": {
95 "datasetId": "{{Variables.datasetExample.datasetId}}",
96 "fieldName": "test"
97 }
98 }
99}