@dmptool/types 2.0.0 → 2.2.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.
Files changed (144) hide show
  1. package/README.md +70 -1
  2. package/dist/answers/__tests__/defaults.spec.js +80 -21
  3. package/dist/answers/answer.d.ts +2 -0
  4. package/dist/answers/answer.js +4 -2
  5. package/dist/answers/dateAnswers.d.ts +4 -0
  6. package/dist/answers/graphQLAnswers.d.ts +8 -0
  7. package/dist/answers/index.d.ts +37 -0
  8. package/dist/answers/numberAnswers.d.ts +8 -0
  9. package/dist/answers/optionBasedAnswers.d.ts +10 -0
  10. package/dist/answers/tableAnswers.d.ts +94 -0
  11. package/dist/answers/textAnswers.d.ts +8 -0
  12. package/dist/dmp/__tests__/commonStandard.spec.d.ts +1 -0
  13. package/dist/dmp/__tests__/commonStandard.spec.js +210 -0
  14. package/dist/dmp/__tests__/extensions.spec.d.ts +1 -0
  15. package/dist/dmp/__tests__/extensions.spec.js +99 -0
  16. package/dist/dmp/extension.d.ts +1117 -0
  17. package/dist/dmp/extension.js +234 -0
  18. package/dist/dmp/index.d.ts +9 -0
  19. package/dist/dmp/index.js +69 -0
  20. package/dist/index.d.ts +1 -0
  21. package/dist/index.js +1 -0
  22. package/dist/questions/__tests__/defaults.spec.js +2 -2
  23. package/dist/questions/__tests__/optionBasedQuestions.spec.js +8 -4
  24. package/dist/questions/dateQuestions.d.ts +4 -0
  25. package/dist/questions/dateQuestions.js +2 -2
  26. package/dist/questions/index.d.ts +30 -22
  27. package/dist/questions/numberQuestions.d.ts +8 -0
  28. package/dist/questions/numberQuestions.js +4 -4
  29. package/dist/questions/optionBasedQuestions.d.ts +10 -0
  30. package/dist/questions/optionBasedQuestions.js +5 -5
  31. package/dist/questions/tableQuestions.d.ts +393 -25
  32. package/dist/questions/tableQuestions.js +3 -2
  33. package/dist/questions/textQuestions.d.ts +4 -0
  34. package/dist/questions/textQuestions.js +2 -2
  35. package/dist/schemas/affiliationSearchAnswer.schema.json +50 -0
  36. package/dist/schemas/affiliationSearchQuestion.schema.json +142 -0
  37. package/dist/schemas/anyAnswer.schema.json +1537 -0
  38. package/dist/schemas/anyQuestion.schema.json +4828 -0
  39. package/dist/schemas/anyTableColumnAnswer.schema.json +741 -0
  40. package/dist/schemas/anyTableColumnQuestion.schema.json +1560 -0
  41. package/dist/schemas/booleanAnswer.schema.json +36 -0
  42. package/dist/schemas/booleanQuestion.schema.json +55 -0
  43. package/dist/schemas/checkboxesAnswer.schema.json +41 -0
  44. package/dist/schemas/checkboxesQuestion.schema.json +80 -0
  45. package/dist/schemas/currencyAnswer.schema.json +36 -0
  46. package/dist/schemas/currencyQuestion.schema.json +73 -0
  47. package/dist/schemas/dateAnswer.schema.json +36 -0
  48. package/dist/schemas/datePickerAnswer.schema.json +37 -0
  49. package/dist/schemas/datePickerQuestion.schema.json +52 -0
  50. package/dist/schemas/dateQuestion.schema.json +66 -0
  51. package/dist/schemas/dateRangeAnswer.schema.json +50 -0
  52. package/dist/schemas/dateRangeQuestion.schema.json +124 -0
  53. package/dist/schemas/dmp.schema.json +2070 -0
  54. package/dist/schemas/dmpExtension.schema.json +1985 -0
  55. package/dist/schemas/emailAnswer.schema.json +36 -0
  56. package/dist/schemas/emailQuestion.schema.json +71 -0
  57. package/dist/schemas/filteredSearchAnswer.schema.json +40 -0
  58. package/dist/schemas/filteredSearchQuestion.schema.json +130 -0
  59. package/dist/schemas/licenseSearchAnswer.schema.json +54 -0
  60. package/dist/schemas/licenseSearchQuestion.schema.json +140 -0
  61. package/dist/schemas/metadataStandardSearchAnswer.schema.json +54 -0
  62. package/dist/schemas/metadataStandardSearchQuestion.schema.json +141 -0
  63. package/dist/schemas/multiselectBoxAnswer.schema.json +41 -0
  64. package/dist/schemas/multiselectBoxQuestion.schema.json +87 -0
  65. package/dist/schemas/numberAnswer.schema.json +36 -0
  66. package/dist/schemas/numberQuestion.schema.json +68 -0
  67. package/dist/schemas/numberRangeAnswer.schema.json +50 -0
  68. package/dist/schemas/numberRangeQuestion.schema.json +128 -0
  69. package/dist/schemas/numberWithContextAnswer.schema.json +50 -0
  70. package/dist/schemas/numberWithContextQuestion.schema.json +98 -0
  71. package/dist/schemas/radioButtonsAnswer.schema.json +36 -0
  72. package/dist/schemas/radioButtonsQuestion.schema.json +80 -0
  73. package/dist/schemas/repositorySearchAnswer.schema.json +54 -0
  74. package/dist/schemas/repositorySearchQuestion.schema.json +140 -0
  75. package/dist/schemas/researchOutputTableAnswer.schema.json +20065 -0
  76. package/dist/schemas/researchOutputTableQuestion.schema.json +140 -0
  77. package/dist/schemas/selectBoxAnswer.schema.json +36 -0
  78. package/dist/schemas/selectBoxQuestion.schema.json +87 -0
  79. package/dist/schemas/tableAnswer.schema.json +797 -0
  80. package/dist/schemas/tableQuestion.schema.json +1662 -0
  81. package/dist/schemas/textAnswer.schema.json +36 -0
  82. package/dist/schemas/textAreaAnswer.schema.json +36 -0
  83. package/dist/schemas/textAreaQuestion.schema.json +78 -0
  84. package/dist/schemas/textQuestion.schema.json +63 -0
  85. package/dist/schemas/typeaheadSearchAnswer.schema.json +37 -0
  86. package/dist/schemas/typeaheadSearchQuestion.schema.json +120 -0
  87. package/dist/schemas/urlAnswer.schema.json +36 -0
  88. package/dist/schemas/urlQuestion.schema.json +66 -0
  89. package/package.json +12 -4
  90. package/schemas/.placeholder +0 -0
  91. package/schemas/affiliationSearchAnswer.schema.json +50 -0
  92. package/schemas/affiliationSearchQuestion.schema.json +142 -0
  93. package/schemas/anyAnswer.schema.json +1537 -0
  94. package/schemas/anyQuestion.schema.json +4828 -0
  95. package/schemas/anyTableColumnAnswer.schema.json +741 -0
  96. package/schemas/anyTableColumnQuestion.schema.json +1560 -0
  97. package/schemas/booleanAnswer.schema.json +36 -0
  98. package/schemas/booleanQuestion.schema.json +55 -0
  99. package/schemas/checkboxesAnswer.schema.json +41 -0
  100. package/schemas/checkboxesQuestion.schema.json +80 -0
  101. package/schemas/currencyAnswer.schema.json +36 -0
  102. package/schemas/currencyQuestion.schema.json +73 -0
  103. package/schemas/dateAnswer.schema.json +36 -0
  104. package/schemas/datePickerAnswer.schema.json +37 -0
  105. package/schemas/datePickerQuestion.schema.json +52 -0
  106. package/schemas/dateQuestion.schema.json +66 -0
  107. package/schemas/dateRangeAnswer.schema.json +50 -0
  108. package/schemas/dateRangeQuestion.schema.json +124 -0
  109. package/schemas/dmp.schema.json +2070 -0
  110. package/schemas/dmpExtension.schema.json +1985 -0
  111. package/schemas/emailAnswer.schema.json +36 -0
  112. package/schemas/emailQuestion.schema.json +71 -0
  113. package/schemas/filteredSearchAnswer.schema.json +40 -0
  114. package/schemas/filteredSearchQuestion.schema.json +130 -0
  115. package/schemas/licenseSearchAnswer.schema.json +54 -0
  116. package/schemas/licenseSearchQuestion.schema.json +140 -0
  117. package/schemas/metadataStandardSearchAnswer.schema.json +54 -0
  118. package/schemas/metadataStandardSearchQuestion.schema.json +141 -0
  119. package/schemas/multiselectBoxAnswer.schema.json +41 -0
  120. package/schemas/multiselectBoxQuestion.schema.json +87 -0
  121. package/schemas/numberAnswer.schema.json +36 -0
  122. package/schemas/numberQuestion.schema.json +68 -0
  123. package/schemas/numberRangeAnswer.schema.json +50 -0
  124. package/schemas/numberRangeQuestion.schema.json +128 -0
  125. package/schemas/numberWithContextAnswer.schema.json +50 -0
  126. package/schemas/numberWithContextQuestion.schema.json +98 -0
  127. package/schemas/radioButtonsAnswer.schema.json +36 -0
  128. package/schemas/radioButtonsQuestion.schema.json +80 -0
  129. package/schemas/repositorySearchAnswer.schema.json +54 -0
  130. package/schemas/repositorySearchQuestion.schema.json +140 -0
  131. package/schemas/researchOutputTableAnswer.schema.json +20065 -0
  132. package/schemas/researchOutputTableQuestion.schema.json +140 -0
  133. package/schemas/selectBoxAnswer.schema.json +36 -0
  134. package/schemas/selectBoxQuestion.schema.json +87 -0
  135. package/schemas/tableAnswer.schema.json +797 -0
  136. package/schemas/tableQuestion.schema.json +1662 -0
  137. package/schemas/textAnswer.schema.json +36 -0
  138. package/schemas/textAreaAnswer.schema.json +36 -0
  139. package/schemas/textAreaQuestion.schema.json +78 -0
  140. package/schemas/textQuestion.schema.json +63 -0
  141. package/schemas/typeaheadSearchAnswer.schema.json +37 -0
  142. package/schemas/typeaheadSearchQuestion.schema.json +120 -0
  143. package/schemas/urlAnswer.schema.json +36 -0
  144. package/schemas/urlQuestion.schema.json +66 -0
