@dmptool/types 1.2.4 → 1.2.6

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.
@@ -998,100 +998,107 @@
998
998
  "columns": {
999
999
  "type": "array",
1000
1000
  "items": {
1001
- "type": "object",
1002
- "properties": {
1003
- "heading": {
1004
- "type": "string",
1005
- "default": "Column A"
1006
- },
1007
- "required": {
1008
- "type": "boolean",
1009
- "default": false
1010
- },
1011
- "enabled": {
1012
- "type": "boolean",
1013
- "default": true
1014
- },
1015
- "content": {
1016
- "anyOf": [
1017
- {
1018
- "$ref": "#/definitions/AnyQuestion/anyOf/0"
1019
- },
1020
- {
1021
- "$ref": "#/definitions/AnyQuestion/anyOf/1"
1022
- },
1023
- {
1024
- "$ref": "#/definitions/AnyQuestion/anyOf/2"
1025
- },
1026
- {
1027
- "$ref": "#/definitions/AnyQuestion/anyOf/3"
1001
+ "anyOf": [
1002
+ {
1003
+ "type": "object",
1004
+ "properties": {
1005
+ "heading": {
1006
+ "type": "string",
1007
+ "default": "Title"
1028
1008
  },
1029
- {
1030
- "$ref": "#/definitions/AnyQuestion/anyOf/4"
1009
+ "required": {
1010
+ "type": "boolean",
1011
+ "const": true
1031
1012
  },
1032
- {
1033
- "$ref": "#/definitions/AnyQuestion/anyOf/5"
1013
+ "enabled": {
1014
+ "type": "boolean",
1015
+ "default": true
1034
1016
  },
1035
- {
1036
- "$ref": "#/definitions/AnyQuestion/anyOf/6"
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
+ }
1037
1050
  },
1038
- {
1039
- "$ref": "#/definitions/AnyQuestion/anyOf/7"
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"
1040
1077
  },
1041
- {
1042
- "$ref": "#/definitions/AnyQuestion/anyOf/8"
1078
+ "required": {
1079
+ "type": "boolean",
1080
+ "default": false
1043
1081
  },
1044
- {
1045
- "$ref": "#/definitions/AnyQuestion/anyOf/10"
1082
+ "enabled": {
1083
+ "$ref": "#/definitions/AnyQuestion/anyOf/14/properties/columns/items/anyOf/0/properties/enabled"
1046
1084
  },
1047
- {
1085
+ "content": {
1048
1086
  "type": "object",
1049
1087
  "properties": {
1050
1088
  "type": {
1051
1089
  "type": "string",
1052
- "const": "numberWithContext"
1090
+ "const": "textArea"
1053
1091
  },
1054
1092
  "attributes": {
1055
1093
  "type": "object",
1056
1094
  "properties": {
1057
- "label": {
1058
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/attributes/properties/label"
1059
- },
1060
1095
  "help": {
1061
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/attributes/properties/help"
1096
+ "type": "string",
1097
+ "default": "Provide a brief description of this research output"
1062
1098
  },
1063
1099
  "labelTranslationKey": {
1064
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/attributes/properties/labelTranslationKey"
1065
- },
1066
- "max": {
1067
- "$ref": "#/definitions/AnyQuestion/anyOf/3/properties/attributes/properties/max"
1068
- },
1069
- "min": {
1070
- "$ref": "#/definitions/AnyQuestion/anyOf/3/properties/attributes/properties/min"
1071
- },
1072
- "step": {
1073
- "$ref": "#/definitions/AnyQuestion/anyOf/3/properties/attributes/properties/step"
1074
- },
1075
- "context": {
1076
- "type": "array",
1077
- "items": {
1078
- "type": "object",
1079
- "properties": {
1080
- "label": {
1081
- "type": "string",
1082
- "default": ""
1083
- },
1084
- "labelTranslationKey": {
1085
- "type": "string"
1086
- },
1087
- "value": {
1088
- "type": "string",
1089
- "default": ""
1090
- }
1091
- },
1092
- "additionalProperties": false
1093
- },
1094
- "default": []
1100
+ "type": "string",
1101
+ "default": "researchOutput.description.heading"
1095
1102
  }
1096
1103
  },
1097
1104
  "additionalProperties": false,
@@ -1104,15 +1111,32 @@
1104
1111
  "required": [
1105
1112
  "type"
1106
1113
  ],
1107
- "additionalProperties": false
1114
+ "additionalProperties": false,
1115
+ "default": {
1116
+ "type": "textArea"
1117
+ }
1108
1118
  },
1109
- {
1110
- "$ref": "#/definitions/AnyQuestion/anyOf/12"
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"
1111
1131
  },
1112
- {
1113
- "$ref": "#/definitions/AnyQuestion/anyOf/13"
1132
+ "required": {
1133
+ "type": "boolean",
1134
+ "const": true
1114
1135
  },
1115
- {
1136
+ "enabled": {
1137
+ "$ref": "#/definitions/AnyQuestion/anyOf/14/properties/columns/items/anyOf/0/properties/enabled"
1138
+ },
1139
+ "content": {
1116
1140
  "type": "object",
1117
1141
  "properties": {
1118
1142
  "type": {
@@ -1122,18 +1146,17 @@
1122
1146
  "attributes": {
1123
1147
  "type": "object",
1124
1148
  "properties": {
1125
- "label": {
1126
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/attributes/properties/label"
1149
+ "multiple": {
1150
+ "type": "boolean",
1151
+ "const": false
1127
1152
  },
1128
1153
  "help": {
1129
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/attributes/properties/help"
1154
+ "type": "string",
1155
+ "default": "Select the type that best describes this research output"
1130
1156
  },
1131
1157
  "labelTranslationKey": {
1132
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/attributes/properties/labelTranslationKey"
1133
- },
1134
- "multiple": {
1135
- "type": "boolean",
1136
- "const": false
1158
+ "type": "string",
1159
+ "default": "researchOutput.outputType.heading"
1137
1160
  }
1138
1161
  },
1139
1162
  "required": [
@@ -1160,44 +1183,50 @@
1160
1183
  "required": [
1161
1184
  "type"
1162
1185
  ],
1163
- "additionalProperties": false
1186
+ "additionalProperties": false,
1187
+ "default": {
1188
+ "type": "selectBox"
1189
+ }
1164
1190
  },
1165
- {
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": {
1166
1215
  "type": "object",
1167
1216
  "properties": {
1168
1217
  "type": {
1169
- "type": "string",
1170
- "const": "textArea"
1218
+ "$ref": "#/definitions/AnyQuestion/anyOf/2/properties/type"
1171
1219
  },
1172
1220
  "attributes": {
1173
1221
  "type": "object",
1174
1222
  "properties": {
1175
- "label": {
1176
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/attributes/properties/label"
1177
- },
1178
1223
  "help": {
1179
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/attributes/properties/help"
1224
+ "type": "string",
1225
+ "default": "Select any data flags that apply to this research output"
1180
1226
  },
1181
1227
  "labelTranslationKey": {
1182
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/attributes/properties/labelTranslationKey"
1183
- },
1184
- "cols": {
1185
- "type": "number",
1186
- "default": 20
1187
- },
1188
- "maxLength": {
1189
- "type": "number"
1190
- },
1191
- "minLength": {
1192
- "type": "number"
1193
- },
1194
- "rows": {
1195
- "type": "number",
1196
- "default": 2
1197
- },
1198
- "asRichText": {
1199
- "type": "boolean",
1200
- "default": true
1228
+ "type": "string",
1229
+ "default": "researchOutput.dataFlags.heading"
1201
1230
  }
1202
1231
  },
1203
1232
  "additionalProperties": false,
@@ -1205,65 +1234,181 @@
1205
1234
  },
1206
1235
  "meta": {
1207
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
+ ]
1208
1266
  }
1209
1267
  },
1210
1268
  "required": [
1211
1269
  "type"
1212
1270
  ],
1213
- "additionalProperties": false
1271
+ "additionalProperties": false,
1272
+ "default": {
1273
+ "type": "checkBoxes"
1274
+ }
1214
1275
  },
1215
- {
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": {
1216
1297
  "type": "object",
1217
1298
  "properties": {
1218
1299
  "type": {
1219
- "type": "string",
1220
- "const": "text"
1300
+ "$ref": "#/definitions/AnyQuestion/anyOf/14/properties/columns/items/anyOf/2/properties/content/properties/type"
1221
1301
  },
1222
1302
  "attributes": {
1223
1303
  "type": "object",
1224
1304
  "properties": {
1225
- "label": {
1226
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/attributes/properties/label"
1305
+ "multiple": {
1306
+ "type": "boolean",
1307
+ "const": false
1227
1308
  },
1228
1309
  "help": {
1229
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/attributes/properties/help"
1310
+ "type": "string",
1311
+ "default": "The initial access level for the research output"
1230
1312
  },
1231
1313
  "labelTranslationKey": {
1232
- "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/attributes/properties/labelTranslationKey"
1233
- },
1234
- "maxLength": {
1235
- "$ref": "#/definitions/AnyQuestion/anyOf/6/properties/attributes/properties/maxLength"
1236
- },
1237
- "minLength": {
1238
- "$ref": "#/definitions/AnyQuestion/anyOf/6/properties/attributes/properties/minLength"
1239
- },
1240
- "pattern": {
1241
- "$ref": "#/definitions/AnyQuestion/anyOf/6/properties/attributes/properties/pattern"
1314
+ "type": "string",
1315
+ "default": "researchOutput.accessLevel.heading"
1242
1316
  }
1243
1317
  },
1318
+ "required": [
1319
+ "multiple"
1320
+ ],
1244
1321
  "additionalProperties": false,
1245
- "default": {}
1322
+ "default": {
1323
+ "multiple": false
1324
+ }
1246
1325
  },
1247
1326
  "meta": {
1248
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
+ ]
1249
1361
  }
1250
1362
  },
1251
1363
  "required": [
1252
1364
  "type"
1253
1365
  ],
1254
- "additionalProperties": false
1366
+ "additionalProperties": false,
1367
+ "default": {
1368
+ "type": "selectBox"
1369
+ }
1255
1370
  },
1256
- {
1257
- "type": "object",
1258
- "properties": {
1259
- "type": {
1260
- "type": "string",
1261
- "const": "url"
1262
- },
1263
- "attributes": {
1264
- "$ref": "#/definitions/AnyQuestion/anyOf/14/properties/columns/items/properties/content/anyOf/15/properties/attributes",
1265
- "default": {}
1266
- },
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
+ },
1267
1412
  "meta": {
1268
1413
  "$ref": "#/definitions/AnyQuestion/anyOf/0/properties/meta"
1269
1414
  }
@@ -1271,29 +1416,330 @@
1271
1416
  "required": [
1272
1417
  "type"
1273
1418
  ],
1274
- "additionalProperties": false
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"
1275
1426
  }
1276
- ],
1277
- "default": {
1278
- "type": "textArea"
1279
- }
1427
+ },
1428
+ "additionalProperties": false
1280
1429
  },
1281
- "meta": {
1430
+ {
1282
1431
  "type": "object",
1283
1432
  "properties": {
1284
- "schemaVersion": {
1433
+ "heading": {
1285
1434
  "type": "string",
1286
- "default": "1.0"
1435
+ "default": "Byte Size"
1287
1436
  },
1288
- "labelTranslationKey": {
1289
- "type": "string"
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"
1290
1527
  }
1291
1528
  },
1292
- "additionalProperties": false,
1293
- "default": {}
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
1294
1741
  }
1295
- },
1296
- "additionalProperties": false
1742
+ ]
1297
1743
  },
1298
1744
  "default": [
1299
1745
  {
@@ -1663,6 +2109,24 @@
1663
2109
  "help": "Select license(s) you would prefer users to apply to the research output",
1664
2110
  "labelTranslationKey": "researchOutput.license.heading"
1665
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
+ }
1666
2130
  }
1667
2131
  ]
1668
2132
  }
@@ -1673,7 +2137,47 @@
1673
2137
  "additionalProperties": false
1674
2138
  },
1675
2139
  {
1676
- "$ref": "#/definitions/AnyQuestion/anyOf/14/properties/columns/items/properties/content/anyOf/13"
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
1677
2181
  },
1678
2182
  {
1679
2183
  "type": "object",
@@ -1691,7 +2195,239 @@
1691
2195
  "columns": {
1692
2196
  "type": "array",
1693
2197
  "items": {
1694
- "$ref": "#/definitions/AnyQuestion/anyOf/14/properties/columns/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
1695
2431
  },
1696
2432
  "default": [
1697
2433
  {}
@@ -1704,13 +2440,13 @@
1704
2440
  "additionalProperties": false
1705
2441
  },
1706
2442
  {
1707
- "$ref": "#/definitions/AnyQuestion/anyOf/14/properties/columns/items/properties/content/anyOf/14"
2443
+ "$ref": "#/definitions/AnyQuestion/anyOf/16/properties/columns/items/properties/content/anyOf/14"
1708
2444
  },
1709
2445
  {
1710
- "$ref": "#/definitions/AnyQuestion/anyOf/14/properties/columns/items/properties/content/anyOf/15"
2446
+ "$ref": "#/definitions/AnyQuestion/anyOf/16/properties/columns/items/properties/content/anyOf/15"
1711
2447
  },
1712
2448
  {
1713
- "$ref": "#/definitions/AnyQuestion/anyOf/14/properties/columns/items/properties/content/anyOf/16"
2449
+ "$ref": "#/definitions/AnyQuestion/anyOf/16/properties/columns/items/properties/content/anyOf/16"
1714
2450
  }
1715
2451
  ]
1716
2452
  }