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
data/schema/lineage.json
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
4
4
|
"type": "object",
|
5
5
|
"description": "Information on the history of the resource.",
|
6
|
-
"example": "",
|
6
|
+
"example": "../examples/lineage.json",
|
7
7
|
"translation": {
|
8
8
|
"ISO 19115-2": ["LI_Lineage"]
|
9
9
|
},
|
@@ -35,13 +35,11 @@
|
|
35
35
|
"scope": {
|
36
36
|
"$ref": "./scope.json#",
|
37
37
|
"description": "Type of resource and/or extent to which the lineage information applies.",
|
38
|
-
"example": "",
|
39
38
|
"translation": {}
|
40
39
|
},
|
41
40
|
"citation": {
|
42
41
|
"type": "array",
|
43
42
|
"description": "Citation to a reference that describes the lineage.",
|
44
|
-
"example": "",
|
45
43
|
"translation": {},
|
46
44
|
"items": {
|
47
45
|
"$ref": "./citation.json#"
|
@@ -74,7 +72,7 @@
|
|
74
72
|
"processStep": {
|
75
73
|
"type": "object",
|
76
74
|
"description": "Process or methodology steps applied to development of the resource.",
|
77
|
-
"example": "
|
75
|
+
"example": "../examples/processStep.json",
|
78
76
|
"translation": {
|
79
77
|
"ISO 19115-2": ["LI_ProcessStep"]
|
80
78
|
},
|
@@ -125,7 +123,6 @@
|
|
125
123
|
"reference": {
|
126
124
|
"type": "array",
|
127
125
|
"description": "Citation for process step documentation.",
|
128
|
-
"example": "",
|
129
126
|
"translation": {},
|
130
127
|
"items": {
|
131
128
|
"$ref": "./citation.json#"
|
@@ -136,7 +133,7 @@
|
|
136
133
|
"source": {
|
137
134
|
"type": "object",
|
138
135
|
"description": "Information about the source data used in creating the data identified by the data quality scope.",
|
139
|
-
"example": "
|
136
|
+
"example": "../examples/source.json",
|
140
137
|
"translation": {
|
141
138
|
"ISO 19115-2": ["LI_Source"]
|
142
139
|
},
|
@@ -160,7 +157,6 @@
|
|
160
157
|
"metadataCitation": {
|
161
158
|
"type": "array",
|
162
159
|
"description": "Citation providing information about the metadata for the source.",
|
163
|
-
"example": "",
|
164
160
|
"translation": {},
|
165
161
|
"items": {
|
166
162
|
"$ref": "citation.json#"
|
@@ -169,13 +165,11 @@
|
|
169
165
|
"scaleDenominator": {
|
170
166
|
"type": "integer",
|
171
167
|
"description": "The number below the line in a vulgar fraction",
|
172
|
-
"example": "",
|
173
168
|
"translation": {}
|
174
169
|
},
|
175
170
|
"referenceSystem": {
|
176
171
|
"$ref": "./spatialReference.json#",
|
177
172
|
"description": "Spatial reference system used by the source.",
|
178
|
-
"example": "",
|
179
173
|
"translation": {}
|
180
174
|
},
|
181
175
|
"processStep": {
|
data/schema/locale.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"id": "locale.json#",
|
3
3
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
4
|
-
"example":
|
4
|
+
"example":"../examples/locale.json",
|
5
5
|
"description": "Localised language(s) and characterset(s) used within the resource being described.",
|
6
6
|
"type": "object",
|
7
7
|
"required": ["language", "characterSet"],
|
@@ -29,4 +29,4 @@
|
|
29
29
|
}
|
30
30
|
}
|
31
31
|
}
|
32
|
-
}
|
32
|
+
}
|
data/schema/maintInfo.json
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
4
4
|
"type": "object",
|
5
5
|
"description": "Information about the maintenance of a resource.",
|
6
|
-
"example": "",
|
6
|
+
"example": "../examples/maintenance.json",
|
7
7
|
"translation": {
|
8
8
|
"ISO 19115-2": ["MD_MaintenanceInformation"]
|
9
9
|
},
|
@@ -17,22 +17,20 @@
|
|
17
17
|
}
|
18
18
|
},
|
19
19
|
"date": {
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
"
|
25
|
-
|
26
|
-
}
|
20
|
+
"type": "array",
|
21
|
+
"description": "Date related to resource maintenance.",
|
22
|
+
"translation": {},
|
23
|
+
"items": {
|
24
|
+
"$ref": "common.json#/definitions/dateObject"
|
25
|
+
}
|
27
26
|
},
|
28
27
|
"scope": {
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
"
|
34
|
-
|
35
|
-
}
|
28
|
+
"type": "array",
|
29
|
+
"description": "Type of resource to which the maintenance information applies.",
|
30
|
+
"translation": {},
|
31
|
+
"items": {
|
32
|
+
"$ref": "./scope.json#"
|
33
|
+
}
|
36
34
|
},
|
37
35
|
"note": {
|
38
36
|
"type": "array",
|
@@ -43,8 +41,7 @@
|
|
43
41
|
"items": {
|
44
42
|
"type": "string"
|
45
43
|
}
|
46
|
-
}
|
47
|
-
,
|
44
|
+
},
|
48
45
|
"contact": {
|
49
46
|
"type": "array",
|
50
47
|
"description": "Contact information for the maintainer of the resource.",
|
data/schema/measure.json
CHANGED
@@ -2,29 +2,26 @@
|
|
2
2
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
3
3
|
"id": "measure.json#",
|
4
4
|
"type": "object",
|
5
|
-
"title": "",
|
5
|
+
"title": "measure",
|
6
6
|
"description": "Number and type of units",
|
7
|
-
"required": ["type", "value", "unitOfMeasure"],
|
7
|
+
"example": "../examples/measure.json", "required": ["type", "value", "unitOfMeasure"],
|
8
8
|
"additionalProperties": true,
|
9
9
|
"properties": {
|
10
10
|
"type": {
|
11
11
|
"type": "string",
|
12
12
|
"description": "The type of measurement.",
|
13
|
-
|
14
|
-
"translation": {},
|
13
|
+
"translation": {},
|
15
14
|
"enum": ["distance", "length", "vertical", "angle"]
|
16
15
|
},
|
17
16
|
"value": {
|
18
17
|
"type": "number",
|
19
18
|
"description": "The number of units in the measurement.",
|
20
|
-
|
21
|
-
"translation": {}
|
19
|
+
"translation": {}
|
22
20
|
},
|
23
21
|
"unitOfMeasure": {
|
24
22
|
"type": "string",
|
25
23
|
"description": "The type of units to associated with the value.",
|
26
|
-
|
27
|
-
"translation": {},
|
24
|
+
"translation": {},
|
28
25
|
"minLength": 1
|
29
26
|
}
|
30
27
|
}
|
data/schema/medium.json
CHANGED
data/schema/metadata.json
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
4
4
|
"description": "The main body of the metadata record.",
|
5
5
|
"type": "object",
|
6
|
-
"example": "",
|
6
|
+
"example": "../examples/metadata.json",
|
7
7
|
"translation": {
|
8
8
|
"ISO 19115-2": ["MI_Metadata"],
|
9
9
|
"FGDC CSDGM": ["metadata"]
|
@@ -24,7 +24,6 @@
|
|
24
24
|
"resourceLineage": {
|
25
25
|
"type": "array",
|
26
26
|
"description": "Information on the history of the resource.",
|
27
|
-
"example": "",
|
28
27
|
"translation": {},
|
29
28
|
"items": {
|
30
29
|
"$ref": "./lineage.json#"
|
@@ -33,7 +32,6 @@
|
|
33
32
|
"resourceDistribution": {
|
34
33
|
"type": "array",
|
35
34
|
"description": "Information about the distributor of and options for obtaining the resource.",
|
36
|
-
"example": "",
|
37
35
|
"translation": {
|
38
36
|
"ISO 19115-2": ["MD_Metadata > distribution > MD_Distribution"],
|
39
37
|
"FGDC CSDGM": ["distinfo"]
|
@@ -45,7 +43,6 @@
|
|
45
43
|
"associatedResource": {
|
46
44
|
"type": "array",
|
47
45
|
"description": "Other resources which are directly related to the subject resource such as parent, child, or sibling datasets or projects.",
|
48
|
-
"example": "",
|
49
46
|
"translation": {
|
50
47
|
"ISO 19115-2": ["MD_DataIdentification > aggregationInfo > MD_AggregateInformation"],
|
51
48
|
"FGDC CSDGM": ["idinfo > crossref"]
|
@@ -68,7 +65,6 @@
|
|
68
65
|
"funding": {
|
69
66
|
"type": "array",
|
70
67
|
"description": "Information about funding for the resource.",
|
71
|
-
"example": "",
|
72
68
|
"items": {
|
73
69
|
"$ref": "./funding.json#"
|
74
70
|
}
|
data/schema/metadataInfo.json
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
"id": "metadataInfo.json#",
|
4
4
|
"type": "object",
|
5
5
|
"description": "General information about the metadata record.",
|
6
|
-
"example": "",
|
6
|
+
"example": "../examples/metadataInfo.json",
|
7
7
|
"required": ["metadataContact", "metadataDate"],
|
8
8
|
"additionalProperties": true,
|
9
9
|
"properties": {
|
@@ -35,7 +35,6 @@
|
|
35
35
|
"scope": {
|
36
36
|
"type": "array",
|
37
37
|
"description": "The scope/type of resource for which metadata is provided.",
|
38
|
-
"example": "",
|
39
38
|
"translation": {},
|
40
39
|
"items": {
|
41
40
|
"$ref": "./scope.json#"
|
@@ -82,7 +81,6 @@
|
|
82
81
|
"metadataOnlineResource": {
|
83
82
|
"type": "array",
|
84
83
|
"description": "Online location where the metadata is available.",
|
85
|
-
"example": "",
|
86
84
|
"translation": {},
|
87
85
|
"items": {
|
88
86
|
"$ref": "./onlineResource.json#"
|
@@ -91,7 +89,6 @@
|
|
91
89
|
"alternateMetadataReference": {
|
92
90
|
"type": "array",
|
93
91
|
"description": "Reference to alternative metadata for the resource.",
|
94
|
-
"example": "",
|
95
92
|
"translation": {},
|
96
93
|
"items": {
|
97
94
|
"$ref": "./citation.json#"
|
data/schema/onlineResource.json
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
4
4
|
"type": "object",
|
5
5
|
"description": "Information about accessing online resources and services.",
|
6
|
-
"example":
|
6
|
+
"example":"../examples/onlineResource.json",
|
7
7
|
"required": ["uri"],
|
8
8
|
"additionalProperties": true,
|
9
9
|
"properties": {
|
@@ -39,4 +39,4 @@
|
|
39
39
|
}
|
40
40
|
}
|
41
41
|
}
|
42
|
-
}
|
42
|
+
}
|
data/schema/orderProcess.json
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
"translation": {
|
8
8
|
"ISO 19115-2": ["MD_Distribution > distributor > MD_Distributor > distributionOrderProcess > MD_StandardOrderProcess"]
|
9
9
|
},
|
10
|
-
"example":
|
10
|
+
"example":"../examples/orderProcess.json",
|
11
11
|
"additionalProperties": true,
|
12
12
|
"properties": {
|
13
13
|
"fees": {
|
data/schema/releasability.json
CHANGED
@@ -2,13 +2,13 @@
|
|
2
2
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
3
3
|
"id": "releasability.json#",
|
4
4
|
"type": "object",
|
5
|
-
"description": "",
|
5
|
+
"description": "Information about resource release constraints.",
|
6
|
+
"example":"../examples/releasability.json",
|
6
7
|
"minProperties": 1,
|
7
8
|
"additionalProperties": true,
|
8
9
|
"properties": {
|
9
10
|
"addressee": {
|
10
11
|
"type": "array",
|
11
|
-
"example": "",
|
12
12
|
|
13
13
|
"minItems": 1,
|
14
14
|
"items": {
|
@@ -18,15 +18,13 @@
|
|
18
18
|
"statement": {
|
19
19
|
"type": "string",
|
20
20
|
"description": "The release statement.",
|
21
|
-
|
22
|
-
"translation": {},
|
21
|
+
"translation": {},
|
23
22
|
"minLength": 1
|
24
23
|
},
|
25
24
|
"disseminationConstraint": {
|
26
25
|
"type": "array",
|
27
26
|
"description": "Factor in determining releasability",
|
28
|
-
|
29
|
-
"translation": {},
|
27
|
+
"translation": {},
|
30
28
|
"items": {
|
31
29
|
"type": "string"
|
32
30
|
}
|
data/schema/resourceInfo.json
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
4
4
|
"description": "Information about the resource.",
|
5
5
|
"type": "object",
|
6
|
-
"example":
|
6
|
+
"example":"../examples/resourceInfo.json",
|
7
7
|
"translation": {
|
8
8
|
"ISO 19115-2": ["MD_DataIdentification"],
|
9
9
|
"FGDC CSDGM": ["idinfo"]
|
@@ -100,7 +100,6 @@
|
|
100
100
|
"spatialReferenceSystem": {
|
101
101
|
"type": "array",
|
102
102
|
"description": "Geospatial referencing system used in the the data resource. The reference can be provided by an EPSG number, a named reference, or providing the parameters in a well known text (WKT) format.",
|
103
|
-
"example": "",
|
104
103
|
"translation": {
|
105
104
|
"ISO 19115-2": ["MD_Metadata > referenceSystemInfo > MD_ReferenceSystem > referenceSystemIdentifier > RS_Identifier > code"]
|
106
105
|
},
|
data/schema/responsibility.json
CHANGED
@@ -3,6 +3,7 @@
|
|
3
3
|
"id": "responsibility.json#",
|
4
4
|
"type": "object",
|
5
5
|
"description": "Identifies contact role(s).",
|
6
|
+
"example": "../examples/responsibility.json",
|
6
7
|
"required": ["role", "party"],
|
7
8
|
"additionalProperties": true,
|
8
9
|
"properties": {
|
@@ -20,7 +21,6 @@
|
|
20
21
|
"timePeriod": {
|
21
22
|
"type": "array",
|
22
23
|
"description": "The period of time for which the role is valid.",
|
23
|
-
"example": "",
|
24
24
|
"translation": {},
|
25
25
|
"items": {
|
26
26
|
"$ref": "./timePeriod.json#"
|
@@ -29,7 +29,6 @@
|
|
29
29
|
"party": {
|
30
30
|
"type": "array",
|
31
31
|
"description": "Identifies all the contacts associated with the role.",
|
32
|
-
"example": "",
|
33
32
|
"translation": {},
|
34
33
|
"minItems": 1,
|
35
34
|
"items": {
|
@@ -43,7 +42,6 @@
|
|
43
42
|
"organizationMembers": {
|
44
43
|
"type": "array",
|
45
44
|
"description": "Identifies individuals that have an association with an organization contact.",
|
46
|
-
"example": "",
|
47
45
|
"translation": {},
|
48
46
|
"items": {
|
49
47
|
"type": "string"
|
data/schema/schema.json
CHANGED
@@ -3,24 +3,22 @@
|
|
3
3
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
4
4
|
"version": "2.0.0-beta",
|
5
5
|
"description": "schema for ADIwg mdJSON metadata",
|
6
|
+
"example": "../examples/mdJson.json",
|
6
7
|
"type": "object",
|
7
8
|
"required": ["schema", "contact", "metadata"],
|
8
9
|
"properties": {
|
9
10
|
"schema": {
|
10
11
|
"type": "object",
|
11
12
|
"description": "Identifies the version of the JSON schema standard that applies to the metadata.",
|
12
|
-
"example": "",
|
13
13
|
"required": ["name", "version"],
|
14
14
|
"additionalProperties": true,
|
15
15
|
"properties": {
|
16
16
|
"name": {
|
17
17
|
"type": "string",
|
18
|
-
"example": "",
|
19
18
|
"description": "Schema identifier, i.e. the name of the schema standard."
|
20
19
|
},
|
21
20
|
"version": {
|
22
21
|
"type": "string",
|
23
|
-
"example": "",
|
24
22
|
"description": "Specific version number of the schema standard.",
|
25
23
|
"pattern": "[0-9]\\.[0-9]\\.[0-9]"
|
26
24
|
}
|
@@ -44,7 +42,7 @@
|
|
44
42
|
"translation": {
|
45
43
|
"ISO 19115-2": ["FC_FeatureCatalogue"]
|
46
44
|
},
|
47
|
-
"example": "",
|
45
|
+
"example": "../examples/dataDictionary.json",
|
48
46
|
"items": {
|
49
47
|
"$ref": "dataDictionary.json"
|
50
48
|
}
|
data/schema/scope.json
CHANGED
@@ -4,6 +4,7 @@
|
|
4
4
|
"type": "object",
|
5
5
|
"title": "",
|
6
6
|
"description": "The target resource and physical extent for which information is reported.",
|
7
|
+
"example": "../examples/scope.json",
|
7
8
|
"additionalProperties": true,
|
8
9
|
"required": ["scopeCode"],
|
9
10
|
"properties": {
|
@@ -11,13 +12,11 @@
|
|
11
12
|
"type": "string",
|
12
13
|
"title": "",
|
13
14
|
"description": "Class of information to which the resource applies.",
|
14
|
-
"example": "",
|
15
15
|
"translation": {}
|
16
16
|
},
|
17
17
|
"scopeDescription": {
|
18
18
|
"type": "array",
|
19
19
|
"description": "Detailed description/listing of the items specified by the scope.",
|
20
|
-
"example": "",
|
21
20
|
"translation": {},
|
22
21
|
"items": {
|
23
22
|
"type": "object",
|
@@ -27,7 +26,6 @@
|
|
27
26
|
"type": {
|
28
27
|
"type": "string",
|
29
28
|
"description": "The type of item described.",
|
30
|
-
"example": "",
|
31
29
|
"translation": {},
|
32
30
|
"minLength": 1,
|
33
31
|
"enum": ["dataset", "attribute", "feature", "other"]
|
@@ -35,7 +33,6 @@
|
|
35
33
|
"description": {
|
36
34
|
"type": "string",
|
37
35
|
"description": "Description of the scope item.",
|
38
|
-
"example": "",
|
39
36
|
"translation": {},
|
40
37
|
"minLength": 1
|
41
38
|
}
|
@@ -45,7 +42,6 @@
|
|
45
42
|
"timePeriod": {
|
46
43
|
"type": "array",
|
47
44
|
"description": "information about the temporal extent of the resource specified by the scope",
|
48
|
-
"example": "",
|
49
45
|
"translation": {},
|
50
46
|
"items": {
|
51
47
|
"$ref": "./timePeriod.json#"
|
@@ -2,7 +2,7 @@
|
|
2
2
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
3
3
|
"id": "spatialReference.json#",
|
4
4
|
"description": "Geospatial referencing system used in the the data resource. The reference can be provided by an EPSG number, a named reference, or providing the parameters in a well known text (WKT) format.",
|
5
|
-
"example": "",
|
5
|
+
"example": "../examples/spatialReference.json",
|
6
6
|
"translation": {
|
7
7
|
"ISO 19115-2": ["MD_Metadata > referenceSystemInfo > MD_ReferenceSystem > referenceSystemIdentifier > RS_Identifier > code"]
|
8
8
|
},
|
@@ -13,14 +13,12 @@
|
|
13
13
|
"type": {
|
14
14
|
"type": "string",
|
15
15
|
"description": "Type of reference system used.",
|
16
|
-
"example": "",
|
17
16
|
"translation": {},
|
18
17
|
"minLength": 1
|
19
18
|
},
|
20
19
|
"systemIdentifier": {
|
21
|
-
|
22
|
-
|
23
|
-
"example": ""
|
20
|
+
"$ref": "./identifier.json#",
|
21
|
+
"description": "The reference system identifier or definition."
|
24
22
|
}
|
25
23
|
}
|
26
24
|
}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"id": "spatialRepresentation.json#",
|
3
3
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
4
|
-
"example": "",
|
4
|
+
"example": "../examples/spatialRepresentation.json",
|
5
5
|
"description": "",
|
6
6
|
"translation": {},
|
7
7
|
"type": "object",
|
@@ -10,7 +10,7 @@
|
|
10
10
|
"oneOf": [{
|
11
11
|
"type": "object",
|
12
12
|
"title": "gridRepresentation",
|
13
|
-
"example": "",
|
13
|
+
"example": "../examples/gridRepresentation.json",
|
14
14
|
"required": ["type", "gridRepresentation"],
|
15
15
|
"additionalProperties": true,
|
16
16
|
"properties": {
|
@@ -26,7 +26,7 @@
|
|
26
26
|
{
|
27
27
|
"type": "object",
|
28
28
|
"title": "vectorRepresentation",
|
29
|
-
"example": "",
|
29
|
+
"example": "../examples/vectorRepresentation.json",
|
30
30
|
"required": ["type", "vectorRepresentation"],
|
31
31
|
"additionalProperties": true,
|
32
32
|
"properties": {
|
@@ -42,7 +42,7 @@
|
|
42
42
|
{
|
43
43
|
"type": "object",
|
44
44
|
"title": "georectifiedRepresentation",
|
45
|
-
"example": "",
|
45
|
+
"example": "../examples/georectifiedRepresentation.json",
|
46
46
|
"required": ["type", "georectifiedRepresentation"],
|
47
47
|
"additionalProperties": true,
|
48
48
|
"properties": {
|
@@ -58,7 +58,7 @@
|
|
58
58
|
{
|
59
59
|
"type": "object",
|
60
60
|
"title": "georeferencableRepresentation",
|
61
|
-
"example": "",
|
61
|
+
"example": "../examples/georeferencableRepresentation.json",
|
62
62
|
"required": ["type", "georeferencableRepresentation"],
|
63
63
|
"additionalProperties": true,
|
64
64
|
"properties": {
|
@@ -76,7 +76,6 @@
|
|
76
76
|
"type": {
|
77
77
|
"type": "string",
|
78
78
|
"description": "Identifies the type of spatial representation defined for the object",
|
79
|
-
"example": "",
|
80
79
|
"enum": ["grid", "vector", "georectified", "georeferencable"]
|
81
80
|
}
|
82
81
|
}
|
@@ -2,7 +2,7 @@
|
|
2
2
|
"id": "spatialResolution.json#",
|
3
3
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
4
4
|
"description": "Information about the scale of the geographic extent.",
|
5
|
-
"example": "",
|
5
|
+
"example": "../examples/spatialResolution.json",
|
6
6
|
"translation": {
|
7
7
|
"ISO 19115-2": ["MD_Resolution"]
|
8
8
|
},
|
@@ -14,7 +14,7 @@
|
|
14
14
|
"scaleFactor": {
|
15
15
|
"type": "number",
|
16
16
|
"title": "scaleFactor",
|
17
|
-
"example": "",
|
17
|
+
"example": "../examples/spatialResolution.json",
|
18
18
|
"description": "Scale of geographic extent expressed in a hardcopy map scale fraction (denominator).",
|
19
19
|
"translation": {
|
20
20
|
"ISO 19115-2": ["MD_Resolution > equivalentScale > MD_RepresentativeFraction > denominator > Integer"]
|
@@ -29,7 +29,7 @@
|
|
29
29
|
"measure": {
|
30
30
|
"type": "object",
|
31
31
|
"title": "measure",
|
32
|
-
"example": "",
|
32
|
+
"example": "../examples/spatialResolution.json",
|
33
33
|
"description": "Scale of geographic extent expressed in ground distance parameters or angle.",
|
34
34
|
"$ref": "./measure.json#"
|
35
35
|
}
|
@@ -44,7 +44,7 @@
|
|
44
44
|
"type": "string",
|
45
45
|
"title": "levelOfDetail",
|
46
46
|
"description": "A brief textual description of the spatial resolution of the resource",
|
47
|
-
"example": "",
|
47
|
+
"example": "../examples/spatialResolution.json",
|
48
48
|
"translation": {},
|
49
49
|
"minLength": 1
|
50
50
|
}
|
data/schema/taxonomy.json
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
4
4
|
"type": "object",
|
5
5
|
"description": "Information on the taxa (1 or more) included in the data set, including keywords, taxonomic system and coverage information, and taxonomic classification system.",
|
6
|
-
"example": "",
|
6
|
+
"example": "../examples/taxonomy.json",
|
7
7
|
"translation": {
|
8
8
|
"ISO 19115-2": ["MD_TaxonSys"],
|
9
9
|
"FGDC CSDGM": ["idinfo > taxonomy"]
|
@@ -33,7 +33,6 @@
|
|
33
33
|
"identificationReference": {
|
34
34
|
"type": "array",
|
35
35
|
"description": "Information on any non-authoritative materials (e.g. field guides) useful for reconstructing the actual process.",
|
36
|
-
"example": "",
|
37
36
|
"translation": {},
|
38
37
|
"minItems": 1,
|
39
38
|
"items": {}
|
@@ -80,13 +79,13 @@
|
|
80
79
|
"definitions": {
|
81
80
|
"taxonomicSystem": {
|
82
81
|
"type": "object",
|
82
|
+
"example": "../examples/taxonomicSystem.json",
|
83
83
|
"required": ["citation"],
|
84
84
|
"additionalProperties": true,
|
85
85
|
"properties": {
|
86
86
|
"citation": {
|
87
87
|
"$ref": "citation.json",
|
88
88
|
"description": "Information about the classification system or authority used.",
|
89
|
-
"example": "",
|
90
89
|
"translation": {
|
91
90
|
"ISO 19115-2": ["MD_TaxonSys > classSys > CI_Citation"],
|
92
91
|
"FGDC CSDGM": ["idinfo > taxonomy > taxonsys > classsys"]
|
@@ -95,7 +94,6 @@
|
|
95
94
|
"modifications": {
|
96
95
|
"type": "string",
|
97
96
|
"description": "Description of any modifications or exceptions made to the classification system or authority used.",
|
98
|
-
"example": "",
|
99
97
|
"translation": {}
|
100
98
|
}
|
101
99
|
}
|
@@ -103,7 +101,7 @@
|
|
103
101
|
"taxonomicClassification": {
|
104
102
|
"type": "object",
|
105
103
|
"description": "Information about the range of taxa addressed in the data set or collection. NOTE It is recommended that one provide information starting from the taxonomic rank of kingdom, to a level which reflects the data set or collection being documented.",
|
106
|
-
"example": "",
|
104
|
+
"example": "../examples/taxonomicClassification.json",
|
107
105
|
"translation": {
|
108
106
|
"ISO 19115-2": ["MD_TaxonSys > taxonCl > MD_TaxonCl"],
|
109
107
|
"FGDC CSDGM": ["idinfo > taxonomy > taxoncl"]
|
@@ -154,7 +152,7 @@
|
|
154
152
|
"voucher": {
|
155
153
|
"type": "object",
|
156
154
|
"description": "Information on the types of specimen, the repository, and the individuals who identified the vouchers.",
|
157
|
-
"example": "",
|
155
|
+
"example": "../examples/voucher.json",
|
158
156
|
"translation": {
|
159
157
|
"ISO 19115-2": ["MD_TaxonSys > voucher > MD_Vouchers"],
|
160
158
|
"FGDC CSDGM": ["idinfo > taxonomy > taxonsys > vouchers"]
|
@@ -171,7 +169,6 @@
|
|
171
169
|
},
|
172
170
|
"repository": {
|
173
171
|
"description": "Information about the curator or contact person and/or agency responsible for the specimens.",
|
174
|
-
"example": "",
|
175
172
|
"translation": {
|
176
173
|
"ISO 19115-2": ["MD_Vouchers > reposit > CI_ResponsibleParty"],
|
177
174
|
"FGDC CSDGM": ["idinfo > taxonomy > taxonsys > vouchers > reposit"]
|
data/schema/temporalExtent.json
CHANGED