@@ -0,0 +1,36 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "type": {
6
+ "type": "string",
7
+ "const": "boolean"
8
+ },
9
+ "meta": {
10
+ "type": "object",
11
+ "properties": {
12
+ "schemaVersion": {
13
+ "default": "1.0",
14
+ "type": "string"
15
+ }
16
+ },
17
+ "required": [
18
+ "schemaVersion"
19
+ ],
20
+ "additionalProperties": false
21
+ },
22
+ "comment": {
23
+ "type": "string"
24
+ },
25
+ "answer": {
26
+ "default": false,
27
+ "type": "boolean"
28
+ }
29
+ },
30
+ "required": [
31
+ "type",
32
+ "meta",
33
+ "answer"
34
+ ],
35
+ "additionalProperties": false
36
+ }
@@ -0,0 +1,55 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "type": {
6
+ "type": "string",
7
+ "const": "boolean"
8
+ },
9
+ "attributes": {
10
+ "type": "object",
11
+ "properties": {
12
+ "label": {
13
+ "type": "string"
14
+ },
15
+ "value": {
16
+ "default": false,
17
+ "type": "boolean"
18
+ }
19
+ },
20
+ "required": [
21
+ "label",
22
+ "value"
23
+ ],
24
+ "additionalProperties": false
25
+ },
26
+ "meta": {
27
+ "type": "object",
28
+ "properties": {
29
+ "schemaVersion": {
30
+ "default": "1.0",
31
+ "type": "string"
32
+ },
33
+ "title": {
34
+ "type": "string"
35
+ },
36
+ "usageDescription": {
37
+ "type": "string"
38
+ }
39
+ },
40
+ "required": [
41
+ "schemaVersion"
42
+ ],
43
+ "additionalProperties": false
44
+ },
45
+ "showCommentField": {
46
+ "type": "boolean"
47
+ }
48
+ },
49
+ "required": [
50
+ "type",
51
+ "attributes",
52
+ "meta"
53
+ ],
54
+ "additionalProperties": false
55
+ }
@@ -0,0 +1,41 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "type": {
6
+ "type": "string",
7
+ "const": "checkBoxes"
8
+ },
9
+ "meta": {
10
+ "type": "object",
11
+ "properties": {
12
+ "schemaVersion": {
13
+ "default": "1.0",
14
+ "type": "string"
15
+ }
16
+ },
17
+ "required": [
18
+ "schemaVersion"
19
+ ],
20
+ "additionalProperties": false
21
+ },
22
+ "comment": {
23
+ "type": "string"
24
+ },
25
+ "answer": {
26
+ "default": [
27
+ ""
28
+ ],
29
+ "type": "array",
30
+ "items": {
31
+ "type": "string"
32
+ }
33
+ }
34
+ },
35
+ "required": [
36
+ "type",
37
+ "meta",
38
+ "answer"
39
+ ],
40
+ "additionalProperties": false
41
+ }
@@ -0,0 +1,80 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "type": {
6
+ "type": "string",
7
+ "const": "checkBoxes"
8
+ },
9
+ "attributes": {
10
+ "type": "object",
11
+ "properties": {
12
+ "label": {
13
+ "type": "string"
14
+ },
15
+ "help": {
16
+ "type": "string"
17
+ },
18
+ "labelTranslationKey": {
19
+ "type": "string"
20
+ }
21
+ },
22
+ "additionalProperties": false
23
+ },
24
+ "meta": {
25
+ "type": "object",
26
+ "properties": {
27
+ "schemaVersion": {
28
+ "default": "1.0",
29
+ "type": "string"
30
+ },
31
+ "title": {
32
+ "type": "string"
33
+ },
34
+ "usageDescription": {
35
+ "type": "string"
36
+ }
37
+ },
38
+ "required": [
39
+ "schemaVersion"
40
+ ],
41
+ "additionalProperties": false
42
+ },
43
+ "options": {
44
+ "type": "array",
45
+ "items": {
46
+ "type": "object",
47
+ "properties": {
48
+ "label": {
49
+ "default": "Option A",
50
+ "type": "string"
51
+ },
52
+ "value": {
53
+ "default": "a",
54
+ "type": "string"
55
+ },
56
+ "checked": {
57
+ "default": false,
58
+ "type": "boolean"
59
+ }
60
+ },
61
+ "required": [
62
+ "label",
63
+ "value",
64
+ "checked"
65
+ ],
66
+ "additionalProperties": false
67
+ }
68
+ },
69
+ "showCommentField": {
70
+ "type": "boolean"
71
+ }
72
+ },
73
+ "required": [
74
+ "type",
75
+ "attributes",
76
+ "meta",
77
+ "options"
78
+ ],
79
+ "additionalProperties": false
80
+ }
@@ -0,0 +1,36 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "type": {
6
+ "type": "string",
7
+ "const": "currency"
8
+ },
9
+ "meta": {
10
+ "type": "object",
11
+ "properties": {
12
+ "schemaVersion": {
13
+ "default": "1.0",
14
+ "type": "string"
15
+ }
16
+ },
17
+ "required": [
18
+ "schemaVersion"
19
+ ],
20
+ "additionalProperties": false
21
+ },
22
+ "comment": {
23
+ "type": "string"
24
+ },
25
+ "answer": {
26
+ "default": 0,
27
+ "type": "number"
28
+ }
29
+ },
30
+ "required": [
31
+ "type",
32
+ "meta",
33
+ "answer"
34
+ ],
35
+ "additionalProperties": false
36
+ }
@@ -0,0 +1,73 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "type": {
6
+ "type": "string",
7
+ "const": "currency"
8
+ },
9
+ "attributes": {
10
+ "type": "object",
11
+ "properties": {
12
+ "label": {
13
+ "type": "string"
14
+ },
15
+ "help": {
16
+ "type": "string"
17
+ },
18
+ "labelTranslationKey": {
19
+ "type": "string"
20
+ },
21
+ "max": {
22
+ "type": "number"
23
+ },
24
+ "min": {
25
+ "default": 0,
26
+ "type": "number"
27
+ },
28
+ "step": {
29
+ "default": 1,
30
+ "type": "number"
31
+ },
32
+ "denomination": {
33
+ "default": "USD",
34
+ "type": "string"
35
+ }
36
+ },
37
+ "required": [
38
+ "min",
39
+ "step",
40
+ "denomination"
41
+ ],
42
+ "additionalProperties": false
43
+ },
44
+ "meta": {
45
+ "type": "object",
46
+ "properties": {
47
+ "schemaVersion": {
48
+ "default": "1.0",
49
+ "type": "string"
50
+ },
51
+ "title": {
52
+ "type": "string"
53
+ },
54
+ "usageDescription": {
55
+ "type": "string"
56
+ }
57
+ },
58
+ "required": [
59
+ "schemaVersion"
60
+ ],
61
+ "additionalProperties": false
62
+ },
63
+ "showCommentField": {
64
+ "type": "boolean"
65
+ }
66
+ },
67
+ "required": [
68
+ "type",
69
+ "attributes",
70
+ "meta"
71
+ ],
72
+ "additionalProperties": false
73
+ }
@@ -0,0 +1,36 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "type": {
6
+ "type": "string",
7
+ "const": "date"
8
+ },
9
+ "meta": {
10
+ "type": "object",
11
+ "properties": {
12
+ "schemaVersion": {
13
+ "default": "1.0",
14
+ "type": "string"
15
+ }
16
+ },
17
+ "required": [
18
+ "schemaVersion"
19
+ ],
20
+ "additionalProperties": false
21
+ },
22
+ "comment": {
23
+ "type": "string"
24
+ },
25
+ "answer": {
26
+ "default": "",
27
+ "type": "string"
28
+ }
29
+ },
30
+ "required": [
31
+ "type",
32
+ "meta",
33
+ "answer"
34
+ ],
35
+ "additionalProperties": false
36
+ }
@@ -0,0 +1,37 @@
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
+ }
@@ -0,0 +1,52 @@
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
+ }
@@ -0,0 +1,66 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "type": {
6
+ "type": "string",
7
+ "const": "date"
8
+ },
9
+ "attributes": {
10
+ "type": "object",
11
+ "properties": {
12
+ "label": {
13
+ "type": "string"
14
+ },
15
+ "help": {
16
+ "type": "string"
17
+ },
18
+ "labelTranslationKey": {
19
+ "type": "string"
20
+ },
21
+ "max": {
22
+ "type": "string"
23
+ },
24
+ "min": {
25
+ "type": "string"
26
+ },
27
+ "step": {
28
+ "default": 1,
29
+ "type": "number"
30
+ }
31
+ },
32
+ "required": [
33
+ "step"
34
+ ],
35
+ "additionalProperties": false
36
+ },
37
+ "meta": {
38
+ "type": "object",
39
+ "properties": {
40
+ "schemaVersion": {
41
+ "default": "1.0",
42
+ "type": "string"
43
+ },
44
+ "title": {
45
+ "type": "string"
46
+ },
47
+ "usageDescription": {
48
+ "type": "string"
49
+ }
50
+ },
51
+ "required": [
52
+ "schemaVersion"
53
+ ],
54
+ "additionalProperties": false
55
+ },
56
+ "showCommentField": {
57
+ "type": "boolean"
58
+ }
59
+ },
60
+ "required": [
61
+ "type",
62
+ "attributes",
63
+ "meta"
64
+ ],
65
+ "additionalProperties": false
66
+ }
@@ -0,0 +1,50 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "type": {
6
+ "type": "string",
7
+ "const": "dateRange"
8
+ },
9
+ "meta": {
10
+ "type": "object",
11
+ "properties": {
12
+ "schemaVersion": {
13
+ "default": "1.0",
14
+ "type": "string"
15
+ }
16
+ },
17
+ "required": [
18
+ "schemaVersion"
19
+ ],
20
+ "additionalProperties": false
21
+ },
22
+ "comment": {
23
+ "type": "string"
24
+ },
25
+ "answer": {
26
+ "type": "object",
27
+ "properties": {
28
+ "start": {
29
+ "default": "",
30
+ "type": "string"
31
+ },
32
+ "end": {
33
+ "default": "",
34
+ "type": "string"
35
+ }
36
+ },
37
+ "required": [
38
+ "start",
39
+ "end"
40
+ ],
41
+ "additionalProperties": false
42
+ }
43
+ },
44
+ "required": [
45
+ "type",
46
+ "meta",
47
+ "answer"
48
+ ],
49
+ "additionalProperties": false
50
+ }
@@ -0,0 +1,124 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "type": {
6
+ "type": "string",
7
+ "const": "dateRange"
8
+ },
9
+ "attributes": {
10
+ "type": "object",
11
+ "properties": {
12
+ "label": {
13
+ "type": "string"
14
+ },
15
+ "help": {
16
+ "type": "string"
17
+ },
18
+ "labelTranslationKey": {
19
+ "type": "string"
20
+ }
21
+ },
22
+ "additionalProperties": false
23
+ },
24
+ "meta": {
25
+ "type": "object",
26
+ "properties": {
27
+ "schemaVersion": {
28
+ "default": "1.0",
29
+ "type": "string"
30
+ },
31
+ "title": {
32
+ "type": "string"
33
+ },
34
+ "usageDescription": {
35
+ "type": "string"
36
+ }
37
+ },
38
+ "required": [
39
+ "schemaVersion"
40
+ ],
41
+ "additionalProperties": false
42
+ },
43
+ "columns": {
44
+ "type": "object",
45
+ "properties": {
46
+ "start": {
47
+ "type": "object",
48
+ "properties": {
49
+ "label": {
50
+ "default": "From",
51
+ "type": "string"
52
+ },
53
+ "help": {
54
+ "type": "string"
55
+ },
56
+ "labelTranslationKey": {
57
+ "type": "string"
58
+ },
59
+ "max": {
60
+ "type": "string"
61
+ },
62
+ "min": {
63
+ "type": "string"
64
+ },
65
+ "step": {
66
+ "default": 1,
67
+ "type": "number"
68
+ }
69
+ },
70
+ "required": [
71
+ "label",
72
+ "step"
73
+ ],
74
+ "additionalProperties": false
75
+ },
76
+ "end": {
77
+ "type": "object",
78
+ "properties": {
79
+ "label": {
80
+ "default": "To",
81
+ "type": "string"
82
+ },
83
+ "help": {
84
+ "type": "string"
85
+ },
86
+ "labelTranslationKey": {
87
+ "type": "string"
88
+ },
89
+ "max": {
90
+ "type": "string"
91
+ },
92
+ "min": {
93
+ "type": "string"
94
+ },
95
+ "step": {
96
+ "default": 1,
97
+ "type": "number"
98
+ }
99
+ },
100
+ "required": [
101
+ "label",
102
+ "step"
103
+ ],
104
+ "additionalProperties": false
105
+ }
106
+ },
107
+ "required": [
108
+ "start",
109
+ "end"
110
+ ],
111
+ "additionalProperties": false
112
+ },
113
+ "showCommentField": {
114
+ "type": "boolean"
115
+ }
116
+ },
117
+ "required": [
118
+ "type",
119
+ "attributes",
120
+ "meta",
121
+ "columns"
122
+ ],
123
+ "additionalProperties": false
124
+ }