adiwg-mdjson_schemas 1.0.0rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +18 -0
- data/.travis.yml +7 -0
- data/CREDITS +3 -0
- data/Gemfile +4 -0
- data/LICENSE +24 -0
- data/README.md +36 -0
- data/Rakefile +12 -0
- data/adiwg-json_schemas.gemspec +25 -0
- data/examples/additionalDocumentation.json +61 -0
- data/examples/address.json +10 -0
- data/examples/associatedResource.json +119 -0
- data/examples/citation.json +128 -0
- data/examples/contact.json +205 -0
- data/examples/contactRef.json +12 -0
- data/examples/dataDictionary.json +547 -0
- data/examples/dataQuality.json +272 -0
- data/examples/date.json +19 -0
- data/examples/distributor.json +113 -0
- data/examples/extent_linestring.json +288 -0
- data/examples/extent_point.json +246 -0
- data/examples/extent_polygon.json +353 -0
- data/examples/format.json +14 -0
- data/examples/full_example.json +2844 -0
- data/examples/full_example2.json +2325 -0
- data/examples/geojson.json +446 -0
- data/examples/graphicOverview.json +28 -0
- data/examples/hierarchyLevel.json +90 -0
- data/examples/keywords.json +144 -0
- data/examples/lcc_project_example.json +326 -0
- data/examples/legalConstraints.json +17 -0
- data/examples/maintInfo.json +34 -0
- data/examples/metadataInfo.json +103 -0
- data/examples/minimum_example.json +35 -0
- data/examples/onlineResource.json +17 -0
- data/examples/resolution.json +9 -0
- data/examples/resourceInfo.json +1264 -0
- data/examples/resourceMaintenance.json +10 -0
- data/examples/securityConstraints.json +13 -0
- data/examples/spatialRef.json +14 -0
- data/examples/taxonomy.json +197 -0
- data/examples/temporalElement.json +29 -0
- data/examples/uri.json +16 -0
- data/examples/usage.json +35 -0
- data/examples/verticalExtent.json +18 -0
- data/lib/adiwg-mdjson_schemas.rb +1 -0
- data/lib/adiwg/mdjson_schemas.rb +7 -0
- data/lib/adiwg/mdjson_schemas/utils.rb +20 -0
- data/lib/adiwg/mdjson_schemas/validator.rb +42 -0
- data/lib/adiwg/mdjson_schemas/version.rb +6 -0
- data/schema/schema.json +64 -0
- data/schema/schema/citation.json +186 -0
- data/schema/schema/contact.json +255 -0
- data/schema/schema/dataDictionary.json +209 -0
- data/schema/schema/dataQuality.json +159 -0
- data/schema/schema/distributor.json +171 -0
- data/schema/schema/extent.json +214 -0
- data/schema/schema/geojson/bbox.json +14 -0
- data/schema/schema/geojson/crs.json +99 -0
- data/schema/schema/geojson/geojson.json +194 -0
- data/schema/schema/geojson/geometry.json +203 -0
- data/schema/schema/graphicOverview.json +42 -0
- data/schema/schema/keyword.json +39 -0
- data/schema/schema/maintInfo.json +43 -0
- data/schema/schema/metadata.json +173 -0
- data/schema/schema/onlineResource.json +42 -0
- data/schema/schema/resolution.json +51 -0
- data/schema/schema/resourceConstraint.json +108 -0
- data/schema/schema/resourceInfo.json +305 -0
- data/schema/schema/taxonomy.json +122 -0
- data/schema/schema/usage.json +39 -0
- data/templates/mdJson_template.json +1065 -0
- data/test/draft-04.json +189 -0
- data/test/tc_schemas.rb +210 -0
- data/test/tc_utils.rb +27 -0
- metadata +178 -0
@@ -0,0 +1,159 @@
|
|
1
|
+
{
|
2
|
+
"id": "dataQuality.json#",
|
3
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
4
|
+
"type": "object",
|
5
|
+
"description": "Information about the quality of the resource.",
|
6
|
+
"example": "../../examples/full_example.json#/metadata/resourceInfo/dataQualityInfo",
|
7
|
+
"translation": {
|
8
|
+
"ISO 19115-2": ["DQ_DataQuality"],
|
9
|
+
"FGDC CSDGM": ["dataqual"]
|
10
|
+
},
|
11
|
+
"required": ["scope"],
|
12
|
+
"additionalProperties": false,
|
13
|
+
"properties": {
|
14
|
+
"scope": {
|
15
|
+
"type": "string",
|
16
|
+
"description": "The scope to which the data quality information is applied, for instance; dataset, attribute, feature, series, etc.",
|
17
|
+
"translation": {
|
18
|
+
"ISO 19115-2": ["DQ_DataQuality > scope > DQ_Scope > level > MD_ScopeCode"]
|
19
|
+
}
|
20
|
+
},
|
21
|
+
"lineage": {
|
22
|
+
"translation": {
|
23
|
+
"ISO 19115-2": ["DQ_DataQuality > lineage > LI_Lineage"],
|
24
|
+
"FGDC CSDGM": ["dataqual > lineage"]
|
25
|
+
},
|
26
|
+
"$ref": "#/definitions/lineage"
|
27
|
+
}
|
28
|
+
},
|
29
|
+
"definitions": {
|
30
|
+
"lineage": {
|
31
|
+
"type": "object",
|
32
|
+
"description": "Non-quantitative quality information about the lineage of the resource as specified by the scope.",
|
33
|
+
"example": "../../examples/full_example.json#/metadata/resourceInfo/dataQualityInfo/0/lineage",
|
34
|
+
"translation": {
|
35
|
+
"ISO 19115-2": ["LI_Lineage"]
|
36
|
+
},
|
37
|
+
"additionalProperties": false,
|
38
|
+
"properties": {
|
39
|
+
"statement": {
|
40
|
+
"type": "string",
|
41
|
+
"description": "General explanation of the data producer's knowledge about the lineage of a dataset.",
|
42
|
+
"translation": {
|
43
|
+
"ISO 19115-2": ["LI_Lineage > statement"]
|
44
|
+
}
|
45
|
+
},
|
46
|
+
"processStep": {
|
47
|
+
"type": "array",
|
48
|
+
"description": "Process or methodology steps applied to development of the resource.",
|
49
|
+
"translation": {
|
50
|
+
"ISO 19115-2": ["LI_Lineage > processStep > LI_ProcessStep"]
|
51
|
+
},
|
52
|
+
"items": {
|
53
|
+
"$ref": "#/definitions/processStep"
|
54
|
+
}
|
55
|
+
},
|
56
|
+
"source": {
|
57
|
+
"type": "array",
|
58
|
+
"description": "Information about the source of the resource relative to the data quality scope.",
|
59
|
+
"translation": {
|
60
|
+
"ISO 19115-2": ["LI_Lineage > source > LI_Source"],
|
61
|
+
"FGDC CSDGM": ["dataqual > lineage > srcinfo"]
|
62
|
+
},
|
63
|
+
"items": {
|
64
|
+
"$ref": "#/definitions/source"
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
},
|
69
|
+
"processStep": {
|
70
|
+
"type": "object",
|
71
|
+
"description": "Process or methodology steps applied to development of the resource.",
|
72
|
+
"example": "../../examples/full_example.json#/metadata/resourceInfo/dataQualityInfo/0/lineage/processStep",
|
73
|
+
"translation": {
|
74
|
+
"ISO 19115-2": ["LI_ProcessStep"]
|
75
|
+
},
|
76
|
+
"required": ["description"],
|
77
|
+
"additionalProperties": false,
|
78
|
+
"properties": {
|
79
|
+
"stepId": {
|
80
|
+
"type": "string",
|
81
|
+
"description": "Serial identifier used to order the sequence of steps used.",
|
82
|
+
"translation": {
|
83
|
+
"ISO 19115-2": ["LI_ProcessStep @ id"]
|
84
|
+
}
|
85
|
+
},
|
86
|
+
"description": {
|
87
|
+
"type": "string",
|
88
|
+
"description": "Description of the process or methodology step.",
|
89
|
+
"translation": {
|
90
|
+
"ISO 19115-2": ["LI_ProcessStep > description"],
|
91
|
+
"FGDC CSDGM": ["dataqual > lineage > procstep > procdesc"]
|
92
|
+
}
|
93
|
+
},
|
94
|
+
"rationale": {
|
95
|
+
"type": "string",
|
96
|
+
"description": "Requirement or purpose for the process or methodology step.",
|
97
|
+
"translation": {
|
98
|
+
"ISO 19115-2": ["LI_ProcessStep > rationale"]
|
99
|
+
}
|
100
|
+
},
|
101
|
+
"dateTime": {
|
102
|
+
"description": "Date and time or date at which the process or methodology step occurred.",
|
103
|
+
"translation": {
|
104
|
+
"ISO 19115-2": ["LI_ProcessStep > dateTime"],
|
105
|
+
"FGDC CSDGM": ["dataqual > lineage > procstep > procdate"]
|
106
|
+
},
|
107
|
+
"$ref": "../schema.json#/definitions/date"
|
108
|
+
},
|
109
|
+
"processor": {
|
110
|
+
"type": "array",
|
111
|
+
"description": "Identification of, and means of communication with, person(s) and organization(s) associated with the process or methodology step.",
|
112
|
+
"translation": {
|
113
|
+
"ISO 19115-2": ["LI_ProcessStep > processor > CI_ResponsibleParty"],
|
114
|
+
"FGDC CSDGM": ["dataqual > lineage > procstep > proccont > cntinfo"]
|
115
|
+
},
|
116
|
+
"items": {
|
117
|
+
"$ref": "contact.json#/definitions/contactRef"
|
118
|
+
}
|
119
|
+
}
|
120
|
+
}
|
121
|
+
},
|
122
|
+
"source": {
|
123
|
+
"type": "object",
|
124
|
+
"description": "Information about the source of the resource relative to the data lineage.",
|
125
|
+
"example": "../../examples/full_example.json#/metadata/resourceInfo/dataQualityInfo/0/lineage/source",
|
126
|
+
"translation": {
|
127
|
+
"ISO 19115-2": ["LI_Source"]
|
128
|
+
},
|
129
|
+
"additionalProperties": false,
|
130
|
+
"properties": {
|
131
|
+
"description": {
|
132
|
+
"type": "string",
|
133
|
+
"description": "Description of the source for the resource.",
|
134
|
+
"translation": {
|
135
|
+
"ISO 19115-2": ["LI_Source > description"]
|
136
|
+
}
|
137
|
+
},
|
138
|
+
"citation": {
|
139
|
+
"description": "Citation for the source.",
|
140
|
+
"translation": {
|
141
|
+
"ISO 19115-2": ["LI_Source > sourceCitation > CI_Citation"],
|
142
|
+
"FGDC CSDGM": ["dataqual > lineage > srcinfo > srccite > citeinfo"]
|
143
|
+
},
|
144
|
+
"$ref": "citation.json#"
|
145
|
+
},
|
146
|
+
"processStep": {
|
147
|
+
"type": "array",
|
148
|
+
"description": "Process or methodology steps applied to the development of the source.",
|
149
|
+
"translation": {
|
150
|
+
"ISO 19115-2": ["LI_Source > sourceStep > LI_ProcessStep"]
|
151
|
+
},
|
152
|
+
"items": {
|
153
|
+
"$ref": "#/definitions/processStep"
|
154
|
+
}
|
155
|
+
}
|
156
|
+
}
|
157
|
+
}
|
158
|
+
}
|
159
|
+
}
|
@@ -0,0 +1,171 @@
|
|
1
|
+
{
|
2
|
+
"id": "distributor.json#",
|
3
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
4
|
+
"type": "object",
|
5
|
+
"description": "Information about the distributor of and options for obtaining the resource.",
|
6
|
+
"translation": {
|
7
|
+
"ISO 19115-2": ["MD_Distribution"],
|
8
|
+
"FGDC CSDGM": ["distinfo"]
|
9
|
+
},
|
10
|
+
"required": ["distributorContact"],
|
11
|
+
"additionalProperties": false,
|
12
|
+
"properties": {
|
13
|
+
"distributorContact": {
|
14
|
+
"description": "Party from whom the resource may be obtained. Note: This list need not be exhaustive.",
|
15
|
+
"translation": {
|
16
|
+
"ISO 19115-2": ["MD_Distribution > distributor > MD_Distributor > distributorContact > CI_ResponsibleParty"],
|
17
|
+
"FGDC CSDGM": ["distinfo > distrib > cntinfo"]
|
18
|
+
},
|
19
|
+
"$ref": "contact.json#/definitions/contactRef"
|
20
|
+
},
|
21
|
+
"distributionOrderProcess": {
|
22
|
+
"type": "array",
|
23
|
+
"description": "Provides information about how the resource may be obtained and related instructions and fee information.",
|
24
|
+
"translation": {
|
25
|
+
"ISO 19115-2": ["MD_Distribution > distributor > MD_Distributor > distributionOrderProcess > MD_StandardOrderProcess"]
|
26
|
+
},
|
27
|
+
"items": {
|
28
|
+
"type": "object",
|
29
|
+
"additionalProperties": false,
|
30
|
+
"properties": {
|
31
|
+
"fees": {
|
32
|
+
"type": "string",
|
33
|
+
"description": "Fees and terms for retrieving the resource, including monetary units.",
|
34
|
+
"translation": {
|
35
|
+
"ISO 19115-2": ["MD_StandardOrderProcess > fees"],
|
36
|
+
"FGDC CSDGM": ["distinfo > stdorder > fees"]
|
37
|
+
}
|
38
|
+
},
|
39
|
+
"plannedAvailabilityDateTime": {
|
40
|
+
"description": "Date and time when the resource will be available.",
|
41
|
+
"translation": {
|
42
|
+
"ISO 19115-2": ["MD_StandardOrderProcess > plannedAvailabilityDateTime"]
|
43
|
+
},
|
44
|
+
"$ref": "../schema.json#/definitions/date"
|
45
|
+
},
|
46
|
+
"orderingInstructions": {
|
47
|
+
"type": "string",
|
48
|
+
"description": "General instructions, terms and services provided by the distributor.",
|
49
|
+
"translation": {
|
50
|
+
"ISO 19115-2": ["MD_StandardOrderProcess > orderingInstructions"],
|
51
|
+
"FGDC CSDGM": ["distinfo > stdorder > digform > digtopt > onlinopt > accinstr"]
|
52
|
+
}
|
53
|
+
},
|
54
|
+
"turnaround": {
|
55
|
+
"type": "string",
|
56
|
+
"description": "Typical turnaround time for the filling of an order.",
|
57
|
+
"translation": {
|
58
|
+
"ISO 19115-2": ["MD_StandardOrderProcess > turnaround"],
|
59
|
+
"FGDC CSDGM": ["distinfo > stdorder > turnarnd"]
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
},
|
65
|
+
"distributorFormat": {
|
66
|
+
"type": "array",
|
67
|
+
"description": "Provides information about the format used by the distributor.",
|
68
|
+
"translation": {
|
69
|
+
"ISO 19115-2": ["MD_Distribution > distributor > MD_Distributor > distributorFormat > MD_Format"],
|
70
|
+
"FGDC CSDGM": ["distinfo > stdorder > digform"]
|
71
|
+
},
|
72
|
+
"items": {
|
73
|
+
"$ref": "#/definitions/format"
|
74
|
+
}
|
75
|
+
},
|
76
|
+
"distributorTransferOptions": {
|
77
|
+
"type": "array",
|
78
|
+
"items": {
|
79
|
+
"type": "object",
|
80
|
+
"description": "Identifier whether resource is available on-line or by off-line procedure.",
|
81
|
+
"translation": {
|
82
|
+
"ISO 19115-2": ["MD_Distributor > distributorTransferOptions > MD_DigitalTransferOptions"],
|
83
|
+
"FGDC CSDGM": ["distinfo > stdorder > digform > digtopt"]
|
84
|
+
},
|
85
|
+
"additionalProperties": false,
|
86
|
+
|
87
|
+
"properties": {
|
88
|
+
"online": {
|
89
|
+
"type": "array",
|
90
|
+
"description": "Information about obtaining the resource on-line.",
|
91
|
+
"translation": {
|
92
|
+
"ISO 19115-2": ["MD_DigitalTransferOptions > online > CI_OnlineResource"],
|
93
|
+
"FGDC CSDGM": ["distinfo > stdorder > digform > digtopt > onlinopt"]
|
94
|
+
},
|
95
|
+
"items": {
|
96
|
+
"$ref": "onlineResource.json#"
|
97
|
+
},
|
98
|
+
"uniqueItems": true
|
99
|
+
},
|
100
|
+
"offline": {
|
101
|
+
"type": "object",
|
102
|
+
"description": "Information about obtaining the resource through off-line procedure.",
|
103
|
+
"translation": {
|
104
|
+
"ISO 19115-2": ["MD_DigitalTransferOptions > offline > MD_Medium"],
|
105
|
+
"FGDC CSDGM": ["distinfo > stdorder > digform > digtopt > offoptn"]
|
106
|
+
},
|
107
|
+
"additionalProperties": false,
|
108
|
+
|
109
|
+
"properties": {
|
110
|
+
"name": {
|
111
|
+
"type": "string",
|
112
|
+
"description": "Name of the format the data is distributed in, such as: dvd, hardcopy, etc.",
|
113
|
+
"translation": {
|
114
|
+
"ISO 19115-2": ["MD_Medium > name [MD_MediumNameCode]"],
|
115
|
+
"FGDC CSDGM": ["distinfo > stdorder > digform > digtopt > offoptn > offmedia"]
|
116
|
+
}
|
117
|
+
},
|
118
|
+
"mediumFormat": {
|
119
|
+
"type": "string",
|
120
|
+
"description": "Method used by the resource provider to write to the medium, such as: tar, iso9660, etc.",
|
121
|
+
"translation": {
|
122
|
+
"ISO 19115-2": ["MD_Medium > mediumFormat [MD_MediumFormatCode]"],
|
123
|
+
"FGDC CSDGM": ["distinfo > stdorder > digform > digtopt > offoptn > recfmt"]
|
124
|
+
}
|
125
|
+
},
|
126
|
+
"mediumNote": {
|
127
|
+
"type": "string",
|
128
|
+
"description": "Description of other limitations or requirements for using the medium.",
|
129
|
+
"translation": {
|
130
|
+
"ISO 19115-2": ["MD_Medium > mediumNote"],
|
131
|
+
"FGDC CSDGM": ["distinfo > stdorder > digform > digtopt > offoptn > compat"]
|
132
|
+
}
|
133
|
+
}
|
134
|
+
}
|
135
|
+
}
|
136
|
+
}
|
137
|
+
}
|
138
|
+
}
|
139
|
+
},
|
140
|
+
"definitions": {
|
141
|
+
"format": {
|
142
|
+
"type": "object",
|
143
|
+
"description": "Provides information about the format used by the distributor.",
|
144
|
+
"example": "../../examples/full_example.json#/metadata/resourceInfo/resourceNativeFormat",
|
145
|
+
"translation": {
|
146
|
+
"ISO 19115-2": ["MD_Format"],
|
147
|
+
"FGDC CSDGM": ["distinfo > stdorder > digform"]
|
148
|
+
},
|
149
|
+
"required": ["formatName"],
|
150
|
+
"additionalProperties": false,
|
151
|
+
"properties": {
|
152
|
+
"formatName": {
|
153
|
+
"type": "string",
|
154
|
+
"description": "Name of the data transfer format.",
|
155
|
+
"translation": {
|
156
|
+
"ISO 19115-2": ["MD_Format > name"],
|
157
|
+
"FGDC CSDGM": ["distinfo > stdorder > digform > digtinfo > formname"]
|
158
|
+
}
|
159
|
+
},
|
160
|
+
"version": {
|
161
|
+
"type": "string",
|
162
|
+
"description": "Version of the format (date, number, etc.)",
|
163
|
+
"translation": {
|
164
|
+
"ISO 19115-2": ["MD_Format > version"],
|
165
|
+
"FGDC CSDGM": ["idinfo > citation > citeinfo > edition"]
|
166
|
+
}
|
167
|
+
}
|
168
|
+
}
|
169
|
+
}
|
170
|
+
}
|
171
|
+
}
|
@@ -0,0 +1,214 @@
|
|
1
|
+
{
|
2
|
+
"id": "extent.json#",
|
3
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
4
|
+
"type": "object",
|
5
|
+
"description": "Information about the geographic extent of the resource.",
|
6
|
+
"example": "../../examples/full_example.json#/metadata/resourceInfo/extent",
|
7
|
+
"translation": {
|
8
|
+
"ISO 19115-2": ["EX_Extent"]
|
9
|
+
},
|
10
|
+
"additionalProperties": true,
|
11
|
+
"properties": {
|
12
|
+
"description": {
|
13
|
+
"type": "string",
|
14
|
+
"description": "Description of the geographic extent.",
|
15
|
+
"translation": {
|
16
|
+
"ISO 19115-2": ["EX_Extent > description"]
|
17
|
+
}
|
18
|
+
},
|
19
|
+
"geographicElement": {
|
20
|
+
"type": "array",
|
21
|
+
"description": "A grouping of geographic objects that comprises all or part of the extent.",
|
22
|
+
"translation": {
|
23
|
+
"ISO 19115-2": ["EX_Extent > geographicElement"]
|
24
|
+
},
|
25
|
+
"items": {
|
26
|
+
"type": "object",
|
27
|
+
"example": "../../examples/full_example.json#/metadata/resourceInfo/extent/0/geographicElement",
|
28
|
+
"properties": {
|
29
|
+
"type": {
|
30
|
+
"enum": ["Feature", "FeatureCollection", "GeometryCollection", "Point", "MultiPoint", "LineString", "MultiLineString", "Polygon", "MultiPolygon"],
|
31
|
+
"description": "The type of geographic object."
|
32
|
+
}
|
33
|
+
},
|
34
|
+
"oneOf": [
|
35
|
+
{
|
36
|
+
"$ref": "geojson/geojson.json#"
|
37
|
+
}
|
38
|
+
]
|
39
|
+
}
|
40
|
+
},
|
41
|
+
"verticalElement": {
|
42
|
+
"type": "array",
|
43
|
+
"description": "Vertical element of an extent.",
|
44
|
+
"translation": {
|
45
|
+
"ISO 19115-2": ["EX_Extent > verticalElement > EX_VerticalExtent "]
|
46
|
+
},
|
47
|
+
"items": {
|
48
|
+
"$ref": "#/definitions/verticalExtent"
|
49
|
+
}
|
50
|
+
},
|
51
|
+
"temporalElement": {
|
52
|
+
"$ref": "#/definitions/temporalElement"
|
53
|
+
}
|
54
|
+
},
|
55
|
+
"definitions": {
|
56
|
+
"timeInstant": {
|
57
|
+
"type": "object",
|
58
|
+
"example": "../../examples/full_example.json#/metadata/resourceInfo/extent/0/temporalElement/timeInstant/0",
|
59
|
+
"required": ["timePosition"],
|
60
|
+
"additionalProperties": false,
|
61
|
+
"properties": {
|
62
|
+
"id": {
|
63
|
+
"type": "string",
|
64
|
+
"description": "A unique identifier for a temporal element.",
|
65
|
+
"translation": {
|
66
|
+
"ISO 19115-2": ["EX_TemporalExtent > extent > TimeInstant @id"]
|
67
|
+
}
|
68
|
+
},
|
69
|
+
"description": {
|
70
|
+
"type": "string",
|
71
|
+
"description": "Text associated with the time instance.",
|
72
|
+
"translation": {
|
73
|
+
"ISO 19115-2": ["EX_TemporalExtent > extent > TimeInstant > description"]
|
74
|
+
}
|
75
|
+
},
|
76
|
+
"timePosition": {
|
77
|
+
"translation": {
|
78
|
+
"ISO 19115-2": ["EX_TemporalExtent > extent > TimeInstant > timePosition"]
|
79
|
+
},
|
80
|
+
"$ref": "../schema.json#/definitions/date"
|
81
|
+
}
|
82
|
+
}
|
83
|
+
},
|
84
|
+
"timePeriod": {
|
85
|
+
"type": "object",
|
86
|
+
"description": "A span of time represented by a start date/time and an ending date/time.",
|
87
|
+
"example": "../../examples/full_example.json#/metadata/resourceInfo/extent/0/temporalElement/timePeriod/0",
|
88
|
+
"additionalProperties": false,
|
89
|
+
"properties": {
|
90
|
+
"id": {
|
91
|
+
"type": "string",
|
92
|
+
"description": "A unique identifier for a temporal element.",
|
93
|
+
"translation": {
|
94
|
+
"ISO 19115-2": ["EX_TemporalExtent > extent > TimePeriod @id"]
|
95
|
+
}
|
96
|
+
},
|
97
|
+
"description": {
|
98
|
+
"type": "string",
|
99
|
+
"description": "Text associated with the time instance.",
|
100
|
+
"translation": {
|
101
|
+
"ISO 19115-2": ["EX_TemporalExtent > extent > TimePeriod > description "]
|
102
|
+
}
|
103
|
+
},
|
104
|
+
"beginPosition": {
|
105
|
+
"description": "Starting date, or date and time.",
|
106
|
+
"translation": {
|
107
|
+
"ISO 19115-2": ["EX_TemporalExtent > extent > TimePeriod > beginPosition "],
|
108
|
+
"FGDC CSDGM": ["idinfo > timeperd > rngdates > begdate"]
|
109
|
+
},
|
110
|
+
"$ref": "../schema.json#/definitions/date"
|
111
|
+
},
|
112
|
+
"endPosition": {
|
113
|
+
"description": "Ending date, or date and time.",
|
114
|
+
"translation": {
|
115
|
+
"ISO 19115-2": ["EX_TemporalExtent > extent > TimePeriod > endPosition"],
|
116
|
+
"FGDC CSDGM": ["idinfo > timeperd > rngdates > enddate"]
|
117
|
+
},
|
118
|
+
"$ref": "../schema.json#/definitions/date"
|
119
|
+
}
|
120
|
+
},
|
121
|
+
"anyOf": [
|
122
|
+
{
|
123
|
+
"title": "beginPosition required",
|
124
|
+
"required": ["beginPosition"]
|
125
|
+
}, {
|
126
|
+
"title": "endPosition required",
|
127
|
+
"required": ["endPosition"]
|
128
|
+
}
|
129
|
+
]
|
130
|
+
},
|
131
|
+
"temporalElement": {
|
132
|
+
"type": "object",
|
133
|
+
"description": "Temporal context for the resource.",
|
134
|
+
"example": "../../examples/full_example.json#/metadata/resourceInfo/extent/0/temporalElement",
|
135
|
+
"translation": {
|
136
|
+
"ISO 19115-2": ["EX_Extent > temporalElement > EX_TemporalExtent"]
|
137
|
+
},
|
138
|
+
"additionalProperties": false,
|
139
|
+
"minProperties": 1,
|
140
|
+
"properties": {
|
141
|
+
"timeInstant": {
|
142
|
+
"type": "array",
|
143
|
+
"description": "A set of date time instances.",
|
144
|
+
"translation": {
|
145
|
+
"ISO 19115-2": ["EX_TemporalExtent > extent > TimeInstant"]
|
146
|
+
},
|
147
|
+
"items": {
|
148
|
+
"$ref": "#/definitions/timeInstant"
|
149
|
+
}
|
150
|
+
},
|
151
|
+
"timePeriod": {
|
152
|
+
"type": "array",
|
153
|
+
"description": "A set of time periods.",
|
154
|
+
"translation": {
|
155
|
+
"ISO 19115-2": ["EX_TemporalExtent > extent > TimePeriod"]
|
156
|
+
},
|
157
|
+
"items": {
|
158
|
+
"$ref": "#/definitions/timePeriod"
|
159
|
+
}
|
160
|
+
},
|
161
|
+
"date": {
|
162
|
+
"type": "array",
|
163
|
+
"description": "A set of date times.",
|
164
|
+
"translation": {
|
165
|
+
"ISO 19115-2": ["EX_TemporalExtent > extent > TimeInstant > timePosition"]
|
166
|
+
},
|
167
|
+
"items": {
|
168
|
+
"$ref": "../schema.json#/definitions/date"
|
169
|
+
}
|
170
|
+
}
|
171
|
+
}
|
172
|
+
},
|
173
|
+
"verticalExtent": {
|
174
|
+
"type": "object",
|
175
|
+
"description": "Vertical element of an extent.",
|
176
|
+
"translation": {
|
177
|
+
"ISO 19115-2": ["EX_Extent > verticalElement > EX_VerticalExtent "]
|
178
|
+
},
|
179
|
+
"additionalProperties": false,
|
180
|
+
"required": ["minimumValue", "maximumValue", "verticalCRSTitle", "verticalCRSUri"],
|
181
|
+
"properties": {
|
182
|
+
"minimumValue": {
|
183
|
+
"type": "number",
|
184
|
+
"description": "Lowest vertical extent contained in the dataset.",
|
185
|
+
"translation": {
|
186
|
+
"ISO 19115-2": ["EX_VerticalExtent > minimumValue > Real "]
|
187
|
+
}
|
188
|
+
},
|
189
|
+
"maximumValue": {
|
190
|
+
"type": "number",
|
191
|
+
"description": "Highest vertical extent contained in the dataset.",
|
192
|
+
"translation": {
|
193
|
+
"ISO 19115-2": ["EX_VerticalExtent > maximumValue > Real "]
|
194
|
+
}
|
195
|
+
},
|
196
|
+
"verticalCRSTitle": {
|
197
|
+
"type": "string",
|
198
|
+
"description": "Name of a geographic reference system associated with a vertical extent.",
|
199
|
+
"translation": {
|
200
|
+
"ISO 19115-2": ["EX_VerticalExtent > verticalCRS @xlink:title "],
|
201
|
+
"FGDC CSDGM": ["spref > vertdef > altsys > altdatum"]
|
202
|
+
}
|
203
|
+
},
|
204
|
+
"verticalCRSUri": {
|
205
|
+
"description": "Web link to the parameters for a geographic reference system associated with a vertical extent.",
|
206
|
+
"translation": {
|
207
|
+
"ISO 19115-2": ["EX_VerticalExtent > verticalCRS @xlink:href "]
|
208
|
+
},
|
209
|
+
"$ref": "../schema.json#/definitions/uri"
|
210
|
+
}
|
211
|
+
}
|
212
|
+
}
|
213
|
+
}
|
214
|
+
}
|