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
@@ -1,335 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"id": "dataDictionary.json#",
|
3
|
-
"$schema": "http://json-schema.org/draft-04/schema#",
|
4
|
-
"type": "object",
|
5
|
-
"description": "A catalogue containing definitions and descriptions of the resource types, resource attributes, and resource associations.",
|
6
|
-
"example": "../../examples/full_example.json#/dataDictionary/0",
|
7
|
-
"required": ["dictionaryInfo"],
|
8
|
-
"additionalProperties": true,
|
9
|
-
"properties": {
|
10
|
-
"dictionaryInfo": {
|
11
|
-
"type": "object",
|
12
|
-
"description": "Identification, description, and contact information for the data dictionary.",
|
13
|
-
"example": "../../examples/full_example.json#/dataDictionary/0/dictionaryInfo",
|
14
|
-
"required": ["resourceType", "citation", "description"],
|
15
|
-
"additionalProperties": true,
|
16
|
-
"properties": {
|
17
|
-
"citation": {
|
18
|
-
"description": "Citation for the dictionary.",
|
19
|
-
"example": "../../examples/full_example.json#/dataDictionary/0/dictionaryInfo",
|
20
|
-
"$ref": "citation.json#/definitions/dictionary"
|
21
|
-
},
|
22
|
-
"resourceType": {
|
23
|
-
"type": "string",
|
24
|
-
"description": "Identifies the scope of the data dictionary. E.g. 'database', 'dataset', 'table'.",
|
25
|
-
"translation": {
|
26
|
-
"ISO 19115-2": ["FC_FeatureCatalogue > scope"]
|
27
|
-
}
|
28
|
-
},
|
29
|
-
"description": {
|
30
|
-
"type": "string",
|
31
|
-
"description": "A brief description of the data dictionary and its source.",
|
32
|
-
"translation": {
|
33
|
-
"ISO 19115-2": ["FC_FeatureCatalogue > fieldOfApplication > CharacterString"]
|
34
|
-
}
|
35
|
-
},
|
36
|
-
"language": {
|
37
|
-
"type": "string",
|
38
|
-
"description": "Defines the language and country of origin in which the data dictionary is written. E.g. 'eng; USA', 'eng; UK', 'esp; MEX'.",
|
39
|
-
"translation": {
|
40
|
-
"ISO 19115-2": ["FC_FeatureCatalogue > language"]
|
41
|
-
}
|
42
|
-
},
|
43
|
-
"includedWithDataset": {
|
44
|
-
"type": "boolean",
|
45
|
-
"description": "Indication of whether or not the data dictionary is included with the resource.",
|
46
|
-
"translation": {
|
47
|
-
"ISO 19115-2": ["MD_FeatureCatalogueDescription > includedWithDataset"]
|
48
|
-
}
|
49
|
-
}
|
50
|
-
}
|
51
|
-
},
|
52
|
-
"domain": {
|
53
|
-
"type": "array",
|
54
|
-
"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.",
|
55
|
-
"example": "../../examples/full_example.json#/dataDictionary/0/domain/0",
|
56
|
-
"items": {
|
57
|
-
"type": "object",
|
58
|
-
"required": ["domainId", "codeName", "description", "member"],
|
59
|
-
"additionalProperties": true,
|
60
|
-
"properties": {
|
61
|
-
"domainId": {
|
62
|
-
"type": "string",
|
63
|
-
"description": "A user provided unique ID for this domain. The ID will be used to locate the domain in the domain array."
|
64
|
-
},
|
65
|
-
"commonName": {
|
66
|
-
"type": "string",
|
67
|
-
"description": "A short common name for the domain."
|
68
|
-
},
|
69
|
-
"codeName": {
|
70
|
-
"type": "string",
|
71
|
-
"description": "The code or 'lookup table' name for the domin used in the database schema definitions."
|
72
|
-
},
|
73
|
-
"description": {
|
74
|
-
"type": "string",
|
75
|
-
"description": "A brief description of the domain including identification of any established sources used in creating the list of domain items."
|
76
|
-
},
|
77
|
-
"member": {
|
78
|
-
"type": "array",
|
79
|
-
"description": "An array of member objects that enumerate and define the valid values for a domain.",
|
80
|
-
"items": {
|
81
|
-
"type": "object",
|
82
|
-
"example": "../../examples/full_example.json#/dataDictionary/0/domain/0/member",
|
83
|
-
"required": ["name", "value", "definition"],
|
84
|
-
"additionalProperties": true,
|
85
|
-
"properties": {
|
86
|
-
"name": {
|
87
|
-
"type": "string",
|
88
|
-
"description": "A descriptive name associated with a domain value",
|
89
|
-
"translation": {
|
90
|
-
"ISO 19115-2": ["FC_FeatureCatalogue > featureType > FC_FeatureType > carrierOfCharacteristics > FC_FeatureAttribute > listedValue > FC_ListedValue > label"]
|
91
|
-
}
|
92
|
-
},
|
93
|
-
"value": {
|
94
|
-
"type": "string",
|
95
|
-
"description": "A descriptive name associated with a domain value",
|
96
|
-
"translation": {
|
97
|
-
"ISO 19115-2": ["FC_FeatureCatalogue > featureType > FC_FeatureType > carrierOfCharacteristics > FC_FeatureAttribute > listedValue > FC_ListedValue > label"]
|
98
|
-
}
|
99
|
-
},
|
100
|
-
"definition": {
|
101
|
-
"type": "string",
|
102
|
-
"description": "A brief definition for the domain item",
|
103
|
-
"translation": {
|
104
|
-
"ISO 19115-2": ["FC_FeatureCatalogue > featureType > FC_FeatureType > carrierOfCharacteristics > FC_FeatureAttribute > listedValue > FC_ListedValue > definition"]
|
105
|
-
}
|
106
|
-
}
|
107
|
-
}
|
108
|
-
}
|
109
|
-
}
|
110
|
-
}
|
111
|
-
}
|
112
|
-
},
|
113
|
-
"entity": {
|
114
|
-
"type": "array",
|
115
|
-
"description": "Defines the structure of a discrete data object within the data resource. The data object may be a table, dataset, or single sheet of a spreadsheet.",
|
116
|
-
"translation": {
|
117
|
-
"ISO 19115-2": ["FC_FeatureCatalogue > featureType > FC_FeatureType"]
|
118
|
-
},
|
119
|
-
"items": {
|
120
|
-
"type": "object",
|
121
|
-
|
122
|
-
"example": "../../examples/full_example.json#/dataDictionary/0/entity/1",
|
123
|
-
"required": ["entityId", "codeName", "definition"],
|
124
|
-
"additionalProperties": true,
|
125
|
-
"properties": {
|
126
|
-
"entityId": {
|
127
|
-
"type": "string",
|
128
|
-
"description": "A user provided unique ID for this entity. ",
|
129
|
-
"translation": {
|
130
|
-
"ISO 19115-2": ["FC_FeatureCatalogue > featureType > FC_FeatureType#id=''"]
|
131
|
-
}
|
132
|
-
},
|
133
|
-
"commonName": {
|
134
|
-
"type": "string",
|
135
|
-
"description": "The name commonly used to identify this entity",
|
136
|
-
"translation": {
|
137
|
-
"ISO 19115-2": ["FC_FeatureCatalogue > featureType > FC_FeatureType > typeName > localName"]
|
138
|
-
}
|
139
|
-
},
|
140
|
-
"codeName": {
|
141
|
-
"type": "string",
|
142
|
-
"description": "The code name used to identify this entity in a database schema or application software. For spreasheets this would likely be the sheet name. ",
|
143
|
-
"translation": {
|
144
|
-
"ISO 19115-2": ["FC_FeatureCatalogue > featureType > FC_FeatureType > code > CharacterString"]
|
145
|
-
}
|
146
|
-
},
|
147
|
-
"alias": {
|
148
|
-
"type": "array",
|
149
|
-
"description": "An array of quoted strings providing alternate names used to identify this entity",
|
150
|
-
"translation": {
|
151
|
-
"ISO 19115-2": ["FC_FeatureCatalogue > featureType > FC_FeatureType > aliases > localName"]
|
152
|
-
},
|
153
|
-
"items": {
|
154
|
-
"type": "string"
|
155
|
-
}
|
156
|
-
},
|
157
|
-
"definition": {
|
158
|
-
"type": "string",
|
159
|
-
"description": "A brief definition for the entity",
|
160
|
-
"translation": {
|
161
|
-
"ISO 19115-2": ["FC_FeatureCatalogue > featureType > FC_FeatureType > definition"]
|
162
|
-
}
|
163
|
-
},
|
164
|
-
"primaryKeyAttributeCodeName": {
|
165
|
-
"type": "array",
|
166
|
-
"description": "An array of quoted attribute code names that together compose the primary key set for the entity",
|
167
|
-
"translation": {
|
168
|
-
"ISO 19115-2": ["Note: the primary key is written as a text description into FC_FeatureCatalogue > featureType > FC_FeatureType > constrainedBy > FC_Constraint > description"]
|
169
|
-
},
|
170
|
-
"items": {
|
171
|
-
"type": "string"
|
172
|
-
}
|
173
|
-
},
|
174
|
-
"index": {
|
175
|
-
"type": "array",
|
176
|
-
"description": "An array of objects describing alternate indexes for the entity",
|
177
|
-
"translation": {
|
178
|
-
"ISO 19115-2": ["FC_FeatureCatalogue > Note: the index is written as a text description into featureType > FC_FeatureType > constrainedBy > FC_Constraint > description"]
|
179
|
-
},
|
180
|
-
"items": {
|
181
|
-
"type": "object",
|
182
|
-
"example": "../../examples/full_example.json#/dataDictionary/0/entity/1/index",
|
183
|
-
"required": ["codeName", "allowDuplicates", "attributeCodeName"],
|
184
|
-
"additionalProperties": true,
|
185
|
-
"properties": {
|
186
|
-
"codeName": {
|
187
|
-
"type": "string",
|
188
|
-
"description": "The code name used to define the alternate index on the entity",
|
189
|
-
"translation": {
|
190
|
-
"ISO 19115-2": ["FC_FeatureCatalogue > featureType > FC_FeatureType > constrainedBy > FC_Constraint > description > CharacterString"]
|
191
|
-
}
|
192
|
-
},
|
193
|
-
"allowDuplicates": {
|
194
|
-
"type": "boolean",
|
195
|
-
"description": "Indicates whether the index allows duplicates or values are required to be unique. true = allow duplicates; false = values must be unique.",
|
196
|
-
"translation": {
|
197
|
-
"ISO 19115-2": ["FC_FeatureCatalogue > featureType > FC_FeatureType > constrainedBy > FC_Constraint > description > CharacterString"]
|
198
|
-
}
|
199
|
-
},
|
200
|
-
"attributeCodeName": {
|
201
|
-
"type": "array",
|
202
|
-
"description": "An array of quoted attribute code names that together compose an alternate key set for the entity",
|
203
|
-
"translation": {
|
204
|
-
"ISO 19115-2": ["FC_FeatureCatalogue > featureType > FC_FeatureType > constrainedBy > FC_Constraint > description > CharacterString"]
|
205
|
-
},
|
206
|
-
"items": {
|
207
|
-
"type": "string"
|
208
|
-
}
|
209
|
-
}
|
210
|
-
}
|
211
|
-
}
|
212
|
-
},
|
213
|
-
"attribute": {
|
214
|
-
"type": "array",
|
215
|
-
"description": "An array of objects defining the attributes for the entity",
|
216
|
-
"translation": {
|
217
|
-
"ISO 19115-2": ["FC_FeatureCatalogue > featureType > FC_FeatureType > carrierOfCharacteristics > FC_FeatureAttribute"]
|
218
|
-
},
|
219
|
-
"items": {
|
220
|
-
"type": "object",
|
221
|
-
"example": "../../examples/full_example.json#/dataDictionary/0/entity/1/attribute",
|
222
|
-
"required": ["codeName", "dataType", "definition", "allowNull"],
|
223
|
-
"additionalProperties": true,
|
224
|
-
"properties": {
|
225
|
-
"commonName": {
|
226
|
-
"type": "string",
|
227
|
-
"description": "The common name used to identify this attribute",
|
228
|
-
"translation": {
|
229
|
-
"ISO 19115-2": ["FC_FeatureCatalogue > featureType > FC_FeatureType > carrierOfCharacteristics > FC_FeatureAttribute > memberName > localName"]
|
230
|
-
}
|
231
|
-
},
|
232
|
-
"codeName": {
|
233
|
-
"type": "string",
|
234
|
-
"description": "The code used to identify this attribute. Most often this will be the table or spreadsheet column name",
|
235
|
-
"translation": {
|
236
|
-
"ISO 19115-2": ["FC_FeatureCatalogue > featureType > FC_FeatureType > carrierOfCharacteristics > FC_FeatureAttribute > code > CharacterString"]
|
237
|
-
}
|
238
|
-
},
|
239
|
-
"alias": {
|
240
|
-
"type": "array",
|
241
|
-
"description": "An array of quoted strings providing alternate names by which the attribute is known",
|
242
|
-
"items": {
|
243
|
-
"type": "string"
|
244
|
-
}
|
245
|
-
},
|
246
|
-
"definition": {
|
247
|
-
"type": "string",
|
248
|
-
"description": "A succinct but comprehensive definition for the attribute",
|
249
|
-
"translation": {
|
250
|
-
"ISO 19115-2": ["FC_FeatureCatalogue > featureType > FC_FeatureType > carrierOfCharacteristics > FC_FeatureAttribute > definition > CharacterString"]
|
251
|
-
}
|
252
|
-
},
|
253
|
-
"dataType": {
|
254
|
-
"type": "string",
|
255
|
-
"description": "The datatype for the attribute. Names for datatypes vary widely by database management system. Use the datatype name associated with the database system that implemented the entity. E.g. 'integer', 'boolean', 'decimal(8,5)', 'varchar(200)'",
|
256
|
-
"translation": {
|
257
|
-
"ISO 19115-2": ["FC_FeatureCatalogue > featureType > FC_FeatureType > carrierOfCharacteristics > FC_FeatureAttribute > valueType > TypeName > aName > CharacterString"]
|
258
|
-
}
|
259
|
-
},
|
260
|
-
"allowNull": {
|
261
|
-
"type": "boolean",
|
262
|
-
"description": "Indicates whether null values are allowed for the attribute",
|
263
|
-
"translation": {
|
264
|
-
"ISO 19115-2": ["FC_FeatureCatalogue > featureType > FC_FeatureType > carrierOfCharacteristics > FC_FeatureAttribute > cardinality > Multiplicity > range > MultiplicityRange > lower > integer[0=optional | 1=required]"]
|
265
|
-
}
|
266
|
-
},
|
267
|
-
"units": {
|
268
|
-
"type": "string",
|
269
|
-
"description": "A unit-of-measure for the attribute. E.g. 'meters', 'atmospheres', 'liters'",
|
270
|
-
"translation": {
|
271
|
-
"ISO 19115-2": ["FC_FeatureCatalogue > featureType > FC_FeatureType > carrierOfCharacteristics > FC_FeatureAttribute > valueMeasurementUnit > [UnitDefinition > identifier | ConversionalUnit > identifier, name, catalogSystem, conversionToPreferredUnit, formula | BaseUnit > identifier, name, catalogSymbol, unitSystem | DerivedUnit > identifier, name, remarks, catalogSymbol, derivationUnitTerm]"]
|
272
|
-
}
|
273
|
-
},
|
274
|
-
"domainId": {
|
275
|
-
"type": "string",
|
276
|
-
"description": "Provides the domain ID for the dictionary Domain containing the list of permissable values for this attribute"
|
277
|
-
},
|
278
|
-
"minValue": {
|
279
|
-
"type": "string",
|
280
|
-
"description": "The minimum range value permissible for this attribute"
|
281
|
-
},
|
282
|
-
"maxValue": {
|
283
|
-
"type": "string",
|
284
|
-
"description": "The maximum range value permissible for this attribute"
|
285
|
-
}
|
286
|
-
}
|
287
|
-
}
|
288
|
-
},
|
289
|
-
"foreignKey": {
|
290
|
-
"type": "array",
|
291
|
-
"description": "An array of objects describing attributes whose values are restricted to values found in the domain of an attribute belonging to another table or dataset",
|
292
|
-
"translation": {
|
293
|
-
"ISO 19115-2": ["Note: the foreign key is written as a text description into FC_FeatureCatalogue > featureType > FC_FeatureType > constrainedBy > FC_Constraint"]
|
294
|
-
},
|
295
|
-
"items": {
|
296
|
-
"type": "object",
|
297
|
-
"example": "../../examples/full_example.json#/dataDictionary/0/entity/1/foreignKey",
|
298
|
-
"required": ["localAttributeCodeName", "referencedEntityCodeName", "referencedAttributeCodeName"],
|
299
|
-
"additionalProperties": true,
|
300
|
-
"properties": {
|
301
|
-
"localAttributeCodeName": {
|
302
|
-
"type": "array",
|
303
|
-
"description": "An array of local (referencing or child) attribute code names for this foreign key",
|
304
|
-
"translation": {
|
305
|
-
"ISO 19115-2": ["FC_FeatureCatalogue > featureType > FC_FeatureType > constrainedBy > FC_Constraint > description > CharacterString"]
|
306
|
-
},
|
307
|
-
"items": {
|
308
|
-
"type": "string"
|
309
|
-
}
|
310
|
-
},
|
311
|
-
"referencedEntityCodeName": {
|
312
|
-
"type": "string",
|
313
|
-
"description": "The entityID for the referenced (or parent) entity for this foreign key",
|
314
|
-
"translation": {
|
315
|
-
"ISO 19115-2": ["FC_FeatureCatalogue > featureType > FC_FeatureType > constrainedBy > FC_Constraint > description > CharacterString"]
|
316
|
-
}
|
317
|
-
},
|
318
|
-
"referencedAttributeCodeName": {
|
319
|
-
"type": "array",
|
320
|
-
"description": "An array of referenced (or parent) attribute code names for this foreign key. If the foreign key is compound key (more than one attribute compose the key) the order of the referenced attributes must allign precicely with the order and number of local attributes.",
|
321
|
-
"translation": {
|
322
|
-
"ISO 19115-2": ["FC_FeatureCatalogue > featureType > FC_FeatureType > constrainedBy > FC_Constraint > description > CharacterString"]
|
323
|
-
},
|
324
|
-
"items": {
|
325
|
-
"type": "string"
|
326
|
-
}
|
327
|
-
}
|
328
|
-
}
|
329
|
-
}
|
330
|
-
}
|
331
|
-
}
|
332
|
-
}
|
333
|
-
}
|
334
|
-
}
|
335
|
-
}
|
@@ -1,216 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"id": "distributor.json#",
|
3
|
-
"$schema": "http://json-schema.org/draft-04/schema#",
|
4
|
-
"type": "object",
|
5
|
-
"example": "../../examples/full_example.json#/metadata/distributionInfo",
|
6
|
-
"description": "Information about the distributor of and options for obtaining the resource.",
|
7
|
-
"translation": {
|
8
|
-
"ISO 19115-2": ["MD_Distribution"],
|
9
|
-
"FGDC CSDGM": ["distinfo"]
|
10
|
-
},
|
11
|
-
"required": ["distributorContact"],
|
12
|
-
"additionalProperties": true,
|
13
|
-
"properties": {
|
14
|
-
"distributorContact": {
|
15
|
-
"description": "Party from whom the resource may be obtained. Note: This list need not be exhaustive.",
|
16
|
-
"translation": {
|
17
|
-
"ISO 19115-2": ["MD_Distribution > distributor > MD_Distributor > distributorContact > CI_ResponsibleParty"],
|
18
|
-
"FGDC CSDGM": ["distinfo > distrib > cntinfo"]
|
19
|
-
},
|
20
|
-
"$ref": "contact.json#/definitions/contactRef"
|
21
|
-
},
|
22
|
-
"distributionOrderProcess": {
|
23
|
-
"type": "array",
|
24
|
-
"description": "Provides information about how the resource may be obtained and related instructions and fee information.",
|
25
|
-
"translation": {
|
26
|
-
"ISO 19115-2": ["MD_Distribution > distributor > MD_Distributor > distributionOrderProcess > MD_StandardOrderProcess"]
|
27
|
-
},
|
28
|
-
"items": {
|
29
|
-
"type": "object",
|
30
|
-
"additionalProperties": true,
|
31
|
-
"properties": {
|
32
|
-
"fees": {
|
33
|
-
"type": "string",
|
34
|
-
"description": "Fees and terms for retrieving the resource, including monetary units.",
|
35
|
-
"translation": {
|
36
|
-
"ISO 19115-2": ["MD_StandardOrderProcess > fees"],
|
37
|
-
"FGDC CSDGM": ["distinfo > stdorder > fees"]
|
38
|
-
}
|
39
|
-
},
|
40
|
-
"plannedAvailabilityDateTime": {
|
41
|
-
"description": "Date and time when the resource will be available.",
|
42
|
-
"translation": {
|
43
|
-
"ISO 19115-2": ["MD_StandardOrderProcess > plannedAvailabilityDateTime"]
|
44
|
-
},
|
45
|
-
"$ref": "../schema.json#/definitions/date"
|
46
|
-
},
|
47
|
-
"orderingInstructions": {
|
48
|
-
"type": "string",
|
49
|
-
"description": "General instructions, terms and services provided by the distributor.",
|
50
|
-
"translation": {
|
51
|
-
"ISO 19115-2": ["MD_StandardOrderProcess > orderingInstructions"],
|
52
|
-
"FGDC CSDGM": ["distinfo > stdorder > digform > digtopt > onlinopt > accinstr"]
|
53
|
-
}
|
54
|
-
},
|
55
|
-
"turnaround": {
|
56
|
-
"type": "string",
|
57
|
-
"description": "Typical turnaround time for the filling of an order.",
|
58
|
-
"translation": {
|
59
|
-
"ISO 19115-2": ["MD_StandardOrderProcess > turnaround"],
|
60
|
-
"FGDC CSDGM": ["distinfo > stdorder > turnarnd"]
|
61
|
-
}
|
62
|
-
}
|
63
|
-
}
|
64
|
-
}
|
65
|
-
},
|
66
|
-
"distributorFormat": {
|
67
|
-
"type": "array",
|
68
|
-
"deprecated": true,
|
69
|
-
"description": "Provides information about the format used by the distributor. Deprecated: moved to distributorTransferOptions.",
|
70
|
-
"translation": {
|
71
|
-
"ISO 19115-2": ["MD_Distribution > distributor > MD_Distributor > distributorFormat > MD_Format"],
|
72
|
-
"FGDC CSDGM": ["distinfo > stdorder > digform"]
|
73
|
-
},
|
74
|
-
"items": {
|
75
|
-
"$ref": "#/definitions/format"
|
76
|
-
}
|
77
|
-
},
|
78
|
-
"distributorTransferOptions": {
|
79
|
-
"type": "array",
|
80
|
-
"example": "../../examples/full_example.json#/metadata/distributionInfo",
|
81
|
-
"description": "Describes method and media by which a resource is obtained from the distributor.",
|
82
|
-
"translation": {
|
83
|
-
"ISO 19115-2": ["MD_Distributor > distributorTransferOptions > MD_DigitalTransferOptions"],
|
84
|
-
"FGDC CSDGM": ["distinfo > stdorder > digform > digtopt"]
|
85
|
-
},
|
86
|
-
"items": {
|
87
|
-
"type": "object",
|
88
|
-
"example": "../../examples/full_example.json#/metadata/distributionInfo",
|
89
|
-
"additionalProperties": true,
|
90
|
-
"properties": {
|
91
|
-
"distributorFormat": {
|
92
|
-
"type": "array",
|
93
|
-
"description": "Provides information about the format used by the distributor.",
|
94
|
-
"translation": {
|
95
|
-
"ISO 19115-2": ["MD_Distribution > distributor > MD_Distributor > distributorFormat > MD_Format"],
|
96
|
-
"FGDC CSDGM": ["distinfo > stdorder > digform"]
|
97
|
-
},
|
98
|
-
"items": {
|
99
|
-
"type": "object",
|
100
|
-
"example": "../../examples/full_example.json#/metadata/distributionInfo",
|
101
|
-
"additionalProperties": true,
|
102
|
-
"properties": {
|
103
|
-
"compressionMethod": {
|
104
|
-
"type": "string",
|
105
|
-
"description": "Method used to compress the format."
|
106
|
-
}
|
107
|
-
},
|
108
|
-
"allOf": [
|
109
|
-
{
|
110
|
-
"$ref": "#/definitions/format"
|
111
|
-
}
|
112
|
-
]
|
113
|
-
}
|
114
|
-
},
|
115
|
-
"transferSize": {
|
116
|
-
"type": "number",
|
117
|
-
"description": "Total size of the transfer."
|
118
|
-
},
|
119
|
-
"transferSizeUnits": {
|
120
|
-
"enum": ["kB", "KB", "MB", "GB", "TB"],
|
121
|
-
"description": "Units of transfer size."
|
122
|
-
},
|
123
|
-
"online": {
|
124
|
-
"type": "array",
|
125
|
-
"example": "../../examples/full_example.json#/metadata/distributionInfo",
|
126
|
-
"description": "Information about obtaining the resource on-line.",
|
127
|
-
"translation": {
|
128
|
-
"ISO 19115-2": ["MD_DigitalTransferOptions > online > CI_OnlineResource"],
|
129
|
-
"FGDC CSDGM": ["distinfo > stdorder > digform > digtopt > onlinopt"]
|
130
|
-
},
|
131
|
-
"items": {
|
132
|
-
"$ref": "onlineResource.json#"
|
133
|
-
},
|
134
|
-
"uniqueItems": true
|
135
|
-
},
|
136
|
-
"offline": {
|
137
|
-
"type": "object",
|
138
|
-
"example": "../../examples/full_example.json#/metadata/distributionInfo",
|
139
|
-
"description": "Information about obtaining the resource through off-line procedure.",
|
140
|
-
"translation": {
|
141
|
-
"ISO 19115-2": ["MD_DigitalTransferOptions > offline > MD_Medium"],
|
142
|
-
"FGDC CSDGM": ["distinfo > stdorder > digform > digtopt > offoptn"]
|
143
|
-
},
|
144
|
-
"additionalProperties": true,
|
145
|
-
"properties": {
|
146
|
-
"name": {
|
147
|
-
"type": "string",
|
148
|
-
"description": "Name of the format the data is distributed in, such as: dvd, hardcopy, etc.",
|
149
|
-
"translation": {
|
150
|
-
"ISO 19115-2": ["MD_Medium > name [MD_MediumNameCode]"],
|
151
|
-
"FGDC CSDGM": ["distinfo > stdorder > digform > digtopt > offoptn > offmedia"]
|
152
|
-
}
|
153
|
-
},
|
154
|
-
"mediumCapacity": {
|
155
|
-
"type": "number",
|
156
|
-
"description": "Total capacity of the storage format."
|
157
|
-
},
|
158
|
-
"mediumCapacityUnits": {
|
159
|
-
"enum": ["kB", "KB", "MB", "GB", "TB"],
|
160
|
-
"description": "Units of medium capacity."
|
161
|
-
},
|
162
|
-
"mediumFormat": {
|
163
|
-
"type": "string",
|
164
|
-
"description": "Method used by the resource provider to write to the medium, such as: tar, iso9660, etc.",
|
165
|
-
"translation": {
|
166
|
-
"ISO 19115-2": ["MD_Medium > mediumFormat [MD_MediumFormatCode]"],
|
167
|
-
"FGDC CSDGM": ["distinfo > stdorder > digform > digtopt > offoptn > recfmt"]
|
168
|
-
}
|
169
|
-
},
|
170
|
-
"mediumNote": {
|
171
|
-
"type": "string",
|
172
|
-
"description": "Description of other limitations or requirements for using the medium.",
|
173
|
-
"translation": {
|
174
|
-
"ISO 19115-2": ["MD_Medium > mediumNote"],
|
175
|
-
"FGDC CSDGM": ["distinfo > stdorder > digform > digtopt > offoptn > compat"]
|
176
|
-
}
|
177
|
-
}
|
178
|
-
}
|
179
|
-
}
|
180
|
-
}
|
181
|
-
}
|
182
|
-
}
|
183
|
-
},
|
184
|
-
"definitions": {
|
185
|
-
"format": {
|
186
|
-
"type": "object",
|
187
|
-
"title": "format",
|
188
|
-
"description": "Provides information about the format used by the distributor.",
|
189
|
-
"example": "../../examples/full_example.json#/metadata/resourceInfo/resourceNativeFormat",
|
190
|
-
"translation": {
|
191
|
-
"ISO 19115-2": ["MD_Format"],
|
192
|
-
"FGDC CSDGM": ["distinfo > stdorder > digform"]
|
193
|
-
},
|
194
|
-
"required": ["formatName"],
|
195
|
-
"additionalProperties": true,
|
196
|
-
"properties": {
|
197
|
-
"formatName": {
|
198
|
-
"type": "string",
|
199
|
-
"description": "Name of the data transfer format.",
|
200
|
-
"translation": {
|
201
|
-
"ISO 19115-2": ["MD_Format > name"],
|
202
|
-
"FGDC CSDGM": ["distinfo > stdorder > digform > digtinfo > formname"]
|
203
|
-
}
|
204
|
-
},
|
205
|
-
"version": {
|
206
|
-
"type": "string",
|
207
|
-
"description": "Version of the format (date, number, etc.)",
|
208
|
-
"translation": {
|
209
|
-
"ISO 19115-2": ["MD_Format > version"],
|
210
|
-
"FGDC CSDGM": ["idinfo > citation > citeinfo > edition"]
|
211
|
-
}
|
212
|
-
}
|
213
|
-
}
|
214
|
-
}
|
215
|
-
}
|
216
|
-
}
|