Class: Uc3DmpId::Schemas::Author
- Inherits:
-
Object
- Object
- Uc3DmpId::Schemas::Author
- Defined in:
- lib/uc3-dmp-id/schemas/author.rb
Overview
The JSON schema for creating a new DMP ID rubocop:disable Layout/LineLength, Metrics/MethodLength, Metrics/ClassLength
Class Method Summary collapse
Class Method Details
.load ⇒ Object
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 |
# File 'lib/uc3-dmp-id/schemas/author.rb', line 9 def load JSON.parse({ '$id': 'https://github.com/CDLUC3/dmp-hub-sam/layer/ruby/config/schemas/author.json', title: 'Data Management Plan (DMP)', description: 'JSON Schema for a Data Management Plan (DMP)', type: 'object', properties: { dmp: { '$id': '#/properties/dmp', type: 'object', title: 'The DMP Schema', properties: { contact: { '$id': '#/properties/dmp/properties/contact', type: 'object', title: 'The DMP Contact Schema', properties: { contact_id: { '$id': '#/properties/dmp/properties/contact/properties/contact_id', type: 'object', title: 'The Contact ID Schema', properties: { identifier: { '$id': '#/properties/dmp/properties/contact/properties/contact_id/properties/identifier', type: 'string', title: 'The DMP Contact Identifier Schema', examples: ['https://orcid.org/0000-0000-0000-0000'] }, type: { '$id': '#/properties/dmp/properties/contact/properties/contact_id/properties/type', type: 'string', enum: %w[ orcid isni openid other ], title: 'The DMP Contact Identifier Type Schema', description: 'Identifier type. Allowed values: orcid, isni, openid, other', examples: ['orcid'] } }, required: %w[ identifier type ] }, dmproadmap_affiliation: { '$id': '#/properties/dmp/properties/contact/properties/dmproadmap_affiliation', type: 'object', title: "The contact's affiliation", properties: { affiliation_id: { '$id': '#/properties/dmp/properties/contact/properties/dmproadmap_affiliation/properties/affiliation_id', type: 'object', title: 'The unique ID of the affiliation', description: "The affiliation's ROR, Crossref funder ID or URL", properties: { identifier: { '$id': '#/properties/dmp/properties/contact/properties/dmproadmap_affiliation/properties/affiliation_id/properties/identifier', type: 'string', title: 'The affiliation ID', description: 'ROR ID, Crossref funder ID or URL. Recommended to use Research Organization Registry (ROR). See: https://ror.org', examples: ['https://ror.org/03yrm5c26', 'http://dx.doi.org/10.13039/100005595', 'http://www.cdlib.org/'] }, type: { '$id': '#/properties/dmp/properties/contact/properties/dmproadmap_affiliation/properties/affiliation_id/properties/type', type: 'string', enum: %w[ doi ror url ], title: 'The affiliation ID type schema', description: 'Identifier type. Allowed values: doi, ror, url', examples: ['ror'] } }, required: %w[ identifier type ] }, name: { '$id': '#/properties/dmp/properties/contact/properties/dmproadmap_affiliation/properties/name', type: 'string', title: 'Name of the instituion/organization', description: 'Official institution/organization name', examples: ['Example University'] } } }, mbox: { '$id': '#/properties/dmp/properties/contact/properties/mbox', type: 'string', format: 'email', title: 'The Mailbox Schema', description: "Contact Person's E-mail address", examples: ['[email protected]'] }, name: { '$id': '#/properties/dmp/properties/contact/properties/name', type: 'string', title: 'The Name Schema', description: "Name of the contact person as Last, First (e.g. 'Doe PhD., Jane A.' or 'Doe, Jane')", examples: ['Doe, Jane'] } }, required: %w[ contact_id mbox name ] }, contributor: { '$id': '#/properties/dmp/properties/contributor', type: 'array', title: 'The Contributor Schema', items: { '$id': '#/properties/dmp/properties/contributor/items', type: 'object', title: 'The Contributor Items Schema', properties: { contributor_id: { '$id': '#/properties/dmp/properties/contributor/items/properties/contributor_id', type: 'object', title: 'The Contributor_id Schema', properties: { identifier: { '$id': '#/properties/dmp/properties/contributor/items/properties/contributor_id/properties/identifier', type: 'string', title: 'The Contributor Identifier Schema', description: 'Identifier for a contact person', examples: ['http://orcid.org/0000-0000-0000-0000'] }, type: { '$id': '#/properties/dmp/properties/contributor/items/properties/contributor_id/properties/type', type: 'string', enum: %w[ orcid isni openid other ], title: 'The Contributor Identifier Type Schema', description: 'Identifier type. Allowed values: orcid, isni, openid, other', examples: ['orcid'] } }, required: %w[ identifier type ] }, dmproadmap_affiliation: { '$id': '#/properties/dmp/properties/contributor/items/properties/dmproadmap_affiliation', type: 'object', title: "The contributor's affiliation", properties: { affiliation_id: { '$id': '#/properties/dmp/properties/contributor/items/properties/dmproadmap_affiliation/properties/affiliation_id', type: 'object', title: 'The unique ID of the affiliation', description: "The affiliation's ROR, Crossref funder ID or URL", properties: { identifier: { '$id': '#/properties/dmp/properties/contributor/items/properties/dmproadmap_affiliation/properties/affiliation_id/properties/identifier', type: 'string', title: 'The affiliation ID', description: 'ROR ID, Crossref funder ID or URL. Recommended to use Research Organization Registry (ROR). See: https://ror.org', examples: ['https://ror.org/03yrm5c26', 'http://dx.doi.org/10.13039/100005595', 'http://www.cdlib.org/'] }, type: { '$id': '#/properties/dmp/properties/contributor/items/properties/dmproadmap_affiliation/properties/affiliation_id/properties/type', type: 'string', enum: %w[ doi ror url ], title: 'The affiliation ID type schema', description: 'Identifier type. Allowed values: doi, ror, url', examples: ['ror'] } }, required: %w[ identifier type ] }, name: { '$id': '#/properties/dmp/properties/contributor/items/properties/dmproadmap_affiliation/properties/name', type: 'string', title: 'Name of the instituion/organization', description: 'Official institution/organization name', examples: ['Example University'] } } }, mbox: { '$id': '#/properties/dmp/properties/contributor/items/properties/mbox', type: 'string', title: 'The Contributor Mailbox Schema', description: 'Contributor Mail address', examples: ['[email protected]'], format: 'email' }, name: { '$id': '#/properties/dmp/properties/contributor/items/properties/name', type: 'string', title: 'The Name Schema', description: "Name of the contributor as Last, First (e.g. 'Doe PhD., Jane A.' or 'Doe, Jane')", examples: ['Smith, John'] }, role: { '$id': '#/properties/dmp/properties/contributor/items/properties/role', type: 'array', title: 'The Role Schema', description: 'Type of contributor', items: { '$id': '#/properties/dmp/properties/contributor/items/properties/role/items', type: 'string', title: 'The Contributor Role(s) Items Schema', examples: ['Data Steward'] }, uniqueItems: true } }, required: %w[ name role ] } }, cost: { '$id': '#/properties/dmp/properties/cost', type: 'array', title: 'The Cost Schema', items: { '$id': '#/properties/dmp/properties/cost/items', type: 'object', title: 'The Cost Items Schema', properties: { currency_code: { '$id': '#/properties/dmp/properties/cost/items/properties/currency_code', type: 'string', enum: [ 'AED', 'AFN', 'ALL', 'AMD', 'ANG', 'AOA', 'ARS', 'AUD', 'AWG', 'AZN', 'BAM', 'BBD', 'BDT', 'BGN', 'BHD', 'BIF', 'BMD', 'BND', 'BOB', 'BRL', 'BSD', 'BTN', 'BWP', 'BYN', 'BZD', 'CAD', 'CDF', 'CHF', 'CLP', 'CNY', 'COP', 'CRC', 'CUC', 'CUP', 'CVE', 'CZK', 'DJF', 'DKK', 'DOP', 'DZD', 'EGP', 'ERN', 'ETB', 'EUR', 'FJD', 'FKP', 'GBP', 'GEL', 'GGP', 'GHS', 'GIP', 'GMD', 'GNF', 'GTQ', 'GYD', 'HKD', 'HNL', 'HRK', 'HTG', 'HUF', 'IDR', 'ILS', 'IMP', 'INR', 'IQD', 'IRR', 'ISK', 'JEP', 'JMD', 'JOD', 'JPY', 'KES', 'KGS', 'KHR', 'KMF', 'KPW', 'KRW', 'KWD', 'KYD', 'KZT', 'LAK', 'LBP', 'LKR', 'LRD', 'LSL', 'LYD', 'MAD', 'MDL', 'MGA', 'MKD', 'MMK', 'MNT', 'MOP', 'MRU', 'MUR', 'MVR', 'MWK', 'MXN', 'MYR', 'MZN', 'NAD', 'NGN', 'NIO', 'NOK', 'NPR', 'NZD', 'OMR', 'PAB', 'PEN', 'PGK', 'PHP', 'PKR', 'PLN', 'PYG', 'QAR', 'RON', 'RSD', 'RUB', 'RWF', 'SAR', 'SBD', 'SCR', 'SDG', 'SEK', 'SGD', 'SHP', 'SLL', 'SOS', 'SPL*', 'SRD', 'STN', 'SVC', 'SYP', 'SZL', 'THB', 'TJS', 'TMT', 'TND', 'TOP', 'TRY', 'TTD', 'TVD', 'TWD', 'TZS', 'UAH', 'UGX', 'USD', 'UYU', 'UZS', 'VEF', 'VND', 'VUV', 'WST', 'XAF', 'XCD', 'XDR', 'XOF', 'XPF', 'YER', 'ZAR', 'ZMW', 'ZWD' ], title: 'The Cost Currency Code Schema', description: 'Allowed values defined by ISO 4217', examples: ['EUR'] }, description: { '$id': '#/properties/dmp/properties/cost/items/properties/description', type: 'string', title: 'The Cost Description Schema', description: 'Cost(s) Description', examples: ['Costs for maintaining...'] }, title: { '$id': '#/properties/dmp/properties/cost/items/properties/title', type: 'string', title: 'The Cost Title Schema', description: 'Title', examples: ['Storage and Backup'] }, value: { '$id': '#/properties/dmp/properties/cost/items/properties/value', type: 'number', title: 'The Cost Value Schema', description: 'Value', examples: [1000] } }, required: ['title'] } }, created: { '$id': '#/properties/dmp/properties/created', type: 'string', format: 'date-time', title: 'The DMP Creation Schema', description: 'Date and time of the first version of a DMP. Must not be changed in subsequent DMPs. Encoded using the relevant ISO 8601 Date and Time compliant string', examples: ['2019-03-13T13:13:00+00:00'] }, dataset: { '$id': '#/properties/dmp/properties/dataset', type: 'array', title: 'The Dataset Schema', items: { '$id': '#/properties/dmp/properties/dataset/items', type: 'object', title: 'The Dataset Items Schema', properties: { data_quality_assurance: { '$id': '#/properties/dmp/properties/dataset/items/properties/data_quality_assurance', type: 'array', title: 'The Data Quality Assurance Schema', description: 'Data Quality Assurance', items: { '$id': '#/properties/dmp/properties/dataset/items/properties/data_quality_assurance/items', type: 'string', title: 'The Data Quality Assurance Schema', examples: ['We use file naming convention...'] } }, dataset_id: { '$id': '#/properties/dmp/properties/dataset/items/properties/dataset_id', type: 'object', title: 'The Dataset ID Schema', description: 'Dataset ID', properties: { identifier: { '$id': '#/properties/dmp/properties/dataset/items/properties/dataset_id/properties/identifier', type: 'string', title: 'The Dataset Identifier Schema', description: 'Identifier for a dataset', examples: ['https://hdl.handle.net/11353/10.923628'] }, type: { '$id': '#/properties/dmp/properties/dataset/items/properties/dataset_id/properties/type', type: 'string', enum: %w[ handle doi ark url other ], title: 'The Dataset Identifier Type Schema', description: 'Dataset identifier type. Allowed values: handle, doi, ark, url, other', examples: ['handle'] } }, required: %w[ identifier type ] }, description: { '$id': '#/properties/dmp/properties/dataset/items/properties/description', type: 'string', title: 'The Dataset Description Schema', description: 'Description is a property in both Dataset and Distribution, in compliance with W3C DCAT. In some cases these might be identical, but in most cases the Dataset represents a more abstract concept, while the distribution can point to a specific file.', examples: ['Field observation'] }, distribution: { '$id': '#/properties/dmp/properties/dataset/items/properties/distribution', type: 'array', title: 'The Dataset Distribution Schema', description: 'To provide technical information on a specific instance of data.', items: { '$id': '#/properties/dmp/properties/dataset/items/properties/distribution/items', type: 'object', title: 'The Dataset Distribution Items Schema', properties: { access_url: { '$id': '#/properties/dmp/properties/dataset/items/properties/distribution/items/properties/access_url', type: 'string', title: 'The Dataset Distribution Access URL Schema', description: 'A URL of the resource that gives access to a distribution of the dataset. e.g. landing page.', examples: ['http://some.repo'] }, available_until: { '$id': '#/properties/dmp/properties/dataset/items/properties/distribution/items/properties/available_until', type: 'string', format: 'date', title: 'The Dataset Distribution Available Until Schema', description: 'Indicates how long this distribution will be/ should be available. Encoded using the relevant ISO 8601 Date and Time compliant string.', examples: ['2030-06-30'] }, byte_size: { '$id': '#/properties/dmp/properties/dataset/items/properties/distribution/items/properties/byte_size', type: 'integer', title: 'The Dataset Distribution Byte Size Schema', description: 'Size in bytes.', examples: [690_000] }, data_access: { '$id': '#/properties/dmp/properties/dataset/items/properties/distribution/items/properties/data_access', type: 'string', enum: %w[ open shared closed ], title: 'The Dataset Distribution Data Access Schema', description: 'Indicates access mode for data. Allowed values: open, shared, closed', examples: ['open'] }, description: { '$id': '#/properties/dmp/properties/dataset/items/properties/distribution/items/properties/description', type: 'string', title: 'The Dataset Distribution Description Schema', description: 'Description is a property in both Dataset and Distribution, in compliance with W3C DCAT. In some cases these might be identical, but in most cases the Dataset represents a more abstract concept, while the distribution can point to a specific file.', examples: ['Best quality data before resizing'] }, download_url: { '$id': '#/properties/dmp/properties/dataset/items/properties/distribution/items/properties/download_url', type: 'string', format: 'uri', title: 'The Dataset Distribution Download URL Schema', description: 'The URL of the downloadable file in a given format. E.g. CSV file or RDF file.', examples: ['http://example.com/download/abc123/download'] }, format: { '$id': '#/properties/dmp/properties/dataset/items/properties/distribution/items/properties/format', type: 'array', title: 'The Dataset Distribution Format Schema', description: 'Format according to: https://www.iana.org/assignments/media-types/media-types.xhtml if appropriate, otherwise use the common name for this format.', items: { '$id': '#/properties/dmp/properties/dataset/items/properties/distribution/items/properties/format/items', type: 'string', title: 'The Dataset Distribution Format Items Schema', examples: ['image/tiff'] } }, host: { '$id': '#/properties/dmp/properties/dataset/items/properties/distribution/items/properties/host', type: 'object', title: 'The Dataset Distribution Host Schema', description: 'To provide information on quality of service provided by infrastructure (e.g. repository) where data is stored.', properties: { availability: { '$id': '#/properties/dmp/properties/dataset/items/properties/distribution/items/properties/host/properties/availability', type: 'string', title: 'The Dataset Distribution Host Availability Schema', description: 'Availability', examples: ['99,5'] }, backup_frequency: { '$id': '#/properties/dmp/properties/dataset/items/properties/distribution/items/properties/host/properties/backup_frequency', type: 'string', title: 'The Dataset Distribution Host Backup Frequency Schema', description: 'Backup Frequency', examples: ['weekly'] }, backup_type: { '$id': '#/properties/dmp/properties/dataset/items/properties/distribution/items/properties/host/properties/backup_type', type: 'string', title: 'The Dataset Distribution Host Backup Type Schema', description: 'Backup Type', examples: ['tapes'] }, certified_with: { '$id': '#/properties/dmp/properties/dataset/items/properties/distribution/items/properties/host/properties/certified_with', type: 'string', enum: %w[ din31644 dini-zertifikat dsa iso16363 iso16919 trac wds coretrustseal ], title: 'The Dataset Distribution Host Certification Type Schema', description: 'Repository certified to a recognised standard. Allowed values: din31644, dini-zertifikat, dsa, iso16363, iso16919, trac, wds, coretrustseal', examples: ['coretrustseal'] }, description: { '$id': '#/properties/dmp/properties/dataset/items/properties/distribution/items/properties/host/properties/description', type: 'string', title: 'The Dataset Distribution Host Description Schema', description: 'Description', examples: ['Repository hosted by...'] }, dmproadmap_host_id: { '$id': '#/properties/dmp/properties/dataset/items/properties/distribution/items/properties/host/properties/host_id', type: 'object', title: 'The Host ID', description: 'The unique identifier or URL for the host', properties: { identifier: { '$id': '#/properties/dmp/properties/dataset/items/properties/distribution/items/properties/host/properties/host_id/properties/identifier', type: 'string', title: 'The Host Identifier', description: 'The Host URL or identifier', examples: ['https://www.re3data.org/repository/r3d100000044', 'https://example.host.org'] }, type: { '$id': '#/properties/dmp/properties/dataset/items/properties/distribution/items/properties/host/properties/host_id/properties/type', type: 'string', enum: %w[ handle doi ark url ], title: 'The Host Identifier Type Schema', description: 'Host identifier type. Allowed values: handle, doi, ark, url', examples: ['url'] } }, required: %w[ identifier type ] }, geo_location: { '$id': '#/properties/dmp/properties/dataset/items/properties/distribution/items/properties/host/properties/geo_location', type: 'string', enum: %w[ AD AE AF AG AI AL AM AO AQ AR AS AT AU AW AX AZ BA BB BD BE BF BG BH BI BJ BL BM BN BO BQ BR BS BT BV BW BY BZ CA CC CD CF CG CH CI CK CL CM CN CO CR CU CV CW CX CY CZ DE DJ DK DM DO DZ EC EE EG EH ER ES ET FI FJ FK FM FO FR GA GB GD GE GF GG GH GI GL GM GN GP GQ GR GS GT GU GW GY HK HM HN HR HT HU ID IE IL IM IN IO IQ IR IS IT JE JM JO JP KE KG KH KI KM KN KP KR KW KY KZ LA LB LC LI LK LR LS LT LU LV LY MA MC MD ME MF MG MH MK ML MM MN MO MP MQ MR MS MT MU MV MW MX MY MZ NA NC NE NF NG NI NL NO NP NR NU NZ OM PA PE PF PG PH PK PL PM PN PR PS PT PW PY QA RE RO RS RU RW SA SB SC SD SE SG SH SI SJ SK SL SM SN SO SR SS ST SV SX SY SZ TC TD TF TG TH TJ TK TL TM TN TO TR TT TV TW TZ UA UG UM US UY UZ VA VC VE VG VI VN VU WF WS YE YT ZA ZM ZW ], title: 'The Dataset Distribution Host Geographical Location Schema', description: 'Physical location of the data expressed using ISO 3166-1 country code.', examples: ['AT'] }, pid_system: { '$id': '#/properties/dmp/properties/dataset/items/properties/distribution/items/properties/host/properties/pid_system', type: 'array', title: 'The Dataset Distribution Host PID System Schema', description: 'PID system(s). Allowed values: ark, arxiv, bibcode, doi, ean13, eissn, handle, igsn, isbn, issn, istc, lissn, lsid, pmid, purl, upc, url, urn, other', items: { '$id': '#/properties/dmp/properties/dataset/items/properties/distribution/items/properties/host/properties/pid_system/items', type: 'string', title: 'The Dataset Distribution Host PID System Items Schema', enum: %w[ ark arxiv bibcode doi ean13 eissn handle igsn isbn issn istc lissn lsid pmid purl upc url urn other ], examples: ['doi'] } }, storage_type: { '$id': '#/properties/dmp/properties/dataset/items/properties/distribution/items/properties/host/properties/storage_type', type: 'string', title: 'The Dataset Distribution Host Storage Type Schema', description: 'The type of storage required', examples: ['External Hard Drive'] }, support_versioning: { '$id': '#/properties/dmp/properties/dataset/items/properties/distribution/items/properties/host/properties/support_versioning', type: 'string', enum: %w[ yes no unknown ], title: 'The Dataset Distribution Host Support Versioning Schema', description: 'If host supports versioning. Allowed values: yes, no, unknown', examples: ['yes'] }, title: { '$id': '#/properties/dmp/properties/dataset/items/properties/distribution/items/properties/host/properties/title', type: 'string', title: 'The Dataset Distribution Host Title Schema', description: 'Title', examples: ['Super Repository'] }, url: { '$id': '#/properties/dmp/properties/dataset/items/properties/distribution/items/properties/host/properties/url', type: 'string', format: 'uri', title: 'The Dataset Distribution Host Title Schema', description: 'The URL of the system hosting a distribution of a dataset', examples: ['https://zenodo.org'] } }, required: %w[ title url ] }, license: { '$id': '#/properties/dmp/properties/dataset/items/properties/distribution/items/properties/license', type: 'array', title: 'The Dataset Distribution License(s) Schema', description: 'To list all licenses applied to a specific distribution of data.', items: { '$id': '#/properties/dmp/properties/dataset/items/properties/distribution/items/properties/license/items', type: 'object', title: 'The Dataset Distribution License Items', properties: { license_ref: { '$id': '#/properties/dmp/properties/dataset/items/properties/distribution/items/properties/license/items/properties/license_ref', type: 'string', format: 'uri', title: 'The Dataset Distribution License Reference Schema', description: 'Link to license document.', examples: ['https://creativecommons.org/licenses/by/4.0/'] }, start_date: { '$id': '#/properties/dmp/properties/dataset/items/properties/distribution/items/properties/license/items/properties/start_date', type: 'string', format: 'date-time', title: 'The Dataset Distribution License Start Date Schema', description: 'If date is set in the future, it indicates embargo period. Encoded using the relevant ISO 8601 Date and Time compliant string.', examples: ['2019-06-30'] } }, required: %w[ license_ref start_date ] } }, title: { '$id': '#/properties/dmp/properties/dataset/items/properties/distribution/items/properties/title', type: 'string', title: 'The Dataset Distribution Title Schema', description: 'Title is a property in both Dataset and Distribution, in compliance with W3C DCAT. In some cases these might be identical, but in most cases the Dataset represents a more abstract concept, while the distribution can point to a specific file.', examples: ['Full resolution images'] } }, required: %w[ data_access title ] } }, issued: { '$id': '#/properties/dmp/properties/dataset/items/properties/issued', type: 'string', format: 'date-time', title: 'The Dataset Date of Issue Schema', description: 'Issued. Encoded using the relevant ISO 8601 Date and Time compliant string.', examples: ['2019-06-30'] }, keyword: { '$id': '#/properties/dmp/properties/dataset/items/properties/keyword', type: 'array', title: 'The Dataset Keyword(s) Schema', description: 'Keywords', items: { '$id': '#/properties/dmp/properties/dataset/items/properties/keyword/items', type: 'string', title: 'The Dataset Keyword Items Schema', examples: ['keyword 1, keyword 2'] } }, language: { '$id': '#/properties/dmp/properties/dataset/items/properties/language', type: 'string', enum: %w[ aar abk afr aka amh ara arg asm ava ave aym aze bak bam bel ben bih bis bod bos bre bul cat ces cha che chu chv cor cos cre cym dan deu div dzo ell eng epo est eus ewe fao fas fij fin fra fry ful gla gle glg glv grn guj hat hau hbs heb her hin hmo hrv hun hye ibo ido iii iku ile ina ind ipk isl ita jav jpn kal kan kas kat kau kaz khm kik kin kir kom kon kor kua kur lao lat lav lim lin lit ltz lub lug mah mal mar mkd mlg mlt mon mri msa mya nau nav nbl nde ndo nep nld nno nob nor nya oci oji ori orm oss pan pli pol por pus que roh ron run rus sag san sin slk slv sme smo sna snd som sot spa sqi srd srp ssw sun swa swe tah tam tat tel tgk tgl tha tir ton tsn tso tuk tur twi uig ukr urd uzb ven vie vol wln wol xho yid yor zha zho zul ], title: 'The Dataset Language Schema', description: 'Language of the dataset expressed using ISO 639-3.', examples: ['eng'] }, metadata: { '$id': '#/properties/dmp/properties/dataset/items/properties/metadata', type: 'array', title: 'The Dataset Metadata Schema', description: 'To describe metadata standards used.', items: { '$id': '#/properties/dmp/properties/dataset/items/properties/metadata/items', type: 'object', title: 'The Dataset Metadata Items Schema', properties: { description: { '$id': '#/properties/dmp/properties/dataset/items/properties/metadata/items/properties/description', type: 'string', title: 'The Dataset Metadata Description Schema', description: 'Description', examples: ['Provides taxonomy for...'] }, language: { '$id': '#/properties/dmp/properties/dataset/items/properties/metadata/items/properties/language', type: 'string', enum: %w[ aar abk afr aka amh ara arg asm ava ave aym aze bak bam bel ben bih bis bod bos bre bul cat ces cha che chu chv cor cos cre cym dan deu div dzo ell eng epo est eus ewe fao fas fij fin fra fry ful gla gle glg glv grn guj hat hau hbs heb her hin hmo hrv hun hye ibo ido iii iku ile ina ind ipk isl ita jav jpn kal kan kas kat kau kaz khm kik kin kir kom kon kor kua kur lao lat lav lim lin lit ltz lub lug mah mal mar mkd mlg mlt mon mri msa mya nau nav nbl nde ndo nep nld nno nob nor nya oci oji ori orm oss pan pli pol por pus que roh ron run rus sag san sin slk slv sme smo sna snd som sot spa sqi srd srp ssw sun swa swe tah tam tat tel tgk tgl tha tir ton tsn tso tuk tur twi uig ukr urd uzb ven vie vol wln wol xho yid yor zha zho zul ], title: 'The Dataset Metadata Language Schema', description: 'Language of the metadata expressed using ISO 639-3.', examples: ['eng'] }, metadata_standard_id: { '$id': '#/properties/dmp/properties/dataset/items/properties/metadata/items/properties/metadata_standard_id', type: 'object', title: 'The Dataset Metadata Standard ID Schema', properties: { identifier: { '$id': '#/properties/dmp/properties/dataset/items/properties/metadata/items/properties/metadata_standard_id/identifier', type: 'string', title: 'The Dataset Metadata Standard Identifier Value Schema', description: 'Identifier for the metadata standard used.', examples: ['http://www.dublincore.org/specifications/dublin-core/dcmi-terms/'] }, type: { '$id': '#/properties/dmp/properties/dataset/items/properties/metadata/items/properties/metadata_standard_id/type', type: 'string', enum: %w[ url other ], title: 'The Dataset Metadata Standard Identifier Type Schema', description: 'Identifier type. Allowed values: url, other', examples: ['url'] } }, required: %w[ identifier type ] } }, required: [ 'metadata_standard_id' ] } }, personal_data: { '$id': '#/properties/dmp/properties/dataset/items/properties/personal_data', type: 'string', enum: %w[ yes no unknown ], title: 'The Dataset Personal Data Schema', description: 'If any personal data is contained. Allowed values: yes, no, unknown', examples: ['unknown'] }, preservation_statement: { '$id': '#/properties/dmp/properties/dataset/items/properties/preservation_statement', type: 'string', title: 'The Dataset Preservation Statement Schema', description: 'Preservation Statement', examples: ['Must be preserved to enable...'] }, security_and_privacy: { '$id': '#/properties/dmp/properties/dataset/items/properties/security_and_privacy', type: 'array', title: 'The Dataset Security and Policy Schema', description: 'To list all issues and requirements related to security and privacy', items: { '$id': '#/properties/dmp/properties/dataset/items/properties/security_and_privacy/items', type: 'object', title: 'The Dataset Security & Policy Items Schema', properties: { description: { '$id': '#/properties/dmp/properties/dataset/items/properties/security_and_privacy/items/properties/description', type: 'string', title: 'The Dataset Security & Policy Description Schema', description: 'Description', examples: ['Server with data must be kept in a locked room'] }, title: { '$id': '#/properties/dmp/properties/dataset/items/properties/security_and_privacy/items/properties/title', type: 'string', title: 'The Dataset Security & Policy Title Schema', description: 'Title', examples: ['Physical access control'] } }, required: ['title'] } }, sensitive_data: { '$id': '#/properties/dmp/properties/dataset/items/properties/sensitive_data', type: 'string', enum: %w[ yes no unknown ], title: 'The Dataset Sensitive Data Schema', description: 'If any sensitive data is contained. Allowed values: yes, no, unknown', examples: ['unknown'] }, technical_resource: { '$id': '#/properties/dmp/properties/dataset/items/properties/technical_resource', type: 'array', title: 'The Dataset Technical Resource Schema', description: 'To list all technical resources needed to implement a DMP', items: { '$id': '#/properties/dmp/properties/dataset/items/properties/technical_resource/items', type: 'object', title: 'The Dataset Technical Resource Items Schema', properties: { description: { '$id': '#/properties/dmp/properties/dataset/items/properties/technical_resource/items/description', type: 'string', title: 'The Dataset Technical Resource Description Schema', description: 'Description of the technical resource', examples: ['Device needed to collect field data...'] }, dmproadmap_technical_resource_id: { '$id': '#/properties/dmp/properties/dataset/items/properties/technical_resource/items/dmproadmap_technical_resource_id', type: 'object', title: 'The Dataset Metadata Standard ID Schema', properties: { identifier: { '$id': '#/properties/dmp/properties/dataset/items/properties/technical_resource/items/dmproadmap_technical_resource_id/identifier', type: 'string', title: 'The Technical Resource Identifier Value Schema', description: 'Identifier for the metadata standard used.', examples: ['http://www.dublincore.org/specifications/dublin-core/dcmi-terms/'] }, type: { '$id': '#/properties/dmp/properties/dataset/items/properties/technical_resource/items/dmproadmap_technical_resource_id/type', type: 'string', enum: %w[ ark doi handle rrid url other ], title: 'The Technical Resource Identifier Type Schema', description: 'Identifier type. Allowed values: url, other', examples: ['url'] } } }, name: { '$id': '#/properties/dmp/properties/dataset/items/properties/technical_resource/items/name', type: 'string', title: 'The Dataset Technical Resource Name Schema', description: 'Name of the technical resource', examples: ['123/45/43/AT'] } }, required: ['name'] } }, title: { '$id': '#/properties/dmp/properties/dataset/items/properties/title', type: 'string', title: 'The Dataset Title Schema', description: 'Title is a property in both Dataset and Distribution, in compliance with W3C DCAT. In some cases these might be identical, but in most cases the Dataset represents a more abstract concept, while the distribution can point to a specific file.', examples: ['Fast car images'] }, type: { '$id': '#/properties/dmp/properties/dataset/items/properties/type', type: 'string', title: 'The Dataset Type Schema', description: 'If appropriate, type according to: DataCite and/or COAR dictionary. Otherwise use the common name for the type, e.g. raw data, software, survey, etc. https://schema.datacite.org/meta/kernel-4.1/doc/DataCite-MetadataKernel_v4.1.pdf http://vocabularies.coar-repositories.org/pubby/resource_type.html', examples: ['image'] } }, required: [ 'title' ] } }, description: { '$id': '#/properties/dmp/properties/description', type: 'string', title: 'The DMP Description Schema', description: 'To provide any free-form text information on a DMP', examples: ['This DMP is for our new project'] }, dmp_id: { '$id': '#/properties/dmp/properties/dmp_id', type: 'object', title: 'The DMP Identifier Schema', description: 'Identifier for the DMP itself', properties: { identifier: { '$id': '#/properties/dmp/properties/dmp_id/properties/identifier', type: 'string', title: 'The DMP Identifier Value Schema', description: 'Identifier for a DMP', examples: ['https://doi.org/10.1371/journal.pcbi.1006750'] }, type: { '$id': '#/properties/dmp/properties/dmp_id/properties/type', type: 'string', enum: %w[ handle doi ark url other file ], title: 'The DMP Identifier Type Schema', description: 'The DMP Identifier Type. Allowed values: handle, doi, ark, url, other, file (note: file is used by DMPHub to handle new PDF uploads)', examples: ['doi'] } }, required: %w[ identifier type ] }, dmphub_modifications: { '$id': '#/properties/dmp/properties/dmphub_modifications', type: 'array', title: 'External modifications', description: 'Modifications made by an external system that does not own the DMP ID', items: { '$id': '#/properties/dmp/properties/dmphub_modifications/items', type: 'object', title: 'An external modification', properties: { id: { '$id': '#/properties/dmp/properties/dmphub_modifications/items/properties/id', type: 'string', title: 'Modification identifier', examples: ['12345ABCD'] }, provenance: { '$id': '#/properties/dmp/properties/dmphub_modifications/items/properties/provenance', type: 'string', title: 'Modifier', examples: ['datacite'] }, timestamp: { '$id': '#/properties/dmp/properties/dmphub_modifications/items/properties/timestamp', type: 'string', format: 'date-time', title: 'The modification date and time', examples: ['2023-07-27T15:08:32Z'] }, note: { '$id': '#/properties/dmp/properties/dmphub_modifications/items/properties/note', type: 'string', title: 'Descriptive note', examples: ['data received from event data'] }, dmproadmap_related_identifiers: { '$id': '#/properties/dmp/properties/dmphub_modifications/items/properties/dmproadmap_related_identifiers', type: 'array', title: 'Related identifier modifications', description: 'Identifiers discovered by an external API', items: { '$id': '#/properties/dmp/properties/dmphub_modifications/items/properties/dmproadmap_related_identifiers/items', type: 'object', title: 'A related identifier', properties: { descriptor: { '$id': '#/properties/dmp/properties/dmphub_modifications/items/properties/dmproadmap_related_identifiers/items/properties/descriptor', type: 'string', enum: %w[ is_cited_by cites is_supplement_to is_supplemented_by is_described_by describes has_metadata is_metadata_for is_part_of has_part is_referenced_by references is_documented_by documents is_new_version_of is_previous_version_of ] }, identifier: { '$id': '#/properties/dmp/properties/dmphub_modifications/items/properties/dmproadmap_related_identifiers/items/properties/identifier', type: 'string', title: 'A unique identifier for the item', description: 'Identifier for a DMP', examples: ['https://doi.org/10.1371/journal.pcbi.1006750'] }, status: { '$id': '#/properties/dmp/properties/dmphub_modifications/items/properties/dmproadmap_related_identifiers/items/properties/status', type: 'string', title: 'Modification status', enum: %w[ accepted pending rejected ] }, type: { '$id': '#/properties/dmp/properties/dmphub_modifications/items/properties/dmproadmap_related_identifiers/items/properties/type', type: 'string', enum: %w[ handle doi ark url other ] }, work_type: { '$id': '#/properties/dmp/properties/dmphub_modifications/items/properties/dmproadmap_related_identifiers/items/properties/work_type', type: 'string' } }, required: %w[ descriptor identifier type work_type ] } }, funding: { '$id': '#/properties/dmp/properties/dmphub_modifications/items/properties/funding', type: 'array', title: 'Funding modifications', description: 'Funding information discovered by an external API', items: { '$id': '#/properties/dmp/properties/dmphub_modifications/items/properties/funding/items', type: 'object', title: 'A funding', properties: { dmproadmap_project_number: { '$id': '#/properties/dmp/properties/project/items/properties/funding/items/properties/dmproadmap_project_number', type: 'string', title: "The funder's identifier for the research project", description: "The funder's identifier used to identify the research project", examples: ['prj-XYZ987-UCB'] }, funder_id: { '$id': '#/properties/dmp/properties/dmphub_modifications/items/properties/funding/items/properties/funder_id', type: 'object', title: 'The Funder ID Schema', description: 'Funder ID of the associated project', properties: { identifier: { '$id': '#/properties/dmp/properties/dmphub_modifications/items/properties/funding/items/properties/funder_id/properties/identifier', type: 'string', title: 'The Funder ID Value Schema', description: 'Funder ID, recommended to use CrossRef Funder Registry. See: https://www.crossref.org/services/funder-registry/', examples: ['501100002428'] }, type: { '$id': '#/properties/dmp/properties/dmphub_modifications/items/properties/funding/items/properties/funder_id/properties/type', type: 'string', enum: %w[ fundref ror url other ], title: 'The Funder ID Type Schema', description: 'Identifier type. Allowed values: fundref, url, other', examples: ['fundref'] } }, required: %w[ identifier type ] }, funding_status: { '$id': '#/properties/dmp/properties/dmphub_modifications/items/properties/funding/items/properties/funding_status', type: 'string', enum: %w[ planned applied granted rejected ], title: 'The Funding Status Schema', description: 'To express different phases of project lifecycle. Allowed values: planned, applied, granted, rejected', examples: ['granted'] }, dmproadmap_funding_opportunity_id: { '$id': '#/properties/dmp/properties/dmphub_modifications/items/properties/funding/items/properties/dmproadmap_funding_opportunity_id', type: 'object', title: 'The Funding Opportunity ID Schema', description: 'Opportunity ID of the associated project', properties: { identifier: { '$id': '#/properties/dmp/properties/dmphub_modifications/items/properties/funding/items/properties/dmproadmap_funding_opportunity_id/properties/identifier', type: 'string', title: 'The Funding Opportunity ID Value Schema', description: 'Opportunity ID', examples: ['ABC-12345-03'] }, type: { '$id': '#/properties/dmp/properties/dmphub_modifications/items/properties/funding/items/properties/dmproadmap_funding_opportunity_id/properties/type', type: 'string', title: 'The Funding Opportunity ID Type Schema', enum: %w[ doi url other ], description: 'Identifier type. Allowed values: url, other', examples: ['other'] } }, required: %w[ identifier type ] }, grant_id: { '$id': '#/properties/dmp/properties/dmphub_modifications/items/properties/funding/items/properties/grant_id', type: 'object', title: 'The Funding Grant ID Schema', description: 'Grant ID of the associated project', properties: { identifier: { '$id': '#/properties/dmp/properties/dmphub_modifications/items/properties/funding/items/properties/grant_id/properties/identifier', type: 'string', title: 'The Funding Grant ID Value Schema', description: 'Grant ID', examples: ['776242'] }, type: { '$id': '#/properties/dmp/properties/dmphub_modifications/items/properties/funding/items/properties/grant_id/properties/type', type: 'string', title: 'The Funding Grant ID Type Schema', enum: %w[ doi url other ], description: 'Identifier type. Allowed values: url, other', examples: ['other'] } }, required: %w[ identifier type ] }, status: { '$id': '#/properties/dmp/properties/dmphub_modifications/items/properties/funding/items/properties/status', type: 'string', title: 'Modification status', enum: %w[ accepted pending rejected ] }, name: { '$id': '#/properties/dmp/properties/dmphub_modifications/items/properties/funding/items/properties/name', type: 'string', title: 'The name of the funding instituion / organization', description: 'Name', examples: ['National Science Foundation'] } }, required: %w[ funding_status name ] } }, project: { '$id': '#/properties/dmp/properties/dmphub_modifications/project', type: 'object', title: 'The DMP Project Items Schema', properties: { description: { '$id': '#/properties/dmp/properties/dmphub_modifications/project/properties/description', type: 'string', title: 'The DMP Project Description Schema', description: 'Project description', examples: ['Project develops novel...'] }, end: { '$id': '#/properties/dmp/properties/dmphub_modifications/project/properties/end', type: 'string', format: 'date-time', title: 'The DMP Project End Date Schema', description: 'Project end date. Encoded using the relevant ISO 8601 Date and Time compliant string.', examples: ['2020-03-31T00:00:00Z'] }, start: { '$id': '#/properties/dmp/properties/dmphub_modifications/project/properties/start', type: 'string', format: 'date-time', title: 'The DMP Project Start Date Schema', description: 'Project start date. Encoded using the relevant ISO 8601 Date and Time compliant string.', examples: ['2019-04-01T00:00:00Z'] }, title: { '$id': '#/properties/dmp/properties/dmphub_modifications/project/properties/title', type: 'string', title: 'The DMP Project Title Schema', description: 'Project title', examples: ['Our New Project'] } }, required: [ 'title' ] } } }, required: %w[ id provenance status timestamp ] }, dmphub_versions: { '$id': '#/properties/dmp/properties/dmphub_versions', type: 'array', title: 'DMP ID versions', description: 'Links to all of the DMPs versions', items: { '$id': '#/properties/dmp/properties/dmphub_versions/items', type: 'object', title: 'DMP version', properties: { timestamp: { '$id': '#/properties/dmp/properties/dmphub_versions/items/properties/timestamp', type: 'string', format: 'date-time', title: 'The version date and time', examples: ['2023-08-17T16:14:39Z'] }, url: { '$id': '#/properties/dmp/properties/dmphub_versions/items/properties/url', type: 'string', format: 'uri', title: 'The URL to retrieve the specified version', examples: ['https://somesite.org/dmps/doi.org/10.1234/A1B2C3D4?version=2023-08-17T16:14:39Z'] } } }, required: %w[ timestamp url ] }, dmproadmap_related_identifiers: { '$id': '#/properties/dmp/properties/dmproadmap_related_identifiers', type: 'array', title: 'Related identifiers for the DMP', description: 'Identifiers for objects related to the DMP (e.g. datasets, publications, etc.)', items: { '$id': '#/properties/dmp/properties/dmproadmap_related_identifiers/items', type: 'object', title: 'A related identifier', properties: { descriptor: { '$id': '#/properties/dmp/properties/dmproadmap_related_identifiers/items/properties/descriptor', type: 'string', enum: %w[ is_cited_by cites is_supplement_to is_supplemented_by is_described_by describes has_metadata is_metadata_for is_part_of has_part is_referenced_by references is_documented_by documents is_new_version_of is_previous_version_of ] }, identifier: { '$id': '#/properties/dmp/properties/dmproadmap_related_identifiers/items/properties/identifier', type: 'string', title: 'A unique identifier for the item', description: 'Identifier for a DMP', examples: ['https://doi.org/10.1371/journal.pcbi.1006750'] }, type: { '$id': '#/properties/dmp/properties/dmproadmap_related_identifiers/items/properties/type', type: 'string', enum: %w[ handle doi ark url other ] }, work_type: { '$id': '#/properties/dmp/properties/dmproadmap_related_identifiers/items/properties/work_type', type: 'string' } }, required: %w[ descriptor identifier type work_type ] } }, dmproadmap_research_facilities: { '$id': '#/properties/dmp/properties/dmproadmap_research_facilities', type: 'array', title: 'Facilities', description: 'Facilities (e.g. labs and research stations) that will be used to collect/process research data', items: { '$id': '#/properties/dmp/properties/dmproadmap_research_facilities/items', type: 'object', title: 'A research facility', properties: { facility_id: { '$id': '#/properties/dmp/properties/dmproadmap_research_facilities/items/properties/facility_id', type: 'object', title: 'The unique ID of the facility', description: "The facility's ROR, DOI or URL", properties: { identifier: { '$id': '#/properties/dmp/properties/dmproadmap_research_facilities/items/properties/facility_id/properties/identifier', type: 'string', title: 'The facility ID', description: 'ROR ID, DOI or URL. Recommended to use Research Organization Registry (ROR) or DOI when available. See: https://ror.org', examples: ['https://ror.org/03yrm5c26', 'http://doi.org/10.13039/100005595', 'http://www.cdlib.org/'] }, type: { '$id': '#/properties/dmp/properties/dmproadmap_research_facilities/items/properties/facility_id/properties/type', type: 'string', enum: %w[ doi ror url ], title: 'The facility ID type schema', description: 'Identifier type. Allowed values: doi, ror, url', examples: ['ror'] } }, required: %w[ identifier type ] }, name: { '$id': '#/properties/dmp/properties/dmproadmap_research_facilities/items/properties/name', type: 'string', title: 'Name of the facility', description: 'Official facility name', examples: ['Example Research Lab'] }, type: { '$id': '#/properties/dmp/properties/dmproadmap_research_facilities/items/properties/type', type: 'string', enum: %w[ field_station laboratory ], title: 'The type of facility', examples: ['field_station'] } }, required: %w[ name type ] } }, ethical_issues_description: { '$id': '#/properties/dmp/properties/ethical_issues_description', type: 'string', title: 'The DMP Ethical Issues Description Schema', description: 'To describe ethical issues directly in a DMP', examples: ['There are ethical issues, because...'] }, ethical_issues_exist: { '$id': '#/properties/dmp/properties/ethical_issues_exist', type: 'string', enum: %w[ yes no unknown ], title: 'The DMP Ethical Issues Exist Schema', description: 'To indicate whether there are ethical issues related to data that this DMP describes. Allowed values: yes, no, unknown', examples: ['yes'] }, ethical_issues_report: { '$id': '#/properties/dmp/properties/ethical_issues_report', type: 'string', format: 'uri', title: 'The DMP Ethical Issues Report Schema', description: 'To indicate where a protocol from a meeting with an ethical commitee can be found', examples: ['http://report.location'] }, language: { '$id': '#/properties/dmp/properties/language', type: 'string', enum: %w[ aar abk afr aka amh ara arg asm ava ave aym aze bak bam bel ben bih bis bod bos bre bul cat ces cha che chu chv cor cos cre cym dan deu div dzo ell eng epo est eus ewe fao fas fij fin fra fry ful gla gle glg glv grn guj hat hau hbs heb her hin hmo hrv hun hye ibo ido iii iku ile ina ind ipk isl ita jav jpn kal kan kas kat kau kaz khm kik kin kir kom kon kor kua kur lao lat lav lim lin lit ltz lub lug mah mal mar mkd mlg mlt mon mri msa mya nau nav nbl nde ndo nep nld nno nob nor nya oci oji ori orm oss pan pli pol por pus que roh ron run rus sag san sin slk slv sme smo sna snd som sot spa sqi srd srp ssw sun swa swe tah tam tat tel tgk tgl tha tir ton tsn tso tuk tur twi uig ukr urd uzb ven vie vol wln wol xho yid yor zha zho zul ], title: 'The DMP Language Schema', description: 'Language of the DMP expressed using ISO 639-3.', examples: ['eng'] }, modified: { '$id': '#/properties/dmp/properties/modified', type: 'string', format: 'date-time', title: 'The DMP Modification Schema', description: 'Must be set each time DMP is modified. Indicates DMP version. Encoded using the relevant ISO 8601 Date and Time compliant string.', examples: ['2020-03-14T10:53:49+00:00'] }, project: { '$id': '#/properties/dmp/properties/project', type: 'array', title: 'The DMP Project Schema', description: 'Project related to a DMP', items: { '$id': '#/properties/dmp/properties/project/items', type: 'object', title: 'The DMP Project Items Schema', properties: { description: { '$id': '#/properties/dmp/properties/project/items/properties/description', type: 'string', title: 'The DMP Project Description Schema', description: 'Project description', examples: ['Project develops novel...'] }, end: { '$id': '#/properties/dmp/properties/project/items/properties/end', type: 'string', format: 'date-time', title: 'The DMP Project End Date Schema', description: 'Project end date. Encoded using the relevant ISO 8601 Date and Time compliant string.', examples: ['2020-03-31'] }, funding: { '$id': '#/properties/dmp/properties/project/items/properties/funding', type: 'array', title: 'The DMP Project Funding Schema', description: 'Funding related with a project', items: { '$id': '#/properties/dmp/properties/project/items/properties/funding/items', type: 'object', title: 'The DMP Project Funding Items Schema', properties: { dmproadmap_funded_affiliations: { '$id': '#/properties/dmp/properties/project/items/properties/funding//items/properties/dmproadmap_funded_affiliations', type: 'array', title: 'Institutions named on the grant', description: 'The institutions who received the funding', items: { '$id': '#/properties/dmp/properties/project/items/properties/funding/items/properties/dmproadmap_funded_affiliations/items', type: 'object', title: 'An institution that received funding', properties: { affiliation_id: { '$id': '#/properties/dmp/properties/project/items/properties/funding/items/properties/dmproadmap_funded_affiliations/items/properties/affiliation_id', type: 'object', title: "The funded affiliation's ID", description: 'Affiliation ID of the associated project', properties: { identifier: { '$id': '#/properties/dmp/properties/project/items/properties/funding/items/properties/dmproadmap_funded_affiliations/items/properties/affiliation_id/properties/identifier', type: 'string', title: 'The affiliation ID', description: 'ROR ID or URL. Recommended to use Research Organization Registry (ROR). See: https://ror.org', examples: ['https://ror.org/00pjdza24', 'https://cdlib.org'] }, type: { '$id': '#/properties/dmp/properties/project/items/properties/funding/items/properties/dmproadmap_funded_affiliations/items/properties/affiliation_id/properties/type', type: 'string', enum: %w[ doi ror url ], title: 'The affiliation ID Type Schema', description: 'Identifier type. Allowed values: doi, ror, url', examples: ['ror'] } }, required: %w[ identifier type ] }, name: { '$id': '#/properties/dmp/properties/project/items/properties/funding/items/properties/dmproadmap_funded_affiliations/items/properties/name', type: 'string', title: 'The name of the instituion / organization', description: 'Project title', examples: ['Our New Project'] } } } }, dmproadmap_opportunity_number: { '$id': '#/properties/dmp/properties/project/items/properties/funding/properties/dmproadmap_opportunity_number', type: 'string', title: "The funder's opportunity / award number", description: "The funder's number used to identify the award or call for submissions", examples: ['Award-123'] }, dmproadmap_project_number: { '$id': '#/properties/dmp/properties/project/items/properties/funding/properties/dmproadmap_project_number', type: 'string', title: "The funder's identifier for the research project", description: "The funder's identifier used to identify the research project", examples: ['prj-XYZ987-UCB'] }, funder_id: { '$id': '#/properties/dmp/properties/project/items/properties/funding/properties/funder_id', type: 'object', title: 'The Funder ID Schema', description: 'Funder ID of the associated project', properties: { identifier: { '$id': '#/properties/dmp/properties/project/items/properties/funding/properties/funder_id/properties/identifier', type: 'string', title: 'The Funder ID Value Schema', description: 'Funder ID, recommended to use CrossRef Funder Registry. See: https://www.crossref.org/services/funder-registry/', examples: ['501100002428'] }, type: { '$id': '#/properties/dmp/properties/project/items/properties/funding/properties/funder_id/properties/type', type: 'string', enum: %w[ fundref ror url other ], title: 'The Funder ID Type Schema', description: 'Identifier type. Allowed values: fundref, url, other', examples: ['fundref'] } }, required: %w[ identifier type ] }, funding_status: { '$id': '#/properties/dmp/properties/project/items/properties/funding/properties/funding_status', type: 'string', enum: %w[ planned applied granted rejected ], title: 'The Funding Status Schema', description: 'To express different phases of project lifecycle. Allowed values: planned, applied, granted, rejected', examples: ['granted'] }, grant_id: { '$id': '#/properties/dmp/properties/project/items/properties/funding/properties/grant_id', type: 'object', title: 'The Funding Grant ID Schema', description: 'Grant ID of the associated project', properties: { identifier: { '$id': '#/properties/dmp/properties/project/items/properties/funding/properties/grant_id/properties/identifier', type: 'string', title: 'The Funding Grant ID Value Schema', description: 'Grant ID', examples: ['776242'] }, type: { '$id': '#/properties/dmp/properties/project/items/properties/funding/properties/grant_id/properties/type', type: 'string', title: 'The Funding Grant ID Type Schema', enum: %w[ doi url other ], description: 'Identifier type. Allowed values: url, other', examples: ['other'] } }, required: %w[ identifier type ] }, name: { '$id': '#/properties/dmp/properties/project/items/properties/funding/properties/name', type: 'string', title: 'The name of the funding instituion / organization', description: 'Name', examples: ['National Science Foundation'] } }, required: %w[ funding_status name ] } }, start: { '$id': '#/properties/dmp/properties/project/items/properties/start', type: 'string', format: 'date-time', title: 'The DMP Project Start Date Schema', description: 'Project start date. Encoded using the relevant ISO 8601 Date and Time compliant string.', examples: ['2019-04-01'] }, title: { '$id': '#/properties/dmp/properties/project/items/properties/title', type: 'string', title: 'The DMP Project Title Schema', description: 'Project title', examples: ['Our New Project'] } }, required: [ 'title' ] } }, title: { '$id': '#/properties/dmp/properties/title', type: 'string', title: 'The DMP Title Schema', description: 'Title of a DMP', examples: ['DMP for our new project'] } }, required: %w[ contact created dataset dmp_id modified project title ] } }, additionalProperties: false, required: ['dmp'] }.to_json) end |