@dmptool/types 1.2.5 → 2.0.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/README.md +1 -1
- package/dist/answers/__tests__/defaults.spec.js +216 -0
- package/dist/answers/answer.d.ts +29 -14
- package/dist/answers/answer.js +11 -5
- package/dist/answers/dateAnswers.d.ts +20 -47
- package/dist/answers/dateAnswers.js +20 -10
- package/dist/answers/graphQLAnswers.d.ts +48 -120
- package/dist/answers/graphQLAnswers.js +46 -21
- package/dist/answers/index.d.ts +155 -1439
- package/dist/answers/index.js +26 -1
- package/dist/answers/numberAnswers.d.ts +38 -92
- package/dist/answers/numberAnswers.js +38 -19
- package/dist/answers/optionBasedAnswers.d.ts +42 -87
- package/dist/answers/optionBasedAnswers.js +37 -21
- package/dist/answers/tableAnswers.d.ts +348 -3032
- package/dist/answers/tableAnswers.js +25 -61
- package/dist/answers/textAnswers.d.ts +32 -68
- package/dist/answers/textAnswers.js +30 -17
- package/dist/questions/__tests__/dateQuestions.spec.js +3 -0
- package/dist/questions/__tests__/defaults.spec.d.ts +1 -0
- package/dist/questions/__tests__/defaults.spec.js +668 -0
- package/dist/questions/__tests__/optionBasedQuestions.spec.js +3 -2
- package/dist/questions/__tests__/tableQuestion.spec.js +22 -23
- package/dist/questions/__tests__/textQuestions.spec.js +32 -0
- package/dist/questions/dateQuestions.d.ts +45 -191
- package/dist/questions/dateQuestions.js +26 -23
- package/dist/questions/graphQLQuestions.d.ts +262 -556
- package/dist/questions/graphQLQuestions.js +225 -223
- package/dist/questions/index.d.ts +680 -8090
- package/dist/questions/index.js +26 -1
- package/dist/questions/numberQuestions.d.ts +85 -331
- package/dist/questions/numberQuestions.js +50 -36
- package/dist/questions/optionBasedQuestions.d.ts +83 -290
- package/dist/questions/optionBasedQuestions.js +58 -41
- package/dist/questions/question.d.ts +72 -35
- package/dist/questions/question.js +14 -5
- package/dist/questions/tableQuestions.d.ts +2029 -10357
- package/dist/questions/tableQuestions.js +197 -190
- package/dist/questions/textQuestions.d.ts +70 -226
- package/dist/questions/textQuestions.js +31 -31
- package/package.json +3 -4
- package/dist/answers/__tests__/usage.spec.js +0 -178
- package/dist/questions/__tests__/usage.spec.d.ts +0 -8
- package/dist/questions/__tests__/usage.spec.js +0 -473
- package/dist/schemas/affiliationSearchAnswer.schema.json +0 -45
- package/dist/schemas/affiliationSearchQuestion.schema.json +0 -140
- package/dist/schemas/anyAnswer.schema.json +0 -605
- package/dist/schemas/anyQuestion.schema.json +0 -1737
- package/dist/schemas/anyTableColumnAnswer.schema.json +0 -466
- package/dist/schemas/anyTableColumnQuestion.schema.json +0 -1092
- package/dist/schemas/booleanAnswer.schema.json +0 -34
- package/dist/schemas/booleanQuestion.schema.json +0 -56
- package/dist/schemas/checkboxesAnswer.schema.json +0 -39
- package/dist/schemas/checkboxesQuestion.schema.json +0 -76
- package/dist/schemas/currencyAnswer.schema.json +0 -34
- package/dist/schemas/currencyQuestion.schema.json +0 -67
- package/dist/schemas/dateAnswer.schema.json +0 -34
- package/dist/schemas/datePickerAnswer.schema.json +0 -37
- package/dist/schemas/datePickerQuestion.schema.json +0 -52
- package/dist/schemas/dateQuestion.schema.json +0 -62
- package/dist/schemas/dateRangeAnswer.schema.json +0 -45
- package/dist/schemas/dateRangeQuestion.schema.json +0 -112
- package/dist/schemas/emailAnswer.schema.json +0 -34
- package/dist/schemas/emailQuestion.schema.json +0 -66
- package/dist/schemas/filteredSearchAnswer.schema.json +0 -40
- package/dist/schemas/filteredSearchQuestion.schema.json +0 -130
- package/dist/schemas/licenseSearchAnswer.schema.json +0 -49
- package/dist/schemas/licenseSearchQuestion.schema.json +0 -164
- package/dist/schemas/metadataStandardSearchAnswer.schema.json +0 -49
- package/dist/schemas/metadataStandardSearchQuestion.schema.json +0 -174
- package/dist/schemas/multiselectBoxAnswer.schema.json +0 -39
- package/dist/schemas/multiselectBoxQuestion.schema.json +0 -85
- package/dist/schemas/numberAnswer.schema.json +0 -34
- package/dist/schemas/numberQuestion.schema.json +0 -63
- package/dist/schemas/numberRangeAnswer.schema.json +0 -45
- package/dist/schemas/numberRangeQuestion.schema.json +0 -94
- package/dist/schemas/numberWithContextAnswer.schema.json +0 -45
- package/dist/schemas/numberWithContextQuestion.schema.json +0 -84
- package/dist/schemas/radioButtonsAnswer.schema.json +0 -34
- package/dist/schemas/radioButtonsQuestion.schema.json +0 -76
- package/dist/schemas/repositorySearchAnswer.schema.json +0 -49
- package/dist/schemas/repositorySearchQuestion.schema.json +0 -180
- package/dist/schemas/researchOutputTableAnswer.schema.json +0 -519
- package/dist/schemas/researchOutputTableQuestion.schema.json +0 -1183
- package/dist/schemas/selectBoxAnswer.schema.json +0 -34
- package/dist/schemas/selectBoxQuestion.schema.json +0 -85
- package/dist/schemas/tableAnswer.schema.json +0 -519
- package/dist/schemas/tableQuestion.schema.json +0 -1183
- package/dist/schemas/textAnswer.schema.json +0 -34
- package/dist/schemas/textAreaAnswer.schema.json +0 -34
- package/dist/schemas/textAreaQuestion.schema.json +0 -70
- package/dist/schemas/textQuestion.schema.json +0 -62
- package/dist/schemas/typeaheadSearchAnswer.schema.json +0 -37
- package/dist/schemas/typeaheadSearchQuestion.schema.json +0 -120
- package/dist/schemas/urlAnswer.schema.json +0 -34
- package/dist/schemas/urlQuestion.schema.json +0 -62
- /package/dist/answers/__tests__/{usage.spec.d.ts → defaults.spec.d.ts} +0 -0
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$ref": "#/definitions/BooleanAnswer",
|
|
3
|
-
"definitions": {
|
|
4
|
-
"BooleanAnswer": {
|
|
5
|
-
"type": "object",
|
|
6
|
-
"properties": {
|
|
7
|
-
"type": {
|
|
8
|
-
"type": "string",
|
|
9
|
-
"const": "boolean"
|
|
10
|
-
},
|
|
11
|
-
"meta": {
|
|
12
|
-
"type": "object",
|
|
13
|
-
"properties": {
|
|
14
|
-
"schemaVersion": {
|
|
15
|
-
"type": "string",
|
|
16
|
-
"default": "1.0"
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
"additionalProperties": false,
|
|
20
|
-
"default": {}
|
|
21
|
-
},
|
|
22
|
-
"answer": {
|
|
23
|
-
"type": "boolean",
|
|
24
|
-
"default": false
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
"required": [
|
|
28
|
-
"type"
|
|
29
|
-
],
|
|
30
|
-
"additionalProperties": false
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
34
|
-
}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$ref": "#/definitions/BooleanQuestion",
|
|
3
|
-
"definitions": {
|
|
4
|
-
"BooleanQuestion": {
|
|
5
|
-
"type": "object",
|
|
6
|
-
"properties": {
|
|
7
|
-
"type": {
|
|
8
|
-
"type": "string",
|
|
9
|
-
"const": "boolean"
|
|
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
|
-
"checked": {
|
|
24
|
-
"type": "boolean",
|
|
25
|
-
"default": false
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
"additionalProperties": false,
|
|
29
|
-
"default": {}
|
|
30
|
-
},
|
|
31
|
-
"meta": {
|
|
32
|
-
"type": "object",
|
|
33
|
-
"properties": {
|
|
34
|
-
"schemaVersion": {
|
|
35
|
-
"type": "string",
|
|
36
|
-
"default": "1.0"
|
|
37
|
-
},
|
|
38
|
-
"title": {
|
|
39
|
-
"type": "string"
|
|
40
|
-
},
|
|
41
|
-
"usageDescription": {
|
|
42
|
-
"type": "string"
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
"additionalProperties": false,
|
|
46
|
-
"default": {}
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
"required": [
|
|
50
|
-
"type"
|
|
51
|
-
],
|
|
52
|
-
"additionalProperties": false
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
56
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$ref": "#/definitions/CheckboxesAnswer",
|
|
3
|
-
"definitions": {
|
|
4
|
-
"CheckboxesAnswer": {
|
|
5
|
-
"type": "object",
|
|
6
|
-
"properties": {
|
|
7
|
-
"type": {
|
|
8
|
-
"type": "string",
|
|
9
|
-
"const": "checkBoxes"
|
|
10
|
-
},
|
|
11
|
-
"meta": {
|
|
12
|
-
"type": "object",
|
|
13
|
-
"properties": {
|
|
14
|
-
"schemaVersion": {
|
|
15
|
-
"type": "string",
|
|
16
|
-
"default": "1.0"
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
"additionalProperties": false,
|
|
20
|
-
"default": {}
|
|
21
|
-
},
|
|
22
|
-
"answer": {
|
|
23
|
-
"type": "array",
|
|
24
|
-
"items": {
|
|
25
|
-
"type": "string"
|
|
26
|
-
},
|
|
27
|
-
"default": [
|
|
28
|
-
""
|
|
29
|
-
]
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
"required": [
|
|
33
|
-
"type"
|
|
34
|
-
],
|
|
35
|
-
"additionalProperties": false
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
39
|
-
}
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$ref": "#/definitions/CheckboxesQuestion",
|
|
3
|
-
"definitions": {
|
|
4
|
-
"CheckboxesQuestion": {
|
|
5
|
-
"type": "object",
|
|
6
|
-
"properties": {
|
|
7
|
-
"type": {
|
|
8
|
-
"type": "string",
|
|
9
|
-
"const": "checkBoxes"
|
|
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
|
-
"default": {}
|
|
26
|
-
},
|
|
27
|
-
"meta": {
|
|
28
|
-
"type": "object",
|
|
29
|
-
"properties": {
|
|
30
|
-
"schemaVersion": {
|
|
31
|
-
"type": "string",
|
|
32
|
-
"default": "1.0"
|
|
33
|
-
},
|
|
34
|
-
"title": {
|
|
35
|
-
"type": "string"
|
|
36
|
-
},
|
|
37
|
-
"usageDescription": {
|
|
38
|
-
"type": "string"
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
"additionalProperties": false,
|
|
42
|
-
"default": {}
|
|
43
|
-
},
|
|
44
|
-
"options": {
|
|
45
|
-
"type": "array",
|
|
46
|
-
"items": {
|
|
47
|
-
"type": "object",
|
|
48
|
-
"properties": {
|
|
49
|
-
"label": {
|
|
50
|
-
"type": "string",
|
|
51
|
-
"default": "Option A"
|
|
52
|
-
},
|
|
53
|
-
"value": {
|
|
54
|
-
"type": "string",
|
|
55
|
-
"default": "a"
|
|
56
|
-
},
|
|
57
|
-
"checked": {
|
|
58
|
-
"type": "boolean",
|
|
59
|
-
"default": false
|
|
60
|
-
}
|
|
61
|
-
},
|
|
62
|
-
"additionalProperties": false
|
|
63
|
-
},
|
|
64
|
-
"default": [
|
|
65
|
-
{}
|
|
66
|
-
]
|
|
67
|
-
}
|
|
68
|
-
},
|
|
69
|
-
"required": [
|
|
70
|
-
"type"
|
|
71
|
-
],
|
|
72
|
-
"additionalProperties": false
|
|
73
|
-
}
|
|
74
|
-
},
|
|
75
|
-
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
76
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$ref": "#/definitions/CurrencyAnswer",
|
|
3
|
-
"definitions": {
|
|
4
|
-
"CurrencyAnswer": {
|
|
5
|
-
"type": "object",
|
|
6
|
-
"properties": {
|
|
7
|
-
"type": {
|
|
8
|
-
"type": "string",
|
|
9
|
-
"const": "currency"
|
|
10
|
-
},
|
|
11
|
-
"meta": {
|
|
12
|
-
"type": "object",
|
|
13
|
-
"properties": {
|
|
14
|
-
"schemaVersion": {
|
|
15
|
-
"type": "string",
|
|
16
|
-
"default": "1.0"
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
"additionalProperties": false,
|
|
20
|
-
"default": {}
|
|
21
|
-
},
|
|
22
|
-
"answer": {
|
|
23
|
-
"type": "number",
|
|
24
|
-
"default": 0
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
"required": [
|
|
28
|
-
"type"
|
|
29
|
-
],
|
|
30
|
-
"additionalProperties": false
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
34
|
-
}
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$ref": "#/definitions/CurrencyQuestion",
|
|
3
|
-
"definitions": {
|
|
4
|
-
"CurrencyQuestion": {
|
|
5
|
-
"type": "object",
|
|
6
|
-
"properties": {
|
|
7
|
-
"type": {
|
|
8
|
-
"type": "string",
|
|
9
|
-
"const": "currency"
|
|
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
|
-
"max": {
|
|
24
|
-
"type": "number"
|
|
25
|
-
},
|
|
26
|
-
"min": {
|
|
27
|
-
"type": "number",
|
|
28
|
-
"default": 0
|
|
29
|
-
},
|
|
30
|
-
"step": {
|
|
31
|
-
"type": "number",
|
|
32
|
-
"default": 1
|
|
33
|
-
},
|
|
34
|
-
"denomination": {
|
|
35
|
-
"type": "string",
|
|
36
|
-
"default": "USD"
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
"additionalProperties": false,
|
|
40
|
-
"default": {}
|
|
41
|
-
},
|
|
42
|
-
"meta": {
|
|
43
|
-
"type": "object",
|
|
44
|
-
"properties": {
|
|
45
|
-
"schemaVersion": {
|
|
46
|
-
"type": "string",
|
|
47
|
-
"default": "1.0"
|
|
48
|
-
},
|
|
49
|
-
"title": {
|
|
50
|
-
"type": "string"
|
|
51
|
-
},
|
|
52
|
-
"usageDescription": {
|
|
53
|
-
"type": "string"
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
|
-
"additionalProperties": false,
|
|
57
|
-
"default": {}
|
|
58
|
-
}
|
|
59
|
-
},
|
|
60
|
-
"required": [
|
|
61
|
-
"type"
|
|
62
|
-
],
|
|
63
|
-
"additionalProperties": false
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
|
-
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
67
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$ref": "#/definitions/DateAnswer",
|
|
3
|
-
"definitions": {
|
|
4
|
-
"DateAnswer": {
|
|
5
|
-
"type": "object",
|
|
6
|
-
"properties": {
|
|
7
|
-
"type": {
|
|
8
|
-
"type": "string",
|
|
9
|
-
"const": "date"
|
|
10
|
-
},
|
|
11
|
-
"meta": {
|
|
12
|
-
"type": "object",
|
|
13
|
-
"properties": {
|
|
14
|
-
"schemaVersion": {
|
|
15
|
-
"type": "string",
|
|
16
|
-
"default": "1.0"
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
"additionalProperties": false,
|
|
20
|
-
"default": {}
|
|
21
|
-
},
|
|
22
|
-
"answer": {
|
|
23
|
-
"type": "string",
|
|
24
|
-
"default": ""
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
"required": [
|
|
28
|
-
"type"
|
|
29
|
-
],
|
|
30
|
-
"additionalProperties": false
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
34
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$ref": "#/definitions/DateAnswer",
|
|
3
|
-
"definitions": {
|
|
4
|
-
"DateAnswer": {
|
|
5
|
-
"type": "object",
|
|
6
|
-
"properties": {
|
|
7
|
-
"type": {
|
|
8
|
-
"type": "string",
|
|
9
|
-
"const": "date"
|
|
10
|
-
},
|
|
11
|
-
"answer": {
|
|
12
|
-
"type": "string"
|
|
13
|
-
},
|
|
14
|
-
"meta": {
|
|
15
|
-
"type": "object",
|
|
16
|
-
"properties": {
|
|
17
|
-
"schemaVersion": {
|
|
18
|
-
"type": "string",
|
|
19
|
-
"const": "1.0"
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
"required": [
|
|
23
|
-
"schemaVersion"
|
|
24
|
-
],
|
|
25
|
-
"additionalProperties": false
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
"required": [
|
|
29
|
-
"type",
|
|
30
|
-
"answer",
|
|
31
|
-
"meta"
|
|
32
|
-
],
|
|
33
|
-
"additionalProperties": false
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
|
-
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
37
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$ref": "#/definitions/DateQuestion",
|
|
3
|
-
"definitions": {
|
|
4
|
-
"DateQuestion": {
|
|
5
|
-
"type": "object",
|
|
6
|
-
"properties": {
|
|
7
|
-
"type": {
|
|
8
|
-
"type": "string",
|
|
9
|
-
"const": "date"
|
|
10
|
-
},
|
|
11
|
-
"meta": {
|
|
12
|
-
"type": "object",
|
|
13
|
-
"properties": {
|
|
14
|
-
"schemaVersion": {
|
|
15
|
-
"type": "string",
|
|
16
|
-
"const": "1.0"
|
|
17
|
-
},
|
|
18
|
-
"labelTranslationKey": {
|
|
19
|
-
"type": "string"
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
"required": [
|
|
23
|
-
"schemaVersion"
|
|
24
|
-
],
|
|
25
|
-
"additionalProperties": false
|
|
26
|
-
},
|
|
27
|
-
"attributes": {
|
|
28
|
-
"type": "object",
|
|
29
|
-
"properties": {
|
|
30
|
-
"max": {
|
|
31
|
-
"type": "string"
|
|
32
|
-
},
|
|
33
|
-
"min": {
|
|
34
|
-
"type": "string"
|
|
35
|
-
},
|
|
36
|
-
"step": {
|
|
37
|
-
"type": "number"
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
"additionalProperties": false
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
"required": [
|
|
44
|
-
"type",
|
|
45
|
-
"meta",
|
|
46
|
-
"attributes"
|
|
47
|
-
],
|
|
48
|
-
"additionalProperties": false
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
52
|
-
}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$ref": "#/definitions/DateQuestion",
|
|
3
|
-
"definitions": {
|
|
4
|
-
"DateQuestion": {
|
|
5
|
-
"type": "object",
|
|
6
|
-
"properties": {
|
|
7
|
-
"type": {
|
|
8
|
-
"type": "string",
|
|
9
|
-
"const": "date"
|
|
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
|
-
"max": {
|
|
24
|
-
"type": "string"
|
|
25
|
-
},
|
|
26
|
-
"min": {
|
|
27
|
-
"type": "string"
|
|
28
|
-
},
|
|
29
|
-
"step": {
|
|
30
|
-
"type": "number",
|
|
31
|
-
"default": 1
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
"additionalProperties": false,
|
|
35
|
-
"default": {}
|
|
36
|
-
},
|
|
37
|
-
"meta": {
|
|
38
|
-
"type": "object",
|
|
39
|
-
"properties": {
|
|
40
|
-
"schemaVersion": {
|
|
41
|
-
"type": "string",
|
|
42
|
-
"default": "1.0"
|
|
43
|
-
},
|
|
44
|
-
"title": {
|
|
45
|
-
"type": "string"
|
|
46
|
-
},
|
|
47
|
-
"usageDescription": {
|
|
48
|
-
"type": "string"
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
"additionalProperties": false,
|
|
52
|
-
"default": {}
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
"required": [
|
|
56
|
-
"type"
|
|
57
|
-
],
|
|
58
|
-
"additionalProperties": false
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
|
-
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
62
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$ref": "#/definitions/DateRangeAnswer",
|
|
3
|
-
"definitions": {
|
|
4
|
-
"DateRangeAnswer": {
|
|
5
|
-
"type": "object",
|
|
6
|
-
"properties": {
|
|
7
|
-
"type": {
|
|
8
|
-
"type": "string",
|
|
9
|
-
"const": "dateRange"
|
|
10
|
-
},
|
|
11
|
-
"meta": {
|
|
12
|
-
"type": "object",
|
|
13
|
-
"properties": {
|
|
14
|
-
"schemaVersion": {
|
|
15
|
-
"type": "string",
|
|
16
|
-
"default": "1.0"
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
"additionalProperties": false,
|
|
20
|
-
"default": {}
|
|
21
|
-
},
|
|
22
|
-
"answer": {
|
|
23
|
-
"type": "object",
|
|
24
|
-
"properties": {
|
|
25
|
-
"start": {
|
|
26
|
-
"type": "string",
|
|
27
|
-
"default": ""
|
|
28
|
-
},
|
|
29
|
-
"end": {
|
|
30
|
-
"type": "string",
|
|
31
|
-
"default": ""
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
"additionalProperties": false,
|
|
35
|
-
"default": {}
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
"required": [
|
|
39
|
-
"type"
|
|
40
|
-
],
|
|
41
|
-
"additionalProperties": false
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
45
|
-
}
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$ref": "#/definitions/DateRangeQuestion",
|
|
3
|
-
"definitions": {
|
|
4
|
-
"DateRangeQuestion": {
|
|
5
|
-
"type": "object",
|
|
6
|
-
"properties": {
|
|
7
|
-
"type": {
|
|
8
|
-
"type": "string",
|
|
9
|
-
"const": "dateRange"
|
|
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
|
-
"default": {}
|
|
26
|
-
},
|
|
27
|
-
"meta": {
|
|
28
|
-
"type": "object",
|
|
29
|
-
"properties": {
|
|
30
|
-
"schemaVersion": {
|
|
31
|
-
"type": "string",
|
|
32
|
-
"default": "1.0"
|
|
33
|
-
},
|
|
34
|
-
"title": {
|
|
35
|
-
"type": "string"
|
|
36
|
-
},
|
|
37
|
-
"usageDescription": {
|
|
38
|
-
"type": "string"
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
"additionalProperties": false,
|
|
42
|
-
"default": {}
|
|
43
|
-
},
|
|
44
|
-
"columns": {
|
|
45
|
-
"type": "object",
|
|
46
|
-
"properties": {
|
|
47
|
-
"start": {
|
|
48
|
-
"type": "object",
|
|
49
|
-
"properties": {
|
|
50
|
-
"label": {
|
|
51
|
-
"type": "string",
|
|
52
|
-
"default": "From"
|
|
53
|
-
},
|
|
54
|
-
"help": {
|
|
55
|
-
"$ref": "#/definitions/DateRangeQuestion/properties/attributes/properties/help"
|
|
56
|
-
},
|
|
57
|
-
"labelTranslationKey": {
|
|
58
|
-
"$ref": "#/definitions/DateRangeQuestion/properties/attributes/properties/labelTranslationKey"
|
|
59
|
-
},
|
|
60
|
-
"max": {
|
|
61
|
-
"type": "string"
|
|
62
|
-
},
|
|
63
|
-
"min": {
|
|
64
|
-
"type": "string"
|
|
65
|
-
},
|
|
66
|
-
"step": {
|
|
67
|
-
"type": "number",
|
|
68
|
-
"default": 1
|
|
69
|
-
}
|
|
70
|
-
},
|
|
71
|
-
"additionalProperties": false,
|
|
72
|
-
"default": {}
|
|
73
|
-
},
|
|
74
|
-
"end": {
|
|
75
|
-
"type": "object",
|
|
76
|
-
"properties": {
|
|
77
|
-
"label": {
|
|
78
|
-
"type": "string",
|
|
79
|
-
"default": "To"
|
|
80
|
-
},
|
|
81
|
-
"help": {
|
|
82
|
-
"$ref": "#/definitions/DateRangeQuestion/properties/attributes/properties/help"
|
|
83
|
-
},
|
|
84
|
-
"labelTranslationKey": {
|
|
85
|
-
"$ref": "#/definitions/DateRangeQuestion/properties/attributes/properties/labelTranslationKey"
|
|
86
|
-
},
|
|
87
|
-
"max": {
|
|
88
|
-
"$ref": "#/definitions/DateRangeQuestion/properties/columns/properties/start/properties/max"
|
|
89
|
-
},
|
|
90
|
-
"min": {
|
|
91
|
-
"$ref": "#/definitions/DateRangeQuestion/properties/columns/properties/start/properties/min"
|
|
92
|
-
},
|
|
93
|
-
"step": {
|
|
94
|
-
"$ref": "#/definitions/DateRangeQuestion/properties/columns/properties/start/properties/step"
|
|
95
|
-
}
|
|
96
|
-
},
|
|
97
|
-
"additionalProperties": false,
|
|
98
|
-
"default": {}
|
|
99
|
-
}
|
|
100
|
-
},
|
|
101
|
-
"additionalProperties": false,
|
|
102
|
-
"default": {}
|
|
103
|
-
}
|
|
104
|
-
},
|
|
105
|
-
"required": [
|
|
106
|
-
"type"
|
|
107
|
-
],
|
|
108
|
-
"additionalProperties": false
|
|
109
|
-
}
|
|
110
|
-
},
|
|
111
|
-
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
112
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$ref": "#/definitions/EmailAnswer",
|
|
3
|
-
"definitions": {
|
|
4
|
-
"EmailAnswer": {
|
|
5
|
-
"type": "object",
|
|
6
|
-
"properties": {
|
|
7
|
-
"type": {
|
|
8
|
-
"type": "string",
|
|
9
|
-
"const": "email"
|
|
10
|
-
},
|
|
11
|
-
"meta": {
|
|
12
|
-
"type": "object",
|
|
13
|
-
"properties": {
|
|
14
|
-
"schemaVersion": {
|
|
15
|
-
"type": "string",
|
|
16
|
-
"default": "1.0"
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
"additionalProperties": false,
|
|
20
|
-
"default": {}
|
|
21
|
-
},
|
|
22
|
-
"answer": {
|
|
23
|
-
"type": "string",
|
|
24
|
-
"default": ""
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
"required": [
|
|
28
|
-
"type"
|
|
29
|
-
],
|
|
30
|
-
"additionalProperties": false
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
34
|
-
}
|