@dmptool/types 1.2.6 → 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.
Files changed (97) hide show
  1. package/README.md +1 -1
  2. package/dist/answers/__tests__/defaults.spec.js +216 -0
  3. package/dist/answers/answer.d.ts +29 -14
  4. package/dist/answers/answer.js +11 -5
  5. package/dist/answers/dateAnswers.d.ts +20 -47
  6. package/dist/answers/dateAnswers.js +20 -10
  7. package/dist/answers/graphQLAnswers.d.ts +48 -120
  8. package/dist/answers/graphQLAnswers.js +46 -21
  9. package/dist/answers/index.d.ts +155 -1439
  10. package/dist/answers/index.js +26 -1
  11. package/dist/answers/numberAnswers.d.ts +38 -92
  12. package/dist/answers/numberAnswers.js +38 -19
  13. package/dist/answers/optionBasedAnswers.d.ts +42 -87
  14. package/dist/answers/optionBasedAnswers.js +37 -21
  15. package/dist/answers/tableAnswers.d.ts +348 -3032
  16. package/dist/answers/tableAnswers.js +25 -61
  17. package/dist/answers/textAnswers.d.ts +32 -68
  18. package/dist/answers/textAnswers.js +30 -17
  19. package/dist/questions/__tests__/dateQuestions.spec.js +3 -0
  20. package/dist/questions/__tests__/defaults.spec.d.ts +1 -0
  21. package/dist/questions/__tests__/defaults.spec.js +668 -0
  22. package/dist/questions/__tests__/optionBasedQuestions.spec.js +3 -2
  23. package/dist/questions/__tests__/tableQuestion.spec.js +22 -23
  24. package/dist/questions/__tests__/textQuestions.spec.js +32 -0
  25. package/dist/questions/dateQuestions.d.ts +45 -191
  26. package/dist/questions/dateQuestions.js +26 -23
  27. package/dist/questions/graphQLQuestions.d.ts +262 -556
  28. package/dist/questions/graphQLQuestions.js +225 -223
  29. package/dist/questions/index.d.ts +689 -7440
  30. package/dist/questions/index.js +26 -1
  31. package/dist/questions/numberQuestions.d.ts +85 -331
  32. package/dist/questions/numberQuestions.js +50 -36
  33. package/dist/questions/optionBasedQuestions.d.ts +83 -290
  34. package/dist/questions/optionBasedQuestions.js +58 -41
  35. package/dist/questions/question.d.ts +72 -35
  36. package/dist/questions/question.js +14 -5
  37. package/dist/questions/tableQuestions.d.ts +1977 -9646
  38. package/dist/questions/tableQuestions.js +184 -192
  39. package/dist/questions/textQuestions.d.ts +70 -226
  40. package/dist/questions/textQuestions.js +31 -31
  41. package/package.json +4 -5
  42. package/dist/answers/__tests__/usage.spec.js +0 -178
  43. package/dist/questions/__tests__/usage.spec.d.ts +0 -8
  44. package/dist/questions/__tests__/usage.spec.js +0 -473
  45. package/dist/schemas/affiliationSearchAnswer.schema.json +0 -45
  46. package/dist/schemas/affiliationSearchQuestion.schema.json +0 -140
  47. package/dist/schemas/anyAnswer.schema.json +0 -605
  48. package/dist/schemas/anyQuestion.schema.json +0 -2455
  49. package/dist/schemas/anyTableColumnAnswer.schema.json +0 -466
  50. package/dist/schemas/anyTableColumnQuestion.schema.json +0 -1092
  51. package/dist/schemas/booleanAnswer.schema.json +0 -34
  52. package/dist/schemas/booleanQuestion.schema.json +0 -56
  53. package/dist/schemas/checkboxesAnswer.schema.json +0 -39
  54. package/dist/schemas/checkboxesQuestion.schema.json +0 -76
  55. package/dist/schemas/currencyAnswer.schema.json +0 -34
  56. package/dist/schemas/currencyQuestion.schema.json +0 -67
  57. package/dist/schemas/dateAnswer.schema.json +0 -34
  58. package/dist/schemas/datePickerAnswer.schema.json +0 -37
  59. package/dist/schemas/datePickerQuestion.schema.json +0 -52
  60. package/dist/schemas/dateQuestion.schema.json +0 -62
  61. package/dist/schemas/dateRangeAnswer.schema.json +0 -45
  62. package/dist/schemas/dateRangeQuestion.schema.json +0 -112
  63. package/dist/schemas/emailAnswer.schema.json +0 -34
  64. package/dist/schemas/emailQuestion.schema.json +0 -66
  65. package/dist/schemas/filteredSearchAnswer.schema.json +0 -40
  66. package/dist/schemas/filteredSearchQuestion.schema.json +0 -130
  67. package/dist/schemas/licenseSearchAnswer.schema.json +0 -49
  68. package/dist/schemas/licenseSearchQuestion.schema.json +0 -164
  69. package/dist/schemas/metadataStandardSearchAnswer.schema.json +0 -49
  70. package/dist/schemas/metadataStandardSearchQuestion.schema.json +0 -174
  71. package/dist/schemas/multiselectBoxAnswer.schema.json +0 -39
  72. package/dist/schemas/multiselectBoxQuestion.schema.json +0 -85
  73. package/dist/schemas/numberAnswer.schema.json +0 -34
  74. package/dist/schemas/numberQuestion.schema.json +0 -63
  75. package/dist/schemas/numberRangeAnswer.schema.json +0 -45
  76. package/dist/schemas/numberRangeQuestion.schema.json +0 -94
  77. package/dist/schemas/numberWithContextAnswer.schema.json +0 -45
  78. package/dist/schemas/numberWithContextQuestion.schema.json +0 -84
  79. package/dist/schemas/radioButtonsAnswer.schema.json +0 -34
  80. package/dist/schemas/radioButtonsQuestion.schema.json +0 -76
  81. package/dist/schemas/repositorySearchAnswer.schema.json +0 -49
  82. package/dist/schemas/repositorySearchQuestion.schema.json +0 -180
  83. package/dist/schemas/researchOutputTableAnswer.schema.json +0 -519
  84. package/dist/schemas/researchOutputTableQuestion.schema.json +0 -1183
  85. package/dist/schemas/selectBoxAnswer.schema.json +0 -34
  86. package/dist/schemas/selectBoxQuestion.schema.json +0 -85
  87. package/dist/schemas/tableAnswer.schema.json +0 -519
  88. package/dist/schemas/tableQuestion.schema.json +0 -1183
  89. package/dist/schemas/textAnswer.schema.json +0 -34
  90. package/dist/schemas/textAreaAnswer.schema.json +0 -34
  91. package/dist/schemas/textAreaQuestion.schema.json +0 -70
  92. package/dist/schemas/textQuestion.schema.json +0 -62
  93. package/dist/schemas/typeaheadSearchAnswer.schema.json +0 -37
  94. package/dist/schemas/typeaheadSearchQuestion.schema.json +0 -120
  95. package/dist/schemas/urlAnswer.schema.json +0 -34
  96. package/dist/schemas/urlQuestion.schema.json +0 -62
  97. /package/dist/answers/__tests__/{usage.spec.d.ts → defaults.spec.d.ts} +0 -0
