adiwg-json_schemas 0.5.2 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/examples/extent_point.json +39 -13
- data/examples/extent_polygon.json +4 -4
- data/examples/full_example.json +195 -156
- data/examples/full_example2.json +2278 -0
- data/examples/geojson.json +428 -235
- data/examples/keywords.json +45 -40
- data/examples/lcc_project_example.json +266 -203
- data/examples/onlineResource.json +1 -2
- data/examples/resourceInfo.json +1015 -1045
- data/examples/spatialRef.json +14 -0
- data/examples/uri.json +2 -1
- data/lib/adiwg/json_schemas/version.rb +2 -2
- data/schema/schema/citation.json +16 -25
- data/schema/schema/extent.json +3 -3
- data/schema/schema/geojson/geojson.json +5 -2
- data/schema/schema/graphicOverview.json +3 -3
- data/schema/schema/keyword.json +1 -15
- data/schema/schema/metadata.json +0 -6
- data/schema/schema/onlineResource.json +0 -3
- data/schema/schema/resourceInfo.json +25 -10
- data/templates/adiwg_metadata_template.json +263 -148
- data/test/tc_schemas.rb +132 -122
- data/test/tc_utils.rb +1 -1
- metadata +4 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": {
|
|
3
3
|
"name": "adiwgJSON",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.7.0"
|
|
5
5
|
},
|
|
6
6
|
"contact": [
|
|
7
7
|
{
|
|
@@ -15,8 +15,7 @@
|
|
|
15
15
|
"protocol": "",
|
|
16
16
|
"name": "",
|
|
17
17
|
"description": "",
|
|
18
|
-
"function": ""
|
|
19
|
-
"doi": ""
|
|
18
|
+
"function": ""
|
|
20
19
|
}
|
|
21
20
|
],
|
|
22
21
|
"contactInstructions": "",
|
|
@@ -81,50 +80,46 @@
|
|
|
81
80
|
}
|
|
82
81
|
],
|
|
83
82
|
"presentationForm": [""],
|
|
84
|
-
"additionalIdentifier": {
|
|
85
|
-
"doi": "",
|
|
86
|
-
"isbn": "",
|
|
87
|
-
"issn": ""
|
|
88
|
-
},
|
|
89
83
|
"onlineResource": [
|
|
90
84
|
{
|
|
91
85
|
"uri": "http://thisisanexample.com",
|
|
92
86
|
"protocol": "",
|
|
93
87
|
"name": "",
|
|
94
88
|
"description": "",
|
|
95
|
-
"function": ""
|
|
96
|
-
|
|
89
|
+
"function": ""
|
|
90
|
+
}
|
|
91
|
+
],
|
|
92
|
+
"identifier": [
|
|
93
|
+
{
|
|
94
|
+
"identifier": "",
|
|
95
|
+
"type": "",
|
|
96
|
+
"authority": {
|
|
97
|
+
"title": "",
|
|
98
|
+
"date": [
|
|
99
|
+
{
|
|
100
|
+
"date": "0000-00-00",
|
|
101
|
+
"dateType": ""
|
|
102
|
+
}
|
|
103
|
+
],
|
|
104
|
+
"responsibleParty": [
|
|
105
|
+
{
|
|
106
|
+
"contactId": "",
|
|
107
|
+
"role": ""
|
|
108
|
+
}
|
|
109
|
+
],
|
|
110
|
+
"onlineResource": [
|
|
111
|
+
{
|
|
112
|
+
"uri": "http://thisisanexample.com",
|
|
113
|
+
"protocol": "",
|
|
114
|
+
"name": "",
|
|
115
|
+
"description": "",
|
|
116
|
+
"function": ""
|
|
117
|
+
}
|
|
118
|
+
]
|
|
119
|
+
}
|
|
97
120
|
}
|
|
98
121
|
]
|
|
99
122
|
},
|
|
100
|
-
"resourceIdentifier": [
|
|
101
|
-
{
|
|
102
|
-
"title": "",
|
|
103
|
-
"date": [
|
|
104
|
-
{
|
|
105
|
-
"date": "0000-00-00",
|
|
106
|
-
"dateType": ""
|
|
107
|
-
}
|
|
108
|
-
],
|
|
109
|
-
"responsibleParty": [
|
|
110
|
-
{
|
|
111
|
-
"contactId": "",
|
|
112
|
-
"role": ""
|
|
113
|
-
}
|
|
114
|
-
],
|
|
115
|
-
"onlineResource": [
|
|
116
|
-
{
|
|
117
|
-
"uri": "http://thisisanexample.com",
|
|
118
|
-
"protocol": "",
|
|
119
|
-
"name": "",
|
|
120
|
-
"description": "",
|
|
121
|
-
"function": "",
|
|
122
|
-
"doi": ""
|
|
123
|
-
}
|
|
124
|
-
],
|
|
125
|
-
"identifier": ""
|
|
126
|
-
}
|
|
127
|
-
],
|
|
128
123
|
"pointOfContact": [
|
|
129
124
|
{
|
|
130
125
|
"contactId": "",
|
|
@@ -152,29 +147,51 @@
|
|
|
152
147
|
"keyword": [""],
|
|
153
148
|
"keywordType": "",
|
|
154
149
|
"thesaurus": {
|
|
155
|
-
"
|
|
156
|
-
"
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
150
|
+
"title": "",
|
|
151
|
+
"date": [
|
|
152
|
+
{
|
|
153
|
+
"date": "0000-00-00",
|
|
154
|
+
"dateType": ""
|
|
155
|
+
}
|
|
156
|
+
],
|
|
157
|
+
"edition": "",
|
|
158
|
+
"responsibleParty": [
|
|
159
|
+
{
|
|
160
|
+
"contactId": "",
|
|
161
|
+
"role": ""
|
|
162
|
+
}
|
|
163
|
+
],
|
|
164
|
+
"presentationForm": [""],
|
|
165
|
+
"identifier": [
|
|
166
|
+
{
|
|
167
|
+
"identifier": "",
|
|
168
|
+
"type": "",
|
|
169
|
+
"authority": {
|
|
170
|
+
"title": "",
|
|
171
|
+
"date": [
|
|
172
|
+
{
|
|
173
|
+
"date": "0000-00-00",
|
|
174
|
+
"dateType": ""
|
|
175
|
+
}
|
|
176
|
+
],
|
|
177
|
+
"responsibleParty": [
|
|
178
|
+
{
|
|
179
|
+
"contactId": "",
|
|
180
|
+
"role": ""
|
|
181
|
+
}
|
|
182
|
+
],
|
|
183
|
+
"onlineResource": [
|
|
184
|
+
{
|
|
185
|
+
"uri": "http://thisisanexample.com",
|
|
186
|
+
"protocol": "",
|
|
187
|
+
"name": "",
|
|
188
|
+
"description": "",
|
|
189
|
+
"function": ""
|
|
190
|
+
}
|
|
191
|
+
]
|
|
169
192
|
}
|
|
170
|
-
],
|
|
171
|
-
"presentationForm": [""],
|
|
172
|
-
"additionalIdentifier": {
|
|
173
|
-
"doi": "",
|
|
174
|
-
"isbn": "",
|
|
175
|
-
"issn": ""
|
|
176
193
|
}
|
|
177
|
-
|
|
194
|
+
]
|
|
178
195
|
}
|
|
179
196
|
}
|
|
180
197
|
],
|
|
@@ -246,11 +263,36 @@
|
|
|
246
263
|
}
|
|
247
264
|
],
|
|
248
265
|
"presentationForm": [""],
|
|
249
|
-
"
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
266
|
+
"identifier": [
|
|
267
|
+
{
|
|
268
|
+
"identifier": "",
|
|
269
|
+
"type": "",
|
|
270
|
+
"authority": {
|
|
271
|
+
"title": "",
|
|
272
|
+
"date": [
|
|
273
|
+
{
|
|
274
|
+
"date": "0000-00-00",
|
|
275
|
+
"dateType": ""
|
|
276
|
+
}
|
|
277
|
+
],
|
|
278
|
+
"responsibleParty": [
|
|
279
|
+
{
|
|
280
|
+
"contactId": "",
|
|
281
|
+
"role": ""
|
|
282
|
+
}
|
|
283
|
+
],
|
|
284
|
+
"onlineResource": [
|
|
285
|
+
{
|
|
286
|
+
"uri": "http://thisisanexample.com",
|
|
287
|
+
"protocol": "",
|
|
288
|
+
"name": "",
|
|
289
|
+
"description": "",
|
|
290
|
+
"function": ""
|
|
291
|
+
}
|
|
292
|
+
]
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
]
|
|
254
296
|
}
|
|
255
297
|
],
|
|
256
298
|
"taxonGeneralScope": "",
|
|
@@ -276,7 +318,11 @@
|
|
|
276
318
|
}
|
|
277
319
|
]
|
|
278
320
|
},
|
|
279
|
-
"
|
|
321
|
+
"spatialReferenceSystem": {
|
|
322
|
+
"name": [" "],
|
|
323
|
+
"epsgNumber": [0],
|
|
324
|
+
"wkt": [" "]
|
|
325
|
+
},
|
|
280
326
|
"spatialRepresentation": [""],
|
|
281
327
|
"spatialResolution": [
|
|
282
328
|
{
|
|
@@ -355,35 +401,36 @@
|
|
|
355
401
|
"minimumValue": 0,
|
|
356
402
|
"maximumValue": 0,
|
|
357
403
|
"verticalCRSTitle": "",
|
|
358
|
-
"
|
|
404
|
+
"verticalCRSUri": "http://thisisanexample.com"
|
|
359
405
|
}
|
|
360
406
|
],
|
|
361
|
-
"
|
|
407
|
+
"identifier": [
|
|
362
408
|
{
|
|
363
|
-
"
|
|
364
|
-
"
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
409
|
+
"identifier": "",
|
|
410
|
+
"authority": {
|
|
411
|
+
"title": "",
|
|
412
|
+
"date": [
|
|
413
|
+
{
|
|
414
|
+
"date": "0000-00-00",
|
|
415
|
+
"dateType": ""
|
|
416
|
+
}
|
|
417
|
+
],
|
|
418
|
+
"responsibleParty": [
|
|
419
|
+
{
|
|
420
|
+
"contactId": "",
|
|
421
|
+
"role": ""
|
|
422
|
+
}
|
|
423
|
+
],
|
|
424
|
+
"onlineResource": [
|
|
425
|
+
{
|
|
426
|
+
"uri": "http://thisisanexample.com",
|
|
427
|
+
"protocol": "",
|
|
428
|
+
"name": "",
|
|
429
|
+
"description": "",
|
|
430
|
+
"function": ""
|
|
431
|
+
}
|
|
432
|
+
]
|
|
433
|
+
}
|
|
387
434
|
}
|
|
388
435
|
],
|
|
389
436
|
"featureScope": "",
|
|
@@ -431,7 +478,7 @@
|
|
|
431
478
|
"minimumValue": 0,
|
|
432
479
|
"maximumValue": 0,
|
|
433
480
|
"verticalCRSTitle": "",
|
|
434
|
-
"
|
|
481
|
+
"verticalCRSUri": "http://thisisanexample.com"
|
|
435
482
|
}
|
|
436
483
|
]
|
|
437
484
|
}
|
|
@@ -474,11 +521,36 @@
|
|
|
474
521
|
}
|
|
475
522
|
],
|
|
476
523
|
"presentationForm": [""],
|
|
477
|
-
"
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
524
|
+
"identifier": [
|
|
525
|
+
{
|
|
526
|
+
"identifier": "",
|
|
527
|
+
"type": "",
|
|
528
|
+
"authority": {
|
|
529
|
+
"title": "",
|
|
530
|
+
"date": [
|
|
531
|
+
{
|
|
532
|
+
"date": "0000-00-00",
|
|
533
|
+
"dateType": ""
|
|
534
|
+
}
|
|
535
|
+
],
|
|
536
|
+
"responsibleParty": [
|
|
537
|
+
{
|
|
538
|
+
"contactId": "",
|
|
539
|
+
"role": ""
|
|
540
|
+
}
|
|
541
|
+
],
|
|
542
|
+
"onlineResource": [
|
|
543
|
+
{
|
|
544
|
+
"uri": "http://thisisanexample.com",
|
|
545
|
+
"protocol": "",
|
|
546
|
+
"name": "",
|
|
547
|
+
"description": "",
|
|
548
|
+
"function": ""
|
|
549
|
+
}
|
|
550
|
+
]
|
|
551
|
+
}
|
|
552
|
+
}
|
|
553
|
+
]
|
|
482
554
|
},
|
|
483
555
|
"processStep": [
|
|
484
556
|
{
|
|
@@ -529,8 +601,7 @@
|
|
|
529
601
|
"protocol": "",
|
|
530
602
|
"name": "",
|
|
531
603
|
"description": "",
|
|
532
|
-
"function": ""
|
|
533
|
-
"doi": ""
|
|
604
|
+
"function": ""
|
|
534
605
|
}
|
|
535
606
|
],
|
|
536
607
|
"offline": {
|
|
@@ -562,50 +633,46 @@
|
|
|
562
633
|
}
|
|
563
634
|
],
|
|
564
635
|
"presentationForm": [""],
|
|
565
|
-
"
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
636
|
+
"identifier": [
|
|
637
|
+
{
|
|
638
|
+
"identifier": "",
|
|
639
|
+
"type": "",
|
|
640
|
+
"authority": {
|
|
641
|
+
"title": "",
|
|
642
|
+
"date": [
|
|
643
|
+
{
|
|
644
|
+
"date": "0000-00-00",
|
|
645
|
+
"dateType": ""
|
|
646
|
+
}
|
|
647
|
+
],
|
|
648
|
+
"responsibleParty": [
|
|
649
|
+
{
|
|
650
|
+
"contactId": "",
|
|
651
|
+
"role": ""
|
|
652
|
+
}
|
|
653
|
+
],
|
|
654
|
+
"onlineResource": [
|
|
655
|
+
{
|
|
656
|
+
"uri": "http://thisisanexample.com",
|
|
657
|
+
"protocol": "",
|
|
658
|
+
"name": "",
|
|
659
|
+
"description": "",
|
|
660
|
+
"function": ""
|
|
661
|
+
}
|
|
662
|
+
]
|
|
663
|
+
}
|
|
664
|
+
}
|
|
665
|
+
],
|
|
570
666
|
"onlineResource": [
|
|
571
667
|
{
|
|
572
668
|
"uri": "http://thisisanexample.com",
|
|
573
669
|
"protocol": "",
|
|
574
670
|
"name": "",
|
|
575
671
|
"description": "",
|
|
576
|
-
"function": ""
|
|
577
|
-
"doi": ""
|
|
672
|
+
"function": ""
|
|
578
673
|
}
|
|
579
674
|
]
|
|
580
675
|
},
|
|
581
|
-
"resourceIdentifier": [
|
|
582
|
-
{
|
|
583
|
-
"title": "",
|
|
584
|
-
"date": [
|
|
585
|
-
{
|
|
586
|
-
"date": "0000-00-00",
|
|
587
|
-
"dateType": ""
|
|
588
|
-
}
|
|
589
|
-
],
|
|
590
|
-
"responsibleParty": [
|
|
591
|
-
{
|
|
592
|
-
"contactId": "",
|
|
593
|
-
"role": ""
|
|
594
|
-
}
|
|
595
|
-
],
|
|
596
|
-
"onlineResource": [
|
|
597
|
-
{
|
|
598
|
-
"uri": "http://thisisanexample.com",
|
|
599
|
-
"protocol": "",
|
|
600
|
-
"name": "",
|
|
601
|
-
"description": "",
|
|
602
|
-
"function": "",
|
|
603
|
-
"doi": ""
|
|
604
|
-
}
|
|
605
|
-
],
|
|
606
|
-
"identifier": ""
|
|
607
|
-
}
|
|
608
|
-
],
|
|
609
676
|
"metadataCitation": {
|
|
610
677
|
"title": "",
|
|
611
678
|
"date": [
|
|
@@ -622,19 +689,43 @@
|
|
|
622
689
|
}
|
|
623
690
|
],
|
|
624
691
|
"presentationForm": [""],
|
|
625
|
-
"
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
692
|
+
"identifier": [
|
|
693
|
+
{
|
|
694
|
+
"identifier": "",
|
|
695
|
+
"type": "",
|
|
696
|
+
"authority": {
|
|
697
|
+
"title": "",
|
|
698
|
+
"date": [
|
|
699
|
+
{
|
|
700
|
+
"date": "0000-00-00",
|
|
701
|
+
"dateType": ""
|
|
702
|
+
}
|
|
703
|
+
],
|
|
704
|
+
"responsibleParty": [
|
|
705
|
+
{
|
|
706
|
+
"contactId": "",
|
|
707
|
+
"role": ""
|
|
708
|
+
}
|
|
709
|
+
],
|
|
710
|
+
"onlineResource": [
|
|
711
|
+
{
|
|
712
|
+
"uri": "http://thisisanexample.com",
|
|
713
|
+
"protocol": "",
|
|
714
|
+
"name": "",
|
|
715
|
+
"description": "",
|
|
716
|
+
"function": ""
|
|
717
|
+
}
|
|
718
|
+
]
|
|
719
|
+
}
|
|
720
|
+
}
|
|
721
|
+
],
|
|
630
722
|
"onlineResource": [
|
|
631
723
|
{
|
|
632
724
|
"uri": "http://thisisanexample.com",
|
|
633
725
|
"protocol": "",
|
|
634
726
|
"name": "",
|
|
635
727
|
"description": "",
|
|
636
|
-
"function": ""
|
|
637
|
-
"doi": ""
|
|
728
|
+
"function": ""
|
|
638
729
|
}
|
|
639
730
|
]
|
|
640
731
|
}
|
|
@@ -657,19 +748,43 @@
|
|
|
657
748
|
}
|
|
658
749
|
],
|
|
659
750
|
"presentationForm": [""],
|
|
660
|
-
"
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
751
|
+
"identifier": [
|
|
752
|
+
{
|
|
753
|
+
"identifier": "",
|
|
754
|
+
"type": "",
|
|
755
|
+
"authority": {
|
|
756
|
+
"title": "",
|
|
757
|
+
"date": [
|
|
758
|
+
{
|
|
759
|
+
"date": "0000-00-00",
|
|
760
|
+
"dateType": ""
|
|
761
|
+
}
|
|
762
|
+
],
|
|
763
|
+
"responsibleParty": [
|
|
764
|
+
{
|
|
765
|
+
"contactId": "",
|
|
766
|
+
"role": ""
|
|
767
|
+
}
|
|
768
|
+
],
|
|
769
|
+
"onlineResource": [
|
|
770
|
+
{
|
|
771
|
+
"uri": "http://thisisanexample.com",
|
|
772
|
+
"protocol": "",
|
|
773
|
+
"name": "",
|
|
774
|
+
"description": "",
|
|
775
|
+
"function": ""
|
|
776
|
+
}
|
|
777
|
+
]
|
|
778
|
+
}
|
|
779
|
+
}
|
|
780
|
+
],
|
|
665
781
|
"onlineResource": [
|
|
666
782
|
{
|
|
667
783
|
"uri": "http://thisisanexample.com",
|
|
668
784
|
"protocol": "",
|
|
669
785
|
"name": "",
|
|
670
786
|
"description": "",
|
|
671
|
-
"function": ""
|
|
672
|
-
"doi": ""
|
|
787
|
+
"function": ""
|
|
673
788
|
}
|
|
674
789
|
]
|
|
675
790
|
}
|