uc3-dmp-id 0.0.20 → 0.0.22

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