@dmptool/types 1.0.7 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/answers/__tests__/answers.spec.js +18 -17
- package/dist/answers/index.d.ts +50 -25
- package/dist/answers/index.js +19 -17
- package/dist/answers/{primitiveAnswers.d.ts → numberAnswers.d.ts} +1 -100
- package/dist/answers/numberAnswers.js +25 -0
- package/dist/answers/tableAnswers.d.ts +48 -48
- package/dist/answers/tableAnswers.js +9 -8
- package/dist/answers/textAnswers.d.ts +101 -0
- package/dist/answers/textAnswers.js +22 -0
- package/dist/questions/__tests__/dateQuestions.spec.js +20 -74
- package/dist/questions/__tests__/graphQLQuestions.spec.js +6 -0
- package/dist/questions/__tests__/numberQuestions.spec.js +156 -0
- package/dist/questions/__tests__/optionBasedQuestions.spec.js +41 -54
- package/dist/questions/__tests__/tableQuestion.spec.js +2 -0
- package/dist/questions/__tests__/textQuestions.spec.d.ts +1 -0
- package/dist/questions/__tests__/textQuestions.spec.js +120 -0
- package/dist/questions/dateQuestions.d.ts +159 -178
- package/dist/questions/dateQuestions.js +9 -15
- package/dist/questions/graphQLQuestions.d.ts +67 -38
- package/dist/questions/graphQLQuestions.js +3 -2
- package/dist/questions/index.d.ts +1616 -1356
- package/dist/questions/index.js +21 -19
- package/dist/questions/numberQuestions.d.ts +343 -0
- package/dist/questions/numberQuestions.js +34 -0
- package/dist/questions/optionBasedQuestions.d.ts +136 -158
- package/dist/questions/optionBasedQuestions.js +11 -20
- package/dist/questions/question.d.ts +29 -11
- package/dist/questions/question.js +10 -4
- package/dist/questions/tableQuestions.d.ts +2377 -2030
- package/dist/questions/tableQuestions.js +12 -10
- package/dist/questions/textQuestions.d.ts +261 -0
- package/dist/questions/textQuestions.js +42 -0
- package/dist/schemas/anyQuestion.schema.json +237 -239
- package/dist/schemas/anyTableColumnQuestion.schema.json +207 -217
- package/dist/schemas/booleanQuestion.schema.json +17 -12
- package/dist/schemas/checkboxesQuestion.schema.json +24 -27
- package/dist/schemas/currencyQuestion.schema.json +23 -18
- package/dist/schemas/dateQuestion.schema.json +21 -16
- package/dist/schemas/dateRangeQuestion.schema.json +31 -56
- package/dist/schemas/emailQuestion.schema.json +24 -19
- package/dist/schemas/filteredSearchQuestion.schema.json +18 -13
- package/dist/schemas/numberQuestion.schema.json +21 -16
- package/dist/schemas/numberRangeQuestion.schema.json +31 -56
- package/dist/schemas/radioButtonsQuestion.schema.json +24 -27
- package/dist/schemas/selectBoxQuestion.schema.json +27 -36
- package/dist/schemas/tableQuestion.schema.json +233 -235
- package/dist/schemas/textAreaQuestion.schema.json +22 -16
- package/dist/schemas/textQuestion.schema.json +21 -16
- package/dist/schemas/typeaheadSearchQuestion.schema.json +15 -4
- package/dist/schemas/urlQuestion.schema.json +21 -16
- package/package.json +1 -1
- package/dist/answers/primitiveAnswers.js +0 -41
- package/dist/questions/__tests__/primitiveQuestions.spec.js +0 -281
- package/dist/questions/primitiveQuestions.d.ts +0 -554
- package/dist/questions/primitiveQuestions.js +0 -86
- /package/dist/questions/__tests__/{primitiveQuestions.spec.d.ts → numberQuestions.spec.d.ts} +0 -0
|
@@ -8,35 +8,40 @@
|
|
|
8
8
|
"type": "string",
|
|
9
9
|
"const": "boolean"
|
|
10
10
|
},
|
|
11
|
-
"
|
|
11
|
+
"attributes": {
|
|
12
12
|
"type": "object",
|
|
13
13
|
"properties": {
|
|
14
|
-
"
|
|
15
|
-
"type": "string"
|
|
16
|
-
|
|
14
|
+
"label": {
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"help": {
|
|
18
|
+
"type": "string"
|
|
17
19
|
},
|
|
18
20
|
"labelTranslationKey": {
|
|
19
21
|
"type": "string"
|
|
22
|
+
},
|
|
23
|
+
"checked": {
|
|
24
|
+
"type": "boolean"
|
|
20
25
|
}
|
|
21
26
|
},
|
|
22
|
-
"required": [
|
|
23
|
-
"schemaVersion"
|
|
24
|
-
],
|
|
25
27
|
"additionalProperties": false
|
|
26
28
|
},
|
|
27
|
-
"
|
|
29
|
+
"meta": {
|
|
28
30
|
"type": "object",
|
|
29
31
|
"properties": {
|
|
30
|
-
"
|
|
31
|
-
"type": "
|
|
32
|
+
"schemaVersion": {
|
|
33
|
+
"type": "string",
|
|
34
|
+
"const": "1.0"
|
|
32
35
|
}
|
|
33
36
|
},
|
|
37
|
+
"required": [
|
|
38
|
+
"schemaVersion"
|
|
39
|
+
],
|
|
34
40
|
"additionalProperties": false
|
|
35
41
|
}
|
|
36
42
|
},
|
|
37
43
|
"required": [
|
|
38
|
-
"type"
|
|
39
|
-
"meta"
|
|
44
|
+
"type"
|
|
40
45
|
],
|
|
41
46
|
"additionalProperties": false
|
|
42
47
|
}
|
|
@@ -8,15 +8,27 @@
|
|
|
8
8
|
"type": "string",
|
|
9
9
|
"const": "checkBoxes"
|
|
10
10
|
},
|
|
11
|
+
"attributes": {
|
|
12
|
+
"type": "object",
|
|
13
|
+
"properties": {
|
|
14
|
+
"label": {
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"help": {
|
|
18
|
+
"type": "string"
|
|
19
|
+
},
|
|
20
|
+
"labelTranslationKey": {
|
|
21
|
+
"type": "string"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"additionalProperties": false
|
|
25
|
+
},
|
|
11
26
|
"meta": {
|
|
12
27
|
"type": "object",
|
|
13
28
|
"properties": {
|
|
14
29
|
"schemaVersion": {
|
|
15
30
|
"type": "string",
|
|
16
31
|
"const": "1.0"
|
|
17
|
-
},
|
|
18
|
-
"labelTranslationKey": {
|
|
19
|
-
"type": "string"
|
|
20
32
|
}
|
|
21
33
|
},
|
|
22
34
|
"required": [
|
|
@@ -29,33 +41,19 @@
|
|
|
29
41
|
"items": {
|
|
30
42
|
"type": "object",
|
|
31
43
|
"properties": {
|
|
32
|
-
"
|
|
33
|
-
"type": "string"
|
|
34
|
-
|
|
44
|
+
"label": {
|
|
45
|
+
"type": "string"
|
|
46
|
+
},
|
|
47
|
+
"value": {
|
|
48
|
+
"type": "string"
|
|
35
49
|
},
|
|
36
|
-
"
|
|
37
|
-
"type": "
|
|
38
|
-
"properties": {
|
|
39
|
-
"label": {
|
|
40
|
-
"type": "string"
|
|
41
|
-
},
|
|
42
|
-
"value": {
|
|
43
|
-
"type": "string"
|
|
44
|
-
},
|
|
45
|
-
"checked": {
|
|
46
|
-
"type": "boolean"
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
"required": [
|
|
50
|
-
"label",
|
|
51
|
-
"value"
|
|
52
|
-
],
|
|
53
|
-
"additionalProperties": false
|
|
50
|
+
"checked": {
|
|
51
|
+
"type": "boolean"
|
|
54
52
|
}
|
|
55
53
|
},
|
|
56
54
|
"required": [
|
|
57
|
-
"
|
|
58
|
-
"
|
|
55
|
+
"label",
|
|
56
|
+
"value"
|
|
59
57
|
],
|
|
60
58
|
"additionalProperties": false
|
|
61
59
|
}
|
|
@@ -63,7 +61,6 @@
|
|
|
63
61
|
},
|
|
64
62
|
"required": [
|
|
65
63
|
"type",
|
|
66
|
-
"meta",
|
|
67
64
|
"options"
|
|
68
65
|
],
|
|
69
66
|
"additionalProperties": false
|
|
@@ -8,28 +8,18 @@
|
|
|
8
8
|
"type": "string",
|
|
9
9
|
"const": "currency"
|
|
10
10
|
},
|
|
11
|
-
"
|
|
11
|
+
"attributes": {
|
|
12
12
|
"type": "object",
|
|
13
13
|
"properties": {
|
|
14
|
-
"
|
|
15
|
-
"type": "string"
|
|
16
|
-
"const": "1.0"
|
|
14
|
+
"label": {
|
|
15
|
+
"type": "string"
|
|
17
16
|
},
|
|
18
|
-
"
|
|
17
|
+
"help": {
|
|
19
18
|
"type": "string"
|
|
20
19
|
},
|
|
21
|
-
"
|
|
20
|
+
"labelTranslationKey": {
|
|
22
21
|
"type": "string"
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
"required": [
|
|
26
|
-
"schemaVersion"
|
|
27
|
-
],
|
|
28
|
-
"additionalProperties": false
|
|
29
|
-
},
|
|
30
|
-
"attributes": {
|
|
31
|
-
"type": "object",
|
|
32
|
-
"properties": {
|
|
22
|
+
},
|
|
33
23
|
"max": {
|
|
34
24
|
"type": "number"
|
|
35
25
|
},
|
|
@@ -38,14 +28,29 @@
|
|
|
38
28
|
},
|
|
39
29
|
"step": {
|
|
40
30
|
"type": "number"
|
|
31
|
+
},
|
|
32
|
+
"denomination": {
|
|
33
|
+
"type": "string"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"additionalProperties": false
|
|
37
|
+
},
|
|
38
|
+
"meta": {
|
|
39
|
+
"type": "object",
|
|
40
|
+
"properties": {
|
|
41
|
+
"schemaVersion": {
|
|
42
|
+
"type": "string",
|
|
43
|
+
"const": "1.0"
|
|
41
44
|
}
|
|
42
45
|
},
|
|
46
|
+
"required": [
|
|
47
|
+
"schemaVersion"
|
|
48
|
+
],
|
|
43
49
|
"additionalProperties": false
|
|
44
50
|
}
|
|
45
51
|
},
|
|
46
52
|
"required": [
|
|
47
|
-
"type"
|
|
48
|
-
"meta"
|
|
53
|
+
"type"
|
|
49
54
|
],
|
|
50
55
|
"additionalProperties": false
|
|
51
56
|
}
|
|
@@ -8,25 +8,18 @@
|
|
|
8
8
|
"type": "string",
|
|
9
9
|
"const": "date"
|
|
10
10
|
},
|
|
11
|
-
"
|
|
11
|
+
"attributes": {
|
|
12
12
|
"type": "object",
|
|
13
13
|
"properties": {
|
|
14
|
-
"
|
|
15
|
-
"type": "string"
|
|
16
|
-
|
|
14
|
+
"label": {
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"help": {
|
|
18
|
+
"type": "string"
|
|
17
19
|
},
|
|
18
20
|
"labelTranslationKey": {
|
|
19
21
|
"type": "string"
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
"required": [
|
|
23
|
-
"schemaVersion"
|
|
24
|
-
],
|
|
25
|
-
"additionalProperties": false
|
|
26
|
-
},
|
|
27
|
-
"attributes": {
|
|
28
|
-
"type": "object",
|
|
29
|
-
"properties": {
|
|
22
|
+
},
|
|
30
23
|
"max": {
|
|
31
24
|
"type": "string"
|
|
32
25
|
},
|
|
@@ -38,11 +31,23 @@
|
|
|
38
31
|
}
|
|
39
32
|
},
|
|
40
33
|
"additionalProperties": false
|
|
34
|
+
},
|
|
35
|
+
"meta": {
|
|
36
|
+
"type": "object",
|
|
37
|
+
"properties": {
|
|
38
|
+
"schemaVersion": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"const": "1.0"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"required": [
|
|
44
|
+
"schemaVersion"
|
|
45
|
+
],
|
|
46
|
+
"additionalProperties": false
|
|
41
47
|
}
|
|
42
48
|
},
|
|
43
49
|
"required": [
|
|
44
|
-
"type"
|
|
45
|
-
"meta"
|
|
50
|
+
"type"
|
|
46
51
|
],
|
|
47
52
|
"additionalProperties": false
|
|
48
53
|
}
|
|
@@ -8,15 +8,27 @@
|
|
|
8
8
|
"type": "string",
|
|
9
9
|
"const": "dateRange"
|
|
10
10
|
},
|
|
11
|
+
"attributes": {
|
|
12
|
+
"type": "object",
|
|
13
|
+
"properties": {
|
|
14
|
+
"label": {
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"help": {
|
|
18
|
+
"type": "string"
|
|
19
|
+
},
|
|
20
|
+
"labelTranslationKey": {
|
|
21
|
+
"type": "string"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"additionalProperties": false
|
|
25
|
+
},
|
|
11
26
|
"meta": {
|
|
12
27
|
"type": "object",
|
|
13
28
|
"properties": {
|
|
14
29
|
"schemaVersion": {
|
|
15
30
|
"type": "string",
|
|
16
31
|
"const": "1.0"
|
|
17
|
-
},
|
|
18
|
-
"labelTranslationKey": {
|
|
19
|
-
"type": "string"
|
|
20
32
|
}
|
|
21
33
|
},
|
|
22
34
|
"required": [
|
|
@@ -30,73 +42,36 @@
|
|
|
30
42
|
"start": {
|
|
31
43
|
"type": "object",
|
|
32
44
|
"properties": {
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"const": "date"
|
|
45
|
+
"label": {
|
|
46
|
+
"$ref": "#/definitions/DateRangeQuestion/properties/attributes/properties/label"
|
|
36
47
|
},
|
|
37
|
-
"
|
|
38
|
-
"$ref": "#/definitions/DateRangeQuestion/properties/
|
|
48
|
+
"help": {
|
|
49
|
+
"$ref": "#/definitions/DateRangeQuestion/properties/attributes/properties/help"
|
|
39
50
|
},
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
"required": [
|
|
48
|
-
"label"
|
|
49
|
-
],
|
|
50
|
-
"additionalProperties": false
|
|
51
|
-
}
|
|
52
|
-
},
|
|
53
|
-
"required": [
|
|
54
|
-
"type",
|
|
55
|
-
"meta",
|
|
56
|
-
"attributes"
|
|
57
|
-
],
|
|
58
|
-
"additionalProperties": false
|
|
59
|
-
},
|
|
60
|
-
"end": {
|
|
61
|
-
"type": "object",
|
|
62
|
-
"properties": {
|
|
63
|
-
"type": {
|
|
64
|
-
"$ref": "#/definitions/DateRangeQuestion/properties/columns/properties/start/properties/type"
|
|
51
|
+
"labelTranslationKey": {
|
|
52
|
+
"$ref": "#/definitions/DateRangeQuestion/properties/attributes/properties/labelTranslationKey"
|
|
53
|
+
},
|
|
54
|
+
"max": {
|
|
55
|
+
"type": "string"
|
|
65
56
|
},
|
|
66
|
-
"
|
|
67
|
-
"
|
|
57
|
+
"min": {
|
|
58
|
+
"type": "string"
|
|
68
59
|
},
|
|
69
|
-
"
|
|
70
|
-
"type": "
|
|
71
|
-
"properties": {
|
|
72
|
-
"label": {
|
|
73
|
-
"type": "string"
|
|
74
|
-
}
|
|
75
|
-
},
|
|
76
|
-
"required": [
|
|
77
|
-
"label"
|
|
78
|
-
],
|
|
79
|
-
"additionalProperties": false
|
|
60
|
+
"step": {
|
|
61
|
+
"type": "number"
|
|
80
62
|
}
|
|
81
63
|
},
|
|
82
|
-
"required": [
|
|
83
|
-
"type",
|
|
84
|
-
"meta",
|
|
85
|
-
"attributes"
|
|
86
|
-
],
|
|
87
64
|
"additionalProperties": false
|
|
65
|
+
},
|
|
66
|
+
"end": {
|
|
67
|
+
"$ref": "#/definitions/DateRangeQuestion/properties/columns/properties/start"
|
|
88
68
|
}
|
|
89
69
|
},
|
|
90
|
-
"required": [
|
|
91
|
-
"start",
|
|
92
|
-
"end"
|
|
93
|
-
],
|
|
94
70
|
"additionalProperties": false
|
|
95
71
|
}
|
|
96
72
|
},
|
|
97
73
|
"required": [
|
|
98
74
|
"type",
|
|
99
|
-
"meta",
|
|
100
75
|
"columns"
|
|
101
76
|
],
|
|
102
77
|
"additionalProperties": false
|
|
@@ -8,44 +8,49 @@
|
|
|
8
8
|
"type": "string",
|
|
9
9
|
"const": "email"
|
|
10
10
|
},
|
|
11
|
-
"
|
|
11
|
+
"attributes": {
|
|
12
12
|
"type": "object",
|
|
13
13
|
"properties": {
|
|
14
|
-
"
|
|
15
|
-
"type": "string"
|
|
16
|
-
|
|
14
|
+
"label": {
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"help": {
|
|
18
|
+
"type": "string"
|
|
17
19
|
},
|
|
18
20
|
"labelTranslationKey": {
|
|
19
21
|
"type": "string"
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
"required": [
|
|
23
|
-
"schemaVersion"
|
|
24
|
-
],
|
|
25
|
-
"additionalProperties": false
|
|
26
|
-
},
|
|
27
|
-
"attributes": {
|
|
28
|
-
"type": "object",
|
|
29
|
-
"properties": {
|
|
22
|
+
},
|
|
30
23
|
"maxLength": {
|
|
31
24
|
"type": "number"
|
|
32
25
|
},
|
|
33
26
|
"minLength": {
|
|
34
27
|
"type": "number"
|
|
35
28
|
},
|
|
36
|
-
"multiple": {
|
|
37
|
-
"type": "boolean"
|
|
38
|
-
},
|
|
39
29
|
"pattern": {
|
|
40
30
|
"type": "string"
|
|
31
|
+
},
|
|
32
|
+
"multiple": {
|
|
33
|
+
"type": "boolean"
|
|
41
34
|
}
|
|
42
35
|
},
|
|
43
36
|
"additionalProperties": false
|
|
37
|
+
},
|
|
38
|
+
"meta": {
|
|
39
|
+
"type": "object",
|
|
40
|
+
"properties": {
|
|
41
|
+
"schemaVersion": {
|
|
42
|
+
"type": "string",
|
|
43
|
+
"const": "1.0"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"required": [
|
|
47
|
+
"schemaVersion"
|
|
48
|
+
],
|
|
49
|
+
"additionalProperties": false
|
|
44
50
|
}
|
|
45
51
|
},
|
|
46
52
|
"required": [
|
|
47
|
-
"type"
|
|
48
|
-
"meta"
|
|
53
|
+
"type"
|
|
49
54
|
],
|
|
50
55
|
"additionalProperties": false
|
|
51
56
|
}
|
|
@@ -8,15 +8,30 @@
|
|
|
8
8
|
"type": "string",
|
|
9
9
|
"const": "filteredSearch"
|
|
10
10
|
},
|
|
11
|
+
"attributes": {
|
|
12
|
+
"type": "object",
|
|
13
|
+
"properties": {
|
|
14
|
+
"label": {
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"help": {
|
|
18
|
+
"type": "string"
|
|
19
|
+
},
|
|
20
|
+
"labelTranslationKey": {
|
|
21
|
+
"type": "string"
|
|
22
|
+
},
|
|
23
|
+
"multiple": {
|
|
24
|
+
"type": "boolean"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"additionalProperties": false
|
|
28
|
+
},
|
|
11
29
|
"meta": {
|
|
12
30
|
"type": "object",
|
|
13
31
|
"properties": {
|
|
14
32
|
"schemaVersion": {
|
|
15
33
|
"type": "string",
|
|
16
34
|
"const": "1.0"
|
|
17
|
-
},
|
|
18
|
-
"labelTranslationKey": {
|
|
19
|
-
"type": "string"
|
|
20
35
|
}
|
|
21
36
|
},
|
|
22
37
|
"required": [
|
|
@@ -95,20 +110,10 @@
|
|
|
95
110
|
"responseField"
|
|
96
111
|
],
|
|
97
112
|
"additionalProperties": false
|
|
98
|
-
},
|
|
99
|
-
"attributes": {
|
|
100
|
-
"type": "object",
|
|
101
|
-
"properties": {
|
|
102
|
-
"multiple": {
|
|
103
|
-
"type": "boolean"
|
|
104
|
-
}
|
|
105
|
-
},
|
|
106
|
-
"additionalProperties": false
|
|
107
113
|
}
|
|
108
114
|
},
|
|
109
115
|
"required": [
|
|
110
116
|
"type",
|
|
111
|
-
"meta",
|
|
112
117
|
"graphQL"
|
|
113
118
|
],
|
|
114
119
|
"additionalProperties": false
|
|
@@ -8,25 +8,18 @@
|
|
|
8
8
|
"type": "string",
|
|
9
9
|
"const": "number"
|
|
10
10
|
},
|
|
11
|
-
"
|
|
11
|
+
"attributes": {
|
|
12
12
|
"type": "object",
|
|
13
13
|
"properties": {
|
|
14
|
-
"
|
|
15
|
-
"type": "string"
|
|
16
|
-
|
|
14
|
+
"label": {
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"help": {
|
|
18
|
+
"type": "string"
|
|
17
19
|
},
|
|
18
20
|
"labelTranslationKey": {
|
|
19
21
|
"type": "string"
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
"required": [
|
|
23
|
-
"schemaVersion"
|
|
24
|
-
],
|
|
25
|
-
"additionalProperties": false
|
|
26
|
-
},
|
|
27
|
-
"attributes": {
|
|
28
|
-
"type": "object",
|
|
29
|
-
"properties": {
|
|
22
|
+
},
|
|
30
23
|
"max": {
|
|
31
24
|
"type": "number"
|
|
32
25
|
},
|
|
@@ -38,11 +31,23 @@
|
|
|
38
31
|
}
|
|
39
32
|
},
|
|
40
33
|
"additionalProperties": false
|
|
34
|
+
},
|
|
35
|
+
"meta": {
|
|
36
|
+
"type": "object",
|
|
37
|
+
"properties": {
|
|
38
|
+
"schemaVersion": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"const": "1.0"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"required": [
|
|
44
|
+
"schemaVersion"
|
|
45
|
+
],
|
|
46
|
+
"additionalProperties": false
|
|
41
47
|
}
|
|
42
48
|
},
|
|
43
49
|
"required": [
|
|
44
|
-
"type"
|
|
45
|
-
"meta"
|
|
50
|
+
"type"
|
|
46
51
|
],
|
|
47
52
|
"additionalProperties": false
|
|
48
53
|
}
|
|
@@ -8,15 +8,27 @@
|
|
|
8
8
|
"type": "string",
|
|
9
9
|
"const": "numberRange"
|
|
10
10
|
},
|
|
11
|
+
"attributes": {
|
|
12
|
+
"type": "object",
|
|
13
|
+
"properties": {
|
|
14
|
+
"label": {
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"help": {
|
|
18
|
+
"type": "string"
|
|
19
|
+
},
|
|
20
|
+
"labelTranslationKey": {
|
|
21
|
+
"type": "string"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"additionalProperties": false
|
|
25
|
+
},
|
|
11
26
|
"meta": {
|
|
12
27
|
"type": "object",
|
|
13
28
|
"properties": {
|
|
14
29
|
"schemaVersion": {
|
|
15
30
|
"type": "string",
|
|
16
31
|
"const": "1.0"
|
|
17
|
-
},
|
|
18
|
-
"labelTranslationKey": {
|
|
19
|
-
"type": "string"
|
|
20
32
|
}
|
|
21
33
|
},
|
|
22
34
|
"required": [
|
|
@@ -30,73 +42,36 @@
|
|
|
30
42
|
"start": {
|
|
31
43
|
"type": "object",
|
|
32
44
|
"properties": {
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"const": "number"
|
|
45
|
+
"label": {
|
|
46
|
+
"$ref": "#/definitions/NumberRangeQuestion/properties/attributes/properties/label"
|
|
36
47
|
},
|
|
37
|
-
"
|
|
38
|
-
"$ref": "#/definitions/NumberRangeQuestion/properties/
|
|
48
|
+
"help": {
|
|
49
|
+
"$ref": "#/definitions/NumberRangeQuestion/properties/attributes/properties/help"
|
|
39
50
|
},
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
"required": [
|
|
48
|
-
"label"
|
|
49
|
-
],
|
|
50
|
-
"additionalProperties": false
|
|
51
|
-
}
|
|
52
|
-
},
|
|
53
|
-
"required": [
|
|
54
|
-
"type",
|
|
55
|
-
"meta",
|
|
56
|
-
"attributes"
|
|
57
|
-
],
|
|
58
|
-
"additionalProperties": false
|
|
59
|
-
},
|
|
60
|
-
"end": {
|
|
61
|
-
"type": "object",
|
|
62
|
-
"properties": {
|
|
63
|
-
"type": {
|
|
64
|
-
"$ref": "#/definitions/NumberRangeQuestion/properties/columns/properties/start/properties/type"
|
|
51
|
+
"labelTranslationKey": {
|
|
52
|
+
"$ref": "#/definitions/NumberRangeQuestion/properties/attributes/properties/labelTranslationKey"
|
|
53
|
+
},
|
|
54
|
+
"max": {
|
|
55
|
+
"type": "number"
|
|
65
56
|
},
|
|
66
|
-
"
|
|
67
|
-
"
|
|
57
|
+
"min": {
|
|
58
|
+
"type": "number"
|
|
68
59
|
},
|
|
69
|
-
"
|
|
70
|
-
"type": "
|
|
71
|
-
"properties": {
|
|
72
|
-
"label": {
|
|
73
|
-
"type": "string"
|
|
74
|
-
}
|
|
75
|
-
},
|
|
76
|
-
"required": [
|
|
77
|
-
"label"
|
|
78
|
-
],
|
|
79
|
-
"additionalProperties": false
|
|
60
|
+
"step": {
|
|
61
|
+
"type": "number"
|
|
80
62
|
}
|
|
81
63
|
},
|
|
82
|
-
"required": [
|
|
83
|
-
"type",
|
|
84
|
-
"meta",
|
|
85
|
-
"attributes"
|
|
86
|
-
],
|
|
87
64
|
"additionalProperties": false
|
|
65
|
+
},
|
|
66
|
+
"end": {
|
|
67
|
+
"$ref": "#/definitions/NumberRangeQuestion/properties/columns/properties/start"
|
|
88
68
|
}
|
|
89
69
|
},
|
|
90
|
-
"required": [
|
|
91
|
-
"start",
|
|
92
|
-
"end"
|
|
93
|
-
],
|
|
94
70
|
"additionalProperties": false
|
|
95
71
|
}
|
|
96
72
|
},
|
|
97
73
|
"required": [
|
|
98
74
|
"type",
|
|
99
|
-
"meta",
|
|
100
75
|
"columns"
|
|
101
76
|
],
|
|
102
77
|
"additionalProperties": false
|