adiwg-mdjson_schemas 1.1.3 → 2.0.0.pre.alpha
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +2 -0
- data/README.md +14 -3
- data/adiwg-json_schemas.gemspec +2 -2
- data/bower.json +0 -1
- data/examples/additionalDocumentation.json +9 -60
- data/examples/address.json +14 -10
- data/examples/allocation.json +12 -0
- data/examples/associatedResource.json +10 -118
- data/examples/attribute.json +27 -0
- data/examples/attributeGroup.json +17 -0
- data/examples/boundingBox.json +6 -0
- data/examples/citation.json +69 -127
- data/examples/computedBbox.json +399 -0
- data/examples/constraint.json +62 -0
- data/examples/contact.json +40 -207
- data/examples/coverageDescription.json +21 -0
- data/examples/date.json +8 -19
- data/examples/dictionary.json +58 -0
- data/examples/dimension.json +11 -0
- data/examples/distribution.json +26 -0
- data/examples/distributor.json +22 -142
- data/examples/domain.json +29 -0
- data/examples/domainItem.json +11 -0
- data/examples/duration.json +17 -0
- data/examples/entity.json +48 -0
- data/examples/entityAttribute.json +31 -0
- data/examples/entityForeignKey.json +17 -0
- data/examples/entityIndex.json +8 -0
- data/examples/extent.json +60 -0
- data/examples/featureCollection.json +58 -0
- data/examples/featureProperties.json +16 -0
- data/examples/format.json +7 -14
- data/examples/funding.json +33 -0
- data/examples/geoJson.json +185 -0
- data/examples/geographicExtent.json +22 -0
- data/examples/geometryCollection.json +14 -0
- data/examples/geometryFeature.json +12 -0
- data/examples/geometryObject.json +90 -0
- data/examples/georectifiedRepresentation.json +28 -0
- data/examples/georeferencableRepresentation.json +25 -0
- data/examples/gmlIdentifier.json +8 -0
- data/examples/graphic.json +33 -0
- data/examples/gridRepresentation.json +14 -0
- data/examples/identifier.json +9 -0
- data/examples/imageDescription.json +15 -0
- data/examples/keyword.json +14 -0
- data/examples/keywordObject.json +12 -0
- data/examples/legalConstraint.json +21 -0
- data/examples/lineage.json +21 -0
- data/examples/locale.json +12 -3
- data/examples/maintenance.json +38 -0
- data/examples/mdJson.json +99 -0
- data/examples/measure.json +5 -0
- data/examples/medium.json +16 -0
- data/examples/metadata.json +102 -0
- data/examples/metadataInfo.json +68 -101
- data/examples/onlineResource.json +13 -17
- data/examples/orderProcess.json +6 -0
- data/examples/party.json +21 -0
- data/examples/phone.json +9 -0
- data/examples/processStep.json +34 -0
- data/examples/releasability.json +28 -0
- data/examples/resourceInfo.json +230 -1256
- data/examples/responsibleParty.json +31 -0
- data/examples/schema.json +8 -0
- data/examples/scope.json +33 -0
- data/examples/scopeDescription.json +8 -0
- data/examples/securityConstraint.json +13 -0
- data/examples/series.json +9 -0
- data/examples/source.json +23 -0
- data/examples/spatialReference.json +34 -0
- data/examples/spatialRepresentation.json +59 -0
- data/examples/spatialResolution.json +11 -0
- data/examples/taxonomicClassification.json +59 -0
- data/examples/taxonomicSystem.json +13 -0
- data/examples/taxonomy.json +79 -188
- data/examples/temporalExtent.json +11 -0
- data/examples/timeInstant.json +13 -0
- data/examples/timeInterval.json +8 -0
- data/examples/timePeriod.json +26 -0
- data/examples/transferOption.json +36 -0
- data/examples/usage.json +48 -33
- data/examples/vectorObject.json +4 -0
- data/examples/vectorRepresentation.json +10 -0
- data/examples/verticalExtent.json +10 -17
- data/examples/voucher.json +12 -0
- data/lib/adiwg/mdjson_schemas/utils.rb +45 -15
- data/lib/adiwg/mdjson_schemas/validator.rb +6 -7
- data/lib/adiwg/mdjson_schemas/version.rb +1 -1
- data/lib/adiwg/mdjson_schemas.rb +4 -2
- data/schema/additionalDocumentation.json +29 -0
- data/schema/associatedResource.json +49 -0
- data/schema/attribute.json +157 -0
- data/schema/attributeGroup.json +29 -0
- data/schema/{schema/geojson/bbox.json → bbox.json} +2 -2
- data/schema/{schema/citation.json → citation.json} +73 -99
- data/schema/common.json +49 -0
- data/schema/{schema/resourceConstraint.json → constraint.json} +83 -13
- data/schema/contact.json +234 -0
- data/schema/coverageDescription.json +50 -0
- data/schema/dataDictionary.json +71 -0
- data/schema/distribution.json +35 -0
- data/schema/distributor.json +46 -0
- data/schema/domain.json +65 -0
- data/schema/entity.json +235 -0
- data/schema/extent.json +59 -0
- data/schema/format.json +37 -0
- data/schema/funding.json +67 -0
- data/schema/geographicExtent.json +87 -0
- data/schema/{schema/geojson/geojson.json → geojson.json} +16 -44
- data/schema/{schema/geojson/geometry.json → geometry.json} +2 -1
- data/schema/georectifiedRepresentation.json +89 -0
- data/schema/georeferencableRepresentation.json +49 -0
- data/schema/{schema/graphicOverview.json → graphic.json} +19 -6
- data/schema/{schema/gridInfo.json → gridRepresentation.json} +7 -13
- data/schema/identifier.json +47 -0
- data/schema/imageDescription.json +92 -0
- data/schema/{schema/keyword.json → keyword.json} +18 -4
- data/schema/{schema/dataQuality.json → lineage.json} +92 -57
- data/schema/{schema/maintInfo.json → maintInfo.json} +24 -6
- data/schema/measure.json +31 -0
- data/schema/medium.json +55 -0
- data/schema/metadata.json +77 -0
- data/schema/metadataInfo.json +112 -0
- data/schema/{schema/onlineResource.json → onlineResource.json} +1 -1
- data/schema/orderProcess.json +45 -0
- data/schema/releasability.json +42 -0
- data/schema/{schema/resourceInfo.json → resourceInfo.json} +112 -189
- data/schema/responsibility.json +56 -0
- data/schema/schema.json +16 -31
- data/schema/scope.json +55 -0
- data/schema/spatialReference.json +26 -0
- data/schema/spatialRepresentation.json +83 -0
- data/schema/spatialResolution.json +54 -0
- data/schema/taxonomy.json +178 -0
- data/schema/temporalExtent.json +42 -0
- data/schema/timeInstant.json +46 -0
- data/schema/timePeriod.json +126 -0
- data/schema/transferOption.json +61 -0
- data/schema/{schema/usage.json → usage.json} +34 -4
- data/schema/vectorRepresentation.json +51 -0
- data/schema/verticalExtent.json +37 -0
- data/test/helper.rb +32 -0
- data/test/tc_additionalDocumentation.rb +8 -0
- data/test/tc_address.rb +8 -0
- data/test/tc_associatedResource.rb +8 -0
- data/test/tc_attribute.rb +8 -0
- data/test/tc_attributeGroup.rb +8 -0
- data/test/tc_boundingBox.rb +8 -0
- data/test/tc_citation.rb +8 -0
- data/test/tc_constraint.rb +8 -0
- data/test/tc_contact.rb +8 -0
- data/test/tc_coverageDescription.rb +8 -0
- data/test/tc_dataDictionary.rb +8 -0
- data/test/tc_dimension.rb +8 -0
- data/test/tc_distribution.rb +8 -0
- data/test/tc_distributor.rb +8 -0
- data/test/tc_domain.rb +8 -0
- data/test/tc_domainItem.rb +8 -0
- data/test/tc_duration.rb +8 -0
- data/test/tc_entity.rb +20 -0
- data/test/tc_extent.rb +8 -0
- data/test/tc_featureCollection.rb +8 -0
- data/test/tc_featureProperties.rb +8 -0
- data/test/tc_format.rb +8 -0
- data/test/tc_funding.rb +8 -0
- data/test/tc_geographicElement.rb +12 -0
- data/test/tc_geographicExtent.rb +8 -0
- data/test/tc_geometryCollection.rb +8 -0
- data/test/tc_geometryFeature.rb +8 -0
- data/test/tc_geometryObject.rb +8 -0
- data/test/tc_georectifiedRepresentation.rb +8 -0
- data/test/tc_georeferencableRepresentation.rb +8 -0
- data/test/tc_graphic.rb +8 -0
- data/test/tc_gridRepresentation.rb +8 -0
- data/test/tc_identifier.rb +8 -0
- data/test/tc_imageDescription.rb +8 -0
- data/test/tc_jsonschema.rb +16 -0
- data/test/tc_keyword.rb +8 -0
- data/test/tc_lineage.rb +8 -0
- data/test/tc_maintInfo.rb +8 -0
- data/test/tc_measure.rb +8 -0
- data/test/tc_medium.rb +8 -0
- data/test/tc_metadata.rb +8 -0
- data/test/tc_metadataInfo.rb +8 -0
- data/test/tc_onlineResource.rb +8 -0
- data/test/tc_orderProcess.rb +8 -0
- data/test/tc_party.rb +8 -0
- data/test/tc_processStep.rb +8 -0
- data/test/tc_releasability.rb +8 -0
- data/test/tc_resourceInfo.rb +8 -0
- data/test/tc_responsibility.rb +8 -0
- data/test/tc_schema.rb +8 -0
- data/test/tc_scope.rb +8 -0
- data/test/tc_source.rb +8 -0
- data/test/tc_spatialReference.rb +8 -0
- data/test/tc_spatialRepresentation.rb +8 -0
- data/test/tc_spatialResolution.rb +8 -0
- data/test/tc_taxonomicClassification.rb +8 -0
- data/test/tc_taxonomicSystem.rb +8 -0
- data/test/tc_taxonomy.rb +8 -0
- data/test/tc_temporalExtent.rb +8 -0
- data/test/tc_timeInstant.rb +8 -0
- data/test/tc_timePeriod.rb +8 -0
- data/test/tc_transferOption.rb +8 -0
- data/test/tc_uri.rb +8 -0
- data/test/tc_usage.rb +8 -0
- data/test/tc_utils.rb +8 -11
- data/test/tc_vectorRepresentation.rb +13 -0
- data/test/tc_verticalExtent.rb +8 -0
- data/test/tc_voucher.rb +8 -0
- metadata +264 -57
- data/examples/contactRef.json +0 -12
- data/examples/coverageInfo.json +0 -148
- data/examples/dataDictionary.json +0 -549
- data/examples/dataQuality.json +0 -272
- data/examples/extent_linestring.json +0 -288
- data/examples/extent_point.json +0 -246
- data/examples/extent_polygon.json +0 -353
- data/examples/full_example.json +0 -3065
- data/examples/full_example2.json +0 -2325
- data/examples/geojson.json +0 -446
- data/examples/graphicOverview.json +0 -28
- data/examples/gridInfo.json +0 -23
- data/examples/hierarchyLevel.json +0 -90
- data/examples/keywords.json +0 -144
- data/examples/lcc_project_example.json +0 -326
- data/examples/legalConstraints.json +0 -17
- data/examples/maintInfo.json +0 -34
- data/examples/minimum_example.json +0 -35
- data/examples/resolution.json +0 -9
- data/examples/resourceMaintenance.json +0 -10
- data/examples/securityConstraints.json +0 -13
- data/examples/spatialRef.json +0 -14
- data/examples/temporalElement.json +0 -29
- data/schema/schema/contact.json +0 -262
- data/schema/schema/coverageInfo.json +0 -303
- data/schema/schema/dataDictionary.json +0 -335
- data/schema/schema/distributor.json +0 -216
- data/schema/schema/extent.json +0 -215
- data/schema/schema/geojson/crs.json +0 -99
- data/schema/schema/metadata.json +0 -188
- data/schema/schema/resolution.json +0 -51
- data/schema/schema/taxonomy.json +0 -122
- data/test/tc_schemas.rb +0 -243
- /data/schema/{schema/locale.json → locale.json} +0 -0
@@ -0,0 +1,15 @@
|
|
1
|
+
[{
|
2
|
+
"illuminationElevationAngle": 9.9,
|
3
|
+
"illuminationAzimuthAngle": 9.9,
|
4
|
+
"imagingCondition": "imagingCondition",
|
5
|
+
"imageQualityCode": {
|
6
|
+
"identifier": "identifier"
|
7
|
+
},
|
8
|
+
"cloudCoverPercent": 9.9,
|
9
|
+
"compressionQuantity": 9,
|
10
|
+
"triangulationIndicator": true,
|
11
|
+
"radiometricCalibrationAvailable": true,
|
12
|
+
"cameraCalibrationAvailable": true,
|
13
|
+
"filmDistortionAvailable": true,
|
14
|
+
"lensDistortionAvailable": true
|
15
|
+
}]
|
@@ -0,0 +1,21 @@
|
|
1
|
+
{
|
2
|
+
"constraint": [
|
3
|
+
{
|
4
|
+
"type": "legal",
|
5
|
+
"legalConstraint": {
|
6
|
+
"useConstraint": [
|
7
|
+
"useConstraint0",
|
8
|
+
"useConstraint1"
|
9
|
+
],
|
10
|
+
"accessConstraint": [
|
11
|
+
"accessConstraint0",
|
12
|
+
"accessConstraint1"
|
13
|
+
],
|
14
|
+
"otherConstraint": [
|
15
|
+
"otherConstraint0",
|
16
|
+
"otherConstraint1"
|
17
|
+
]
|
18
|
+
}
|
19
|
+
}
|
20
|
+
]
|
21
|
+
}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
[{
|
2
|
+
"statement": "statement",
|
3
|
+
"scope": {
|
4
|
+
"scopeCode": "scopeCode"
|
5
|
+
},
|
6
|
+
"citation": [{
|
7
|
+
"title": "title"
|
8
|
+
}, {
|
9
|
+
"title": "title"
|
10
|
+
}],
|
11
|
+
"source": [{
|
12
|
+
"description": "description"
|
13
|
+
}, {
|
14
|
+
"description": "description"
|
15
|
+
}],
|
16
|
+
"processStep": [{
|
17
|
+
"description": "description"
|
18
|
+
}, {
|
19
|
+
"description": "description"
|
20
|
+
}]
|
21
|
+
}]
|
data/examples/locale.json
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
{
|
2
|
-
|
3
|
-
|
4
|
-
|
2
|
+
"locale": [
|
3
|
+
{
|
4
|
+
"language": "language1",
|
5
|
+
"country": "country1",
|
6
|
+
"characterSet": "characterSet1"
|
7
|
+
},
|
8
|
+
{
|
9
|
+
"language": "rar",
|
10
|
+
"country": "COK",
|
11
|
+
"characterSet": "UTF-8"
|
12
|
+
}
|
13
|
+
]
|
5
14
|
}
|
@@ -0,0 +1,38 @@
|
|
1
|
+
[{
|
2
|
+
"frequency": "frequency",
|
3
|
+
"date": [{
|
4
|
+
"date": "2016-10-12",
|
5
|
+
"dateType": "dateType"
|
6
|
+
}, {
|
7
|
+
"date": "2016-10-12",
|
8
|
+
"dateType": "dateType"
|
9
|
+
}],
|
10
|
+
"scope": [{
|
11
|
+
"scopeCode": "scopeCode"
|
12
|
+
}, {
|
13
|
+
"scopeCode": "scopeCode"
|
14
|
+
}],
|
15
|
+
"note": [
|
16
|
+
"note0",
|
17
|
+
"note1"
|
18
|
+
],
|
19
|
+
"contact": [{
|
20
|
+
"role": "role",
|
21
|
+
"timePeriod": [{
|
22
|
+
"startDateTime": "2016-10-14"
|
23
|
+
}],
|
24
|
+
"party": [{
|
25
|
+
"contactId": "individualId0"
|
26
|
+
}]
|
27
|
+
},
|
28
|
+
{
|
29
|
+
"role": "role",
|
30
|
+
"timePeriod": [{
|
31
|
+
"startDateTime": "2016-10-15"
|
32
|
+
}],
|
33
|
+
"party": [{
|
34
|
+
"contactId": "individualId0"
|
35
|
+
}]
|
36
|
+
}
|
37
|
+
]
|
38
|
+
}]
|
@@ -0,0 +1,99 @@
|
|
1
|
+
{
|
2
|
+
"schema": {
|
3
|
+
"name": "name",
|
4
|
+
"version": "0.0.0"
|
5
|
+
},
|
6
|
+
"contact": [{
|
7
|
+
"contactId": "individualId0",
|
8
|
+
"isOrganization": false,
|
9
|
+
"name": "name0",
|
10
|
+
"positionName": "foobar"
|
11
|
+
}, {
|
12
|
+
"contactId": "individualId1",
|
13
|
+
"isOrganization": false,
|
14
|
+
"name": "name1"
|
15
|
+
}],
|
16
|
+
"metadata": {
|
17
|
+
"metadataInfo": {
|
18
|
+
"metadataIdentifier": {
|
19
|
+
"identifier": "identifier"
|
20
|
+
},
|
21
|
+
"metadataDate": [{
|
22
|
+
"date": "2016-10-31",
|
23
|
+
"dateType": "creation"
|
24
|
+
}, {
|
25
|
+
"date": "2016-10-31",
|
26
|
+
"dateType": "dateType"
|
27
|
+
}, {
|
28
|
+
"date": "2016-10-31",
|
29
|
+
"dateType": "dateType"
|
30
|
+
}],
|
31
|
+
"metadataContact": [{
|
32
|
+
"role": "role",
|
33
|
+
"timePeriod": [{
|
34
|
+
"startDateTime": "2016-10-31"
|
35
|
+
}],
|
36
|
+
"party": [{
|
37
|
+
"contactId": "individualId0"
|
38
|
+
}]
|
39
|
+
}, {
|
40
|
+
"role": "role",
|
41
|
+
"timePeriod": [{
|
42
|
+
"startDateTime": "2016-10-31"
|
43
|
+
}],
|
44
|
+
"party": [{
|
45
|
+
"contactId": "individualId1"
|
46
|
+
}]
|
47
|
+
}]
|
48
|
+
},
|
49
|
+
"resourceInfo": {
|
50
|
+
"resourceType": "resourceType",
|
51
|
+
"citation": {
|
52
|
+
"title": "title"
|
53
|
+
},
|
54
|
+
"abstract": "abstract",
|
55
|
+
"status": ["status"],
|
56
|
+
"pointOfContact": [{
|
57
|
+
"role": "role",
|
58
|
+
"timePeriod": [{
|
59
|
+
"startDateTime": "2016-10-14"
|
60
|
+
}],
|
61
|
+
"party": [{
|
62
|
+
"contactId": "individualId0"
|
63
|
+
}]
|
64
|
+
}],
|
65
|
+
"defaultResourceLocale": {
|
66
|
+
"language": "LanguageCode",
|
67
|
+
"country": "CountryCode",
|
68
|
+
"characterSet": "MD_CharacterSetCode"
|
69
|
+
}
|
70
|
+
}
|
71
|
+
},
|
72
|
+
"dataDictionary": [{
|
73
|
+
"resourceType": "resourceType",
|
74
|
+
"subject": "subject",
|
75
|
+
"responsibleParty": {
|
76
|
+
"role": "role",
|
77
|
+
"party": [{
|
78
|
+
"contactId": "individualId0"
|
79
|
+
}]
|
80
|
+
},
|
81
|
+
"citation": {
|
82
|
+
"title": "title"
|
83
|
+
},
|
84
|
+
"description": "description"
|
85
|
+
}, {
|
86
|
+
"resourceType": "resourceType",
|
87
|
+
"subject": "subject",
|
88
|
+
"responsibleParty": {
|
89
|
+
"role": "role",
|
90
|
+
"party": [{
|
91
|
+
"contactId": "individualId0"
|
92
|
+
}]
|
93
|
+
},
|
94
|
+
"citation": {
|
95
|
+
"title": "title"
|
96
|
+
},
|
97
|
+
"description": "description"
|
98
|
+
}]
|
99
|
+
}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
[{
|
2
|
+
"mediumSpecification": {
|
3
|
+
"title": "title"
|
4
|
+
},
|
5
|
+
"density": 9.9,
|
6
|
+
"units": "units",
|
7
|
+
"numberOfVolumes": 9,
|
8
|
+
"mediumFormat": [
|
9
|
+
"mediumFormat0",
|
10
|
+
"mediumFormat1"
|
11
|
+
],
|
12
|
+
"note": "note",
|
13
|
+
"identifier": {
|
14
|
+
"identifier": "identifier"
|
15
|
+
}
|
16
|
+
}]
|
@@ -0,0 +1,102 @@
|
|
1
|
+
[{
|
2
|
+
"metadataInfo": {
|
3
|
+
"metadataIdentifier": {
|
4
|
+
"identifier": "identifier"
|
5
|
+
},
|
6
|
+
"metadataDate": [{
|
7
|
+
"date": "2016-10-31",
|
8
|
+
"dateType": "creation"
|
9
|
+
}, {
|
10
|
+
"date": "2016-10-31",
|
11
|
+
"dateType": "dateType"
|
12
|
+
}, {
|
13
|
+
"date": "2016-10-31",
|
14
|
+
"dateType": "dateType"
|
15
|
+
}],
|
16
|
+
"metadataContact": [{
|
17
|
+
"role": "role",
|
18
|
+
"timePeriod": [{
|
19
|
+
"startDateTime": "2016-10-31"
|
20
|
+
}],
|
21
|
+
"party": [{
|
22
|
+
"contactId": "individualId0"
|
23
|
+
}]
|
24
|
+
}]
|
25
|
+
},
|
26
|
+
"resourceInfo": {
|
27
|
+
"resourceType": "resourceType",
|
28
|
+
"citation": {
|
29
|
+
"title": "title"
|
30
|
+
},
|
31
|
+
"abstract": "abstract",
|
32
|
+
"status": ["status"],
|
33
|
+
"pointOfContact": [{
|
34
|
+
"role": "role",
|
35
|
+
"timePeriod": [{
|
36
|
+
"startDateTime": "2016-10-14"
|
37
|
+
}],
|
38
|
+
"party": [{
|
39
|
+
"contactId": "individualId0"
|
40
|
+
}]
|
41
|
+
}],
|
42
|
+
"defaultResourceLocale": {
|
43
|
+
"language": "LanguageCode",
|
44
|
+
"country": "CountryCode",
|
45
|
+
"characterSet": "MD_CharacterSetCode"
|
46
|
+
}
|
47
|
+
},
|
48
|
+
"resourceLineage": [{
|
49
|
+
"statement": "statement"
|
50
|
+
},
|
51
|
+
{
|
52
|
+
"statement": "statement"
|
53
|
+
}
|
54
|
+
],
|
55
|
+
"resourceDistribution": [{
|
56
|
+
"description": "description"
|
57
|
+
},
|
58
|
+
{
|
59
|
+
"description": "description"
|
60
|
+
}
|
61
|
+
],
|
62
|
+
"associatedResource": [{
|
63
|
+
"resourceType": "resourceType",
|
64
|
+
"associationType": "associationType",
|
65
|
+
"resourceCitation": {
|
66
|
+
"title": "title"
|
67
|
+
}
|
68
|
+
},
|
69
|
+
{
|
70
|
+
"resourceType": "resourceType",
|
71
|
+
"associationType": "associationType",
|
72
|
+
"resourceCitation": {
|
73
|
+
"title": "title"
|
74
|
+
}
|
75
|
+
}
|
76
|
+
],
|
77
|
+
"additionalDocumentation": [{
|
78
|
+
"resourceType": "resourceType",
|
79
|
+
"citation": [{
|
80
|
+
"title": "title"
|
81
|
+
}]
|
82
|
+
},
|
83
|
+
{
|
84
|
+
"resourceType": "resourceType",
|
85
|
+
"citation": [{
|
86
|
+
"title": "title"
|
87
|
+
}]
|
88
|
+
}
|
89
|
+
],
|
90
|
+
"funding": [{
|
91
|
+
"allocation": [{
|
92
|
+
"amount": 9.9,
|
93
|
+
"currency": "currency"
|
94
|
+
}]
|
95
|
+
},
|
96
|
+
{
|
97
|
+
"timePeriod": {
|
98
|
+
"endDateTime": "2016-12-31"
|
99
|
+
}
|
100
|
+
}
|
101
|
+
]
|
102
|
+
}]
|
data/examples/metadataInfo.json
CHANGED
@@ -1,103 +1,70 @@
|
|
1
|
-
[
|
2
|
-
{
|
3
|
-
"
|
4
|
-
|
5
|
-
|
1
|
+
[{
|
2
|
+
"metadataIdentifier": {
|
3
|
+
"identifier": "identifier"
|
4
|
+
},
|
5
|
+
"parentMetadata": {
|
6
|
+
"title": "title"
|
7
|
+
},
|
8
|
+
"defaultMetadataLocale": {
|
9
|
+
"language": "language",
|
10
|
+
"country": "country",
|
11
|
+
"characterSet": "characterSet"
|
12
|
+
},
|
13
|
+
"otherMetadataLocale": [{
|
14
|
+
"language": "language",
|
15
|
+
"country": "country",
|
16
|
+
"characterSet": "characterSet"
|
17
|
+
}, {
|
18
|
+
"language": "language",
|
19
|
+
"country": "country",
|
20
|
+
"characterSet": "characterSet"
|
21
|
+
}],
|
22
|
+
"scope": [{
|
23
|
+
"scopeCode": "scopeCode"
|
24
|
+
}, {
|
25
|
+
"scopeCode": "scopeCode"
|
26
|
+
}],
|
27
|
+
"metadataContact": [{
|
28
|
+
"role": "role",
|
29
|
+
"timePeriod": [{
|
30
|
+
"startDateTime": "2016-10-31"
|
31
|
+
}],
|
32
|
+
"party": [{
|
33
|
+
"contactId": "individualId0"
|
34
|
+
}]
|
6
35
|
},
|
7
|
-
|
8
|
-
"
|
9
|
-
"
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
"dateType": "dateType2"
|
16
|
-
}
|
17
|
-
],
|
18
|
-
"edition": "edition",
|
19
|
-
"responsibleParty": [
|
20
|
-
{
|
21
|
-
"contactId": "contactId1",
|
22
|
-
"role": "role1"
|
23
|
-
}, {
|
24
|
-
"contactId": "contactId2",
|
25
|
-
"role": "role2"
|
26
|
-
}
|
27
|
-
],
|
28
|
-
"presentationForm": ["presentationForm1", "presentationForm2"],
|
29
|
-
"identifier": [
|
30
|
-
{
|
31
|
-
"identifier": "identifier1",
|
32
|
-
"type": "type1",
|
33
|
-
"authority": {
|
34
|
-
"title": "title",
|
35
|
-
"date": [
|
36
|
-
{
|
37
|
-
"date": "1111-11-11",
|
38
|
-
"dateType": "dateType1"
|
39
|
-
}
|
40
|
-
],
|
41
|
-
"responsibleParty": [
|
42
|
-
{
|
43
|
-
"contactId": "contactId1",
|
44
|
-
"role": "role1"
|
45
|
-
}
|
46
|
-
],
|
47
|
-
"onlineResource": [
|
48
|
-
{
|
49
|
-
"uri": "http://thisisanexample1.com",
|
50
|
-
"protocol": "protocol1",
|
51
|
-
"name": "name1",
|
52
|
-
"description": "description1",
|
53
|
-
"function": "function1"
|
54
|
-
}
|
55
|
-
]
|
56
|
-
}
|
57
|
-
}
|
58
|
-
],
|
59
|
-
"onlineResource": [
|
60
|
-
{
|
61
|
-
"uri": "http://thisisanexample1.com",
|
62
|
-
"protocol": "protocol1",
|
63
|
-
"name": "name1",
|
64
|
-
"description": "description1",
|
65
|
-
"function": "function1"
|
66
|
-
}, {
|
67
|
-
"uri": "http://thisisanexample2.com",
|
68
|
-
"protocol": "protocol2",
|
69
|
-
"name": "name2",
|
70
|
-
"description": "description2",
|
71
|
-
"function": "function2"
|
72
|
-
}
|
73
|
-
]
|
74
|
-
},
|
75
|
-
"metadataContact": [
|
76
|
-
{
|
77
|
-
"contactId": "contactId1",
|
78
|
-
"role": "role1"
|
79
|
-
}, {
|
80
|
-
"contactId": "contactId2",
|
81
|
-
"role": "role2"
|
82
|
-
}
|
83
|
-
],
|
84
|
-
"metadataCreationDate": "1111-11-11",
|
85
|
-
"metadataLastUpdate": "1111-11-11",
|
86
|
-
"metadataCharacterSet": "metadataCharacterSet",
|
87
|
-
"metadataUri": "http://thisisanexample.com",
|
88
|
-
"metadataStatus": "metadataStatus",
|
89
|
-
"metadataMaintenance": {
|
90
|
-
"maintenanceFrequency": "maintenanceFrequency",
|
91
|
-
"maintenanceNote": ["maintenanceNote1", "maintenanceNote2"],
|
92
|
-
"maintenanceContact": [
|
93
|
-
{
|
94
|
-
"contactId": "contactId1",
|
95
|
-
"role": "role1"
|
96
|
-
}, {
|
97
|
-
"contactId": "contactId2",
|
98
|
-
"role": "role2"
|
99
|
-
}
|
100
|
-
]
|
36
|
+
{
|
37
|
+
"role": "role",
|
38
|
+
"timePeriod": [{
|
39
|
+
"startDateTime": "2016-10-31"
|
40
|
+
}],
|
41
|
+
"party": [{
|
42
|
+
"contactId": "individualId0"
|
43
|
+
}]
|
101
44
|
}
|
102
|
-
|
103
|
-
|
45
|
+
],
|
46
|
+
"metadataDate": [{
|
47
|
+
"date": "2016-10-31",
|
48
|
+
"dateType": "creation"
|
49
|
+
}, {
|
50
|
+
"date": "2016-10-31",
|
51
|
+
"dateType": "dateType"
|
52
|
+
}, {
|
53
|
+
"date": "2016-10-31",
|
54
|
+
"dateType": "dateType"
|
55
|
+
}],
|
56
|
+
"metadataOnlineResource": [{
|
57
|
+
"uri": "http://adiwg.org"
|
58
|
+
}, {
|
59
|
+
"uri": "http://adiwg.org"
|
60
|
+
}],
|
61
|
+
"metadataMaintenance": {
|
62
|
+
"frequency": "frequency"
|
63
|
+
},
|
64
|
+
"alternateMetadataReference": [{
|
65
|
+
"title": "title"
|
66
|
+
}, {
|
67
|
+
"title": "title"
|
68
|
+
}],
|
69
|
+
"metadataStatus": "metadataStatus"
|
70
|
+
}]
|
@@ -1,17 +1,13 @@
|
|
1
|
-
[
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
}, {
|
15
|
-
"uri": "http://arcticlcc.org"
|
16
|
-
}
|
17
|
-
]
|
1
|
+
[{
|
2
|
+
"uri": "http://URI.example.com",
|
3
|
+
"protocol": "protocol",
|
4
|
+
"name": "name",
|
5
|
+
"description": "description",
|
6
|
+
"function": "function"
|
7
|
+
}, {
|
8
|
+
"uri": "https://www.amazon.com/Kindle-eBooks",
|
9
|
+
"protocol": "HTTP",
|
10
|
+
"name": "Kindle Books",
|
11
|
+
"description": "Home for Amazon Kindle eBooks",
|
12
|
+
"function": "sales"
|
13
|
+
}]
|
data/examples/party.json
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
[{
|
2
|
+
"contactId": "individualId0"
|
3
|
+
},
|
4
|
+
{
|
5
|
+
"contactId": "organizationId0",
|
6
|
+
"organizationMembers": [
|
7
|
+
"individualId0",
|
8
|
+
"individualId1"
|
9
|
+
]
|
10
|
+
},
|
11
|
+
{
|
12
|
+
"contactId": "individualId9"
|
13
|
+
},
|
14
|
+
{
|
15
|
+
"contactId": "organizationId0",
|
16
|
+
"organizationMembers": [
|
17
|
+
"individualId1",
|
18
|
+
"individualId9"
|
19
|
+
]
|
20
|
+
}
|
21
|
+
]
|
data/examples/phone.json
ADDED
@@ -0,0 +1,34 @@
|
|
1
|
+
[{
|
2
|
+
"stepId": "stepId",
|
3
|
+
"description": "description",
|
4
|
+
"rationale": "rationale",
|
5
|
+
"timePeriod": {
|
6
|
+
"startDateTime": "2016-10-15"
|
7
|
+
},
|
8
|
+
"processor": [{
|
9
|
+
"role": "role",
|
10
|
+
"roleExtent": {
|
11
|
+
"description": "description"
|
12
|
+
},
|
13
|
+
"party": [{
|
14
|
+
"contactId": "individualId0"
|
15
|
+
}]
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"role": "role",
|
19
|
+
"roleExtent": {
|
20
|
+
"description": "description"
|
21
|
+
},
|
22
|
+
"party": [{
|
23
|
+
"contactId": "individualId0"
|
24
|
+
}]
|
25
|
+
}
|
26
|
+
],
|
27
|
+
"reference": [{
|
28
|
+
"title": "title"
|
29
|
+
},
|
30
|
+
{
|
31
|
+
"title": "title"
|
32
|
+
}
|
33
|
+
]
|
34
|
+
}]
|