adiwg-mdjson_schemas 2.0.0.pre.alpha.1 → 2.0.0.pre.alpha.2
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/address.json +1 -0
- data/examples/allocation.json +8 -12
- data/examples/computedBbox.json +363 -376
- data/examples/legalConstraint.json +14 -21
- data/examples/locale.json +11 -14
- data/examples/phone.json +5 -9
- data/examples/securityConstraint.json +6 -13
- data/examples/series.json +5 -9
- data/examples/timeInterval.json +4 -8
- data/lib/adiwg/mdjson_schemas/version.rb +1 -1
- data/schema/additionalDocumentation.json +1 -0
- data/schema/associatedResource.json +44 -44
- data/schema/attribute.json +2 -3
- data/schema/attributeGroup.json +1 -1
- data/schema/bbox.json +1 -0
- data/schema/citation.json +4 -5
- data/schema/common.json +1 -2
- data/schema/constraint.json +7 -12
- data/schema/contact.json +13 -14
- data/schema/coverageDescription.json +1 -3
- data/schema/dataDictionary.json +1 -3
- data/schema/distribution.json +2 -5
- data/schema/distributor.json +1 -2
- data/schema/domain.json +2 -1
- data/schema/entity.json +8 -8
- data/schema/extent.json +1 -1
- data/schema/format.json +12 -13
- data/schema/funding.json +41 -35
- data/schema/geographicExtent.json +5 -10
- data/schema/geojson.json +63 -71
- data/schema/geometry.json +125 -132
- data/schema/georectifiedRepresentation.json +1 -9
- data/schema/georeferencableRepresentation.json +41 -45
- data/schema/graphic.json +1 -2
- data/schema/gridRepresentation.json +1 -1
- data/schema/identifier.json +1 -1
- data/schema/imageDescription.json +1 -1
- data/schema/keyword.json +15 -12
- data/schema/lineage.json +3 -9
- data/schema/locale.json +2 -2
- data/schema/maintInfo.json +14 -17
- data/schema/measure.json +5 -8
- data/schema/medium.json +1 -0
- data/schema/metadata.json +1 -5
- data/schema/metadataInfo.json +1 -4
- data/schema/onlineResource.json +2 -2
- data/schema/orderProcess.json +1 -1
- data/schema/releasability.json +4 -6
- data/schema/resourceInfo.json +1 -2
- data/schema/responsibility.json +1 -3
- data/schema/schema.json +2 -4
- data/schema/scope.json +1 -5
- data/schema/spatialReference.json +3 -5
- data/schema/spatialRepresentation.json +5 -6
- data/schema/spatialResolution.json +4 -4
- data/schema/taxonomy.json +4 -7
- data/schema/temporalExtent.json +1 -0
- data/schema/timeInstant.json +2 -4
- data/schema/timePeriod.json +6 -10
- data/schema/transferOption.json +7 -10
- data/schema/usage.json +2 -4
- data/schema/vectorRepresentation.json +42 -45
- data/schema/verticalExtent.json +2 -3
- data/test/tc_allocation.rb +8 -0
- data/test/tc_geographicExtent.rb +4 -0
- data/test/tc_legalConstraint.rb +8 -0
- data/test/tc_locale.rb +8 -0
- data/test/tc_phone.rb +8 -0
- data/test/tc_securityConstraint.rb +8 -0
- data/test/tc_series.rb +8 -0
- data/test/tc_timePeriod.rb +4 -0
- metadata +14 -6
- data/examples/gmlIdentifier.json +0 -8
- data/examples/keywordObject.json +0 -12
- data/examples/schema.json +0 -8
- data/examples/scopeDescription.json +0 -8
@@ -1,21 +1,14 @@
|
|
1
|
-
{
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
"otherConstraint0",
|
16
|
-
"otherConstraint1"
|
17
|
-
]
|
18
|
-
}
|
19
|
-
}
|
20
|
-
]
|
21
|
-
}
|
1
|
+
[{
|
2
|
+
"useConstraint": [
|
3
|
+
"useConstraint0",
|
4
|
+
"useConstraint1"
|
5
|
+
],
|
6
|
+
"accessConstraint": [
|
7
|
+
"accessConstraint0",
|
8
|
+
"accessConstraint1"
|
9
|
+
],
|
10
|
+
"otherConstraint": [
|
11
|
+
"otherConstraint0",
|
12
|
+
"otherConstraint1"
|
13
|
+
]
|
14
|
+
}]
|
data/examples/locale.json
CHANGED
@@ -1,14 +1,11 @@
|
|
1
|
-
{
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
}
|
13
|
-
]
|
14
|
-
}
|
1
|
+
[{
|
2
|
+
"language": "language1",
|
3
|
+
"country": "country1",
|
4
|
+
"characterSet": "characterSet1"
|
5
|
+
},
|
6
|
+
{
|
7
|
+
"language": "rar",
|
8
|
+
"country": "COK",
|
9
|
+
"characterSet": "UTF-8"
|
10
|
+
}
|
11
|
+
]
|
data/examples/phone.json
CHANGED
@@ -1,9 +1,5 @@
|
|
1
|
-
{
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
"service": ["service0", "service1", "service2"]
|
7
|
-
}
|
8
|
-
]
|
9
|
-
}
|
1
|
+
[{
|
2
|
+
"phoneName": "phoneName",
|
3
|
+
"phoneNumber": "111-111-1111",
|
4
|
+
"service": ["service0", "service1", "service2"]
|
5
|
+
}]
|
@@ -1,13 +1,6 @@
|
|
1
|
-
{
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
"classificationSystem": "classificationSystem",
|
8
|
-
"userNote": "userNote",
|
9
|
-
"handlingDescription": "handlingDescription"
|
10
|
-
}
|
11
|
-
}
|
12
|
-
]
|
13
|
-
}
|
1
|
+
[{
|
2
|
+
"classification": "classification",
|
3
|
+
"classificationSystem": "classificationSystem",
|
4
|
+
"userNote": "userNote",
|
5
|
+
"handlingDescription": "handlingDescription"
|
6
|
+
}]
|
data/examples/series.json
CHANGED
data/examples/timeInterval.json
CHANGED
@@ -8,6 +8,7 @@
|
|
8
8
|
"ISO 19115-2": ["MD_DataIdentification > aggregationInfo > MD_AggregateInformation > aggregateDataSetName > CI_Citation"],
|
9
9
|
"FGDC CSDGM": ["idinfo > crossref "]
|
10
10
|
},
|
11
|
+
"example": "../examples/additionalDocumentation.json",
|
11
12
|
"required": ["citation"],
|
12
13
|
"properties": {
|
13
14
|
"resourceType": {
|
@@ -1,49 +1,49 @@
|
|
1
1
|
{
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
2
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
3
|
+
"id": "associatedResource.json#",
|
4
|
+
"type": "object",
|
5
|
+
"title": "associatedResource",
|
6
|
+
"description": "Other resources which are directly related to the subject resource such as parent, child, or sibling datasets or projects.",
|
7
|
+
"example": "../examples/associatedResource.json",
|
8
|
+
"translation": {
|
9
|
+
"ISO 19115-2": ["MD_DataIdentification > aggregationInfo > MD_AggregateInformation"],
|
10
|
+
"FGDC CSDGM": ["idinfo > crossref"]
|
11
|
+
},
|
12
|
+
"required": ["associationType", "resourceType", "resourceCitation"],
|
13
|
+
"additionalProperties": true,
|
14
|
+
"properties": {
|
15
|
+
"associationType": {
|
16
|
+
"type": "string",
|
17
|
+
"description": "Identifies how the associated resource is related to the subject resource such as 'is a component of', 'larger work citation', 'cross reference', etc.",
|
18
|
+
"translation": {
|
19
|
+
"ISO 19115-2": ["MD_AggregateInformation > associationType [DS_AssociationTypeCode]"]
|
20
|
+
}
|
11
21
|
},
|
12
|
-
"
|
13
|
-
|
14
|
-
|
15
|
-
"
|
16
|
-
"
|
17
|
-
"description": "Identifies how the associated resource is related to the subject resource such as 'is a component of', 'larger work citation', 'cross reference', etc.",
|
18
|
-
"translation": {
|
19
|
-
"ISO 19115-2": ["MD_AggregateInformation > associationType [DS_AssociationTypeCode]"]
|
20
|
-
}
|
21
|
-
},
|
22
|
-
"initiativeType": {
|
23
|
-
"type": "string",
|
24
|
-
"description": "Identifies type of initiative under which the resource was produced - the activity that resulted in the resource.",
|
25
|
-
"translation": {
|
26
|
-
"ISO 19115-2": ["MD_AggregateInformation > initiativeType > [DS_InitiativeTypeCode]"]
|
27
|
-
}
|
28
|
-
},
|
29
|
-
"resourceType": {
|
30
|
-
"type": "string",
|
31
|
-
"description": "Identifies the type of resource, such as: a dataset, study, publication, etc.",
|
32
|
-
"translation": {
|
33
|
-
"ISO 19115-2": ["[MD_ScopeCode]"]
|
34
|
-
}
|
35
|
-
},
|
36
|
-
"resourceCitation": {
|
37
|
-
"description": "Citation for the associated resource.",
|
38
|
-
"translation": {
|
39
|
-
"ISO 19115-2": ["MD_AggregateInformation > aggregateDataSetName > CI_Citation"],
|
40
|
-
"FGDC CSDGM": ["idinfo > crossref > citeinfo"]
|
41
|
-
},
|
42
|
-
"$ref": "./citation.json#"
|
43
|
-
},
|
44
|
-
"metadataCitation": {
|
45
|
-
"description": "Citation for the associated resource metadata.",
|
46
|
-
"$ref": "./citation.json#"
|
22
|
+
"initiativeType": {
|
23
|
+
"type": "string",
|
24
|
+
"description": "Identifies type of initiative under which the resource was produced - the activity that resulted in the resource.",
|
25
|
+
"translation": {
|
26
|
+
"ISO 19115-2": ["MD_AggregateInformation > initiativeType > [DS_InitiativeTypeCode]"]
|
47
27
|
}
|
28
|
+
},
|
29
|
+
"resourceType": {
|
30
|
+
"type": "string",
|
31
|
+
"description": "Identifies the type of resource, such as: a dataset, study, publication, etc.",
|
32
|
+
"translation": {
|
33
|
+
"ISO 19115-2": ["[MD_ScopeCode]"]
|
34
|
+
}
|
35
|
+
},
|
36
|
+
"resourceCitation": {
|
37
|
+
"description": "Citation for the associated resource.",
|
38
|
+
"translation": {
|
39
|
+
"ISO 19115-2": ["MD_AggregateInformation > aggregateDataSetName > CI_Citation"],
|
40
|
+
"FGDC CSDGM": ["idinfo > crossref > citeinfo"]
|
41
|
+
},
|
42
|
+
"$ref": "./citation.json#"
|
43
|
+
},
|
44
|
+
"metadataCitation": {
|
45
|
+
"description": "Citation for the associated resource metadata.",
|
46
|
+
"$ref": "./citation.json#"
|
48
47
|
}
|
48
|
+
}
|
49
49
|
}
|
data/schema/attribute.json
CHANGED
@@ -4,6 +4,7 @@
|
|
4
4
|
"type": "object",
|
5
5
|
"title": "",
|
6
6
|
"description": "",
|
7
|
+
"example":"../examples/attribute.json",
|
7
8
|
"required": [],
|
8
9
|
"dependencies": {
|
9
10
|
"minValue": ["units"],
|
@@ -38,11 +39,9 @@
|
|
38
39
|
"attributeIdentifier": {
|
39
40
|
"type": "array",
|
40
41
|
"description": "Identifiers for each attribute included in the resource. NOTE: These identifiers can be used to provide names for the attribute from a standard set of names.",
|
41
|
-
"example": "",
|
42
42
|
"translation": {},
|
43
43
|
"items": {
|
44
|
-
"$ref": "./identifier.json#"
|
45
|
-
"example": ""
|
44
|
+
"$ref": "./identifier.json#"
|
46
45
|
}
|
47
46
|
},
|
48
47
|
"minValue": {
|
data/schema/attributeGroup.json
CHANGED
@@ -3,6 +3,7 @@
|
|
3
3
|
"id": "attributeGroup.json#",
|
4
4
|
"type": "object",
|
5
5
|
"description": "Information about groups of attributes describing a coverage.",
|
6
|
+
"example":"../examples/attributeGroup.json",
|
6
7
|
"required": ["attributeContentType"],
|
7
8
|
"additionalProperties": true,
|
8
9
|
"properties": {
|
@@ -19,7 +20,6 @@
|
|
19
20
|
"attribute": {
|
20
21
|
"type": "array",
|
21
22
|
"description": "",
|
22
|
-
"example": "",
|
23
23
|
"translation": {},
|
24
24
|
"items": {
|
25
25
|
"$ref": "./attribute.json#"
|
data/schema/bbox.json
CHANGED
@@ -6,6 +6,7 @@
|
|
6
6
|
"ISO 19115-2": ["EX_Extent > geographicElement > EX_GeographicBoundingBox, EX_GeographicBoundingBox > westBoundLongitude > Decimal {west}, EX_GeographicBoundingBox > eastBoundLongitude > Decimal {east}, EX_GeographicBoundingBox > southBoundLatitude > Decimal {south}, EX_GeographicBoundingBox > northBoundLatitude > Decimal {north}"],
|
7
7
|
"FGDC CSDGM": ["[idinfo > spdom > bounding > westbc], [idinfo > spdom > bounding > eastbc], [idinfo > spdom > bounding > northbc], [idinfo > spdom > bounding > southbc]"]
|
8
8
|
},
|
9
|
+
"example":"../examples/boundingBox.json",
|
9
10
|
"type": "array",
|
10
11
|
"minItems": 4,
|
11
12
|
"items": {
|
data/schema/citation.json
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
"title": "citation",
|
6
6
|
"description": "A citation object.",
|
7
7
|
"required": ["title"],
|
8
|
-
"example": "",
|
8
|
+
"example": "../examples/citation.json",
|
9
9
|
"translation": {
|
10
10
|
"FGDC CSDGM": ["idinfo > citation > citeinfo"],
|
11
11
|
"ISO 19115-2": ["CI_Citation"]
|
@@ -38,7 +38,7 @@
|
|
38
38
|
"minItems": 1,
|
39
39
|
"items": {
|
40
40
|
"type": "object",
|
41
|
-
"example":
|
41
|
+
"example":"../examples/date.json",
|
42
42
|
"required": ["date", "dateType"],
|
43
43
|
"properties": {
|
44
44
|
"date": {
|
@@ -106,7 +106,6 @@
|
|
106
106
|
"otherCitationDetails": {
|
107
107
|
"type": "array",
|
108
108
|
"description": "Other information required to complete the citation that is not recorded elsewhere.",
|
109
|
-
"example": "",
|
110
109
|
"translation": {},
|
111
110
|
"items": {
|
112
111
|
"type": "string"
|
@@ -125,7 +124,6 @@
|
|
125
124
|
"graphic": {
|
126
125
|
"type": "array",
|
127
126
|
"description": "Online graphic associated with the citation",
|
128
|
-
"example": "",
|
129
127
|
"translation": {},
|
130
128
|
"items": {
|
131
129
|
"$ref": "./graphic.json#"
|
@@ -135,8 +133,9 @@
|
|
135
133
|
"definitions": {
|
136
134
|
"series": {
|
137
135
|
"type": "object",
|
136
|
+
"title": "series",
|
138
137
|
"description": "Information about the series, or aggregate resource, to which a resource belongs.",
|
139
|
-
"example": "",
|
138
|
+
"example": "../series.json",
|
140
139
|
"translation": {},
|
141
140
|
"minProperties": 1,
|
142
141
|
"additionalProperties": true,
|
data/schema/common.json
CHANGED
@@ -25,7 +25,7 @@
|
|
25
25
|
"dateObject": {
|
26
26
|
"type": "object",
|
27
27
|
"description": "An ISO 8601 date/timestamp and type.",
|
28
|
-
"example": "",
|
28
|
+
"example": "../examples/date.json",
|
29
29
|
"required": ["date", "dateType"],
|
30
30
|
"additionalProperties": true,
|
31
31
|
"properties": {
|
@@ -35,7 +35,6 @@
|
|
35
35
|
"dateType": {
|
36
36
|
"type": "string",
|
37
37
|
"description": "The type of date.",
|
38
|
-
"example": "",
|
39
38
|
"translation": {},
|
40
39
|
"minLength": 1
|
41
40
|
},
|
data/schema/constraint.json
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
"id": "constraint.json#",
|
3
3
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
4
4
|
"description": "schema for resource constraint",
|
5
|
-
"example":
|
5
|
+
"example":"../examples/constraint.json",
|
6
6
|
"anyOf": [{
|
7
7
|
"type": "object",
|
8
8
|
"title": "useLimitation is required",
|
@@ -30,27 +30,25 @@
|
|
30
30
|
"type": {
|
31
31
|
"type": "string",
|
32
32
|
"description": "Indicates the type of constraint.",
|
33
|
-
"example": "",
|
34
33
|
"enum": ["use", "legal", "security"]
|
35
34
|
},
|
36
35
|
"useLimitation": {
|
37
36
|
"type": "array",
|
38
37
|
"description": "Limitation affecting the fitness for use of the resource or metadata. For example, \"not to be used for navigation\".",
|
39
|
-
"example": "",
|
40
38
|
"translation": {
|
41
39
|
"ISO 19115-2": ["MD_Constraints > useLimitation"]
|
42
40
|
},
|
43
|
-
"items": {
|
41
|
+
"items": {
|
42
|
+
"type": "string"
|
43
|
+
}
|
44
44
|
},
|
45
45
|
"scope": {
|
46
46
|
"description": "temporal extent and or level of the application of the constraint restrictions.",
|
47
|
-
"example": "",
|
48
47
|
"$ref": "./scope.json#"
|
49
48
|
},
|
50
49
|
"graphic": {
|
51
50
|
"type": "array",
|
52
51
|
"description": "Graphic or symbol indicating the constraint",
|
53
|
-
"example": "",
|
54
52
|
"items": {
|
55
53
|
"$ref": "./graphic.json#"
|
56
54
|
}
|
@@ -58,7 +56,6 @@
|
|
58
56
|
"reference": {
|
59
57
|
"type": "array",
|
60
58
|
"description": "Citation for the limitation or constraint",
|
61
|
-
"example": "",
|
62
59
|
"translation": {},
|
63
60
|
"items": {
|
64
61
|
"$ref": "./citation.json#"
|
@@ -66,13 +63,11 @@
|
|
66
63
|
},
|
67
64
|
"releasability": {
|
68
65
|
"$ref": "./releasability.json#",
|
69
|
-
"description": "Information concerning the parties to who the resource can or cannot be released."
|
70
|
-
"example": ""
|
66
|
+
"description": "Information concerning the parties to who the resource can or cannot be released."
|
71
67
|
},
|
72
68
|
"responsibleParty": {
|
73
69
|
"type": "array",
|
74
70
|
"description": "Entity responsible for the resource constraint",
|
75
|
-
"example": "",
|
76
71
|
"translation": {},
|
77
72
|
"items": {
|
78
73
|
"$ref": "./responsibility.json#"
|
@@ -92,7 +87,7 @@
|
|
92
87
|
"legalConstraint": {
|
93
88
|
"type": "object",
|
94
89
|
"description": "Restrictions and legal prerequisites for accessing and using the resource or metadata.",
|
95
|
-
"example":
|
90
|
+
"example":"../examples/legalConstraint.json",
|
96
91
|
"translation": {
|
97
92
|
"ISO 19115-2": ["MD_LegalConstraints"]
|
98
93
|
},
|
@@ -136,7 +131,7 @@
|
|
136
131
|
"securityConstraint": {
|
137
132
|
"type": "object",
|
138
133
|
"description": "Handling restrictions imposed on the resource or metadata for national security or similar security concerns.",
|
139
|
-
"example":
|
134
|
+
"example":"../examples/securityConstraint.json",
|
140
135
|
"translation": {
|
141
136
|
"ISO 19115-2": ["MD_SecurityConstraints"]
|
142
137
|
},
|
data/schema/contact.json
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
"ISO 19115-2": ["Contact > CI_ResponsibleParty"],
|
7
7
|
"FGDC CSDGM": ["cntinfo"]
|
8
8
|
},
|
9
|
-
"example": "
|
9
|
+
"example": "../examples/contact.json",
|
10
10
|
"type": "object",
|
11
11
|
"title": "contact",
|
12
12
|
"required": ["contactId", "name", "isOrganization"],
|
@@ -14,8 +14,7 @@
|
|
14
14
|
"properties": {
|
15
15
|
"contactId": {
|
16
16
|
"type": "string",
|
17
|
-
"description": "Unique identifier for the contact."
|
18
|
-
"example": "../../examples/full_example.json#/contact/1"
|
17
|
+
"description": "Unique identifier for the contact."
|
19
18
|
},
|
20
19
|
"isOrganization": {
|
21
20
|
"type": "boolean",
|
@@ -23,7 +22,6 @@
|
|
23
22
|
},
|
24
23
|
"name": {
|
25
24
|
"type": "string",
|
26
|
-
"example": "",
|
27
25
|
"description": "",
|
28
26
|
"translation": {
|
29
27
|
"ISO 19115-2": ["CI_ResponsibleParty > individualName",
|
@@ -36,7 +34,6 @@
|
|
36
34
|
},
|
37
35
|
"positionName": {
|
38
36
|
"type": "string",
|
39
|
-
"example": "../../examples/full_example.json#/contact/1",
|
40
37
|
"description": "Role or position of the person, usually within a given organization.",
|
41
38
|
"translation": {
|
42
39
|
"ISO 19115-2": ["CI_ResponsibleParty > positionName"],
|
@@ -53,7 +50,6 @@
|
|
53
50
|
"logoGraphic": {
|
54
51
|
"type": "array",
|
55
52
|
"description": "Logo for contact.",
|
56
|
-
"example": "../../examples/",
|
57
53
|
"translation": {
|
58
54
|
"ISO 19115-2": [""],
|
59
55
|
"FGDC CSDGM": [""]
|
@@ -65,7 +61,6 @@
|
|
65
61
|
"phone": {
|
66
62
|
"type": "array",
|
67
63
|
"description": "Supplemental instructions on how or when to contact the individual or organization.",
|
68
|
-
"example": "../../examples/full_example.json#/contact/1",
|
69
64
|
"translation": {
|
70
65
|
"ISO 19115-2": ["CI_Contact > contactInstructions"],
|
71
66
|
"FGDC CSDGM": ["cntinfo > cntinst"]
|
@@ -77,7 +72,6 @@
|
|
77
72
|
"address": {
|
78
73
|
"type": "array",
|
79
74
|
"description": "Addresses for this contact.",
|
80
|
-
"example": "../../examples/address.json",
|
81
75
|
"items": {
|
82
76
|
"$ref": "#/definitions/address"
|
83
77
|
}
|
@@ -85,7 +79,6 @@
|
|
85
79
|
"onlineResource": {
|
86
80
|
"type": "array",
|
87
81
|
"description": "Information about accessing on-line resources and services. This may be a website, profile page, GitHub page, etc. related to the contact.",
|
88
|
-
"example": "../../examples/full_example.json#/contact/1",
|
89
82
|
"translation": {
|
90
83
|
"ISO 19115-2": [
|
91
84
|
"CI_ResponsibleParty > contactInfo > CI_Contact > onlineResource > CI_OnlineResource"
|
@@ -106,7 +99,6 @@
|
|
106
99
|
"contactInstructions": {
|
107
100
|
"type": "string",
|
108
101
|
"description": "Supplemental instructions on how or when to contact the individual or organization.",
|
109
|
-
"example": "../../examples/full_example.json#/contact/1",
|
110
102
|
"translation": {
|
111
103
|
"ISO 19115-2": ["CI_Contact > contactInstructions"],
|
112
104
|
"FGDC CSDGM": ["cntinfo > cntinst"]
|
@@ -114,8 +106,7 @@
|
|
114
106
|
},
|
115
107
|
"contactType": {
|
116
108
|
"type": "string",
|
117
|
-
"description": "User defined contact type."
|
118
|
-
"example": "../../examples/"
|
109
|
+
"description": "User defined contact type."
|
119
110
|
}
|
120
111
|
},
|
121
112
|
"not": {
|
@@ -132,7 +123,7 @@
|
|
132
123
|
"definitions": {
|
133
124
|
"phone": {
|
134
125
|
"type": "object",
|
135
|
-
"example":
|
126
|
+
"example":"../examples/phone.json",
|
136
127
|
"required": ["phoneNumber"],
|
137
128
|
"properties": {
|
138
129
|
"phoneName": {
|
@@ -161,7 +152,7 @@
|
|
161
152
|
},
|
162
153
|
"address": {
|
163
154
|
"type": "object",
|
164
|
-
"example":
|
155
|
+
"example":"../examples/address.json",
|
165
156
|
"description": "Physical and email address at which the organization or individual may be contacted.",
|
166
157
|
"translation": {
|
167
158
|
"ISO 19115-2": [
|
@@ -170,6 +161,14 @@
|
|
170
161
|
"FGDC CSDGM": ["cntinfo > cntaddr"]
|
171
162
|
},
|
172
163
|
"properties": {
|
164
|
+
"addressType":{
|
165
|
+
"type" : "array",
|
166
|
+
"description" : "The type of address, usually mailing and/or physical.",
|
167
|
+
"translation": {},
|
168
|
+
"items" : {
|
169
|
+
"type": "string"
|
170
|
+
}
|
171
|
+
},
|
173
172
|
"deliveryPoint": {
|
174
173
|
"type": "array",
|
175
174
|
"description": "Address line for the location.",
|
@@ -2,7 +2,7 @@
|
|
2
2
|
"id": "coverageDescription.json#",
|
3
3
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
4
4
|
"type": "object",
|
5
|
-
"example":
|
5
|
+
"example":"../examples/coverageDescription.json",
|
6
6
|
"description": "Details about the content of a raster resource.",
|
7
7
|
"translation": {
|
8
8
|
"ISO 19115-2": ["MI_Metadata > contentInfo"]
|
@@ -26,7 +26,6 @@
|
|
26
26
|
},
|
27
27
|
"processingLevelCode": {
|
28
28
|
"description": "Code that identifies the level of radiometric and geometric processing that has been applied.",
|
29
|
-
"example": "",
|
30
29
|
"translation": {
|
31
30
|
"ISO 19115-2": ["MI_ImageDescription > processingLevelCode > RS_Identifier"]
|
32
31
|
},
|
@@ -35,7 +34,6 @@
|
|
35
34
|
"attributeGroup": {
|
36
35
|
"type": "array",
|
37
36
|
"description": "Information about groups of attributes describing a coverage.",
|
38
|
-
"example": "",
|
39
37
|
"translation": {},
|
40
38
|
"items": {
|
41
39
|
"$ref": "./attributeGroup.json#"
|
data/schema/dataDictionary.json
CHANGED
@@ -3,13 +3,12 @@
|
|
3
3
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
4
4
|
"type": "object",
|
5
5
|
"description": "A catalogue containing definitions and descriptions of the resource types, resource attributes, and resource associations.",
|
6
|
-
"example":
|
6
|
+
"example":"../examples/dictionary.json",
|
7
7
|
"required": ["subject", "citation", "responsibleParty"],
|
8
8
|
"additionalProperties": true,
|
9
9
|
"properties": {
|
10
10
|
"citation": {
|
11
11
|
"description": "Citation for the dictionary.",
|
12
|
-
"example": "",
|
13
12
|
"$ref": "./citation.json#"
|
14
13
|
},
|
15
14
|
"subject": {
|
@@ -59,7 +58,6 @@
|
|
59
58
|
"domain": {
|
60
59
|
"type": "array",
|
61
60
|
"description": "A list of permissable values used to constrain an attribute's value. A single domain may be assigned to multiple attributes in a table or database.",
|
62
|
-
"example": "",
|
63
61
|
"items": {
|
64
62
|
"$ref": "./domain.json#"
|
65
63
|
}
|
data/schema/distribution.json
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
"type": "object",
|
5
5
|
"title": "distribution",
|
6
6
|
"description": "Information about the distributor of and options for obtaining the resource.",
|
7
|
-
"example":
|
7
|
+
"example":"../examples/distribution.json",
|
8
8
|
"translation": {
|
9
9
|
"ISO 19115-2": ["MD_Metadata > distribution > MD_Distribution"],
|
10
10
|
"FGDC CSDGM": ["distinfo"]
|
@@ -14,7 +14,6 @@
|
|
14
14
|
"description": {
|
15
15
|
"type": "string",
|
16
16
|
"description": "A description of a set of distribution options.",
|
17
|
-
"example": "",
|
18
17
|
"translation": {}
|
19
18
|
},
|
20
19
|
"distributor": {
|
@@ -24,11 +23,9 @@
|
|
24
23
|
"ISO 19115-2": ["MD_Distribution"],
|
25
24
|
"FGDC CSDGM": ["distinfo"]
|
26
25
|
},
|
27
|
-
"example": "",
|
28
26
|
"items": {
|
29
27
|
"$ref": "./distributor.json#",
|
30
|
-
"description": "Information about the distributor of and options for obtaining the resource."
|
31
|
-
"example": ""
|
28
|
+
"description": "Information about the distributor of and options for obtaining the resource."
|
32
29
|
}
|
33
30
|
}
|
34
31
|
}
|
data/schema/distributor.json
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
4
4
|
"type": "object",
|
5
5
|
"title": "distributor",
|
6
|
-
"example":
|
6
|
+
"example":"../examples/distributor.json",
|
7
7
|
"description": "Information about the distributor of and options for obtaining the resource.",
|
8
8
|
"translation": {
|
9
9
|
"ISO 19115-2": ["MD_Distribution"],
|
@@ -32,7 +32,6 @@
|
|
32
32
|
},
|
33
33
|
"transferOption": {
|
34
34
|
"type": "array",
|
35
|
-
"example": "",
|
36
35
|
"description": "Describes method and media by which a resource is obtained from the distributor.",
|
37
36
|
"translation": {
|
38
37
|
"ISO 19115-2": ["MD_Distributor > distributorTransferOptions"],
|