-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathISO19139_2_CINERGI.xml
1060 lines (1043 loc) · 65.3 KB
/
ISO19139_2_CINERGI.xml
1
2
3
4
5
6
7
8
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
<?xml version="1.0" encoding="UTF-8"?>
<!-- note: most of the content in gmi:MI_Metadata records is actually in the same gmd: namespace
as gmd:MD_Metadata, so the mapping is the same. for now gmi: namespace content is 'extras' -->
<gmd:MD_Metadata xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:gmi="http://www.isotc211.org/2005/gmi" xmlns:gco="http://www.isotc211.org/2005/gco"
xmlns:gmd="http://www.isotc211.org/2005/gmd" xmlns:gmx="http://www.isotc211.org/2005/gmx"
xmlns:srv="http://www.isotc211.org/2005/srv" xmlns:csw="http://www.opengis.net/cat/csw/2.0.2"
xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:xlink="http://www.w3.org/1999/xlink"
xsi:schemaLocation="http://www.isotc211.org/2005/gmd http://www.ngdc.noaa.gov/metadata/published/xsd/schema.xsd">
<!-- http://schemas.opengis.net/csw/2.0.2/profiles/apiso/1.0.0/apiso.xsd
-->
<gmd:fileIdentifier>
<gco:CharacterString>$.primaryKey</gco:CharacterString>
</gmd:fileIdentifier>
<gmd:language>
<gco:CharacterString>$.metadataProperties.metadataLanguage</gco:CharacterString>
</gmd:language>
<gmd:characterSet>
<gmd:MD_CharacterSetCode codeList="$.metadataProperties.metadataCharacterSet.characterSetVocabularyURI" codeListValue="$.metadataProperties.metadataCharacterSet.characterSetURI" codeSpace="$.metadataProperties.metadataCharacterSet.characterSetCodespace">$.metadataProperties.metadataCharacterSet.characterSetLabel</gmd:MD_CharacterSetCode>
</gmd:characterSet>
<gmd:hierarchyLevel>
<gmd:MD_ScopeCode codeList="$.resourceDescription.resourceIndexTerms.{keywordTypeLabel='gmd:hierarchyLevel'}.keyowordSourceURI" codeSpace="$.resourceDescription.resourceIndexTerms.{keywordTypeLabel='gmd:hierarchyLevel'}.keywords.keywordURI" codeListValue="$.resourceDescription.resourceIndexTerms.{keywordTypeLabel='gmd:hierarchyLevel'}.keywords.keyword">$.resourceDescription.resourceIndexTerms.{keywordTypeLabel='gmd:hierarchyLevel'}.keywords.keyword</gmd:MD_ScopeCode>
</gmd:hierarchyLevel>
<gmd:hierarchyLevelName>
<gco:CharacterString>$.resourceDescription.resourceIndexTerms.{keywordTypeLabel='gmd:hierarchyLevelName'}.keywords.keyword</gco:CharacterString>
</gmd:hierarchyLevelName>
<gmd:contact>
<!--to XML: for each $..metadataContact.agents.{} -->
<!-- from JSON group agents by role -->
<gmd:CI_ResponsibleParty>
<gmd:individualName>
<!-- optional: group all individuals with same org, contactInfo and role into one personName array -->
<gco:CharacterString>$.metadataProperties.metadataContact.agents[].personName[]</gco:CharacterString>
</gmd:individualName>
<gmd:organisationName>
<gco:CharacterString>$.metadataProperties.metadataContact.agents[].organizationName[]</gco:CharacterString>
</gmd:organisationName>
<gmd:positionName>
<gco:CharacterString>$.metadataProperties.metadataContact.agents[].personPosition</gco:CharacterString>
</gmd:positionName>
<gmd:contactInfo>
<gmd:CI_Contact>
<gmd:phone>
<gmd:CI_Telephone>
<gmd:voice>
<!-- group all voice numbers into one voicePhoneNumber array -->
<gco:CharacterString>$.metadataProperties.metadataContact.agents[].voicePhoneNumber[]</gco:CharacterString>
</gmd:voice>
<gmd:facsimile>
<!-- group all facsimile numbers into one faxPhoneNumber array -->
<gco:CharacterString>$.metadataProperties.metadataContact.agents[].faxPhoneNumber[]</gco:CharacterString>
</gmd:facsimile>
</gmd:CI_Telephone>
</gmd:phone>
<gmd:address>
<gmd:CI_Address>
<gmd:deliveryPoint>
<gco:CharacterString>$.metadataProperties.metadataContact.agents[].contactaddress.deliveryPoint</gco:CharacterString>
</gmd:deliveryPoint>
<gmd:city>
<gco:CharacterString>$.metadataProperties.metadataContact.agents[].contactaddress.city</gco:CharacterString>
</gmd:city>
<gmd:administrativeArea>
<gco:CharacterString>$.metadataProperties.metadataContact.agents[].contactaddress.administrativeArea</gco:CharacterString>
</gmd:administrativeArea>
<gmd:postalCode>
<gco:CharacterString>$.metadataProperties.metadataContact.agents[].contactaddress.postalCode</gco:CharacterString>
</gmd:postalCode>
<gmd:country>
<gco:CharacterString>$.metadataProperties.metadataContact.agents[].contactaddress.country</gco:CharacterString>
</gmd:country>
<!-- group all e-mail addresses for the contact into one contactEmail array -->
<gmd:electronicMailAddress>$.metadataProperties.metadataContact.agents[].contactEmail[]</gmd:electronicMailAddress>
</gmd:CI_Address>
</gmd:address>
<gmd:onlineResource>
<!-- $.metadataProperties.metadataContact.agents[].agentLink[] -->
<gmd:CI_OnlineResource>
<gmd:linkage>$.metadataProperties.metadataContact.agents[].agentLink[].linkURL</gmd:linkage>
<gmd:protocol>$.metadataProperties.metadataContact.agents[].agentLink[].linkOverlayAPILabel.</gmd:protocol>
<gmd:applicationProfile>$.metadataProperties.metadataContact.agents[].agentLink[].linkProfileLabel</gmd:applicationProfile>
<gmd:name>$.metadataProperties.metadataContact.agents[].agentLink[].linkTitle</gmd:name>
<gmd:description>$.metadataProperties.metadataContact.agents[].agentLink[].linkDescription</gmd:description>
<gmd:function>
<gmd:CI_OnLineFunctionCode codeList="$.metadataProperties.metadataContact.agents[].agentLink[].linkRelations[].relVocabularyURI" codeListValue="$.metadataProperties.metadataContact.agents[].agentLink[].linkRelations[].relURI" codeSpace="$.metadataProperties.metadataContact.agents[].agentLink[].linkRelations[].relCodespace">
$.metadataProperties.metadataContact.agents[].agentLink[].linkRelations[].relLabel
</gmd:CI_OnLineFunctionCode>
</gmd:function>
</gmd:CI_OnlineResource>
</gmd:onlineResource>
<gmd:hoursOfService>
<gco:CharacterString>concat in $.metadataProperties.metadataContact.agents[].agentInformation</gco:CharacterString>
</gmd:hoursOfService>
<gmd:contactInstructions>
<gco:CharacterString>concat in $.metadataProperties.metadataContact.agents[].agentInformation</gco:CharacterString>
</gmd:contactInstructions>
</gmd:CI_Contact>
</gmd:contactInfo>
<gmd:role>
<gmd:CI_RoleCode codeList="$.metadataProperties.metadataContact.agentRoleVocabularyURI" codeListValue="$.metadataProperties.metadataContact.agentRoleURI" codeSpace="$.metadataProperties.metadataContact.agentRoleCodespace">
$.metadataProperties.metadataContact.agentRoleLabel</gmd:CI_RoleCode>
</gmd:role>
</gmd:CI_ResponsibleParty>
</gmd:contact>
<!-- EXAMPLE for hierarchical organization names in JSON (commonly seen in NOAA metadata):
given an organization name like 'parent1 >> parent2 >> org'
Also includes example of mapping for gmx:Anchor
Pattern for gmx:Anchor is that element content is the Name or Label property, and the href goes in the
URI with the same key/element name stem. If don't have Name and URI elements for the ISO19139 CharacterSTring
content that the Anchor is used for, could use encoding of an html anchor <a> tag.
e.g. "<a href= the xlink:href content>anchor content here</a>" as the JSON string value
NOAA metadata uses a lot of Anchor elements in various places, it always is a possible substitution for
gco:CharacterString -->
<gmd:contact xlink:title="leaf full name">
<gmd:CI_ResponsibleParty>
<gmd:organisationName>
<!-- 'expanded' means abbreviations are expanded to full preferred name for organization -->
<gmx:Anchor xlink:href="$.metadataProperties.metadataContact.agents[].organizationURI[]">
$.metadataProperties.metadataContact.agents[].organizationName[] </gmx:Anchor>
<!-- <gco:CharacterString>orgExpanded</gco:CharacterString>
-->
</gmd:organisationName>
<gmd:role>
<gmd:CI_RoleCode codeList="https://www.sciencebase.gov/vocab/category/4f4e475ce4b07f02db47de84" codeListValue="Point Of Contact">Point Of Contact</gmd:CI_RoleCode>
</gmd:role>
</gmd:CI_ResponsibleParty>
</gmd:contact>
<gmd:contact xlink:title="org URI">
<gmd:CI_ResponsibleParty>
<gmd:organisationName>
<gco:CharacterString>uri3 here</gco:CharacterString>
</gmd:organisationName>
<gmd:role>
<gmd:CI_RoleCode codeList="https://www.sciencebase.gov/vocab/category/4f4e475ce4b07f02db47de84" codeListValue="Point Of Contact">Point Of Contact</gmd:CI_RoleCode>
</gmd:role>
</gmd:CI_ResponsibleParty>
</gmd:contact>
<gmd:contact xlink:title="parent URI">
<gmd:CI_ResponsibleParty>
<gmd:organisationName>
<gco:CharacterString>uri1 here</gco:CharacterString>
</gmd:organisationName>
<gmd:role gco:nilReason="inapplicable"/>
</gmd:CI_ResponsibleParty>
</gmd:contact>
<gmd:contact xlink:title="parent URI">
<gmd:CI_ResponsibleParty>
<gmd:organisationName>
<gco:CharacterString>uri2 here</gco:CharacterString>
</gmd:organisationName>
<gmd:role gco:nilReason="inapplicable"/>
</gmd:CI_ResponsibleParty>
</gmd:contact>
<gmd:contact xlink:title="original name">
<gmd:CI_ResponsibleParty>
<gmd:organisationName>
<gco:CharacterString>parent1 >> parent2 >> org</gco:CharacterString>
</gmd:organisationName>
<gmd:role>
<gmd:CI_RoleCode codeList="https://www.sciencebase.gov/vocab/category/4f4e475ce4b07f02db47de84" codeListValue="Point Of Contact">Point Of Contact</gmd:CI_RoleCode>
</gmd:role>
</gmd:CI_ResponsibleParty>
</gmd:contact>
<gmd:contact xlink:title="full name expanded">
<gmd:CI_ResponsibleParty>
<gmd:organisationName>
<gco:CharacterString>parent1expanded >> parent2expanded >> orgexpanded</gco:CharacterString>
</gmd:organisationName>
<gmd:role>
<gmd:CI_RoleCode codeList="https://www.sciencebase.gov/vocab/category/4f4e475ce4b07f02db47de84" codeListValue="Point Of Contact">Point Of Contact</gmd:CI_RoleCode>
</gmd:role>
</gmd:CI_ResponsibleParty>
</gmd:contact>
<!-- end example -->
<gmd:dateStamp>
<gco:DateTime>$.metadataProperties.metadataUpdateDate (in YYYY-MM-DDThh:mm:ss format 'Z' for
gmt ideally, but can use +/-N for time zones)</gco:DateTime>
</gmd:dateStamp>
<gmd:metadataStandardName>
<gco:CharacterString>$.metadataProperties.metadataHarvestedFormat.metadataStandardLabel</gco:CharacterString>
</gmd:metadataStandardName>
<gmd:metadataStandardVersion>
<gco:CharacterString>$.metadataProperties.metadataHarvestedFormat.metadataStandardLabel (prefix with 'ver:')</gco:CharacterString>
</gmd:metadataStandardVersion>
<gmd:dataSetURI>
<gco:CharacterString>$.resourceDocumentation.resourceIdentifier.resourceURI[0] put other identifiers in gmd:CI_Citation</gco:CharacterString>
</gmd:dataSetURI>
<gmd:spatialRepresentationInfo>
<gmd:MD_Georectified>
<gmd:numberOfDimensions></gmd:numberOfDimensions>
<gmd:cellGeometry></gmd:cellGeometry>
<gmd:transformationParameterAvailability></gmd:transformationParameterAvailability>
<gmd:checkPointAvailability></gmd:checkPointAvailability>
<gmd:pointInPixel></gmd:pointInPixel>
</gmd:MD_Georectified>
</gmd:spatialRepresentationInfo>
<gmd:spatialRepresentationInfo>
<gmd:MD_Georeferenceable>
<gmd:numberOfDimensions></gmd:numberOfDimensions>
<gmd:cellGeometry></gmd:cellGeometry>
<gmd:transformationParameterAvailability></gmd:transformationParameterAvailability>
<gmd:controlPointAvailability></gmd:controlPointAvailability>
<gmd:orientationParameterAvailability></gmd:orientationParameterAvailability>
<gmd:georeferencedParameters></gmd:georeferencedParameters>
</gmd:MD_Georeferenceable>
</gmd:spatialRepresentationInfo>
<gmd:spatialRepresentationInfo>
<gmd:MD_GridSpatialRepresentation>
<gmd:numberOfDimensions></gmd:numberOfDimensions>
<gmd:cellGeometry></gmd:cellGeometry>
<gmd:transformationParameterAvailability></gmd:transformationParameterAvailability>
</gmd:MD_GridSpatialRepresentation>
</gmd:spatialRepresentationInfo>
<gmd:spatialRepresentationInfo>
<gmd:MD_VectorSpatialRepresentation>
<gmd:topologyLevel></gmd:topologyLevel>
<gmd:geometricObjects>
<gmd:MD_GeometricObjects>
<gmd:geometricObjectType></gmd:geometricObjectType>
</gmd:MD_GeometricObjects>
</gmd:geometricObjects>
</gmd:MD_VectorSpatialRepresentation>
</gmd:spatialRepresentationInfo>
<gmd:spatialRepresentationInfo>
<gmi:MI_Georectified>
<gmd:numberOfDimensions></gmd:numberOfDimensions>
<gmd:cellGeometry></gmd:cellGeometry>
<gmd:transformationParameterAvailability></gmd:transformationParameterAvailability>
<gmd:checkPointAvailability></gmd:checkPointAvailability>
<gmd:pointInPixel></gmd:pointInPixel>
</gmi:MI_Georectified>
</gmd:spatialRepresentationInfo>
<gmd:referenceSystemInfo>
<gmd:MD_ReferenceSystem>
<gmd:referenceSystemIdentifier>
<gmd:RS_Identifier>
<gmd:authority></gmd:authority>
<gmd:code></gmd:code>
</gmd:RS_Identifier>
</gmd:referenceSystemIdentifier>
</gmd:MD_ReferenceSystem>
</gmd:referenceSystemInfo>
<gmd:identificationInfo>
<gmd:MD_DataIdentification>
<gmd:citation>
<gmd:CI_Citation>
<gmd:title>
<!-- first token in $..resourceTitle array -->
<gco:CharacterString>$.resourceDocumentation.resourceTitle[0]</gco:CharacterString>
</gmd:title>
<gmd:alternateTitle>
<!-- alternate titles are addiitional elements in the $..resourceTitle array -->
<gco:CharacterString>$.resourceDocumentation.resourceTitle[1..]</gco:CharacterString>
</gmd:alternateTitle>
<gmd:date>
<gmd:CI_Date>
<gmd:date>
<gco:DateTime>$.resourceDocumentation.citationDates[].dateTime</gco:DateTime>
</gmd:date>
<gmd:dateType>
<gmd:CI_DateTypeCode codeList="$.resourceDocumentation.citationDates[].dateTypeVocabularyURI" codeListValue="$.resourceDocumentation.citationDates[].dateTypeURI" codeSpace="$.resourceDocumentation.citationDates[].dateTypeCodespace">
$.resourceDocumentation.citationDates[].dateTypeLabel</gmd:CI_DateTypeCode>
</gmd:dateType>
</gmd:CI_Date>
</gmd:date>
<!-- To JSON: recommendedCitation element should concatenate citedResponsibleParty, date,
dateType, editionDate, editionDateType, title, alternateTitle, series.name,
series.issueIdentification, series.page,collectiveTitle, otherCitationDetails
into one formatted string.
If the content in these fields needs to be parsable into fielded elements in output
formats, then a JSON object preserving this structure could be included in Extras.
ToXML: the content of recommendedCitation should go into gmd:otherCitationDetails -->
<gmd:edition>
<gco:CharacterString>concatenate in $.resourceDocumentation.recommendedCitation</gco:CharacterString>
</gmd:edition>
<gmd:editionDate>
<gco:DateTime>concatenate as string in
$.resourceDocumentation.recommendedCitation</gco:DateTime>
</gmd:editionDate>
<gmd:identifier>
<!-- resourceIdentifier -->
<gmd:MD_Identifier>
<gmd:authority
xlink:href="$.resourceDocumentation.resourceIdentifier[identifierLabel='citation.identifier.authority.href'].resourceAuthorityURI">
<gmd:CI_Citation>
<gmd:title>
<gco:CharacterString>$.resourceDocumentation.resourceIdentifier.identifierLabel (concat gmd:title and gmd:date)</gco:CharacterString>
</gmd:title>
<gmd:date>concat date and dateTypeCodeValue with title in the
identifierLabel key</gmd:date>
<gmd:identifier>
<gmd:MD_Identifier>
<gmd:code>
<gco:CharacterString>$.resourceDocumentation.resourceIdentifier[identifierLabel=
(concat gmd:title and gmd:date)].resourceAuthorityURI</gco:CharacterString>
</gmd:code>
</gmd:MD_Identifier>
</gmd:identifier>
</gmd:CI_Citation>
</gmd:authority>
<gmd:code>
<!-- if gmd:authority is missing, then set identiferLabel = 'citation.identifier.code' -->
<gco:CharacterString>$.resourceDocumentation.resourceIdentifier.resourceURI</gco:CharacterString>
</gmd:code>
</gmd:MD_Identifier>
</gmd:identifier>
<gmd:identifier>
<gmd:RS_Identifier>
<!-- handle gmd:authority and gmd:code same as for gmd:MD_Identifier -->
<gmd:authority>
<gmd:CI_Citation>
<gmd:title/>
<gmd:date/>
</gmd:CI_Citation>
</gmd:authority>
<gmd:code>
<gco:CharacterString/>
</gmd:code>
<gmd:codeSpace>
<gco:CharacterString>$.resourceDocumentation.resourceIdentifier.identifierType</gco:CharacterString>
</gmd:codeSpace>
<gmd:version>
<gco:CharacterString>If present, include as suffix on $.resourceDocumentation.resourceIdentifier.resourceURI, with '.ver:' prefixed on the version ID string</gco:CharacterString>
</gmd:version>
</gmd:RS_Identifier>
</gmd:identifier>
<gmd:citedResponsibleParty>
<!-- load into citedSourceAgents using same pattern as used for gmd:contact (metadataContact)-->
<gmd:CI_ResponsibleParty>
<gmd:role/>
</gmd:CI_ResponsibleParty>
</gmd:citedResponsibleParty>
<gmd:presentationForm>
<gmd:CI_PresentationFormCode codeList="$.resourceDocumentation.resourceIndexTerms[keywordTypeLabel='gmd:CI_PresentationFormCode'].keywordTypeURI" codeListValue="$.resourceDocumentation.resourceIndexTerms[keywordTypeLabel='gmd:CI_PresentationFormCode'].keywords.keyword[]">
$.resourceDocumentation.resourceIndexTerms[keywordTypeLabel='gmd:CI_PresentationFormCode'].keywords.keyword[]
</gmd:CI_PresentationFormCode>
</gmd:presentationForm>
<gmd:series>
<gmd:CI_Series>
<gmd:name>
<gco:CharacterString>concatenate as string in $.resourceDocumentation.recommendedCitation
</gco:CharacterString>
</gmd:name>
<gmd:issueIdentification>
<gco:CharacterString>concatenate as string in $.resourceDocumentation.recommendedCitation
</gco:CharacterString>
</gmd:issueIdentification>
<gmd:page>
<gco:CharacterString>concatenate as string in $.resourceDocumentation.recommendedCitation
</gco:CharacterString>
</gmd:page>
</gmd:CI_Series>
</gmd:series>
<!-- To JSON: recommendedCitation element should concatenate citedResponsibleParty, date,
dateType, editionDate, editionDateType, title, alternateTitle, series.name,
series.issueIdentification, series.page,collectiveTitle, otherCitationDetails
into one formatted string.
If the content in these fields needs to be parsable into fielded elements in output
formats, then a JSON object preserving this structure could be included in Extras.
ToXML: the content of recommendedCitation should go into gmd:otherCitationDetails -->
<gmd:otherCitationDetails>
<gco:CharacterString>concatenate citedResponsibleParty, date,
dateType, editionDate, editionDateType, title, alternateTitle, series.name,
series.issueIdentification, series.page,collectiveTitle, otherCitationDetails</gco:CharacterString>
</gmd:otherCitationDetails>
<gmd:collectiveTitle>
<gco:CharacterString>concatenate as string in $.resourceDocumentation.recommendedCitation</gco:CharacterString>
</gmd:collectiveTitle>
<gmd:ISBN>
<!-- set "$.resourceDocumentation.resourceIdentifier.identifierType and identifierLabel = 'ISBN' -->
<gco:CharacterString>"$.resourceDocumentation.resourceIdentifier[identifierLabel='ISBN'].resourceURI</gco:CharacterString>
</gmd:ISBN>
<gmd:ISSN>
<!-- set "$.resourceDocumentation.resourceIdentifier.identifierType and identifierLabel = 'ISSN' -->
<gco:CharacterString>"$.resourceDocumentation.resourceIdentifier[identifierLabel='ISSN'].resourceURI</gco:CharacterString>
</gmd:ISSN>
</gmd:CI_Citation>
</gmd:citation>
<gmd:abstract>
<gco:CharacterString>$.resourceDocumentation.resourceDescription</gco:CharacterString>
</gmd:abstract>
<gmd:purpose>
<gco:CharacterString></gco:CharacterString>
</gmd:purpose>
<gmd:credit>
<gco:CharacterString></gco:CharacterString>
</gmd:credit>
<gmd:status>
<gmd:MD_ProgressCode codeList=""
codeListValue=""
codeSpace="">
</gmd:MD_ProgressCode>
</gmd:status>
<gmd:pointOfContact>
<gmd:CI_ResponsibleParty>
<gmd:individualName>
<!-- optional: group all individuals with same org, contactInfo and role into one personName array -->
<gco:CharacterString>$.resourceDocumentation.resourceContacts[].resourceContactAgents[].personName[]</gco:CharacterString>
</gmd:individualName>
<gmd:organisationName>
<gco:CharacterString>$.resourceDocumentation.resourceContacts[].resourceContactAgents[].organizationName[]</gco:CharacterString>
</gmd:organisationName>
<gmd:positionName>
<gco:CharacterString>$.resourceDocumentation.resourceContacts[].resourceContactAgents[].personPosition</gco:CharacterString>
</gmd:positionName>
<gmd:contactInfo>
<gmd:CI_Contact>
<gmd:phone>
<gmd:CI_Telephone>
<gmd:voice>
<!-- group all voice numbers into one voicePhoneNumber array -->
<gco:CharacterString>$.resourceDocumentation.resourceContacts[].resourceContactAgents[].voicePhoneNumber[]</gco:CharacterString>
</gmd:voice>
<gmd:facsimile>
<!-- group all facsimile numbers into one faxPhoneNumber array -->
<gco:CharacterString>$.resourceDocumentation.resourceContacts[].resourceContactAgents[].faxPhoneNumber[]</gco:CharacterString>
</gmd:facsimile>
</gmd:CI_Telephone>
</gmd:phone>
<gmd:address>
<gmd:CI_Address>
<gmd:deliveryPoint>
<gco:CharacterString>$.resourceDocumentation.resourceContacts[].resourceContactAgents[].contactaddress.deliveryPoint</gco:CharacterString>
</gmd:deliveryPoint>
<gmd:city>
<gco:CharacterString>$.resourceDocumentation.resourceContacts[].resourceContactAgents[].contactaddress.city</gco:CharacterString>
</gmd:city>
<gmd:administrativeArea>
<gco:CharacterString>$.resourceDocumentation.resourceContacts[].resourceContactAgents[].contactaddress.administrativeArea</gco:CharacterString>
</gmd:administrativeArea>
<gmd:postalCode>
<gco:CharacterString>$.resourceDocumentation.resourceContacts[].resourceContactAgents[].contactaddress.postalCode</gco:CharacterString>
</gmd:postalCode>
<gmd:country>
<gco:CharacterString>$.resourceDocumentation.resourceContacts[].resourceContactAgents[].contactaddress.country</gco:CharacterString>
</gmd:country>
<!-- group all e-mail addresses for the contact into one contactEmail array -->
<gmd:electronicMailAddress>$.resourceDocumentation.resourceContacts[].resourceContactAgents[].contactEmail[]</gmd:electronicMailAddress>
</gmd:CI_Address>
</gmd:address>
<gmd:onlineResource>
<!-- $.metadataProperties.metadataContact.agents[].agentLink[] -->
<gmd:CI_OnlineResource>
<gmd:linkage>$.resourceDocumentation.resourceContacts[].resourceContactAgents[].agentLink[].linkURL</gmd:linkage>
<gmd:protocol>$.resourceDocumentation.resourceContacts[].resourceContactAgents[].agentLink[].linkOverlayAPILabel.</gmd:protocol>
<gmd:applicationProfile>$.resourceDocumentation.resourceContacts[].resourceContactAgents[].agentLink[].linkProfileLabel</gmd:applicationProfile>
<gmd:name>$.resourceDocumentation.resourceContacts[].resourceContactAgents[].agentLink[].linkTitle</gmd:name>
<gmd:description>$.resourceDocumentation.resourceContacts[].resourceContactAgents[].agentLink[].linkDescription</gmd:description>
<gmd:function>
<gmd:CI_OnLineFunctionCode codeList="$.resourceDocumentation.resourceContacts[].resourceContactAgents[].agentLink[].linkRelations[].relVocabularyURI"
codeListValue="$.resourceDocumentation.resourceContacts[].resourceContactAgents[].agentLink[].linkRelations[].relURI"
codeSpace="$.resourceDocumentation.resourceContacts[].resourceContactAgents[].agentLink[].linkRelations[].relCodespace">
$$.resourceDocumentation.resourceContacts[].resourceContactAgents[].agentLink[].linkRelations[].relLabel
</gmd:CI_OnLineFunctionCode>
</gmd:function>
</gmd:CI_OnlineResource>
</gmd:onlineResource>
<gmd:hoursOfService>
<gco:CharacterString>concat in $.resourceDocumentation.resourceContacts[].resourceContactAgents[].agentInformation</gco:CharacterString>
</gmd:hoursOfService>
<gmd:contactInstructions>
<gco:CharacterString>concat in $.resourceDocumentation.resourceContacts[].resourceContactAgents[].agentInformation</gco:CharacterString>
</gmd:contactInstructions>
</gmd:CI_Contact>
</gmd:contactInfo>
<gmd:role>
<gmd:CI_RoleCode codeList="$.resourceDocumentation.resourceContacts[].resourceContactRoleVocabularyURI"
codeListValue="$.resourceDocumentation.resourceContacts[].resourceContactRoleURI"
codeSpace="$.resourceDocumentation.resourceContacts[].resourceContactRoleCodespace">
$.resourceDocumentation.resourceContacts[].resourceContactRoleLabel</gmd:CI_RoleCode>
</gmd:role>
</gmd:CI_ResponsibleParty>
</gmd:pointOfContact>
<gmd:graphicOverview>
<gmd:MD_BrowseGraphic>
<gmd:fileName></gmd:fileName>
</gmd:MD_BrowseGraphic>
</gmd:graphicOverview>
<gmd:descriptiveKeywords>
<gmd:MD_Keywords>
<gmd:keyword>
<!-- group on KeywordTypeLabel or KeywordTypeURI -->
<gco:CharacterString>$.resourceDocumentation.resourceIndexTerms[].keywords[].keyword</gco:CharacterString>
</gmd:keyword>
<gmd:type>
<gmd:MD_KeywordTypeCode codeList="$.resourceDocumentation.resourceIndexTerms[].keywordTypeVocabularyURI" codeListValue="$.resourceDocumentation.resourceIndexTerms[].keywordTypeURI" codeSpace="$.resourceDocumentation.resourceIndexTerms[].keywordTypeCodespace">
$.resourceDocumentation.resourceIndexTerms[].keyworTypeLabel</gmd:MD_KeywordTypeCode>
</gmd:type>
<gmd:thesaurusName
xlink:href="$.resourceDocumentation.resourceIndexTerms[].keywordSourceURI
OR UUID for full CI_Citation element translated to JSON in the extras section">
<gmd:CI_Citation>
<gmd:title>
<gco:CharacterString>$.resourceDocumentation.resourceIndexTerms[].keywordSourceLabel</gco:CharacterString>
</gmd:title>
<gmd:date/>
<!-- other citation content should be loaded in extras; assign an ID and reference from here -->
<gmd:identifier>
<gmd:MD_Identifier>
<gmd:code>
<gco:CharacterString>$.resourceDocumentation.resourceIndexTerms[].keywordSourceURI</gco:CharacterString>
</gmd:code>
</gmd:MD_Identifier>
</gmd:identifier>
</gmd:CI_Citation>
</gmd:thesaurusName>
</gmd:MD_Keywords>
</gmd:descriptiveKeywords>
<gmd:resourceSpecificUsage></gmd:resourceSpecificUsage>
<gmd:aggregationInfo></gmd:aggregationInfo>
<gmd:language>
<gco:CharacterString>$.resourceDocumentation.resourceLanguages[].ISO639code</gco:CharacterString>
</gmd:language>
<gmd:characterSet /> <!-- not processed; this comes from the XML header line in xml docs; generate characterset dynamically on
output marshaling based on what charset is being used.-->
<gmd:topicCategory>
<gmd:MD_TopicCategoryCode>$.resourceDescription.resourceIndexTerms.{keywordTypeLabel='gmd:topicCategory'}.keywords.keyword</gmd:MD_TopicCategoryCode>
</gmd:topicCategory>
<gmd:environmentDescription></gmd:environmentDescription>
<gmd:extent xlink:href="$.resourceDocumentation.geographicExtent.referencedExtentURI">
<gmd:EX_Extent>
<gmd:description>
<gco:CharacterString>concat($.resourceDocumentation.geographicExtent.extentStatement, ', referencedExtentLabel:',
$.resourceDocumentation.geographicExtent.referencedExtentLabel)
</gco:CharacterString>
</gmd:description>
<gmd:geographicElement>
<gmd:EX_GeographicDescription>
<gmd:extentTypeCode>
<gco:Boolean>if (true) then
$.resourceDocumentation.geographicExtent.extentType = 'within', else
..extentType = 'exclusion'</gco:Boolean>
</gmd:extentTypeCode>
<gmd:geographicIdentifier
xlink:href="$.resourceDocumentation.geographicExtent.extentReference.referencedExtentURI">
<gmd:MD_Identifier>
<gmd:authority>
<gmd:CI_Citation>
<gmd:title>
<gco:CharacterString>$.resourceDocumentation.geographicExtent.extentReference.extentGazetteerName</gco:CharacterString>
</gmd:title>
<gmd:date/>
<gmd:identifier>
<gmd:MD_Identifier>
<gmd:authority>
<!-- citation identifier authority is not captured by the CINERGI metadata object; put in extras -->
<gmd:CI_Citation>
<gmd:title/>
<gmd:date/>
</gmd:CI_Citation>
</gmd:authority>
<gmd:code>
<gco:CharacterString>$.resourceDocumentation.geographicExtent.extentReference.extentGazetteerURI</gco:CharacterString>
</gmd:code>
</gmd:MD_Identifier>
</gmd:identifier>
</gmd:CI_Citation>
</gmd:authority>
<gmd:code>
<gco:CharacterString>$.resourceDocumentation.geographicExtent.referencedExtentURI</gco:CharacterString>
</gmd:code>
</gmd:MD_Identifier>
</gmd:geographicIdentifier>
</gmd:EX_GeographicDescription>
</gmd:geographicElement>
<gmd:geographicElement>
<gmd:EX_GeographicBoundingBox>
<gmd:westBoundLongitude>
<gco:Decimal>$.resourceDocumentation.geographicExtent.boundingBoxWGS84.westBoundLongitude</gco:Decimal>
</gmd:westBoundLongitude>
<gmd:eastBoundLongitude>
<gco:Decimal>$.resourceDocumentation.geographicExtent.boundingBoxWGS84.eastBoundLongitude</gco:Decimal>
</gmd:eastBoundLongitude>
<gmd:southBoundLatitude>
<gco:Decimal>$.resourceDocumentation.geographicExtent.boundingBoxWGS84.southBoundLatitude</gco:Decimal>
</gmd:southBoundLatitude>
<gmd:northBoundLatitude>
<gco:Decimal>$.resourceDocumentation.geographicExtent.boundingBoxWGS84.northBoundLatitude</gco:Decimal>
</gmd:northBoundLatitude>
</gmd:EX_GeographicBoundingBox>
</gmd:geographicElement>
<gmd:geographicElement>
<gmd:EX_BoundingPolygon>
<!-- convert geometry to GeoJSON, calculate a BBox and put in
$.resourceDocumentation.geographicExtent.boundingBoxWGS84 if there isn't an
gmd:EX_GeographicBoundingBox in the metadata record. Note that the data type is GM_AbstractGeometry,
so technically there could be any gml geometry in the gmd:polygon element... -->
<gmd:polygon>
<!-- put the geometry in $.resourceDocumentation.geographicExtent.geoJSONgeometry. (geoJSON object here) -->
</gmd:polygon>
</gmd:EX_BoundingPolygon>
</gmd:geographicElement>
<gmd:verticalElement>
<gmd:EX_VerticalExtent>
<gmd:minimumValue>
<gco:Real>$.resourceDocumentation.geographicExtent.verticalExtent.verticalMinimum</gco:Real>
</gmd:minimumValue>
<gmd:maximumValue>
<gco:Real>$.resourceDocumentation.geographicExtent.verticalExtent.verticalMaximum</gco:Real>
</gmd:maximumValue>
<gmd:verticalCRS
xlink:href="$.resourceDocumentation.geographicExtent.verticalExtent.verticalCRS-URI">
<!-- other vertical extent content goes in extras -->
</gmd:verticalCRS>
</gmd:EX_VerticalExtent>
</gmd:verticalElement>
</gmd:EX_Extent>
</gmd:extent>
<gmd:extent>
<gmd:EX_Extent>
<gmd:temporalElement>
<gmd:EX_TemporalExtent>
<gmd:extent>
<gml:TimePeriod gml:id="t27">
<gml:beginPosition>$.resourceDocumentation.temporalExtents[].temporalExtentBegin</gml:beginPosition>
<gml:endPosition>$.resourceDocumentation.temporalExtents[].temporalExtentEnd</gml:endPosition>
<!-- other gml:TimePeriod content is extras -->
</gml:TimePeriod>
</gmd:extent>
</gmd:EX_TemporalExtent>
</gmd:temporalElement>
</gmd:EX_Extent>
</gmd:extent>
<gmd:supplementalInformation>
<gco:CharacterString>concat in $.resourceDocumentation.resourceDescription</gco:CharacterString>
</gmd:supplementalInformation>
</gmd:MD_DataIdentification>
</gmd:identificationInfo>
<gmd:contentInfo>
<!-- mapping still to do -->
<gmd:MD_FeatureCatalogueDescription>
<gmd:includedWithDataset>
<gco:Boolean>false</gco:Boolean>
</gmd:includedWithDataset>
<gmd:featureTypes>
<gco:LocalName codeSpace="AnyURI">theFeatureTypeName1
</gco:LocalName>
</gmd:featureTypes>
<gmd:featureTypes>
<gco:LocalName>featureTypeName2</gco:LocalName>
</gmd:featureTypes>
<gmd:featureCatalogueCitation>
<gmd:CI_Citation>
<gmd:title>
<gco:CharacterString>thefeature catalog title</gco:CharacterString>
</gmd:title>
<gmd:date gco:nilReason="missing"/>
</gmd:CI_Citation>
</gmd:featureCatalogueCitation>
</gmd:MD_FeatureCatalogueDescription>
</gmd:contentInfo>
<gmd:contentInfo>
<gmd:MD_ImageDescription>
<gmd:attributeDescription gco:nilReason="missing"/>
<gmd:contentType>
<gmd:MD_CoverageContentTypeCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_CoverageContentTypeCode" codeListValue="image"/>
</gmd:contentType>
</gmd:MD_ImageDescription>
</gmd:contentInfo>
<gmd:contentInfo>
<!-- mapping still to do -->
<gmd:MD_CoverageDescription>
<gmd:attributeDescription>
<gco:RecordType>$.resourceDocumentation.resourceInformationModel.attributes[N].attributeDescription</gco:RecordType>
</gmd:attributeDescription>
<gmd:contentType>
<gmd:MD_CoverageContentTypeCode codeList="$.resourceDocumentation.resourceInformationModel.attributes[N].attributeContentTypeVocabularyURI"
codeListValue="$.resourceDocumentation.resourceInformationModel.attributes[N].attributeContentTypeURI"
codeSpace="$.resourceDocumentation.resourceInformationModel.attributes[N].attributeContentTypeCodespace">
$.resourceDocumentation.resourceInformationModel.attributes[N].attributeContentTypeLabel
</gmd:MD_CoverageContentTypeCode>
</gmd:contentType>
<gmd:dimension>
<gmd:MD_RangeDimension>
<gmd:sequenceIdentifier>
<gco:MemberName>
<gco:aName xlink:href="$.resourceDocumentation.resourceInformationModel.attributes[].attributeURI">
<gco:CharacterString>$.resourceDocumentation.resourceInformationModel.attributes[].attributeName</gco:CharacterString>
</gco:aName>
<gco:attributeType>
<gco:TypeName>
<gco:aName> <!-- data type for this member; this is the name of an attribute or property in a
a content model -->
<gco:CharacterString></gco:CharacterString>
</gco:aName>
</gco:TypeName>
</gco:attributeType>
</gco:MemberName>
</gmd:sequenceIdentifier>
<gmd:descriptor></gmd:descriptor>
</gmd:MD_RangeDimension>
</gmd:dimension>
<gmd:dimension>
<gmd:MD_Band> <!-- MD_Band is substitution for MD_RangeDimension, so inherits properties from
that element; mapping to MongoMetadataObject is the same-->
<gmd:maxValue></gmd:maxValue>
<gmd:minValue></gmd:minValue>
<gmd:units></gmd:units>
</gmd:MD_Band>
</gmd:dimension>
</gmd:MD_CoverageDescription>
</gmd:contentInfo>
<gmd:contentInfo>
<!-- mapping still to do -->
<gmi:MI_CoverageDescription>
<gmd:attributeDescription/>
<gmd:contentType/>
</gmi:MI_CoverageDescription>
</gmd:contentInfo>
<gmd:distributionInfo> <!-- this instance is for an offline resource in digital form -->
<gmd:MD_Distribution>
<!-- if multiple formats, distributors and transferOptions are supplied, some guesswork is required to
figure out the binding between them. The variety of possible ISO19139 encoding approaches that are
possible is daunting -->
<gmd:distributionFormat>
<gmd:MD_Format>
<!-- if formatDistributor is populated, group on gmd:formatDistributor and create
.$resourceDocumentation.resourceAccessOptions[] array element for that distributor.
If only one distributor is specified, with one transferOptions or distributorTransferOptions,
or one distribution order proces then the assumption is that all formats are associated with
that distribution option. In the MongoMetadataObject, this translates to one distributor -->
<!-- if multiple gmd:distributionFormat and gmd:distributors are present, and there are
not gmd:formatDistributor elements to bind formats to distributors and transfer options,
then assume all formats are available from all distributors. -->
<gmd:name>
<gco:CharacterString>$.resourceDocumentation.resourceAccessOptions[N].offlineAccess[].physicalFileFormatName</gco:CharacterString>
</gmd:name>
<gmd:version/>
<gmd:amendmentNumber/>
<gmd:specification/>
<gmd:fileDecompressionTechnique/>
<gmd:formatDistributor> <!-- KISS assumption: only 11 occurrences in our current corpus
so for now we can backburner handling this one. Normally would expect that if formatDistributor is populated,
gmd:distributor should be empty, or should be the same distributor (perhaps linked to this by
href with the inline description only appearing once; this might be the case if multiple formats are
specified with the gmd:formatDistributor element binding formats to distributors. -->
<gmd:MD_Distributor>
<gmd:distributorContact>
<gmd:CI_ResponsibleParty>
<gmd:individualName>
<!-- optional: group all individuals with same org, contactInfo and role into one personName array -->
<gco:CharacterString>$.resourceDocumentation.resourceAccessOptions[N].distributor.personName[]</gco:CharacterString>
</gmd:individualName>
<gmd:organisationName>
<gco:CharacterString>$.resourceDocumentation.resourceAccessOptions[N].distributor.organizationName[]</gco:CharacterString>
</gmd:organisationName>
<gmd:positionName>
<gco:CharacterString>$.resourceDocumentation.resourceAccessOptions[N].distributor.personPosition</gco:CharacterString>
</gmd:positionName>
<gmd:contactInfo>
<gmd:CI_Contact>
<gmd:phone>
<gmd:CI_Telephone>
<gmd:voice>
<!-- group all voice numbers into one voicePhoneNumber array -->
<gco:CharacterString>$.resourceDocumentation.resourceAccessOptions[N].distributor.distributorAgents[].voicePhoneNumber[]</gco:CharacterString>
</gmd:voice>
<gmd:facsimile>
<!-- group all facsimile numbers into one faxPhoneNumber array -->
<gco:CharacterString>$.resourceDocumentation.resourceAccessOptions[N].distributor.distributorAgents[].faxPhoneNumber[]</gco:CharacterString>
</gmd:facsimile>
</gmd:CI_Telephone>
</gmd:phone>
<gmd:address>
<gmd:CI_Address>
<gmd:deliveryPoint>
<gco:CharacterString>$.resourceDocumentation.resourceAccessOptions[N].distributor.distributorAgents[].contactaddress.deliveryPoint</gco:CharacterString>
</gmd:deliveryPoint>
<gmd:city>
<gco:CharacterString>$.resourceDocumentation.resourceAccessOptions[N].distributor.distributorAgents[].contactaddress.city</gco:CharacterString>
</gmd:city>
<gmd:administrativeArea>
<gco:CharacterString>$.resourceDocumentation.resourceAccessOptions[N].distributor.distributorAgents[].contactaddress.administrativeArea</gco:CharacterString>
</gmd:administrativeArea>
<gmd:postalCode>
<gco:CharacterString>$.resourceDocumentation.resourceAccessOptions[N].distributor.distributorAgents[].contactaddress.postalCode</gco:CharacterString>
</gmd:postalCode>
<gmd:country>
<gco:CharacterString>$.resourceDocumentation.resourceAccessOptions[N].distributor.distributorAgents[].contactaddress.country</gco:CharacterString>
</gmd:country>
<!-- group all e-mail addresses for the contact into one contactEmail array -->
<gmd:electronicMailAddress>$.resourceDocumentation.resourceAccessOptions[N].distributor.distributorAgents[].contactEmail[]</gmd:electronicMailAddress>
</gmd:CI_Address>
</gmd:address>
<gmd:onlineResource>
<!-- $.resourceDocumentation.resourceAccessOptions[N].distributor.distributorAgents[].agentLink[] -->
<gmd:CI_OnlineResource>
<gmd:linkage>$.resourceDocumentation.resourceAccessOptions[N].distributor.distributorAgents[].agentLink[].linkURL</gmd:linkage>
<gmd:protocol>$.resourceDocumentation.resourceAccessOptions[N].distributor.distributorAgents[].agentLink[].linkOverlayAPILabel.</gmd:protocol>
<gmd:applicationProfile>$.resourceDocumentation.resourceAccessOptions[N].distributor.distributorAgents[].agentLink[].linkProfileLabel</gmd:applicationProfile>
<gmd:name>$.resourceDocumentation.resourceAccessOptions[N].distributor.distributorAgents[].agentLink[].linkTitle</gmd:name>
<gmd:description>$.resourceDocumentation.resourceAccessOptions[N].distributor.distributorAgents[].agentLink[].linkDescription</gmd:description>
<gmd:function
<gmd:CI_OnLineFunctionCode codeList="$.resourceDocumentation.resourceAccessOptions[N].distributor.distributorAgents[].agentLink[].linkRelations[].relVocabularyURI"
codeListValue="$.resourceDocumentation.resourceAccessOptions[N].distributor.distributorAgents[].agentLink[].linkRelations[].relURI"
codeSpace="$.resourceDocumentation.resourceAccessOptions[N].distributor.distributorAgents[].agentLink[].linkRelations[].relCodespace">
$.resourceDocumentation.resourceAccessOptions[N].distributor.distributorAgents[].agentLink[].linkRelations[].relLabel
</gmd:CI_OnLineFunctionCode>
</gmd:function>
</gmd:CI_OnlineResource>
</gmd:onlineResource>
<gmd:hoursOfService>
<gco:CharacterString>concat in $.resourceDocumentation.resourceAccessOptions[N].distributor.distributorAgents[].agentInformation</gco:CharacterString>
</gmd:hoursOfService>
<gmd:contactInstructions>
<gco:CharacterString>$.resourceDocumentation.resourceAccessOptions[N].distributor.distributorAgents[].agentInformation</gco:CharacterString>
</gmd:contactInstructions>
</gmd:CI_Contact>
</gmd:contactInfo>
<gmd:role>
<gmd:CI_RoleCode codeList="$.resourceDocumentation.resourceAccessOptions[N].distributor.agentRoleVocabularyURI"
codeListValue="$.resourceDocumentation.resourceAccessOptions[N].distributor.agentRoleURI"
codeSpace="$.resourceDocumentation.resourceAccessOptions[N].distributor.agentRoleCodespace">
$.resourceDocumentation.resourceAccessOptions[N].distributor.agentRoleLabel</gmd:CI_RoleCode>
</gmd:role>
</gmd:CI_ResponsibleParty>
</gmd:distributorContact>
</gmd:MD_Distributor>
</gmd:formatDistributor>
</gmd:MD_Format>
</gmd:distributionFormat>
<gmd:distributor>
<gmd:MD_Distributor>
<gmd:distributorContact/>
<!-- NOTE -- encoding is like MD_Format.formatDistributor.MD_Distributor;
for an offline distribution would expect that either gmd:formatDistributor xor gmd:distributor
would be present-->
<gmd:distributionOrderProcess> <!-- assume that present of this element indicates offline access -->
<gmd:MD_StandardOrderProcess> <!-- $.resourceDocumentation.resourceAccessOptions[N].offlineAccess[].orderingInformation -->
<gmd:fees>
<gco:CharacterString>
concat into $.resourceDocumentation.resourceAccessOptions[N].offlineAccess[].orderingInformation
</gco:CharacterString>
</gmd:fees>
<gmd:plannedAvailableDateTime>
<gco:DateTime> concat into $.resourceDocumentation.resourceAccessOptions[N].offlineAccess[].orderingInformation
with prefix "Planned available dateTime:"
</gco:DateTime>
</gmd:plannedAvailableDateTime>
<gmd:orderingInstructions>
<gco:CharacterString>concat into $.resourceDocumentation.resourceAccessOptions[N].offlineAccess[].orderingInformation
for JSON to XML offlineAccess.orderinginformation content goes here.
</gco:CharacterString>
</gmd:orderingInstructions>
<gmd:turnaround>
<gco:CharacterString> concat into $.resourceDocumentation.resourceAccessOptions[N].offlineAccess[].orderingInformation
</gco:CharacterString>
</gmd:turnaround>
</gmd:MD_StandardOrderProcess>
</gmd:distributionOrderProcess>
<gmd:distributorFormat>
<gmd:MD_Format> <!-- handle same as distributionFormat; assume format applies to all transfer options
for this distributor-->
<gmd:name></gmd:name>
<gmd:version></gmd:version>
</gmd:MD_Format>
</gmd:distributorFormat>
<gmd:distributorTransferOptions>
<gmd:MD_DigitalTransferOptions>
<gmd:unitsOfDistribution>
<gco:CharacterString>if transferOption is gmd:offLine, then concat
into $.resourceDocumentation.resourceAccessOptions[N].offlineAccess[].orderingInformation</gco:CharacterString>
</gmd:unitsOfDistribution>
<gmd:transferSize>
<gco:Real> if transferOption is gmd:offLine, then concat
into $.resourceDocumentation.resourceAccessOptions[N].offlineAccess[].orderingInformation</gco:Real>
</gmd:transferSize>
<gmd:offLine>
<gmd:MD_Medium>
<gmd:name>
<gmd:MD_MediumNameCode codeList="$.resourceDocumentation.resourceAccessOptions[N].offlineAccess[].physicalMediumNameVocabularyURI"
codeListValue="$.resourceDocumentation.resourceAccessOptions[N].offlineAccess[].physicalMediumURI"
codeSpace="$.resourceDocumentation.resourceAccessOptions[N].offlineAccess[].physicalMediumCodespace">
$.resourceDocumentation.resourceAccessOptions[N].offlineAccess[].physicalMediumName</gmd:MD_MediumNameCode>
</gmd:name>
<gmd:density>
<gco:Real> concat into $.resourceDocumentation.resourceAccessOptions[N].offlineAccess[].orderingInformation
</gco:Real>
</gmd:density>
<gmd:densityUnits>
<gco:CharacterString> concat into $.resourceDocumentation.resourceAccessOptions[N].offlineAccess[].orderingInformation
</gco:CharacterString>
</gmd:densityUnits>
<gmd:mediumFormat>
<gmd:MD_MediumFormatCode codeList="$.resourceDocumentation.resourceAccessOptions[N].offlineAccess[].physicalMediumFormatVocabularyURI"
codeListValue="$.resourceDocumentation.resourceAccessOptions[N].offlineAccess[].physicalMediumFormatURI"
codeSpace="$.resourceDocumentation.resourceAccessOptions[N].offlineAccess[].physicalMediumFormatCodespace">
$.resourceDocumentation.resourceAccessOptions[N].offlineAccess[].physicalMediumFormatName
</gmd:MD_MediumFormatCode>
</gmd:mediumFormat>
<gmd:mediumNote/>
</gmd:MD_Medium>
</gmd:offLine>
</gmd:MD_DigitalTransferOptions>
</gmd:distributorTransferOptions>
</gmd:MD_Distributor>
</gmd:distributor>
</gmd:MD_Distribution>
</gmd:distributionInfo>
<gmd:distributionInfo> <!-- service based and online file download distribution example -->
<gmd:MD_Distribution>
<gmd:distributor> <!-- group Formats and TransferOptions by distributor; options that
apply to multiple distributors will be repeated in the JSON-->
<gmd:MD_Distributor>
<gmd:distributorContact> <!-- same as distributorContact in above example -->
<gmd:CI_ResponsibleParty/>
</gmd:distributorContact>
<gmd:distributorFormat> <!-- This element occurs 8211 times (about a quarter of
the records in corpus. See distributionFormat example above. If multiple formats and multiple
TransferOptions, have to assume all formats available with all transfer options.
expect multiple gmd:distributor elements referencing the same gmd:distributorContact
to indicate different Format-TransferOptions bindings-->
<gmd:MD_Format>
<gmd:name>
<gco:CharacterString>$.resourceDocumentation.resourceAccessOptions[N].accessLinks[M].linkTargetResourceType</gco:CharacterString>
</gmd:name>
<gmd:version>
<gco:CharacterString>concat into
$.resourceDocumentation.resourceAccessOptions[N].accessLinks[M].linkTargetResourceType
as suffix</gco:CharacterString>
</gmd:version>
<gmd:amendmentNumber>
<gco:CharacterString>concat into
$.resourceDocumentation.resourceAccessOptions[N].accessLinks[M].linkTargetResourceType
as suffix</gco:CharacterString>
</gmd:amendmentNumber>
<gmd:specification>
<gco:CharacterString>concat into $.resourceDocumentation.resourceAccessOptions[N].accessLinks[M].linkDescription</gco:CharacterString>
</gmd:specification>
<gmd:fileDecompressionTechnique>
<gco:CharacterString>concat into $.resourceDocumentation.resourceAccessOptions[N].accessLinks[M].linkDescription</gco:CharacterString>
</gmd:fileDecompressionTechnique>
</gmd:MD_Format>
</gmd:distributorFormat>
<gmd:distributorTransferOptions>
<gmd:MD_DigitalTransferOptions/> <!-- same as gmd:transferOptions, but scoped to a single distributor-->
</gmd:distributorTransferOptions>
</gmd:MD_Distributor>
</gmd:distributor>
<gmd:transferOptions> <!-- if multiple gmd:transferOptions and multiple gmd:distributor
elements are present, and there are not gmd:distributorTransferOptions href's to bind distributors
with subset of options, then all transferOptions apply to all distributors; Handling this M to M situation
can be deferred until v2; start with assumption there will be one distributor and 1..N transferOptions or
distributorTransferOptions. -->
<gmd:transferOptions>
<gmd:MD_DigitalTransferOptions>
<gmd:onLine> <!-- $.resourceDocumentation.resourceAccessOptions[M].accessLinks[S] -->
<gmd:CI_OnlineResource>
<gmd:linkage>
<gmd:URL>$.resourceDocumentation.resourceAccessOptions[M].accessLinks[S].linkURL</gmd:URL>
</gmd:linkage>
<gmd:protocol>
<gco:CharacterString>$.resourceDocumentation.resourceAccessOptions[M].accessLinks[S].linkOverlayAPILabel</gco:CharacterString>
</gmd:protocol>
<gmd:applicationProfile>
<gco:CharacterString>$.resourceDocumentation.resourceAccessOptions[M].accessLinks[S].linkProfileLabel</gco:CharacterString>
</gmd:applicationProfile>
<gmd:name>
<gco:CharacterString>$.resourceDocumentation.resourceAccessOptions[M].accessLinks[S].linkTitle</gco:CharacterString>
</gmd:name>
<gmd:description>
<gco:CharacterString>$.resourceDocumentation.resourceAccessOptions[M].accessLinks[S].linkDescription</gco:CharacterString>
</gmd:description>
<gmd:function>
<gmd:CI_OnLineFunctionCode codeList="$.resourceDocumentation.resourceAccessOptions[M].accessLinks[S].linkRelations.relVocabularyURI"
codeListValue="$.resourceDocumentation.resourceAccessOptions[M].accessLinks[S].linkRelations.relURI"
codeSpace="$.resourceDocumentation.resourceAccessOptions[M].accessLinks[S].linkRelations.relCodespace">
$.resourceDocumentation.resourceAccessOptions[M].accessLinks[S].linkRelations.relLabel</gmd:CI_OnLineFunctionCode>
</gmd:function>
</gmd:CI_OnlineResource>
</gmd:onLine>
</gmd:MD_DigitalTransferOptions>
</gmd:transferOptions>
</gmd:transferOptions>
</gmd:MD_Distribution>
</gmd:distributionInfo>
<gmd:dataQualityInfo>
<gmd:DQ_DataQuality>
<gmd:scope>
<gmd:DQ_Scope>
<gmd:level>
<gmd:MD_ScopeCode codeList="uri" codeListValue="dataset"/>
</gmd:level>
</gmd:DQ_Scope>
</gmd:scope>