adiwg-mdjson_schemas 2.4.9 → 2.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +42 -2
- data/adiwg-json_schemas.gemspec +1 -0
- data/examples/boundingBox.json +18 -6
- data/examples/entityAttribute.json +1 -0
- data/examples/geodetic.json +20 -0
- data/examples/geographicExtent.json +47 -22
- data/examples/geologicAge.json +12 -0
- data/examples/mdJson.json +104 -16
- data/examples/obliqueLinePoint.json +9 -0
- data/examples/projection.json +50 -0
- data/examples/referenceSystemParameterSet.json +38 -0
- data/examples/source.json +1 -0
- data/examples/spatialReference.json +16 -4
- data/examples/spatialResolution.json +21 -0
- data/examples/timeInstant.json +20 -0
- data/examples/timePeriod.json +19 -0
- data/examples/verticalDatum.json +13 -0
- data/lib/adiwg/mdjson_schemas/version.rb +1 -1
- data/package.json +3 -3
- data/schema/entityAttribute.json +7 -0
- data/schema/geodetic.json +71 -0
- data/schema/geographicExtent.json +75 -9
- data/schema/geologicAge.json +54 -0
- data/schema/lineage.json +7 -0
- data/schema/projection.json +333 -0
- data/schema/referenceSystemParameterSet.json +73 -0
- data/schema/resourceInfo.json +3 -1
- data/schema/schema.json +1 -1
- data/schema/spatialReference.json +15 -0
- data/schema/spatialResolution.json +158 -2
- data/schema/timeInstant.json +16 -2
- data/schema/timePeriod.json +62 -26
- data/schema/verticalDatum.json +56 -0
- data/test/tc_geodetic.rb +8 -0
- data/test/tc_geologicAge.rb +8 -0
- data/test/tc_obliqueLinePoint.rb +8 -0
- data/test/tc_projection.rb +27 -0
- data/test/tc_referenceSystemParameterSet.rb +8 -0
- data/test/tc_verticalDatum.rb +8 -0
- data/test/test.js +2 -1
- data/yarn.lock +81 -116
- metadata +40 -4
- data/package-lock.json +0 -405
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c7a9bd3ab7da9c422a0e5cf859185cd3c8daaeb5
|
4
|
+
data.tar.gz: 56c80a97d2394b6008d9c630c6b4ae1777331daf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d066830e47479d2b208f1f0da0f69e764e836357043023c1db32a24183c8d6f83538bc31b82fb4633e028c9a539999a8834b44d31f3baacc0b2853cc96b1660f
|
7
|
+
data.tar.gz: cfa0b32b4e442dbfdcf51f14ad3c1755c77f89dc3f2537a7a208c6cc8079381a90e18e687bfe5ab90ee0bb80bbae75d7383f4ecd506bcf22c5f9027436cd653b
|
data/CHANGELOG.md
CHANGED
@@ -1,12 +1,52 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
-
## [v2.
|
3
|
+
## [v2.5.0](https://github.com/adiwg/mdJson-schemas/tree/v2.5.0)
|
4
4
|
|
5
|
+
[Full Changelog](https://github.com/adiwg/mdJson-schemas/compare/v2.4.9...v2.5.0)
|
6
|
+
|
7
|
+
**Implemented enhancements:**
|
8
|
+
|
9
|
+
- source rule change [\#174](https://github.com/adiwg/mdJson-schemas/issues/174)
|
10
|
+
- timeInstant rule change [\#171](https://github.com/adiwg/mdJson-schemas/issues/171)
|
11
|
+
- timePeriod rule change [\#170](https://github.com/adiwg/mdJson-schemas/issues/170)
|
12
|
+
- geologicAge new object [\#169](https://github.com/adiwg/mdJson-schemas/issues/169)
|
13
|
+
- entityAttribute rule change [\#168](https://github.com/adiwg/mdJson-schemas/issues/168)
|
14
|
+
- verticalDatum new object [\#164](https://github.com/adiwg/mdJson-schemas/issues/164)
|
15
|
+
- geographicResolution new object [\#163](https://github.com/adiwg/mdJson-schemas/issues/163)
|
16
|
+
- bearingDistanceResolution new object [\#162](https://github.com/adiwg/mdJson-schemas/issues/162)
|
17
|
+
- coordinateResolution new object [\#161](https://github.com/adiwg/mdJson-schemas/issues/161)
|
18
|
+
- spatialResolution rule change [\#160](https://github.com/adiwg/mdJson-schemas/issues/160)
|
19
|
+
- geodetic new object [\#159](https://github.com/adiwg/mdJson-schemas/issues/159)
|
20
|
+
- obliqueLinePoint new object [\#158](https://github.com/adiwg/mdJson-schemas/issues/158)
|
21
|
+
- projection new object [\#157](https://github.com/adiwg/mdJson-schemas/issues/157)
|
22
|
+
- referenceSystemParameterSet new object [\#156](https://github.com/adiwg/mdJson-schemas/issues/156)
|
23
|
+
- spatialReferenceSystem rule change [\#155](https://github.com/adiwg/mdJson-schemas/issues/155)
|
24
|
+
- boundingBox 'altitude' rule change [\#154](https://github.com/adiwg/mdJson-schemas/issues/154)
|
25
|
+
|
26
|
+
**Fixed bugs:**
|
27
|
+
|
28
|
+
- geographicExtent must have ... [\#190](https://github.com/adiwg/mdJson-schemas/issues/190)
|
29
|
+
|
30
|
+
## [v2.4.9](https://github.com/adiwg/mdJson-schemas/tree/v2.4.9) (2018-05-11)
|
31
|
+
[Full Changelog](https://github.com/adiwg/mdJson-schemas/compare/v2.4.8...v2.4.9)
|
32
|
+
|
33
|
+
**Implemented enhancements:**
|
34
|
+
|
35
|
+
- distributor transferOption option required [\#196](https://github.com/adiwg/mdJson-schemas/issues/196)
|
36
|
+
|
37
|
+
**Fixed bugs:**
|
38
|
+
|
39
|
+
- scopeDescription must have ... [\#194](https://github.com/adiwg/mdJson-schemas/issues/194)
|
40
|
+
- gridRepresentation transformationParameterAvailable required [\#187](https://github.com/adiwg/mdJson-schemas/issues/187)
|
41
|
+
|
42
|
+
## [v2.4.8](https://github.com/adiwg/mdJson-schemas/tree/v2.4.8) (2018-04-13)
|
43
|
+
[Full Changelog](https://github.com/adiwg/mdJson-schemas/compare/v2.4.7...v2.4.8)
|
44
|
+
|
45
|
+
## [v2.4.7](https://github.com/adiwg/mdJson-schemas/tree/v2.4.7) (2018-04-12)
|
5
46
|
[Full Changelog](https://github.com/adiwg/mdJson-schemas/compare/v2.4.5...v2.4.7)
|
6
47
|
|
7
48
|
**Implemented enhancements:**
|
8
49
|
|
9
|
-
- taxonomy rule change [\#202](https://github.com/adiwg/mdJson-schemas/issues/202)
|
10
50
|
- resourceInfo rule change [\#201](https://github.com/adiwg/mdJson-schemas/issues/201)
|
11
51
|
- allocation rule change [\#200](https://github.com/adiwg/mdJson-schemas/issues/200)
|
12
52
|
- distributionFormat rule change [\#182](https://github.com/adiwg/mdJson-schemas/issues/182)
|
data/adiwg-json_schemas.gemspec
CHANGED
data/examples/boundingBox.json
CHANGED
@@ -1,6 +1,18 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
1
|
+
[{
|
2
|
+
"westLongitude": -140.0,
|
3
|
+
"eastLongitude": -120.0,
|
4
|
+
"southLatitude": 49.0,
|
5
|
+
"northLatitude": 70.0,
|
6
|
+
"minimumAltitude": 250.0,
|
7
|
+
"maximumAltitude": 1500.0,
|
8
|
+
"unitsOfAltitude": "meters"
|
9
|
+
},
|
10
|
+
{
|
11
|
+
"westLongitude": -140.0,
|
12
|
+
"eastLongitude": -120.0,
|
13
|
+
"southLatitude": 49.0,
|
14
|
+
"northLatitude": 70.0,
|
15
|
+
"maximumAltitude": 1500.0,
|
16
|
+
"unitsOfAltitude": "meters"
|
17
|
+
}
|
18
|
+
]
|
@@ -0,0 +1,20 @@
|
|
1
|
+
[{
|
2
|
+
"datumIdentifier": {
|
3
|
+
"identifier": "identifier"
|
4
|
+
},
|
5
|
+
"ellipsoidIdentifier": {
|
6
|
+
"identifier": "identifier"
|
7
|
+
},
|
8
|
+
"semiMajorAxis": 9.9,
|
9
|
+
"axisUnits": "axisUnits",
|
10
|
+
"denominatorOfFlatteningRatio": 9.9
|
11
|
+
},
|
12
|
+
{
|
13
|
+
"datumIdentifier": {
|
14
|
+
"identifier": "identifier"
|
15
|
+
},
|
16
|
+
"ellipsoidIdentifier": {
|
17
|
+
"identifier": "identifier"
|
18
|
+
}
|
19
|
+
}
|
20
|
+
]
|
@@ -1,22 +1,47 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
1
|
+
[{
|
2
|
+
"containsData": true,
|
3
|
+
"identifier": {
|
4
|
+
"identifier": "identifier"
|
5
|
+
},
|
6
|
+
"description": "description",
|
7
|
+
"boundingBox": {
|
8
|
+
"westLongitude": -140.0,
|
9
|
+
"eastLongitude": -120.0,
|
10
|
+
"southLatitude": 49.0,
|
11
|
+
"northLatitude": 70.0
|
12
|
+
},
|
13
|
+
"geographicElement": [{
|
14
|
+
"type": "Point",
|
15
|
+
"coordinates": [100.0, 0.0]
|
16
|
+
}, {
|
17
|
+
"type": "LineString",
|
18
|
+
"coordinates": [
|
19
|
+
[100.0, 0.0],
|
20
|
+
[101.0, 1.0]
|
21
|
+
]
|
22
|
+
}]
|
23
|
+
}, {
|
24
|
+
"identifier": {
|
25
|
+
"identifier": "identifier"
|
26
|
+
}
|
27
|
+
}, {
|
28
|
+
"boundingBox": {
|
29
|
+
"westLongitude": -140.0,
|
30
|
+
"eastLongitude": -120.0,
|
31
|
+
"southLatitude": 49.0,
|
32
|
+
"northLatitude": 70.0
|
33
|
+
}
|
34
|
+
}, {
|
35
|
+
"geographicElement": [{
|
36
|
+
"type": "Point",
|
37
|
+
"coordinates": [100.0, 0.0]
|
38
|
+
}, {
|
39
|
+
"type": "LineString",
|
40
|
+
"coordinates": [
|
41
|
+
[100.0, 0.0],
|
42
|
+
[101.0, 1.0]
|
43
|
+
]
|
44
|
+
}]
|
45
|
+
}, {
|
46
|
+
"description": "description"
|
47
|
+
}]
|
@@ -0,0 +1,12 @@
|
|
1
|
+
[{
|
2
|
+
"ageTimeScale": "ageTimeScale",
|
3
|
+
"ageEstimate": "ageEstimate",
|
4
|
+
"ageUncertainty": "ageUncertainty",
|
5
|
+
"ageExplanation": "ageExplanation",
|
6
|
+
"ageReference": [{
|
7
|
+
"title": "citation title"
|
8
|
+
}]
|
9
|
+
}, {
|
10
|
+
"ageTimeScale": "ageTimeScale",
|
11
|
+
"ageEstimate": "ageEstimate"
|
12
|
+
}]
|
data/examples/mdJson.json
CHANGED
@@ -1194,6 +1194,45 @@
|
|
1194
1194
|
"referenceSystemIdentifier": {
|
1195
1195
|
"identifier": "identifier2"
|
1196
1196
|
}
|
1197
|
+
},
|
1198
|
+
{
|
1199
|
+
"referenceSystemType": "projected",
|
1200
|
+
"referenceSystemIdentifier": {
|
1201
|
+
"identifier": "Zone 10",
|
1202
|
+
"namespace": "UTM",
|
1203
|
+
"description": "Universal Transverse Mercator Zone 10 Seattle, Washington"
|
1204
|
+
}
|
1205
|
+
},
|
1206
|
+
{
|
1207
|
+
"referenceSystemType": "geodeticGeographic2D",
|
1208
|
+
"referenceSystemIdentifier": {
|
1209
|
+
"identifier": "4326",
|
1210
|
+
"namespace": "urn:ogc:def:crs:EPSG",
|
1211
|
+
"description": "epsg projection 4326 - wgs 84 - Latitude Longitude",
|
1212
|
+
"authority": {
|
1213
|
+
"title": "European Petroleum Survey Group"
|
1214
|
+
}
|
1215
|
+
}
|
1216
|
+
},
|
1217
|
+
{
|
1218
|
+
"referenceSystemType": "projected",
|
1219
|
+
"referenceSystemWKT": "PROJCS ['Wyoming 4901, Eastern Zone (1983, meters)', GEOGCS ['GRS 80', DATUM ['GRS 80', SPHEROID ['GRS 80', 6378137.000000, 298.257222]], PRIMEM ['Greenwich', 0.000000 ], UNIT ['Decimal Degree', 0.01745329251994330]], PROJECTION ['Transverse Mercator'], PARAMETER ['Scale_Factor', 0.999938], PARAMETER ['Central_Meridian', -105.166667], PARAMETER ['Latitude_Of_Origin', 40.500000], PARAMETER ['False_Easting', 200000.000000], UNIT ['Meter', 1.000000000000]]"
|
1220
|
+
},
|
1221
|
+
{
|
1222
|
+
"referenceSystemType": "geodeticGeographic2D",
|
1223
|
+
"referenceSystemParameterSet": {
|
1224
|
+
"geodetic": {
|
1225
|
+
"datumIdentifier": {
|
1226
|
+
"identifier": "identifier"
|
1227
|
+
},
|
1228
|
+
"ellipsoidIdentifier": {
|
1229
|
+
"identifier": "identifier"
|
1230
|
+
},
|
1231
|
+
"semiMajorAxis": 9.9,
|
1232
|
+
"axisUnits": "axisUnits",
|
1233
|
+
"denominatorOfFlatteningRatio": 9.9
|
1234
|
+
}
|
1235
|
+
}
|
1197
1236
|
}
|
1198
1237
|
],
|
1199
1238
|
"spatialRepresentationType": [
|
@@ -1313,19 +1352,37 @@
|
|
1313
1352
|
}
|
1314
1353
|
],
|
1315
1354
|
"spatialResolution": [{
|
1316
|
-
|
1317
|
-
|
1318
|
-
{
|
1319
|
-
"
|
1320
|
-
|
1321
|
-
|
1322
|
-
"unitOfMeasure": "unitOfMeasure"
|
1323
|
-
}
|
1324
|
-
},
|
1325
|
-
{
|
1326
|
-
"levelOfDetail": "Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur."
|
1355
|
+
"scaleFactor": 99999
|
1356
|
+
}, {
|
1357
|
+
"measure": {
|
1358
|
+
"type": "distance",
|
1359
|
+
"value": 99.9,
|
1360
|
+
"unitOfMeasure": "unitOfMeasure"
|
1327
1361
|
}
|
1328
|
-
|
1362
|
+
}, {
|
1363
|
+
"levelOfDetail": "levelOfDetail"
|
1364
|
+
}, {
|
1365
|
+
"geographicResolution": {
|
1366
|
+
"latitudeResolution": 9.9,
|
1367
|
+
"longitudeResolution": 9.9,
|
1368
|
+
"unitOfMeasure": "unitOfMeasure"
|
1369
|
+
}
|
1370
|
+
}, {
|
1371
|
+
"bearingDistanceResolution": {
|
1372
|
+
"distanceResolution": 9.9,
|
1373
|
+
"distanceUnitOfMeasure": "",
|
1374
|
+
"bearingResolution": 9.9,
|
1375
|
+
"bearingUnitOfMeasure": "",
|
1376
|
+
"bearingReferenceDirection": "north",
|
1377
|
+
"bearingReferenceMeridian": "assumed"
|
1378
|
+
}
|
1379
|
+
}, {
|
1380
|
+
"coordinateResolution": {
|
1381
|
+
"abscissaResolutionX": 9.9,
|
1382
|
+
"ordinateResolutionY": 9.9,
|
1383
|
+
"unitOfMeasure": "unitOfMeasure"
|
1384
|
+
}
|
1385
|
+
}],
|
1329
1386
|
"keyword": [{
|
1330
1387
|
"keyword": [{
|
1331
1388
|
"keyword": "Barrow"
|
@@ -2021,10 +2078,41 @@
|
|
2021
2078
|
"dateTime": "2016-10-24T11:10:15.200-10:00"
|
2022
2079
|
}
|
2023
2080
|
},
|
2081
|
+
{
|
2082
|
+
"timeInstant": {
|
2083
|
+
"id": "id",
|
2084
|
+
"description": "description",
|
2085
|
+
"identifier": {
|
2086
|
+
"identifier": "identifier",
|
2087
|
+
"namespace": "namespace"
|
2088
|
+
},
|
2089
|
+
"instantName": [
|
2090
|
+
"instantName0",
|
2091
|
+
"instantName1"
|
2092
|
+
],
|
2093
|
+
"geologicAge": {
|
2094
|
+
"ageTimeScale": "ageTimeScale",
|
2095
|
+
"ageEstimate": "ageEstimate",
|
2096
|
+
"ageUncertainty": "ageUncertainty",
|
2097
|
+
"ageExplanation": "ageExplanation",
|
2098
|
+
"ageReference": [{
|
2099
|
+
"title": "citation title"
|
2100
|
+
}]
|
2101
|
+
}
|
2102
|
+
}
|
2103
|
+
},
|
2024
2104
|
{
|
2025
2105
|
"timePeriod": {
|
2026
2106
|
"startDateTime": "2016-10-24T11:10:15.200-10:00"
|
2027
2107
|
}
|
2108
|
+
},
|
2109
|
+
{
|
2110
|
+
"timePeriod": {
|
2111
|
+
"startGeologicAge": {
|
2112
|
+
"ageTimeScale": "International Chronostratigraphic Chart",
|
2113
|
+
"ageEstimate": "13.82"
|
2114
|
+
}
|
2115
|
+
}
|
2028
2116
|
}
|
2029
2117
|
],
|
2030
2118
|
"verticalExtent": [{
|
@@ -2741,7 +2829,7 @@
|
|
2741
2829
|
},
|
2742
2830
|
"dataType": "dataType",
|
2743
2831
|
"allowNull": true,
|
2744
|
-
"
|
2832
|
+
"mustBeUnique": false,
|
2745
2833
|
"units": "units",
|
2746
2834
|
"domainId": "DID001",
|
2747
2835
|
"minValue": "minValue",
|
@@ -2760,7 +2848,7 @@
|
|
2760
2848
|
},
|
2761
2849
|
"dataType": "numeric",
|
2762
2850
|
"allowNull": false,
|
2763
|
-
"
|
2851
|
+
"mustBeUnique": true,
|
2764
2852
|
"units": "meters",
|
2765
2853
|
"domainId": "DID002",
|
2766
2854
|
"minValue": "1000000",
|
@@ -2813,7 +2901,7 @@
|
|
2813
2901
|
},
|
2814
2902
|
"dataType": "dataType",
|
2815
2903
|
"allowNull": true,
|
2816
|
-
"
|
2904
|
+
"mustBeUnique": false,
|
2817
2905
|
"units": "units",
|
2818
2906
|
"domainId": "DID001",
|
2819
2907
|
"minValue": "minValue",
|
@@ -2832,7 +2920,7 @@
|
|
2832
2920
|
},
|
2833
2921
|
"dataType": "numeric",
|
2834
2922
|
"allowNull": false,
|
2835
|
-
"
|
2923
|
+
"mustBeUnique": true,
|
2836
2924
|
"units": "meters",
|
2837
2925
|
"domainId": "DID002",
|
2838
2926
|
"minValue": "1000000",
|
@@ -0,0 +1,50 @@
|
|
1
|
+
[{
|
2
|
+
"projectionIdentifier": {
|
3
|
+
"identifier": "identifier",
|
4
|
+
"name": "name"
|
5
|
+
},
|
6
|
+
"gridZone": "gridZone",
|
7
|
+
"standardParallel1": 9.9,
|
8
|
+
"standardParallel2": 9.9,
|
9
|
+
"longitudeOfCentralMeridian": 9.9,
|
10
|
+
"latitudeOfProjectionOrigin": 9.9,
|
11
|
+
"falseEasting": 9.9,
|
12
|
+
"falseNorthing": 9.9,
|
13
|
+
"falseEastingNorthingUnits": "falseEastingNorthingUnits",
|
14
|
+
"scaleFactorAtEquator": 9.9,
|
15
|
+
"heightOfProspectivePointAboveSurface": 9.9,
|
16
|
+
"longitudeOfProjectionCenter": 9.9,
|
17
|
+
"latitudeOfProjectionCenter": 9.9,
|
18
|
+
"scaleFactorAtCenterLine": 9.9,
|
19
|
+
"scaleFactorAtCentralMeridian": 9.9,
|
20
|
+
"straightVerticalLongitudeFromPole": 9.9,
|
21
|
+
"scaleFactorAtProjectionOrigin": 9.9,
|
22
|
+
"azimuthAngle": 9.9,
|
23
|
+
"azimuthMeasurePointLongitude": 9.9,
|
24
|
+
"obliqueLinePoint": [{
|
25
|
+
"obliqueLineLatitude": 9.9,
|
26
|
+
"obliqueLineLongitude": 9.9
|
27
|
+
},
|
28
|
+
{
|
29
|
+
"obliqueLineLatitude": 9.9,
|
30
|
+
"obliqueLineLongitude": 9.9
|
31
|
+
}
|
32
|
+
],
|
33
|
+
"landsatNumber": 9,
|
34
|
+
"landsatPath": 9
|
35
|
+
}, {
|
36
|
+
"projectionIdentifier": {
|
37
|
+
"identifier": "alaska",
|
38
|
+
"name": "Modified Stereographic for Alaska",
|
39
|
+
"namespace": "org.adiwg.code.mapProjection"
|
40
|
+
}
|
41
|
+
}, {
|
42
|
+
"projectionIdentifier": {
|
43
|
+
"identifier": "identifier",
|
44
|
+
"namespace": "urn:ogc:def:crs:EPSG"
|
45
|
+
}
|
46
|
+
}, {
|
47
|
+
"gridIdentifier": {
|
48
|
+
"identifier": "utm",
|
49
|
+
"namespace": "org.adiwg.code.mapGridSystem"
|
50
|
+
}}]
|