@@ -1,2455 +0,0 @@
1
- {
2
- "$ref": "#/definitions/AnyQuestion",
3
- "definitions": {
4
- "AnyQuestion": {
5
- "anyOf": [
6
- {
7
- "type": "object",
8
- "properties": {
9
- "type": {
10
- "type": "string",
11
- "const": "affiliationSearch"
12
- },
13
- "attributes": {
14
- "type": "object",
15
- "properties": {
16
- "label": {
17
- "type": "string"
18
- },
19
- "help": {
20
- "type": "string"
21
- },
22
- "labelTranslationKey": {
23
- "type": "string"
24
- }
25
- },
26
- "additionalProperties": false,
27
- "default": {}
28
- },
29
- "meta": {
30
- "type": "object",
31
- "properties": {
32
- "schemaVersion": {
33
- "type": "string",
34
- "default": "1.0"
35
- },
36
- "title": {
37
- "type": "string"
38
- },
39
- "usageDescription": {
40
- "type": "string"
41
- }
42
- },
43
- "additionalProperties": false,
44
- "default": {}
45
- },
46
- "graphQL": {
47
- "type": "object",
48
- "properties": {
49
- "displayFields": {
50
- "type": "array",
51
- "items": {
52
- "type": "object",
53
- "properties": {
54
- "propertyName": {
55
- "type": "string",
56
- "const": "displayName",
57
- "default": "displayName"
58
- },
59
- "label": {
60
- "type": "string",
61
- "default": "Institution"
62
- },
63
- "labelTranslationKey": {
64
- "type": "string",
65
- "default": "SignupPage.institution"
66
- }
67
- },
68
- "additionalProperties": false
69
- },
70
- "default": [
71
- {}
72
- ]
73
- },
74
- "localQueryId": {
75
- "type": "string"
76
- },
77
- "query": {
78
- "type": "string",
79
- "const": "query Affiliations($name: String!){ affiliations(name: $name) { totalCount nextCursor items { id displayName uri } } }",
80
- "default": "query Affiliations($name: String!){ affiliations(name: $name) { totalCount nextCursor items { id displayName uri } } }"
81
- },
82
- "responseField": {
83
- "type": "string",
84
- "const": "affiliations.items",
85
- "default": "affiliations.items"
86
- },
87
- "variables": {
88
- "type": "array",
89
- "items": {
90
- "type": "object",
91
- "properties": {
92
- "name": {
93
- "type": "string",
94
- "const": "name",
95
- "default": "name"
96
- },
97
- "type": {
98
- "type": "string",
99
- "default": "string"
100
- },
101
- "label": {
102
- "type": "string",
103
- "default": "Search for your institution"
104
- },
105
- "minLength": {
106
- "type": "number",
107
- "const": 3,
108
- "default": 3
109
- },
110
- "labelTranslationKey": {
111
- "type": "string",
112
- "default": "SignupPage.institutionHelp"
113
- }
114
- },
115
- "additionalProperties": false
116
- },
117
- "default": [
118
- {}
119
- ]
120
- },
121
- "queryId": {
122
- "type": "string",
123
- "default": "useAffiliationsQuery"
124
- },
125
- "answerField": {
126
- "type": "string",
127
- "const": "uri",
128
- "default": "uri"
129
- }
130
- },
131
- "additionalProperties": false,
132
- "default": {}
133
- }
134
- },
135
- "required": [
136
- "type"
137
- ],
138
- "additionalProperties": false
139
- },
140
- {
141
- "type": "object",
142
- "properties": {
143
- "type": {
144
- "type": "string",
145
- "const": "boolean"
146
- },
147
- "attributes": {
148
- "type": "object",
149
- "properties": {
150
- "label": {
151
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/attributes/properties/label"
152
- },
153
- "help": {
154
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/attributes/properties/help"
155
- },
156
- "labelTranslationKey": {
157
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/attributes/properties/labelTranslationKey"
158
- },
159
- "checked": {
160
- "type": "boolean",
161
- "default": false
162
- }
163
- },
164
- "additionalProperties": false,
165
- "default": {}
166
- },
167
- "meta": {
168
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/meta"
169
- }
170
- },
171
- "required": [
172
- "type"
173
- ],
174
- "additionalProperties": false
175
- },
176
- {
177
- "type": "object",
178
- "properties": {
179
- "type": {
180
- "type": "string",
181
- "const": "checkBoxes"
182
- },
183
- "attributes": {
184
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/attributes",
185
- "default": {}
186
- },
187
- "meta": {
188
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/meta"
189
- },
190
- "options": {
191
- "type": "array",
192
- "items": {
193
- "type": "object",
194
- "properties": {
195
- "label": {
196
- "type": "string",
197
- "default": "Option A"
198
- },
199
- "value": {
200
- "type": "string",
201
- "default": "a"
202
- },
203
- "checked": {
204
- "type": "boolean",
205
- "default": false
206
- }
207
- },
208
- "additionalProperties": false
209
- },
210
- "default": [
211
- {}
212
- ]
213
- }
214
- },
215
- "required": [
216
- "type"
217
- ],
218
- "additionalProperties": false
219
- },
220
- {
221
- "type": "object",
222
- "properties": {
223
- "type": {
224
- "type": "string",
225
- "const": "currency"
226
- },
227
- "attributes": {
228
- "type": "object",
229
- "properties": {
230
- "label": {
231
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/attributes/properties/label"
232
- },
233
- "help": {
234
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/attributes/properties/help"
235
- },
236
- "labelTranslationKey": {
237
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/attributes/properties/labelTranslationKey"
238
- },
239
- "max": {
240
- "type": "number"
241
- },
242
- "min": {
243
- "type": "number",
244
- "default": 0
245
- },
246
- "step": {
247
- "type": "number",
248
- "default": 1
249
- },
250
- "denomination": {
251
- "type": "string",
252
- "default": "USD"
253
- }
254
- },
255
- "additionalProperties": false,
256
- "default": {}
257
- },
258
- "meta": {
259
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/meta"
260
- }
261
- },
262
- "required": [
263
- "type"
264
- ],
265
- "additionalProperties": false
266
- },
267
- {
268
- "type": "object",
269
- "properties": {
270
- "type": {
271
- "type": "string",
272
- "const": "date"
273
- },
274
- "attributes": {
275
- "type": "object",
276
- "properties": {
277
- "label": {
278
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/attributes/properties/label"
279
- },
280
- "help": {
281
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/attributes/properties/help"
282
- },
283
- "labelTranslationKey": {
284
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/attributes/properties/labelTranslationKey"
285
- },
286
- "max": {
287
- "type": "string"
288
- },
289
- "min": {
290
- "type": "string"
291
- },
292
- "step": {
293
- "type": "number",
294
- "default": 1
295
- }
296
- },
297
- "additionalProperties": false,
298
- "default": {}
299
- },
300
- "meta": {
301
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/meta"
302
- }
303
- },
304
- "required": [
305
- "type"
306
- ],
307
- "additionalProperties": false
308
- },
309
- {
310
- "type": "object",
311
- "properties": {
312
- "type": {
313
- "type": "string",
314
- "const": "dateRange"
315
- },
316
- "attributes": {
317
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/attributes",
318
- "default": {}
319
- },
320
- "meta": {
321
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/meta"
322
- },
323
- "columns": {
324
- "type": "object",
325
- "properties": {
326
- "start": {
327
- "type": "object",
328
- "properties": {
329
- "label": {
330
- "type": "string",
331
- "default": "From"
332
- },
333
- "help": {
334
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/attributes/properties/help"
335
- },
336
- "labelTranslationKey": {
337
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/attributes/properties/labelTranslationKey"
338
- },
339
- "max": {
340
- "$ref": "#/definitions/AnyQuestion/anyOf/4/properties/attributes/properties/max"
341
- },
342
- "min": {
343
- "$ref": "#/definitions/AnyQuestion/anyOf/4/properties/attributes/properties/min"
344
- },
345
- "step": {
346
- "$ref": "#/definitions/AnyQuestion/anyOf/4/properties/attributes/properties/step"
347
- }
348
- },
349
- "additionalProperties": false,
350
- "default": {}
351
- },
352
- "end": {
353
- "type": "object",
354
- "properties": {
355
- "label": {
356
- "type": "string",
357
- "default": "To"
358
- },
359
- "help": {
360
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/attributes/properties/help"
361
- },
362
- "labelTranslationKey": {
363
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/attributes/properties/labelTranslationKey"
364
- },
365
- "max": {
366
- "$ref": "#/definitions/AnyQuestion/anyOf/4/properties/attributes/properties/max"
367
- },
368
- "min": {
369
- "$ref": "#/definitions/AnyQuestion/anyOf/4/properties/attributes/properties/min"
370
- },
371
- "step": {
372
- "$ref": "#/definitions/AnyQuestion/anyOf/4/properties/attributes/properties/step"
373
- }
374
- },
375
- "additionalProperties": false,
376
- "default": {}
377
- }
378
- },
379
- "additionalProperties": false,
380
- "default": {}
381
- }
382
- },
383
- "required": [
384
- "type"
385
- ],
386
- "additionalProperties": false
387
- },
388
- {
389
- "type": "object",
390
- "properties": {
391
- "type": {
392
- "type": "string",
393
- "const": "email"
394
- },
395
- "attributes": {
396
- "type": "object",
397
- "properties": {
398
- "label": {
399
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/attributes/properties/label"
400
- },
401
- "help": {
402
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/attributes/properties/help"
403
- },
404
- "labelTranslationKey": {
405
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/attributes/properties/labelTranslationKey"
406
- },
407
- "maxLength": {
408
- "type": "number",
409
- "default": 255
410
- },
411
- "minLength": {
412
- "type": "number"
413
- },
414
- "pattern": {
415
- "type": "string"
416
- },
417
- "multiple": {
418
- "type": "boolean",
419
- "default": false
420
- }
421
- },
422
- "additionalProperties": false,
423
- "default": {}
424
- },
425
- "meta": {
426
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/meta"
427
- }
428
- },
429
- "required": [
430
- "type"
431
- ],
432
- "additionalProperties": false
433
- },
434
- {
435
- "type": "object",
436
- "properties": {
437
- "type": {
438
- "type": "string",
439
- "const": "licenseSearch"
440
- },
441
- "attributes": {
442
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/attributes",
443
- "default": {}
444
- },
445
- "meta": {
446
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/meta"
447
- },
448
- "graphQL": {
449
- "type": "object",
450
- "properties": {
451
- "displayFields": {
452
- "type": "array",
453
- "items": {
454
- "type": "object",
455
- "properties": {
456
- "propertyName": {
457
- "type": "string",
458
- "default": "id"
459
- },
460
- "label": {
461
- "type": "string",
462
- "default": "Id"
463
- },
464
- "labelTranslationKey": {
465
- "type": "string"
466
- }
467
- },
468
- "additionalProperties": false
469
- },
470
- "default": [
471
- {
472
- "propertyName": "name",
473
- "label": "Name"
474
- },
475
- {
476
- "propertyName": "description",
477
- "label": "Description"
478
- },
479
- {
480
- "propertyName": "recommended",
481
- "label": "Recommended"
482
- }
483
- ]
484
- },
485
- "localQueryId": {
486
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/graphQL/properties/localQueryId"
487
- },
488
- "query": {
489
- "type": "string",
490
- "const": "query Licenses($term: String, $paginationOptions: PaginationOptions){ license(term: $term, paginationOptions: $paginationOptions) { totalCount currentOffset limit hasNextPage hasPreviousPage availableSortFields items { id name uri description } } }",
491
- "default": "query Licenses($term: String, $paginationOptions: PaginationOptions){ license(term: $term, paginationOptions: $paginationOptions) { totalCount currentOffset limit hasNextPage hasPreviousPage availableSortFields items { id name uri description } } }"
492
- },
493
- "responseField": {
494
- "type": "string",
495
- "const": "licenses.items",
496
- "default": "licenses.items"
497
- },
498
- "variables": {
499
- "type": "array",
500
- "items": {
501
- "type": "object",
502
- "properties": {
503
- "minLength": {
504
- "type": "number"
505
- },
506
- "label": {
507
- "type": "string"
508
- },
509
- "labelTranslationKey": {
510
- "type": "string"
511
- },
512
- "name": {
513
- "type": "string",
514
- "default": "search"
515
- },
516
- "type": {
517
- "type": "string",
518
- "default": "string"
519
- },
520
- "defaultValue": {
521
- "type": "string"
522
- }
523
- },
524
- "additionalProperties": false
525
- },
526
- "default": [
527
- {
528
- "minLength": 3,
529
- "label": "Search for a license",
530
- "name": "term",
531
- "type": "string"
532
- },
533
- {
534
- "label": "Pagination Options",
535
- "name": "paginationOptions",
536
- "type": "paginationOptions",
537
- "options": {
538
- "type": "OFFSET",
539
- "limit": 10,
540
- "offset": 0,
541
- "sortField": "name",
542
- "sortOrder": "ASC"
543
- }
544
- }
545
- ]
546
- },
547
- "queryId": {
548
- "type": "string",
549
- "default": "useLicensesQuery"
550
- },
551
- "answerField": {
552
- "type": "string",
553
- "const": "uri",
554
- "default": "uri"
555
- }
556
- },
557
- "additionalProperties": false,
558
- "default": {}
559
- }
560
- },
561
- "required": [
562
- "type"
563
- ],
564
- "additionalProperties": false
565
- },
566
- {
567
- "type": "object",
568
- "properties": {
569
- "type": {
570
- "type": "string",
571
- "const": "metadataStandardSearch"
572
- },
573
- "attributes": {
574
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/attributes",
575
- "default": {}
576
- },
577
- "meta": {
578
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/meta"
579
- },
580
- "graphQL": {
581
- "type": "object",
582
- "properties": {
583
- "displayFields": {
584
- "type": "array",
585
- "items": {
586
- "$ref": "#/definitions/AnyQuestion/anyOf/7/properties/graphQL/properties/displayFields/items"
587
- },
588
- "default": [
589
- {
590
- "propertyName": "name",
591
- "label": "Name"
592
- },
593
- {
594
- "propertyName": "description",
595
- "label": "Description"
596
- },
597
- {
598
- "propertyName": "website",
599
- "label": "Website"
600
- },
601
- {
602
- "propertyName": "keywords",
603
- "label": "Subject Areas"
604
- }
605
- ]
606
- },
607
- "localQueryId": {
608
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/graphQL/properties/localQueryId"
609
- },
610
- "query": {
611
- "type": "string",
612
- "const": "query MetadataStandards($term: String, $keywords: [String!], $paginationOptions: PaginationOptions){ metadataStandards(term: $term, keywords: $keywords, paginationOptions: $paginationOptions) { totalCount currentOffset limit hasNextPage hasPreviousPage availableSortFields items { id name uri description keywords } } }",
613
- "default": "query MetadataStandards($term: String, $keywords: [String!], $paginationOptions: PaginationOptions){ metadataStandards(term: $term, keywords: $keywords, paginationOptions: $paginationOptions) { totalCount currentOffset limit hasNextPage hasPreviousPage availableSortFields items { id name uri description keywords } } }"
614
- },
615
- "responseField": {
616
- "type": "string",
617
- "const": "metadataStandards.items",
618
- "default": "metadataStandards.items"
619
- },
620
- "variables": {
621
- "type": "array",
622
- "items": {
623
- "$ref": "#/definitions/AnyQuestion/anyOf/7/properties/graphQL/properties/variables/items"
624
- },
625
- "default": [
626
- {
627
- "minLength": 3,
628
- "label": "Search for a metadata standard",
629
- "name": "term",
630
- "type": "string"
631
- },
632
- {
633
- "minLength": 3,
634
- "label": "Subject Areas",
635
- "name": "keywords",
636
- "type": "string"
637
- },
638
- {
639
- "label": "Pagination Options",
640
- "name": "paginationOptions",
641
- "type": "paginationOptions",
642
- "options": {
643
- "type": "OFFSET",
644
- "limit": 10,
645
- "offset": 0,
646
- "sortField": "name",
647
- "sortOrder": "ASC"
648
- }
649
- }
650
- ]
651
- },
652
- "queryId": {
653
- "type": "string",
654
- "default": "useMetadataStandardsQuery"
655
- },
656
- "answerField": {
657
- "type": "string",
658
- "const": "uri",
659
- "default": "uri"
660
- }
661
- },
662
- "additionalProperties": false,
663
- "default": {}
664
- }
665
- },
666
- "required": [
667
- "type"
668
- ],
669
- "additionalProperties": false
670
- },
671
- {
672
- "type": "object",
673
- "properties": {
674
- "type": {
675
- "type": "string",
676
- "const": "multiselectBox"
677
- },
678
- "attributes": {
679
- "type": "object",
680
- "properties": {
681
- "label": {
682
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/attributes/properties/label"
683
- },
684
- "help": {
685
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/attributes/properties/help"
686
- },
687
- "labelTranslationKey": {
688
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/attributes/properties/labelTranslationKey"
689
- },
690
- "multiple": {
691
- "type": "boolean",
692
- "const": true
693
- }
694
- },
695
- "required": [
696
- "multiple"
697
- ],
698
- "additionalProperties": false,
699
- "default": {
700
- "multiple": true
701
- }
702
- },
703
- "meta": {
704
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/meta"
705
- },
706
- "options": {
707
- "type": "array",
708
- "items": {
709
- "type": "object",
710
- "properties": {
711
- "label": {
712
- "$ref": "#/definitions/AnyQuestion/anyOf/2/properties/options/items/properties/label"
713
- },
714
- "value": {
715
- "$ref": "#/definitions/AnyQuestion/anyOf/2/properties/options/items/properties/value"
716
- },
717
- "selected": {
718
- "type": "boolean",
719
- "default": false
720
- }
721
- },
722
- "additionalProperties": false
723
- },
724
- "default": [
725
- {}
726
- ]
727
- }
728
- },
729
- "required": [
730
- "type"
731
- ],
732
- "additionalProperties": false
733
- },
734
- {
735
- "type": "object",
736
- "properties": {
737
- "type": {
738
- "type": "string",
739
- "const": "number"
740
- },
741
- "attributes": {
742
- "type": "object",
743
- "properties": {
744
- "label": {
745
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/attributes/properties/label"
746
- },
747
- "help": {
748
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/attributes/properties/help"
749
- },
750
- "labelTranslationKey": {
751
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/attributes/properties/labelTranslationKey"
752
- },
753
- "max": {
754
- "$ref": "#/definitions/AnyQuestion/anyOf/3/properties/attributes/properties/max"
755
- },
756
- "min": {
757
- "$ref": "#/definitions/AnyQuestion/anyOf/3/properties/attributes/properties/min"
758
- },
759
- "step": {
760
- "$ref": "#/definitions/AnyQuestion/anyOf/3/properties/attributes/properties/step"
761
- }
762
- },
763
- "additionalProperties": false,
764
- "default": {}
765
- },
766
- "meta": {
767
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/meta"
768
- }
769
- },
770
- "required": [
771
- "type"
772
- ],
773
- "additionalProperties": false
774
- },
775
- {
776
- "type": "object",
777
- "properties": {
778
- "type": {
779
- "type": "string",
780
- "const": "numberRange"
781
- },
782
- "attributes": {
783
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/attributes",
784
- "default": {}
785
- },
786
- "meta": {
787
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/meta"
788
- },
789
- "columns": {
790
- "type": "object",
791
- "properties": {
792
- "start": {
793
- "$ref": "#/definitions/AnyQuestion/anyOf/10/properties/attributes",
794
- "default": {
795
- "label": "From"
796
- }
797
- },
798
- "end": {
799
- "$ref": "#/definitions/AnyQuestion/anyOf/10/properties/attributes",
800
- "default": {
801
- "label": "To"
802
- }
803
- }
804
- },
805
- "additionalProperties": false,
806
- "default": {}
807
- }
808
- },
809
- "required": [
810
- "type"
811
- ],
812
- "additionalProperties": false
813
- },
814
- {
815
- "type": "object",
816
- "properties": {
817
- "type": {
818
- "type": "string",
819
- "const": "radioButtons"
820
- },
821
- "attributes": {
822
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/attributes",
823
- "default": {}
824
- },
825
- "meta": {
826
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/meta"
827
- },
828
- "options": {
829
- "type": "array",
830
- "items": {
831
- "$ref": "#/definitions/AnyQuestion/anyOf/9/properties/options/items"
832
- },
833
- "default": [
834
- {}
835
- ]
836
- }
837
- },
838
- "required": [
839
- "type"
840
- ],
841
- "additionalProperties": false
842
- },
843
- {
844
- "type": "object",
845
- "properties": {
846
- "type": {
847
- "type": "string",
848
- "const": "repositorySearch"
849
- },
850
- "attributes": {
851
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/attributes",
852
- "default": {}
853
- },
854
- "meta": {
855
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/meta"
856
- },
857
- "graphQL": {
858
- "type": "object",
859
- "properties": {
860
- "displayFields": {
861
- "type": "array",
862
- "items": {
863
- "$ref": "#/definitions/AnyQuestion/anyOf/7/properties/graphQL/properties/displayFields/items"
864
- },
865
- "default": [
866
- {
867
- "propertyName": "name",
868
- "label": "Name"
869
- },
870
- {
871
- "propertyName": "description",
872
- "label": "Description"
873
- },
874
- {
875
- "propertyName": "website",
876
- "label": "Website"
877
- },
878
- {
879
- "propertyName": "keywords",
880
- "label": "Subject Areas"
881
- }
882
- ]
883
- },
884
- "localQueryId": {
885
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/graphQL/properties/localQueryId"
886
- },
887
- "query": {
888
- "type": "string",
889
- "const": "query Repositories($term: String, $keywords: [String!], $repositoryType: String, $paginationOptions: PaginationOptions){ repositories(term: $term, keywords: $keywords, repositoryType: $repositoryType, paginationOptions: $paginationOptions) { totalCount currentOffset limit hasNextPage hasPreviousPage availableSortFields items { id name uri description website keywords repositoryTypes } } }",
890
- "default": "query Repositories($term: String, $keywords: [String!], $repositoryType: String, $paginationOptions: PaginationOptions){ repositories(term: $term, keywords: $keywords, repositoryType: $repositoryType, paginationOptions: $paginationOptions) { totalCount currentOffset limit hasNextPage hasPreviousPage availableSortFields items { id name uri description website keywords repositoryTypes } } }"
891
- },
892
- "responseField": {
893
- "type": "string",
894
- "const": "repositories.items",
895
- "default": "repositories.items"
896
- },
897
- "variables": {
898
- "type": "array",
899
- "items": {
900
- "$ref": "#/definitions/AnyQuestion/anyOf/7/properties/graphQL/properties/variables/items"
901
- },
902
- "default": [
903
- {
904
- "minLength": 3,
905
- "label": "Search for a repository",
906
- "name": "term",
907
- "type": "string"
908
- },
909
- {
910
- "minLength": 3,
911
- "label": "Subject Areas",
912
- "name": "keywords",
913
- "type": "string"
914
- },
915
- {
916
- "minLength": 3,
917
- "label": "Repository type",
918
- "name": "repositoryType",
919
- "type": "string"
920
- },
921
- {
922
- "label": "Pagination Options",
923
- "name": "paginationOptions",
924
- "type": "paginationOptions",
925
- "options": {
926
- "type": "OFFSET",
927
- "limit": 10,
928
- "offset": 0,
929
- "sortField": "name",
930
- "sortOrder": "ASC"
931
- }
932
- }
933
- ]
934
- },
935
- "queryId": {
936
- "type": "string",
937
- "default": "useRepositoriesQuery"
938
- },
939
- "answerField": {
940
- "type": "string",
941
- "const": "uri",
942
- "default": "uri"
943
- }
944
- },
945
- "additionalProperties": false,
946
- "default": {}
947
- }
948
- },
949
- "required": [
950
- "type"
951
- ],
952
- "additionalProperties": false
953
- },
954
- {
955
- "type": "object",
956
- "properties": {
957
- "type": {
958
- "type": "string",
959
- "const": "researchOutputTable"
960
- },
961
- "attributes": {
962
- "type": "object",
963
- "properties": {
964
- "label": {
965
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/attributes/properties/label"
966
- },
967
- "help": {
968
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/attributes/properties/help"
969
- },
970
- "labelTranslationKey": {
971
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/attributes/properties/labelTranslationKey"
972
- },
973
- "canAddRows": {
974
- "type": "boolean",
975
- "default": true
976
- },
977
- "canRemoveRows": {
978
- "type": "boolean",
979
- "default": true
980
- },
981
- "initialRows": {
982
- "type": "number",
983
- "default": 1
984
- },
985
- "maxRows": {
986
- "type": "number"
987
- },
988
- "minRows": {
989
- "type": "number"
990
- }
991
- },
992
- "additionalProperties": false,
993
- "default": {}
994
- },
995
- "meta": {
996
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/meta"
997
- },
998
- "columns": {
999
- "type": "array",
1000
- "items": {
1001
- "anyOf": [
1002
- {
1003
- "type": "object",
1004
- "properties": {
1005
- "heading": {
1006
- "type": "string",
1007
- "default": "Title"
1008
- },
1009
- "required": {
1010
- "type": "boolean",
1011
- "const": true
1012
- },
1013
- "enabled": {
1014
- "type": "boolean",
1015
- "default": true
1016
- },
1017
- "content": {
1018
- "type": "object",
1019
- "properties": {
1020
- "type": {
1021
- "type": "string",
1022
- "const": "text"
1023
- },
1024
- "attributes": {
1025
- "type": "object",
1026
- "properties": {
1027
- "help": {
1028
- "type": "string",
1029
- "default": "Enter the title of this research output"
1030
- },
1031
- "labelTranslationKey": {
1032
- "type": "string",
1033
- "default": "researchOutput.title.heading"
1034
- }
1035
- },
1036
- "additionalProperties": false,
1037
- "default": {}
1038
- },
1039
- "meta": {
1040
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/meta"
1041
- }
1042
- },
1043
- "required": [
1044
- "type"
1045
- ],
1046
- "additionalProperties": false,
1047
- "default": {
1048
- "type": "text"
1049
- }
1050
- },
1051
- "meta": {
1052
- "type": "object",
1053
- "properties": {
1054
- "schemaVersion": {
1055
- "type": "string",
1056
- "default": "1.0"
1057
- },
1058
- "labelTranslationKey": {
1059
- "type": "string"
1060
- }
1061
- },
1062
- "additionalProperties": false,
1063
- "default": {}
1064
- }
1065
- },
1066
- "required": [
1067
- "required"
1068
- ],
1069
- "additionalProperties": false
1070
- },
1071
- {
1072
- "type": "object",
1073
- "properties": {
1074
- "heading": {
1075
- "type": "string",
1076
- "default": "Description"
1077
- },
1078
- "required": {
1079
- "type": "boolean",
1080
- "default": false
1081
- },
1082
- "enabled": {
1083
- "$ref": "#/definitions/AnyQuestion/anyOf/14/properties/columns/items/anyOf/0/properties/enabled"
1084
- },
1085
- "content": {
1086
- "type": "object",
1087
- "properties": {
1088
- "type": {
1089
- "type": "string",
1090
- "const": "textArea"
1091
- },
1092
- "attributes": {
1093
- "type": "object",
1094
- "properties": {
1095
- "help": {
1096
- "type": "string",
1097
- "default": "Provide a brief description of this research output"
1098
- },
1099
- "labelTranslationKey": {
1100
- "type": "string",
1101
- "default": "researchOutput.description.heading"
1102
- }
1103
- },
1104
- "additionalProperties": false,
1105
- "default": {}
1106
- },
1107
- "meta": {
1108
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/meta"
1109
- }
1110
- },
1111
- "required": [
1112
- "type"
1113
- ],
1114
- "additionalProperties": false,
1115
- "default": {
1116
- "type": "textArea"
1117
- }
1118
- },
1119
- "meta": {
1120
- "$ref": "#/definitions/AnyQuestion/anyOf/14/properties/columns/items/anyOf/0/properties/meta"
1121
- }
1122
- },
1123
- "additionalProperties": false
1124
- },
1125
- {
1126
- "type": "object",
1127
- "properties": {
1128
- "heading": {
1129
- "type": "string",
1130
- "default": "Output Type"
1131
- },
1132
- "required": {
1133
- "type": "boolean",
1134
- "const": true
1135
- },
1136
- "enabled": {
1137
- "$ref": "#/definitions/AnyQuestion/anyOf/14/properties/columns/items/anyOf/0/properties/enabled"
1138
- },
1139
- "content": {
1140
- "type": "object",
1141
- "properties": {
1142
- "type": {
1143
- "type": "string",
1144
- "const": "selectBox"
1145
- },
1146
- "attributes": {
1147
- "type": "object",
1148
- "properties": {
1149
- "multiple": {
1150
- "type": "boolean",
1151
- "const": false
1152
- },
1153
- "help": {
1154
- "type": "string",
1155
- "default": "Select the type that best describes this research output"
1156
- },
1157
- "labelTranslationKey": {
1158
- "type": "string",
1159
- "default": "researchOutput.outputType.heading"
1160
- }
1161
- },
1162
- "required": [
1163
- "multiple"
1164
- ],
1165
- "additionalProperties": false,
1166
- "default": {
1167
- "multiple": false
1168
- }
1169
- },
1170
- "meta": {
1171
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/meta"
1172
- },
1173
- "options": {
1174
- "type": "array",
1175
- "items": {
1176
- "$ref": "#/definitions/AnyQuestion/anyOf/9/properties/options/items"
1177
- },
1178
- "default": [
1179
- {}
1180
- ]
1181
- }
1182
- },
1183
- "required": [
1184
- "type"
1185
- ],
1186
- "additionalProperties": false,
1187
- "default": {
1188
- "type": "selectBox"
1189
- }
1190
- },
1191
- "meta": {
1192
- "$ref": "#/definitions/AnyQuestion/anyOf/14/properties/columns/items/anyOf/0/properties/meta"
1193
- }
1194
- },
1195
- "required": [
1196
- "required"
1197
- ],
1198
- "additionalProperties": false
1199
- },
1200
- {
1201
- "type": "object",
1202
- "properties": {
1203
- "heading": {
1204
- "type": "string",
1205
- "default": "Data Flags"
1206
- },
1207
- "required": {
1208
- "$ref": "#/definitions/AnyQuestion/anyOf/14/properties/columns/items/anyOf/1/properties/required"
1209
- },
1210
- "enabled": {
1211
- "type": "boolean",
1212
- "default": false
1213
- },
1214
- "content": {
1215
- "type": "object",
1216
- "properties": {
1217
- "type": {
1218
- "$ref": "#/definitions/AnyQuestion/anyOf/2/properties/type"
1219
- },
1220
- "attributes": {
1221
- "type": "object",
1222
- "properties": {
1223
- "help": {
1224
- "type": "string",
1225
- "default": "Select any data flags that apply to this research output"
1226
- },
1227
- "labelTranslationKey": {
1228
- "type": "string",
1229
- "default": "researchOutput.dataFlags.heading"
1230
- }
1231
- },
1232
- "additionalProperties": false,
1233
- "default": {}
1234
- },
1235
- "meta": {
1236
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/meta"
1237
- },
1238
- "options": {
1239
- "type": "array",
1240
- "items": {
1241
- "type": "object",
1242
- "properties": {
1243
- "label": {
1244
- "type": "string"
1245
- },
1246
- "value": {
1247
- "type": "string"
1248
- }
1249
- },
1250
- "required": [
1251
- "label",
1252
- "value"
1253
- ],
1254
- "additionalProperties": false
1255
- },
1256
- "default": [
1257
- {
1258
- "label": "May contain sensitive data?",
1259
- "value": "sensitive"
1260
- },
1261
- {
1262
- "label": "May contain personally identifiable information?",
1263
- "value": "personal"
1264
- }
1265
- ]
1266
- }
1267
- },
1268
- "required": [
1269
- "type"
1270
- ],
1271
- "additionalProperties": false,
1272
- "default": {
1273
- "type": "checkBoxes"
1274
- }
1275
- },
1276
- "meta": {
1277
- "$ref": "#/definitions/AnyQuestion/anyOf/14/properties/columns/items/anyOf/0/properties/meta"
1278
- }
1279
- },
1280
- "additionalProperties": false
1281
- },
1282
- {
1283
- "type": "object",
1284
- "properties": {
1285
- "heading": {
1286
- "type": "string",
1287
- "default": "Initial Access Level"
1288
- },
1289
- "required": {
1290
- "$ref": "#/definitions/AnyQuestion/anyOf/14/properties/columns/items/anyOf/1/properties/required"
1291
- },
1292
- "enabled": {
1293
- "type": "boolean",
1294
- "default": false
1295
- },
1296
- "content": {
1297
- "type": "object",
1298
- "properties": {
1299
- "type": {
1300
- "$ref": "#/definitions/AnyQuestion/anyOf/14/properties/columns/items/anyOf/2/properties/content/properties/type"
1301
- },
1302
- "attributes": {
1303
- "type": "object",
1304
- "properties": {
1305
- "multiple": {
1306
- "type": "boolean",
1307
- "const": false
1308
- },
1309
- "help": {
1310
- "type": "string",
1311
- "default": "The initial access level for the research output"
1312
- },
1313
- "labelTranslationKey": {
1314
- "type": "string",
1315
- "default": "researchOutput.accessLevel.heading"
1316
- }
1317
- },
1318
- "required": [
1319
- "multiple"
1320
- ],
1321
- "additionalProperties": false,
1322
- "default": {
1323
- "multiple": false
1324
- }
1325
- },
1326
- "meta": {
1327
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/meta"
1328
- },
1329
- "options": {
1330
- "type": "array",
1331
- "items": {
1332
- "type": "object",
1333
- "properties": {
1334
- "label": {
1335
- "type": "string"
1336
- },
1337
- "value": {
1338
- "type": "string"
1339
- }
1340
- },
1341
- "required": [
1342
- "label",
1343
- "value"
1344
- ],
1345
- "additionalProperties": false
1346
- },
1347
- "default": [
1348
- {
1349
- "label": "Unrestricted Access",
1350
- "value": "open"
1351
- },
1352
- {
1353
- "label": "Controlled Access",
1354
- "value": "restricted"
1355
- },
1356
- {
1357
- "label": "Other",
1358
- "value": "closed"
1359
- }
1360
- ]
1361
- }
1362
- },
1363
- "required": [
1364
- "type"
1365
- ],
1366
- "additionalProperties": false,
1367
- "default": {
1368
- "type": "selectBox"
1369
- }
1370
- },
1371
- "meta": {
1372
- "$ref": "#/definitions/AnyQuestion/anyOf/14/properties/columns/items/anyOf/0/properties/meta"
1373
- }
1374
- },
1375
- "additionalProperties": false
1376
- },
1377
- {
1378
- "type": "object",
1379
- "properties": {
1380
- "heading": {
1381
- "type": "string",
1382
- "default": "Anticipated Release Date"
1383
- },
1384
- "required": {
1385
- "$ref": "#/definitions/AnyQuestion/anyOf/14/properties/columns/items/anyOf/1/properties/required"
1386
- },
1387
- "enabled": {
1388
- "type": "boolean",
1389
- "default": false
1390
- },
1391
- "content": {
1392
- "type": "object",
1393
- "properties": {
1394
- "type": {
1395
- "$ref": "#/definitions/AnyQuestion/anyOf/4/properties/type"
1396
- },
1397
- "attributes": {
1398
- "type": "object",
1399
- "properties": {
1400
- "help": {
1401
- "type": "string",
1402
- "default": "The anticipated release date for the research output"
1403
- },
1404
- "labelTranslationKey": {
1405
- "type": "string",
1406
- "default": "researchOutput.releaseDate.heading"
1407
- }
1408
- },
1409
- "additionalProperties": false,
1410
- "default": {}
1411
- },
1412
- "meta": {
1413
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/meta"
1414
- }
1415
- },
1416
- "required": [
1417
- "type"
1418
- ],
1419
- "additionalProperties": false,
1420
- "default": {
1421
- "type": "date"
1422
- }
1423
- },
1424
- "meta": {
1425
- "$ref": "#/definitions/AnyQuestion/anyOf/14/properties/columns/items/anyOf/0/properties/meta"
1426
- }
1427
- },
1428
- "additionalProperties": false
1429
- },
1430
- {
1431
- "type": "object",
1432
- "properties": {
1433
- "heading": {
1434
- "type": "string",
1435
- "default": "Byte Size"
1436
- },
1437
- "required": {
1438
- "$ref": "#/definitions/AnyQuestion/anyOf/14/properties/columns/items/anyOf/1/properties/required"
1439
- },
1440
- "enabled": {
1441
- "type": "boolean",
1442
- "default": false
1443
- },
1444
- "content": {
1445
- "type": "object",
1446
- "properties": {
1447
- "type": {
1448
- "type": "string",
1449
- "const": "numberWithContext"
1450
- },
1451
- "attributes": {
1452
- "type": "object",
1453
- "properties": {
1454
- "min": {
1455
- "type": "number",
1456
- "default": 0
1457
- },
1458
- "help": {
1459
- "type": "string",
1460
- "default": "The size of the research output in bytes"
1461
- },
1462
- "labelTranslationKey": {
1463
- "type": "string",
1464
- "default": "researchOutput.byteSize.heading"
1465
- },
1466
- "context": {
1467
- "type": "array",
1468
- "items": {
1469
- "type": "object",
1470
- "properties": {
1471
- "label": {
1472
- "type": "string",
1473
- "default": "MB (megabytes)"
1474
- },
1475
- "value": {
1476
- "type": "string",
1477
- "default": "mb"
1478
- }
1479
- },
1480
- "additionalProperties": false
1481
- },
1482
- "default": [
1483
- {
1484
- "label": "bytes",
1485
- "value": "bytes"
1486
- },
1487
- {
1488
- "label": "KB (kilobytes)",
1489
- "value": "kb"
1490
- },
1491
- {
1492
- "label": "MB (megabytes)",
1493
- "value": "mb"
1494
- },
1495
- {
1496
- "label": "GB (gigabytes)",
1497
- "value": "gb"
1498
- },
1499
- {
1500
- "label": "TB (terabytes)",
1501
- "value": "tb"
1502
- },
1503
- {
1504
- "label": "PB (petabytes)",
1505
- "value": "pb"
1506
- }
1507
- ]
1508
- }
1509
- },
1510
- "additionalProperties": false,
1511
- "default": {}
1512
- },
1513
- "meta": {
1514
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/meta"
1515
- }
1516
- },
1517
- "required": [
1518
- "type"
1519
- ],
1520
- "additionalProperties": false,
1521
- "default": {
1522
- "type": "numberWithContext"
1523
- }
1524
- },
1525
- "meta": {
1526
- "$ref": "#/definitions/AnyQuestion/anyOf/14/properties/columns/items/anyOf/0/properties/meta"
1527
- }
1528
- },
1529
- "additionalProperties": false
1530
- },
1531
- {
1532
- "type": "object",
1533
- "properties": {
1534
- "heading": {
1535
- "type": "string",
1536
- "default": "Repository"
1537
- },
1538
- "required": {
1539
- "$ref": "#/definitions/AnyQuestion/anyOf/14/properties/columns/items/anyOf/1/properties/required"
1540
- },
1541
- "enabled": {
1542
- "type": "boolean",
1543
- "default": false
1544
- },
1545
- "content": {
1546
- "$ref": "#/definitions/AnyQuestion/anyOf/13",
1547
- "default": {
1548
- "type": "repositorySearch"
1549
- }
1550
- },
1551
- "meta": {
1552
- "$ref": "#/definitions/AnyQuestion/anyOf/14/properties/columns/items/anyOf/0/properties/meta"
1553
- },
1554
- "preferences": {
1555
- "type": "array",
1556
- "items": {
1557
- "type": "object",
1558
- "properties": {
1559
- "label": {
1560
- "type": "string",
1561
- "default": ""
1562
- },
1563
- "value": {
1564
- "type": "string",
1565
- "default": ""
1566
- }
1567
- },
1568
- "additionalProperties": false
1569
- },
1570
- "default": []
1571
- },
1572
- "attributes": {
1573
- "type": "object",
1574
- "properties": {
1575
- "help": {
1576
- "type": "string",
1577
- "default": "Select repositor(ies) you would prefer users to deposit in"
1578
- },
1579
- "labelTranslationKey": {
1580
- "type": "string",
1581
- "default": "researchOutput.repository.heading"
1582
- }
1583
- },
1584
- "additionalProperties": false,
1585
- "default": {}
1586
- }
1587
- },
1588
- "additionalProperties": false
1589
- },
1590
- {
1591
- "type": "object",
1592
- "properties": {
1593
- "heading": {
1594
- "type": "string",
1595
- "default": "Metadata Standard"
1596
- },
1597
- "required": {
1598
- "$ref": "#/definitions/AnyQuestion/anyOf/14/properties/columns/items/anyOf/1/properties/required"
1599
- },
1600
- "enabled": {
1601
- "type": "boolean",
1602
- "default": false
1603
- },
1604
- "content": {
1605
- "$ref": "#/definitions/AnyQuestion/anyOf/8",
1606
- "default": {
1607
- "type": "metadataStandardSearch"
1608
- }
1609
- },
1610
- "meta": {
1611
- "$ref": "#/definitions/AnyQuestion/anyOf/14/properties/columns/items/anyOf/0/properties/meta"
1612
- },
1613
- "preferences": {
1614
- "type": "array",
1615
- "items": {
1616
- "$ref": "#/definitions/AnyQuestion/anyOf/14/properties/columns/items/anyOf/7/properties/preferences/items"
1617
- },
1618
- "default": []
1619
- },
1620
- "attributes": {
1621
- "type": "object",
1622
- "properties": {
1623
- "help": {
1624
- "type": "string",
1625
- "default": "Select metadata standard(s) you would prefer users to use"
1626
- },
1627
- "labelTranslationKey": {
1628
- "type": "string",
1629
- "default": "researchOutput.metadataStandard.heading"
1630
- }
1631
- },
1632
- "additionalProperties": false,
1633
- "default": {}
1634
- }
1635
- },
1636
- "additionalProperties": false
1637
- },
1638
- {
1639
- "type": "object",
1640
- "properties": {
1641
- "heading": {
1642
- "type": "string",
1643
- "default": "License"
1644
- },
1645
- "required": {
1646
- "$ref": "#/definitions/AnyQuestion/anyOf/14/properties/columns/items/anyOf/1/properties/required"
1647
- },
1648
- "enabled": {
1649
- "type": "boolean",
1650
- "default": false
1651
- },
1652
- "content": {
1653
- "$ref": "#/definitions/AnyQuestion/anyOf/7",
1654
- "default": {
1655
- "type": "licenseSearch"
1656
- }
1657
- },
1658
- "meta": {
1659
- "$ref": "#/definitions/AnyQuestion/anyOf/14/properties/columns/items/anyOf/0/properties/meta"
1660
- },
1661
- "preferences": {
1662
- "type": "array",
1663
- "items": {
1664
- "$ref": "#/definitions/AnyQuestion/anyOf/14/properties/columns/items/anyOf/7/properties/preferences/items"
1665
- },
1666
- "default": []
1667
- },
1668
- "attributes": {
1669
- "type": "object",
1670
- "properties": {
1671
- "help": {
1672
- "type": "string",
1673
- "default": "Select license(s) you would prefer users to apply to the research output"
1674
- },
1675
- "labelTranslationKey": {
1676
- "type": "string",
1677
- "default": "researchOutput.license.heading"
1678
- }
1679
- },
1680
- "additionalProperties": false,
1681
- "default": {}
1682
- }
1683
- },
1684
- "additionalProperties": false
1685
- },
1686
- {
1687
- "type": "object",
1688
- "properties": {
1689
- "heading": {
1690
- "type": "string",
1691
- "default": "Custom Column"
1692
- },
1693
- "required": {
1694
- "$ref": "#/definitions/AnyQuestion/anyOf/14/properties/columns/items/anyOf/1/properties/required"
1695
- },
1696
- "enabled": {
1697
- "type": "boolean",
1698
- "default": false
1699
- },
1700
- "content": {
1701
- "type": "object",
1702
- "properties": {
1703
- "type": {
1704
- "$ref": "#/definitions/AnyQuestion/anyOf/14/properties/columns/items/anyOf/0/properties/content/properties/type"
1705
- },
1706
- "attributes": {
1707
- "type": "object",
1708
- "properties": {
1709
- "help": {
1710
- "type": "string",
1711
- "default": "Explanation of what we expect the user to enter."
1712
- },
1713
- "maxLength": {
1714
- "type": "number",
1715
- "default": 255
1716
- },
1717
- "defaultValue": {
1718
- "type": "string"
1719
- }
1720
- },
1721
- "additionalProperties": false,
1722
- "default": {}
1723
- },
1724
- "meta": {
1725
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/meta"
1726
- }
1727
- },
1728
- "required": [
1729
- "type"
1730
- ],
1731
- "additionalProperties": false,
1732
- "default": {
1733
- "type": "text"
1734
- }
1735
- },
1736
- "meta": {
1737
- "$ref": "#/definitions/AnyQuestion/anyOf/14/properties/columns/items/anyOf/0/properties/meta"
1738
- }
1739
- },
1740
- "additionalProperties": false
1741
- }
1742
- ]
1743
- },
1744
- "default": [
1745
- {
1746
- "heading": "Title",
1747
- "required": true,
1748
- "enabled": true,
1749
- "content": {
1750
- "type": "text",
1751
- "attributes": {
1752
- "help": "Enter the title of this research output",
1753
- "labelTranslationKey": "researchOutput.title.heading"
1754
- },
1755
- "meta": {
1756
- "schemaVersion": "1.0"
1757
- }
1758
- },
1759
- "meta": {
1760
- "schemaVersion": "1.0"
1761
- }
1762
- },
1763
- {
1764
- "heading": "Description",
1765
- "required": false,
1766
- "enabled": true,
1767
- "content": {
1768
- "type": "textArea",
1769
- "attributes": {
1770
- "help": "Provide a brief description of this research output",
1771
- "labelTranslationKey": "researchOutput.description.heading"
1772
- },
1773
- "meta": {
1774
- "schemaVersion": "1.0"
1775
- }
1776
- },
1777
- "meta": {
1778
- "schemaVersion": "1.0"
1779
- }
1780
- },
1781
- {
1782
- "heading": "Output Type",
1783
- "required": true,
1784
- "enabled": true,
1785
- "content": {
1786
- "type": "selectBox",
1787
- "attributes": {
1788
- "multiple": false,
1789
- "help": "Select the type that best describes this research output",
1790
- "labelTranslationKey": "researchOutput.outputType.heading"
1791
- },
1792
- "meta": {
1793
- "schemaVersion": "1.0"
1794
- },
1795
- "options": [
1796
- {
1797
- "label": "Option A",
1798
- "value": "a",
1799
- "selected": false
1800
- }
1801
- ]
1802
- },
1803
- "meta": {
1804
- "schemaVersion": "1.0"
1805
- }
1806
- },
1807
- {
1808
- "heading": "Data Flags",
1809
- "required": false,
1810
- "enabled": false,
1811
- "content": {
1812
- "type": "checkBoxes",
1813
- "attributes": {
1814
- "help": "Select any data flags that apply to this research output",
1815
- "labelTranslationKey": "researchOutput.dataFlags.heading"
1816
- },
1817
- "meta": {
1818
- "schemaVersion": "1.0"
1819
- },
1820
- "options": [
1821
- {
1822
- "label": "May contain sensitive data?",
1823
- "value": "sensitive"
1824
- },
1825
- {
1826
- "label": "May contain personally identifiable information?",
1827
- "value": "personal"
1828
- }
1829
- ]
1830
- },
1831
- "meta": {
1832
- "schemaVersion": "1.0"
1833
- }
1834
- },
1835
- {
1836
- "heading": "Initial Access Level",
1837
- "required": false,
1838
- "enabled": false,
1839
- "content": {
1840
- "type": "selectBox",
1841
- "attributes": {
1842
- "multiple": false,
1843
- "help": "The initial access level for the research output",
1844
- "labelTranslationKey": "researchOutput.accessLevel.heading"
1845
- },
1846
- "meta": {
1847
- "schemaVersion": "1.0"
1848
- },
1849
- "options": [
1850
- {
1851
- "label": "Unrestricted Access",
1852
- "value": "open"
1853
- },
1854
- {
1855
- "label": "Controlled Access",
1856
- "value": "restricted"
1857
- },
1858
- {
1859
- "label": "Other",
1860
- "value": "closed"
1861
- }
1862
- ]
1863
- },
1864
- "meta": {
1865
- "schemaVersion": "1.0"
1866
- }
1867
- },
1868
- {
1869
- "heading": "Anticipated Release Date",
1870
- "required": false,
1871
- "enabled": false,
1872
- "content": {
1873
- "type": "date",
1874
- "attributes": {
1875
- "help": "The anticipated release date for the research output",
1876
- "labelTranslationKey": "researchOutput.releaseDate.heading"
1877
- },
1878
- "meta": {
1879
- "schemaVersion": "1.0"
1880
- }
1881
- },
1882
- "meta": {
1883
- "schemaVersion": "1.0"
1884
- }
1885
- },
1886
- {
1887
- "heading": "Byte Size",
1888
- "required": false,
1889
- "enabled": false,
1890
- "content": {
1891
- "type": "numberWithContext",
1892
- "attributes": {
1893
- "min": 0,
1894
- "help": "The size of the research output in bytes",
1895
- "labelTranslationKey": "researchOutput.byteSize.heading",
1896
- "context": [
1897
- {
1898
- "label": "bytes",
1899
- "value": "bytes"
1900
- },
1901
- {
1902
- "label": "KB (kilobytes)",
1903
- "value": "kb"
1904
- },
1905
- {
1906
- "label": "MB (megabytes)",
1907
- "value": "mb"
1908
- },
1909
- {
1910
- "label": "GB (gigabytes)",
1911
- "value": "gb"
1912
- },
1913
- {
1914
- "label": "TB (terabytes)",
1915
- "value": "tb"
1916
- },
1917
- {
1918
- "label": "PB (petabytes)",
1919
- "value": "pb"
1920
- }
1921
- ]
1922
- },
1923
- "meta": {
1924
- "schemaVersion": "1.0"
1925
- }
1926
- },
1927
- "meta": {
1928
- "schemaVersion": "1.0"
1929
- }
1930
- },
1931
- {
1932
- "heading": "Repository",
1933
- "required": false,
1934
- "enabled": false,
1935
- "content": {
1936
- "type": "repositorySearch",
1937
- "attributes": {},
1938
- "meta": {
1939
- "schemaVersion": "1.0"
1940
- },
1941
- "graphQL": {
1942
- "displayFields": [
1943
- {
1944
- "propertyName": "name",
1945
- "label": "Name"
1946
- },
1947
- {
1948
- "propertyName": "description",
1949
- "label": "Description"
1950
- },
1951
- {
1952
- "propertyName": "website",
1953
- "label": "Website"
1954
- },
1955
- {
1956
- "propertyName": "keywords",
1957
- "label": "Subject Areas"
1958
- }
1959
- ],
1960
- "query": "query Repositories($term: String, $keywords: [String!], $repositoryType: String, $paginationOptions: PaginationOptions){ repositories(term: $term, keywords: $keywords, repositoryType: $repositoryType, paginationOptions: $paginationOptions) { totalCount currentOffset limit hasNextPage hasPreviousPage availableSortFields items { id name uri description website keywords repositoryTypes } } }",
1961
- "responseField": "repositories.items",
1962
- "variables": [
1963
- {
1964
- "minLength": 3,
1965
- "label": "Search for a repository",
1966
- "name": "term",
1967
- "type": "string"
1968
- },
1969
- {
1970
- "minLength": 3,
1971
- "label": "Subject Areas",
1972
- "name": "keywords",
1973
- "type": "string"
1974
- },
1975
- {
1976
- "minLength": 3,
1977
- "label": "Repository type",
1978
- "name": "repositoryType",
1979
- "type": "string"
1980
- },
1981
- {
1982
- "label": "Pagination Options",
1983
- "name": "paginationOptions",
1984
- "type": "paginationOptions"
1985
- }
1986
- ],
1987
- "answerField": "uri"
1988
- }
1989
- },
1990
- "meta": {
1991
- "schemaVersion": "1.0"
1992
- },
1993
- "preferences": [],
1994
- "attributes": {
1995
- "help": "Select repositor(ies) you would prefer users to deposit in",
1996
- "labelTranslationKey": "researchOutput.repository.heading"
1997
- }
1998
- },
1999
- {
2000
- "heading": "Metadata Standard",
2001
- "required": false,
2002
- "enabled": false,
2003
- "content": {
2004
- "type": "metadataStandardSearch",
2005
- "attributes": {},
2006
- "meta": {
2007
- "schemaVersion": "1.0"
2008
- },
2009
- "graphQL": {
2010
- "displayFields": [
2011
- {
2012
- "propertyName": "name",
2013
- "label": "Name"
2014
- },
2015
- {
2016
- "propertyName": "description",
2017
- "label": "Description"
2018
- },
2019
- {
2020
- "propertyName": "website",
2021
- "label": "Website"
2022
- },
2023
- {
2024
- "propertyName": "keywords",
2025
- "label": "Subject Areas"
2026
- }
2027
- ],
2028
- "query": "query MetadataStandards($term: String, $keywords: [String!], $paginationOptions: PaginationOptions){ metadataStandards(term: $term, keywords: $keywords, paginationOptions: $paginationOptions) { totalCount currentOffset limit hasNextPage hasPreviousPage availableSortFields items { id name uri description keywords } } }",
2029
- "responseField": "metadataStandards.items",
2030
- "variables": [
2031
- {
2032
- "minLength": 3,
2033
- "label": "Search for a metadata standard",
2034
- "name": "term",
2035
- "type": "string"
2036
- },
2037
- {
2038
- "minLength": 3,
2039
- "label": "Subject Areas",
2040
- "name": "keywords",
2041
- "type": "string"
2042
- },
2043
- {
2044
- "label": "Pagination Options",
2045
- "name": "paginationOptions",
2046
- "type": "paginationOptions"
2047
- }
2048
- ],
2049
- "answerField": "uri"
2050
- }
2051
- },
2052
- "meta": {
2053
- "schemaVersion": "1.0"
2054
- },
2055
- "preferences": [],
2056
- "attributes": {
2057
- "help": "Select metadata standard(s) you would prefer users to use",
2058
- "labelTranslationKey": "researchOutput.metadataStandard.heading"
2059
- }
2060
- },
2061
- {
2062
- "heading": "License",
2063
- "required": false,
2064
- "enabled": false,
2065
- "content": {
2066
- "type": "licenseSearch",
2067
- "attributes": {},
2068
- "meta": {
2069
- "schemaVersion": "1.0"
2070
- },
2071
- "graphQL": {
2072
- "displayFields": [
2073
- {
2074
- "propertyName": "name",
2075
- "label": "Name"
2076
- },
2077
- {
2078
- "propertyName": "description",
2079
- "label": "Description"
2080
- },
2081
- {
2082
- "propertyName": "recommended",
2083
- "label": "Recommended"
2084
- }
2085
- ],
2086
- "query": "query Licenses($term: String, $paginationOptions: PaginationOptions){ license(term: $term, paginationOptions: $paginationOptions) { totalCount currentOffset limit hasNextPage hasPreviousPage availableSortFields items { id name uri description } } }",
2087
- "responseField": "licenses.items",
2088
- "variables": [
2089
- {
2090
- "minLength": 3,
2091
- "label": "Search for a license",
2092
- "name": "term",
2093
- "type": "string"
2094
- },
2095
- {
2096
- "label": "Pagination Options",
2097
- "name": "paginationOptions",
2098
- "type": "paginationOptions"
2099
- }
2100
- ],
2101
- "answerField": "uri"
2102
- }
2103
- },
2104
- "meta": {
2105
- "schemaVersion": "1.0"
2106
- },
2107
- "preferences": [],
2108
- "attributes": {
2109
- "help": "Select license(s) you would prefer users to apply to the research output",
2110
- "labelTranslationKey": "researchOutput.license.heading"
2111
- }
2112
- },
2113
- {
2114
- "heading": "Custom Column",
2115
- "required": false,
2116
- "enabled": false,
2117
- "content": {
2118
- "type": "text",
2119
- "attributes": {
2120
- "help": "Explanation of what we expect the user to enter.",
2121
- "maxLength": 255
2122
- },
2123
- "meta": {
2124
- "schemaVersion": "1.0"
2125
- }
2126
- },
2127
- "meta": {
2128
- "schemaVersion": "1.0"
2129
- }
2130
- }
2131
- ]
2132
- }
2133
- },
2134
- "required": [
2135
- "type"
2136
- ],
2137
- "additionalProperties": false
2138
- },
2139
- {
2140
- "type": "object",
2141
- "properties": {
2142
- "type": {
2143
- "$ref": "#/definitions/AnyQuestion/anyOf/14/properties/columns/items/anyOf/2/properties/content/properties/type"
2144
- },
2145
- "attributes": {
2146
- "type": "object",
2147
- "properties": {
2148
- "label": {
2149
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/attributes/properties/label"
2150
- },
2151
- "help": {
2152
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/attributes/properties/help"
2153
- },
2154
- "labelTranslationKey": {
2155
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/attributes/properties/labelTranslationKey"
2156
- },
2157
- "multiple": {
2158
- "type": "boolean",
2159
- "const": false
2160
- }
2161
- },
2162
- "required": [
2163
- "multiple"
2164
- ],
2165
- "additionalProperties": false,
2166
- "default": {
2167
- "multiple": false
2168
- }
2169
- },
2170
- "meta": {
2171
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/meta"
2172
- },
2173
- "options": {
2174
- "$ref": "#/definitions/AnyQuestion/anyOf/14/properties/columns/items/anyOf/2/properties/content/properties/options"
2175
- }
2176
- },
2177
- "required": [
2178
- "type"
2179
- ],
2180
- "additionalProperties": false
2181
- },
2182
- {
2183
- "type": "object",
2184
- "properties": {
2185
- "type": {
2186
- "type": "string",
2187
- "const": "table"
2188
- },
2189
- "attributes": {
2190
- "$ref": "#/definitions/AnyQuestion/anyOf/14/properties/attributes"
2191
- },
2192
- "meta": {
2193
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/meta"
2194
- },
2195
- "columns": {
2196
- "type": "array",
2197
- "items": {
2198
- "type": "object",
2199
- "properties": {
2200
- "heading": {
2201
- "type": "string",
2202
- "default": "Column A"
2203
- },
2204
- "required": {
2205
- "$ref": "#/definitions/AnyQuestion/anyOf/14/properties/columns/items/anyOf/1/properties/required"
2206
- },
2207
- "enabled": {
2208
- "$ref": "#/definitions/AnyQuestion/anyOf/14/properties/columns/items/anyOf/0/properties/enabled"
2209
- },
2210
- "content": {
2211
- "anyOf": [
2212
- {
2213
- "$ref": "#/definitions/AnyQuestion/anyOf/0"
2214
- },
2215
- {
2216
- "$ref": "#/definitions/AnyQuestion/anyOf/1"
2217
- },
2218
- {
2219
- "$ref": "#/definitions/AnyQuestion/anyOf/2"
2220
- },
2221
- {
2222
- "$ref": "#/definitions/AnyQuestion/anyOf/3"
2223
- },
2224
- {
2225
- "$ref": "#/definitions/AnyQuestion/anyOf/4"
2226
- },
2227
- {
2228
- "$ref": "#/definitions/AnyQuestion/anyOf/5"
2229
- },
2230
- {
2231
- "$ref": "#/definitions/AnyQuestion/anyOf/6"
2232
- },
2233
- {
2234
- "$ref": "#/definitions/AnyQuestion/anyOf/7"
2235
- },
2236
- {
2237
- "$ref": "#/definitions/AnyQuestion/anyOf/8"
2238
- },
2239
- {
2240
- "$ref": "#/definitions/AnyQuestion/anyOf/10"
2241
- },
2242
- {
2243
- "type": "object",
2244
- "properties": {
2245
- "type": {
2246
- "$ref": "#/definitions/AnyQuestion/anyOf/14/properties/columns/items/anyOf/6/properties/content/properties/type"
2247
- },
2248
- "attributes": {
2249
- "type": "object",
2250
- "properties": {
2251
- "label": {
2252
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/attributes/properties/label"
2253
- },
2254
- "help": {
2255
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/attributes/properties/help"
2256
- },
2257
- "labelTranslationKey": {
2258
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/attributes/properties/labelTranslationKey"
2259
- },
2260
- "max": {
2261
- "$ref": "#/definitions/AnyQuestion/anyOf/3/properties/attributes/properties/max"
2262
- },
2263
- "min": {
2264
- "$ref": "#/definitions/AnyQuestion/anyOf/3/properties/attributes/properties/min"
2265
- },
2266
- "step": {
2267
- "$ref": "#/definitions/AnyQuestion/anyOf/3/properties/attributes/properties/step"
2268
- },
2269
- "context": {
2270
- "type": "array",
2271
- "items": {
2272
- "type": "object",
2273
- "properties": {
2274
- "label": {
2275
- "type": "string",
2276
- "default": ""
2277
- },
2278
- "labelTranslationKey": {
2279
- "type": "string"
2280
- },
2281
- "value": {
2282
- "type": "string",
2283
- "default": ""
2284
- }
2285
- },
2286
- "additionalProperties": false
2287
- },
2288
- "default": []
2289
- }
2290
- },
2291
- "additionalProperties": false,
2292
- "default": {}
2293
- },
2294
- "meta": {
2295
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/meta"
2296
- }
2297
- },
2298
- "required": [
2299
- "type"
2300
- ],
2301
- "additionalProperties": false
2302
- },
2303
- {
2304
- "$ref": "#/definitions/AnyQuestion/anyOf/12"
2305
- },
2306
- {
2307
- "$ref": "#/definitions/AnyQuestion/anyOf/13"
2308
- },
2309
- {
2310
- "$ref": "#/definitions/AnyQuestion/anyOf/15"
2311
- },
2312
- {
2313
- "type": "object",
2314
- "properties": {
2315
- "type": {
2316
- "$ref": "#/definitions/AnyQuestion/anyOf/14/properties/columns/items/anyOf/1/properties/content/properties/type"
2317
- },
2318
- "attributes": {
2319
- "type": "object",
2320
- "properties": {
2321
- "label": {
2322
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/attributes/properties/label"
2323
- },
2324
- "help": {
2325
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/attributes/properties/help"
2326
- },
2327
- "labelTranslationKey": {
2328
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/attributes/properties/labelTranslationKey"
2329
- },
2330
- "cols": {
2331
- "type": "number",
2332
- "default": 20
2333
- },
2334
- "maxLength": {
2335
- "type": "number"
2336
- },
2337
- "minLength": {
2338
- "type": "number"
2339
- },
2340
- "rows": {
2341
- "type": "number",
2342
- "default": 2
2343
- },
2344
- "asRichText": {
2345
- "type": "boolean",
2346
- "default": true
2347
- }
2348
- },
2349
- "additionalProperties": false,
2350
- "default": {}
2351
- },
2352
- "meta": {
2353
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/meta"
2354
- }
2355
- },
2356
- "required": [
2357
- "type"
2358
- ],
2359
- "additionalProperties": false
2360
- },
2361
- {
2362
- "type": "object",
2363
- "properties": {
2364
- "type": {
2365
- "$ref": "#/definitions/AnyQuestion/anyOf/14/properties/columns/items/anyOf/0/properties/content/properties/type"
2366
- },
2367
- "attributes": {
2368
- "type": "object",
2369
- "properties": {
2370
- "label": {
2371
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/attributes/properties/label"
2372
- },
2373
- "help": {
2374
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/attributes/properties/help"
2375
- },
2376
- "labelTranslationKey": {
2377
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/attributes/properties/labelTranslationKey"
2378
- },
2379
- "maxLength": {
2380
- "$ref": "#/definitions/AnyQuestion/anyOf/6/properties/attributes/properties/maxLength"
2381
- },
2382
- "minLength": {
2383
- "$ref": "#/definitions/AnyQuestion/anyOf/6/properties/attributes/properties/minLength"
2384
- },
2385
- "pattern": {
2386
- "$ref": "#/definitions/AnyQuestion/anyOf/6/properties/attributes/properties/pattern"
2387
- }
2388
- },
2389
- "additionalProperties": false,
2390
- "default": {}
2391
- },
2392
- "meta": {
2393
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/meta"
2394
- }
2395
- },
2396
- "required": [
2397
- "type"
2398
- ],
2399
- "additionalProperties": false
2400
- },
2401
- {
2402
- "type": "object",
2403
- "properties": {
2404
- "type": {
2405
- "type": "string",
2406
- "const": "url"
2407
- },
2408
- "attributes": {
2409
- "$ref": "#/definitions/AnyQuestion/anyOf/16/properties/columns/items/properties/content/anyOf/15/properties/attributes",
2410
- "default": {}
2411
- },
2412
- "meta": {
2413
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/meta"
2414
- }
2415
- },
2416
- "required": [
2417
- "type"
2418
- ],
2419
- "additionalProperties": false
2420
- }
2421
- ],
2422
- "default": {
2423
- "type": "textArea"
2424
- }
2425
- },
2426
- "meta": {
2427
- "$ref": "#/definitions/AnyQuestion/anyOf/14/properties/columns/items/anyOf/0/properties/meta"
2428
- }
2429
- },
2430
- "additionalProperties": false
2431
- },
2432
- "default": [
2433
- {}
2434
- ]
2435
- }
2436
- },
2437
- "required": [
2438
- "type"
2439
- ],
2440
- "additionalProperties": false
2441
- },
2442
- {
2443
- "$ref": "#/definitions/AnyQuestion/anyOf/16/properties/columns/items/properties/content/anyOf/14"
2444
- },
2445
- {
2446
- "$ref": "#/definitions/AnyQuestion/anyOf/16/properties/columns/items/properties/content/anyOf/15"
2447
- },
2448
- {
2449
- "$ref": "#/definitions/AnyQuestion/anyOf/16/properties/columns/items/properties/content/anyOf/16"
2450
- }
2451
- ]
2452
- }
2453
- },
2454
- "$schema": "http://json-schema.org/draft-07/schema#"
2455
- }