adiwg-mdjson_schemas 2.0.0.pre.alpha.6 → 2.0.0.pre.alpha.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/examples/citation.json +14 -4
- data/examples/constraint.json +14 -6
- data/examples/distribution.json +14 -4
- data/examples/distributor.json +7 -2
- data/examples/extent.json +4 -4
- data/examples/maintenance.json +15 -5
- data/examples/mdJson.json +21 -6
- data/examples/metadata.json +15 -5
- data/examples/metadataInfo.json +14 -4
- data/examples/processStep.json +14 -6
- data/examples/releasability.json +14 -6
- data/examples/resourceInfo.json +18 -8
- data/examples/responsibleParty.json +32 -25
- data/examples/source.json +2 -2
- data/examples/spatialReference.json +8 -8
- data/examples/spatialRepresentation.json +2 -2
- data/examples/taxonomy.json +28 -8
- data/examples/usage.json +14 -5
- data/examples/verticalExtent.json +2 -2
- data/examples/voucher.json +7 -2
- data/lib/adiwg/mdjson_schemas/version.rb +1 -1
- data/schema/{georeferencableRepresentation.json → georeferenceableRepresentation.json} +3 -3
- data/schema/responsibility.json +2 -2
- data/schema/schema.json +1 -1
- data/schema/spatialReference.json +3 -3
- data/schema/spatialRepresentation.json +7 -7
- data/test/tc_georeferenceableRepresentation.rb +8 -0
- metadata +5 -5
- data/test/tc_georeferencableRepresentation.rb +0 -8
- /data/examples/{georeferencableRepresentation.json → georeferenceableRepresentation.json} +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e42d629b76b7b17f16eff16fca0d3d0a5028fff8
|
4
|
+
data.tar.gz: 8c5fff39c65d2d5b01074b9103dd7fb5e912576b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 16f340aacf53ceb75e03b6e07bb5ff3d7310344566016eeab01820e18b45a5462174012bc872e287d4dc2c13d420489491858f4a856b5e09438450791e24de6b
|
7
|
+
data.tar.gz: 4a03d09effc1ffbfb9d86911de006f44228bef6542454707a47326f0bc53ea2d45024ebea7f3b847719d562dfdb17dafd5a2db49f92fc362142d7a5b561c761d
|
data/examples/citation.json
CHANGED
@@ -16,8 +16,13 @@
|
|
16
16
|
"edition": "edition",
|
17
17
|
"responsibleParty": [{
|
18
18
|
"role": "role",
|
19
|
-
"
|
20
|
-
"
|
19
|
+
"roleExtent": [{
|
20
|
+
"temporalExtent": [{
|
21
|
+
"type": "period",
|
22
|
+
"timePeriod": {
|
23
|
+
"startDateTime": "2016-10-24T11:10:15.2-10:00"
|
24
|
+
}
|
25
|
+
}]
|
21
26
|
}],
|
22
27
|
"party": [{
|
23
28
|
"contactId": "individualId0"
|
@@ -25,8 +30,13 @@
|
|
25
30
|
},
|
26
31
|
{
|
27
32
|
"role": "role",
|
28
|
-
"
|
29
|
-
"
|
33
|
+
"roleExtent": [{
|
34
|
+
"temporalExtent": [{
|
35
|
+
"type": "period",
|
36
|
+
"timePeriod": {
|
37
|
+
"startDateTime": "2016-10-24T11:10:15.2-10:00"
|
38
|
+
}
|
39
|
+
}]
|
30
40
|
}],
|
31
41
|
"party": [{
|
32
42
|
"contactId": "individualId0"
|
data/examples/constraint.json
CHANGED
@@ -22,9 +22,13 @@
|
|
22
22
|
},
|
23
23
|
"responsibleParty": [{
|
24
24
|
"role": "role0",
|
25
|
-
"
|
26
|
-
"
|
27
|
-
|
25
|
+
"roleExtent": [{
|
26
|
+
"temporalExtent": [{
|
27
|
+
"type": "period",
|
28
|
+
"timePeriod": {
|
29
|
+
"startDateTime": "2016-10-24T11:10:15.2-10:00"
|
30
|
+
}
|
31
|
+
}]
|
28
32
|
}],
|
29
33
|
"party": [{
|
30
34
|
"contactId": "individualId0"
|
@@ -32,9 +36,13 @@
|
|
32
36
|
},
|
33
37
|
{
|
34
38
|
"role": "role1",
|
35
|
-
"
|
36
|
-
"
|
37
|
-
|
39
|
+
"roleExtent": [{
|
40
|
+
"temporalExtent": [{
|
41
|
+
"type": "period",
|
42
|
+
"timePeriod": {
|
43
|
+
"startDateTime": "2016-10-24T11:10:15.2-10:00"
|
44
|
+
}
|
45
|
+
}]
|
38
46
|
}],
|
39
47
|
"party": [{
|
40
48
|
"contactId": "individualId0"
|
data/examples/distribution.json
CHANGED
@@ -3,8 +3,13 @@
|
|
3
3
|
"distributor": [{
|
4
4
|
"contact": {
|
5
5
|
"role": "role",
|
6
|
-
"
|
7
|
-
"
|
6
|
+
"roleExtent": [{
|
7
|
+
"temporalExtent": [{
|
8
|
+
"type": "period",
|
9
|
+
"timePeriod": {
|
10
|
+
"startDateTime": "2016-10-24T11:10:15.2-10:00"
|
11
|
+
}
|
12
|
+
}]
|
8
13
|
}],
|
9
14
|
"party": [{
|
10
15
|
"contactId": "individualId0"
|
@@ -14,8 +19,13 @@
|
|
14
19
|
{
|
15
20
|
"contact": {
|
16
21
|
"role": "role",
|
17
|
-
"
|
18
|
-
"
|
22
|
+
"roleExtent": [{
|
23
|
+
"temporalExtent": [{
|
24
|
+
"type": "period",
|
25
|
+
"timePeriod": {
|
26
|
+
"startDateTime": "2016-10-24T11:10:15.2-10:00"
|
27
|
+
}
|
28
|
+
}]
|
19
29
|
}],
|
20
30
|
"party": [{
|
21
31
|
"contactId": "individualId0"
|
data/examples/distributor.json
CHANGED
@@ -1,8 +1,13 @@
|
|
1
1
|
[{
|
2
2
|
"contact": {
|
3
3
|
"role": "role",
|
4
|
-
"
|
5
|
-
"
|
4
|
+
"roleExtent": [{
|
5
|
+
"temporalExtent": [{
|
6
|
+
"type": "period",
|
7
|
+
"timePeriod": {
|
8
|
+
"startDateTime": "2016-10-24T11:10:15.2-10:00"
|
9
|
+
}
|
10
|
+
}]
|
6
11
|
}],
|
7
12
|
"party": [{
|
8
13
|
"contactId": "individualId0"
|
data/examples/extent.json
CHANGED
@@ -40,8 +40,8 @@
|
|
40
40
|
"minValue": 9.9,
|
41
41
|
"maxValue": 9.9,
|
42
42
|
"crsId": {
|
43
|
-
"
|
44
|
-
"
|
43
|
+
"referenceSystemType": "referenceSystemType",
|
44
|
+
"referenceSystemIdentifier": {
|
45
45
|
"identifier": "identifier"
|
46
46
|
}
|
47
47
|
}
|
@@ -50,8 +50,8 @@
|
|
50
50
|
"minValue": 9.9,
|
51
51
|
"maxValue": 9.9,
|
52
52
|
"crsId": {
|
53
|
-
"
|
54
|
-
"
|
53
|
+
"referenceSystemType": "referenceSystemType",
|
54
|
+
"referenceSystemIdentifier": {
|
55
55
|
"identifier": "identifier"
|
56
56
|
}
|
57
57
|
}
|
data/examples/maintenance.json
CHANGED
@@ -18,8 +18,13 @@
|
|
18
18
|
],
|
19
19
|
"contact": [{
|
20
20
|
"role": "role",
|
21
|
-
"
|
22
|
-
"
|
21
|
+
"roleExtent": [{
|
22
|
+
"temporalExtent": [{
|
23
|
+
"type": "period",
|
24
|
+
"timePeriod": {
|
25
|
+
"startDateTime": "2016-10-24T11:10:15.2-10:00"
|
26
|
+
}
|
27
|
+
}]
|
23
28
|
}],
|
24
29
|
"party": [{
|
25
30
|
"contactId": "individualId0"
|
@@ -27,11 +32,16 @@
|
|
27
32
|
},
|
28
33
|
{
|
29
34
|
"role": "role",
|
30
|
-
"
|
31
|
-
"
|
35
|
+
"roleExtent": [{
|
36
|
+
"temporalExtent": [{
|
37
|
+
"type": "period",
|
38
|
+
"timePeriod": {
|
39
|
+
"startDateTime": "2016-10-24T11:10:15.2-10:00"
|
40
|
+
}
|
41
|
+
}]
|
32
42
|
}],
|
33
43
|
"party": [{
|
34
|
-
"contactId": "
|
44
|
+
"contactId": "individualId1"
|
35
45
|
}]
|
36
46
|
}
|
37
47
|
]
|
data/examples/mdJson.json
CHANGED
@@ -30,16 +30,26 @@
|
|
30
30
|
}],
|
31
31
|
"metadataContact": [{
|
32
32
|
"role": "role",
|
33
|
-
"
|
34
|
-
"
|
33
|
+
"roleExtent": [{
|
34
|
+
"temporalExtent": [{
|
35
|
+
"type": "period",
|
36
|
+
"timePeriod": {
|
37
|
+
"startDateTime": "2016-10-24T11:10:15.2-10:00"
|
38
|
+
}
|
39
|
+
}]
|
35
40
|
}],
|
36
41
|
"party": [{
|
37
42
|
"contactId": "individualId0"
|
38
43
|
}]
|
39
44
|
}, {
|
40
45
|
"role": "role",
|
41
|
-
"
|
42
|
-
"
|
46
|
+
"roleExtent": [{
|
47
|
+
"temporalExtent": [{
|
48
|
+
"type": "period",
|
49
|
+
"timePeriod": {
|
50
|
+
"startDateTime": "2016-10-24T11:10:15.2-10:00"
|
51
|
+
}
|
52
|
+
}]
|
43
53
|
}],
|
44
54
|
"party": [{
|
45
55
|
"contactId": "individualId1"
|
@@ -55,8 +65,13 @@
|
|
55
65
|
"status": ["status"],
|
56
66
|
"pointOfContact": [{
|
57
67
|
"role": "role",
|
58
|
-
"
|
59
|
-
"
|
68
|
+
"roleExtent": [{
|
69
|
+
"temporalExtent": [{
|
70
|
+
"type": "period",
|
71
|
+
"timePeriod": {
|
72
|
+
"startDateTime": "2016-10-24T11:10:15.2-10:00"
|
73
|
+
}
|
74
|
+
}]
|
60
75
|
}],
|
61
76
|
"party": [{
|
62
77
|
"contactId": "individualId0"
|
data/examples/metadata.json
CHANGED
@@ -12,11 +12,16 @@
|
|
12
12
|
}, {
|
13
13
|
"date": "2016-10-31",
|
14
14
|
"dateType": "dateType"
|
15
|
-
}],
|
15
|
+
}],
|
16
16
|
"metadataContact": [{
|
17
17
|
"role": "role",
|
18
|
-
"
|
19
|
-
"
|
18
|
+
"roleExtent": [{
|
19
|
+
"temporalExtent": [{
|
20
|
+
"type": "period",
|
21
|
+
"timePeriod": {
|
22
|
+
"startDateTime": "2016-10-24T11:10:15.2-10:00"
|
23
|
+
}
|
24
|
+
}]
|
20
25
|
}],
|
21
26
|
"party": [{
|
22
27
|
"contactId": "individualId0"
|
@@ -32,8 +37,13 @@
|
|
32
37
|
"status": ["status"],
|
33
38
|
"pointOfContact": [{
|
34
39
|
"role": "role",
|
35
|
-
"
|
36
|
-
"
|
40
|
+
"roleExtent": [{
|
41
|
+
"temporalExtent": [{
|
42
|
+
"type": "period",
|
43
|
+
"timePeriod": {
|
44
|
+
"startDateTime": "2016-10-24T11:10:15.2-10:00"
|
45
|
+
}
|
46
|
+
}]
|
37
47
|
}],
|
38
48
|
"party": [{
|
39
49
|
"contactId": "individualId0"
|
data/examples/metadataInfo.json
CHANGED
@@ -26,8 +26,13 @@
|
|
26
26
|
}],
|
27
27
|
"metadataContact": [{
|
28
28
|
"role": "role",
|
29
|
-
"
|
30
|
-
"
|
29
|
+
"roleExtent": [{
|
30
|
+
"temporalExtent": [{
|
31
|
+
"type": "period",
|
32
|
+
"timePeriod": {
|
33
|
+
"startDateTime": "2016-10-24T11:10:15.2-10:00"
|
34
|
+
}
|
35
|
+
}]
|
31
36
|
}],
|
32
37
|
"party": [{
|
33
38
|
"contactId": "individualId0"
|
@@ -35,8 +40,13 @@
|
|
35
40
|
},
|
36
41
|
{
|
37
42
|
"role": "role",
|
38
|
-
"
|
39
|
-
"
|
43
|
+
"roleExtent": [{
|
44
|
+
"temporalExtent": [{
|
45
|
+
"type": "period",
|
46
|
+
"timePeriod": {
|
47
|
+
"startDateTime": "2016-10-24T11:10:15.2-10:00"
|
48
|
+
}
|
49
|
+
}]
|
40
50
|
}],
|
41
51
|
"party": [{
|
42
52
|
"contactId": "individualId0"
|
data/examples/processStep.json
CHANGED
@@ -7,9 +7,13 @@
|
|
7
7
|
},
|
8
8
|
"processor": [{
|
9
9
|
"role": "role",
|
10
|
-
"
|
11
|
-
"
|
12
|
-
|
10
|
+
"roleExtent": [{
|
11
|
+
"temporalExtent": [{
|
12
|
+
"type": "period",
|
13
|
+
"timePeriod": {
|
14
|
+
"startDateTime": "2016-10-24T11:10:15.2-10:00"
|
15
|
+
}
|
16
|
+
}]
|
13
17
|
}],
|
14
18
|
"party": [{
|
15
19
|
"contactId": "individualId0"
|
@@ -17,9 +21,13 @@
|
|
17
21
|
},
|
18
22
|
{
|
19
23
|
"role": "role",
|
20
|
-
"
|
21
|
-
"
|
22
|
-
|
24
|
+
"roleExtent": [{
|
25
|
+
"temporalExtent": [{
|
26
|
+
"type": "period",
|
27
|
+
"timePeriod": {
|
28
|
+
"startDateTime": "2016-10-24T11:10:15.2-10:00"
|
29
|
+
}
|
30
|
+
}]
|
23
31
|
}],
|
24
32
|
"party": [{
|
25
33
|
"contactId": "individualId0"
|
data/examples/releasability.json
CHANGED
@@ -1,9 +1,13 @@
|
|
1
1
|
[{
|
2
2
|
"addressee": [{
|
3
3
|
"role": "role",
|
4
|
-
"
|
5
|
-
"
|
6
|
-
|
4
|
+
"roleExtent": [{
|
5
|
+
"temporalExtent": [{
|
6
|
+
"type": "period",
|
7
|
+
"timePeriod": {
|
8
|
+
"startDateTime": "2016-10-24T11:10:15.2-10:00"
|
9
|
+
}
|
10
|
+
}]
|
7
11
|
}],
|
8
12
|
"party": [{
|
9
13
|
"contactId": "individualId0"
|
@@ -19,9 +23,13 @@
|
|
19
23
|
}, {
|
20
24
|
"addressee": [{
|
21
25
|
"role": "role",
|
22
|
-
"
|
23
|
-
"
|
24
|
-
|
26
|
+
"roleExtent": [{
|
27
|
+
"temporalExtent": [{
|
28
|
+
"type": "period",
|
29
|
+
"timePeriod": {
|
30
|
+
"startDateTime": "2016-10-24T11:10:15.2-10:00"
|
31
|
+
}
|
32
|
+
}]
|
25
33
|
}],
|
26
34
|
"party": [{
|
27
35
|
"contactId": "individualId0"
|
data/examples/resourceInfo.json
CHANGED
@@ -23,29 +23,39 @@
|
|
23
23
|
],
|
24
24
|
"pointOfContact": [{
|
25
25
|
"role": "role",
|
26
|
-
"
|
27
|
-
"
|
26
|
+
"roleExtent": [{
|
27
|
+
"temporalExtent": [{
|
28
|
+
"type": "period",
|
29
|
+
"timePeriod": {
|
30
|
+
"startDateTime": "2016-10-24T11:10:15.2-10:00"
|
31
|
+
}
|
32
|
+
}]
|
28
33
|
}],
|
29
34
|
"party": [{
|
30
35
|
"contactId": "individualId0"
|
31
36
|
}]
|
32
37
|
}, {
|
33
38
|
"role": "role2",
|
34
|
-
"
|
35
|
-
"
|
39
|
+
"roleExtent": [{
|
40
|
+
"temporalExtent": [{
|
41
|
+
"type": "period",
|
42
|
+
"timePeriod": {
|
43
|
+
"startDateTime": "2016-10-24T11:10:15.2-10:00"
|
44
|
+
}
|
45
|
+
}]
|
36
46
|
}],
|
37
47
|
"party": [{
|
38
48
|
"contactId": "individualId0"
|
39
49
|
}]
|
40
50
|
}],
|
41
51
|
"spatialReferenceSystem": [{
|
42
|
-
"
|
43
|
-
"
|
52
|
+
"referenceSystemType": "referenceSystemType0",
|
53
|
+
"referenceSystemIdentifier": {
|
44
54
|
"identifier": "identifier"
|
45
55
|
}
|
46
56
|
}, {
|
47
|
-
"
|
48
|
-
"
|
57
|
+
"referenceSystemType": "referenceSystemType1",
|
58
|
+
"referenceSystemIdentifier": {
|
49
59
|
"identifier": "identifier"
|
50
60
|
}
|
51
61
|
}],
|
@@ -1,30 +1,37 @@
|
|
1
1
|
[{
|
2
2
|
"role": "role",
|
3
|
-
"
|
4
|
-
"
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
3
|
+
"roleExtent": [{
|
4
|
+
"temporalExtent": [{
|
5
|
+
"type": "period",
|
6
|
+
"timePeriod": {
|
7
|
+
"id": "id",
|
8
|
+
"description": "description",
|
9
|
+
"identifier": {
|
10
|
+
"identifier": "identifier",
|
11
|
+
"namespace": "namespace"
|
12
|
+
},
|
13
|
+
"periodName": [
|
14
|
+
"periodName0",
|
15
|
+
"periodName1"
|
16
|
+
],
|
17
|
+
"startDateTime": "2016-10-14T11:10:15.2-10:00",
|
18
|
+
"endDateTime": "2016-12-31",
|
19
|
+
"timeInterval": {
|
20
|
+
"interval": 9.9,
|
21
|
+
"units": "units"
|
22
|
+
},
|
23
|
+
"duration": {
|
24
|
+
"years": 1,
|
25
|
+
"months": 1,
|
26
|
+
"days": 1,
|
27
|
+
"hours": 1,
|
28
|
+
"minutes": 1,
|
29
|
+
"seconds": 1
|
30
|
+
}
|
31
|
+
}
|
32
|
+
}]
|
33
|
+
}],
|
34
|
+
|
28
35
|
"party": [{
|
29
36
|
"contactId": "individualId0"
|
30
37
|
}]
|
data/examples/source.json
CHANGED
@@ -1,20 +1,20 @@
|
|
1
1
|
[{
|
2
|
-
"
|
3
|
-
"
|
2
|
+
"referenceSystemType": "referenceSystemType",
|
3
|
+
"referenceSystemIdentifier": {
|
4
4
|
"identifier": "identifier"
|
5
5
|
}
|
6
6
|
},
|
7
7
|
{
|
8
|
-
"
|
9
|
-
"
|
8
|
+
"referenceSystemType": "projected",
|
9
|
+
"referenceSystemIdentifier": {
|
10
10
|
"identifier": "Zone 10",
|
11
11
|
"namespace": "UTM",
|
12
12
|
"description": "Universal Transverse Mercator Zone 10 Seattle, Washington"
|
13
13
|
}
|
14
14
|
},
|
15
15
|
{
|
16
|
-
"
|
17
|
-
"
|
16
|
+
"referenceSystemType": "geodeticGeographic2D",
|
17
|
+
"referenceSystemIdentifier": {
|
18
18
|
"identifier": "4326",
|
19
19
|
"namespace": "urn:ogc:def:crs:EPSG",
|
20
20
|
"description": "epsg projection 4326 - wgs 84 - Latitude Longitude",
|
@@ -24,8 +24,8 @@
|
|
24
24
|
}
|
25
25
|
},
|
26
26
|
{
|
27
|
-
"
|
28
|
-
"
|
27
|
+
"referenceSystemType": "projected",
|
28
|
+
"referenceSystemIdentifier": {
|
29
29
|
"identifier": "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]]",
|
30
30
|
"namespace": "WKT",
|
31
31
|
"description": "Well Known Text for East Wyoming"
|
@@ -39,8 +39,8 @@
|
|
39
39
|
"pointInPixel": "pointInPixel"
|
40
40
|
}
|
41
41
|
}, {
|
42
|
-
"type": "
|
43
|
-
"
|
42
|
+
"type": "georeferenceable",
|
43
|
+
"georeferenceableRepresentation": {
|
44
44
|
"gridRepresentation": {
|
45
45
|
"dimension": [{
|
46
46
|
"dimensionType": "dimensionType",
|
data/examples/taxonomy.json
CHANGED
@@ -33,8 +33,13 @@
|
|
33
33
|
],
|
34
34
|
"observer": [{
|
35
35
|
"role": "role",
|
36
|
-
"
|
37
|
-
"
|
36
|
+
"roleExtent": [{
|
37
|
+
"temporalExtent": [{
|
38
|
+
"type": "period",
|
39
|
+
"timePeriod": {
|
40
|
+
"startDateTime": "2016-10-24T11:10:15.2-10:00"
|
41
|
+
}
|
42
|
+
}]
|
38
43
|
}],
|
39
44
|
"party": [{
|
40
45
|
"contactId": "individualId0"
|
@@ -42,8 +47,13 @@
|
|
42
47
|
},
|
43
48
|
{
|
44
49
|
"role": "role",
|
45
|
-
"
|
46
|
-
"
|
50
|
+
"roleExtent": [{
|
51
|
+
"temporalExtent": [{
|
52
|
+
"type": "period",
|
53
|
+
"timePeriod": {
|
54
|
+
"startDateTime": "2016-10-24T11:10:15.2-10:00"
|
55
|
+
}
|
56
|
+
}]
|
47
57
|
}],
|
48
58
|
"party": [{
|
49
59
|
"contactId": "individualId0"
|
@@ -56,8 +66,13 @@
|
|
56
66
|
"specimen": "specimen",
|
57
67
|
"repository": {
|
58
68
|
"role": "role",
|
59
|
-
"
|
60
|
-
"
|
69
|
+
"roleExtent": [{
|
70
|
+
"temporalExtent": [{
|
71
|
+
"type": "period",
|
72
|
+
"timePeriod": {
|
73
|
+
"startDateTime": "2016-10-24T11:10:15.2-10:00"
|
74
|
+
}
|
75
|
+
}]
|
61
76
|
}],
|
62
77
|
"party": [{
|
63
78
|
"contactId": "individualId0"
|
@@ -68,8 +83,13 @@
|
|
68
83
|
"specimen": "specimen",
|
69
84
|
"repository": {
|
70
85
|
"role": "role",
|
71
|
-
"
|
72
|
-
"
|
86
|
+
"roleExtent": [{
|
87
|
+
"temporalExtent": [{
|
88
|
+
"type": "period",
|
89
|
+
"timePeriod": {
|
90
|
+
"startDateTime": "2016-10-24T11:10:15.2-10:00"
|
91
|
+
}
|
92
|
+
}]
|
73
93
|
}],
|
74
94
|
"party": [{
|
75
95
|
"contactId": "individualId0"
|
data/examples/usage.json
CHANGED
@@ -30,8 +30,13 @@
|
|
30
30
|
],
|
31
31
|
"userContactInfo": [{
|
32
32
|
"role": "role0",
|
33
|
-
"
|
34
|
-
"
|
33
|
+
"roleExtent": [{
|
34
|
+
"temporalExtent": [{
|
35
|
+
"type": "period",
|
36
|
+
"timePeriod": {
|
37
|
+
"startDateTime": "2016-10-24T11:10:15.2-10:00"
|
38
|
+
}
|
39
|
+
}]
|
35
40
|
}],
|
36
41
|
"party": [{
|
37
42
|
"contactId": "individualId0"
|
@@ -39,9 +44,13 @@
|
|
39
44
|
},
|
40
45
|
{
|
41
46
|
"role": "role1",
|
42
|
-
"
|
43
|
-
"
|
44
|
-
|
47
|
+
"roleExtent": [{
|
48
|
+
"temporalExtent": [{
|
49
|
+
"type": "period",
|
50
|
+
"timePeriod": {
|
51
|
+
"startDateTime": "2016-10-24T11:10:15.2-10:00"
|
52
|
+
}
|
53
|
+
}]
|
45
54
|
}],
|
46
55
|
"party": [{
|
47
56
|
"contactId": "individualId1"
|
data/examples/voucher.json
CHANGED
@@ -2,8 +2,13 @@
|
|
2
2
|
"specimen": "specimen",
|
3
3
|
"repository": {
|
4
4
|
"role": "role",
|
5
|
-
"
|
6
|
-
"
|
5
|
+
"roleExtent": [{
|
6
|
+
"temporalExtent": [{
|
7
|
+
"type": "period",
|
8
|
+
"timePeriod": {
|
9
|
+
"startDateTime": "2016-10-24T11:10:15.2-10:00"
|
10
|
+
}
|
11
|
+
}]
|
7
12
|
}],
|
8
13
|
"party": [{
|
9
14
|
"contactId": "individualId0"
|
@@ -1,10 +1,10 @@
|
|
1
1
|
{
|
2
2
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
3
|
-
"id": "
|
3
|
+
"id": "georeferenceableRepresentation.json#",
|
4
4
|
"type": "object",
|
5
|
-
"title": "
|
5
|
+
"title": "georeferenceableRepresentation",
|
6
6
|
"description": "Grid with cells irregularly spaced in any given geographic/map projection coordinate system, whose individual cells can be geolocated using geolocation information supplied with the data but cannot be geolocated from the grid properties alone.",
|
7
|
-
"example": "../examples/
|
7
|
+
"example": "../examples/georeferenceableRepresentation.json",
|
8
8
|
"required": ["controlPointAvailable", "orientationParameterAvailable", "georeferencedParameter"],
|
9
9
|
"additionalProperties": true,
|
10
10
|
"properties": {
|
data/schema/responsibility.json
CHANGED
@@ -18,12 +18,12 @@
|
|
18
18
|
},
|
19
19
|
"minLength": 1
|
20
20
|
},
|
21
|
-
"
|
21
|
+
"roleExtent": {
|
22
22
|
"type": "array",
|
23
23
|
"description": "The period of time for which the role is valid.",
|
24
24
|
"translation": {},
|
25
25
|
"items": {
|
26
|
-
"$ref": "./
|
26
|
+
"$ref": "./extent.json#"
|
27
27
|
}
|
28
28
|
},
|
29
29
|
"party": {
|
data/schema/schema.json
CHANGED
@@ -7,16 +7,16 @@
|
|
7
7
|
"ISO 19115-2": ["MD_Metadata > referenceSystemInfo > MD_ReferenceSystem > referenceSystemIdentifier > RS_Identifier > code"]
|
8
8
|
},
|
9
9
|
"type": "object",
|
10
|
-
"required": ["
|
10
|
+
"required": ["referenceSystemIdentifier", "referenceSystemType"],
|
11
11
|
"additionalProperties": true,
|
12
12
|
"properties": {
|
13
13
|
"type": {
|
14
|
-
"
|
14
|
+
"referenceSystemType": "string",
|
15
15
|
"description": "Type of reference system used.",
|
16
16
|
"translation": {},
|
17
17
|
"minLength": 1
|
18
18
|
},
|
19
|
-
"
|
19
|
+
"referenceSystemIdentifier": {
|
20
20
|
"$ref": "./identifier.json#",
|
21
21
|
"description": "The reference system identifier or definition."
|
22
22
|
}
|
@@ -57,17 +57,17 @@
|
|
57
57
|
},
|
58
58
|
{
|
59
59
|
"type": "object",
|
60
|
-
"title": "
|
61
|
-
"example": "../examples/
|
62
|
-
"required": ["type", "
|
60
|
+
"title": "georeferenceableRepresentation",
|
61
|
+
"example": "../examples/georeferenceableRepresentation.json",
|
62
|
+
"required": ["type", "georeferenceableRepresentation"],
|
63
63
|
"additionalProperties": true,
|
64
64
|
"properties": {
|
65
65
|
"type": {
|
66
66
|
"type": "string",
|
67
|
-
"enum": ["
|
67
|
+
"enum": ["georeferenceable"]
|
68
68
|
},
|
69
|
-
"
|
70
|
-
"$ref": "./
|
69
|
+
"georeferenceableRepresentation": {
|
70
|
+
"$ref": "./georeferenceableRepresentation.json#"
|
71
71
|
}
|
72
72
|
}
|
73
73
|
}
|
@@ -76,7 +76,7 @@
|
|
76
76
|
"type": {
|
77
77
|
"type": "string",
|
78
78
|
"description": "Identifies the type of spatial representation defined for the object",
|
79
|
-
"enum": ["grid", "vector", "georectified", "
|
79
|
+
"enum": ["grid", "vector", "georectified", "georeferenceable"]
|
80
80
|
}
|
81
81
|
}
|
82
82
|
}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
require 'helper.rb'
|
2
|
+
|
3
|
+
class TestGeoreferenceableRepresentation < TestHelper
|
4
|
+
def test_georeferenceableRepresentation
|
5
|
+
errors = JSON::Validator.fully_validate('georeferenceableRepresentation.json', @@example + 'georeferenceableRepresentation.json', strict: @@strict, list: true)
|
6
|
+
assert(errors.empty?, errors.join("\n"))
|
7
|
+
end
|
8
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: adiwg-mdjson_schemas
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.0.pre.alpha.
|
4
|
+
version: 2.0.0.pre.alpha.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josh Bradley, Stan Smith
|
@@ -118,7 +118,7 @@ files:
|
|
118
118
|
- examples/geometryFeature.json
|
119
119
|
- examples/geometryObject.json
|
120
120
|
- examples/georectifiedRepresentation.json
|
121
|
-
- examples/
|
121
|
+
- examples/georeferenceableRepresentation.json
|
122
122
|
- examples/graphic.json
|
123
123
|
- examples/gridRepresentation.json
|
124
124
|
- examples/identifier.json
|
@@ -190,7 +190,7 @@ files:
|
|
190
190
|
- schema/geojson.json
|
191
191
|
- schema/geometry.json
|
192
192
|
- schema/georectifiedRepresentation.json
|
193
|
-
- schema/
|
193
|
+
- schema/georeferenceableRepresentation.json
|
194
194
|
- schema/graphic.json
|
195
195
|
- schema/gridRepresentation.json
|
196
196
|
- schema/identifier.json
|
@@ -255,7 +255,7 @@ files:
|
|
255
255
|
- test/tc_geometryFeature.rb
|
256
256
|
- test/tc_geometryObject.rb
|
257
257
|
- test/tc_georectifiedRepresentation.rb
|
258
|
-
- test/
|
258
|
+
- test/tc_georeferenceableRepresentation.rb
|
259
259
|
- test/tc_graphic.rb
|
260
260
|
- test/tc_gridRepresentation.rb
|
261
261
|
- test/tc_identifier.rb
|
@@ -358,7 +358,7 @@ test_files:
|
|
358
358
|
- test/tc_geometryFeature.rb
|
359
359
|
- test/tc_geometryObject.rb
|
360
360
|
- test/tc_georectifiedRepresentation.rb
|
361
|
-
- test/
|
361
|
+
- test/tc_georeferenceableRepresentation.rb
|
362
362
|
- test/tc_graphic.rb
|
363
363
|
- test/tc_gridRepresentation.rb
|
364
364
|
- test/tc_identifier.rb
|
@@ -1,8 +0,0 @@
|
|
1
|
-
require 'helper.rb'
|
2
|
-
|
3
|
-
class TestGeoreferencableRepresentation < TestHelper
|
4
|
-
def test_georeferencableRepresentation
|
5
|
-
errors = JSON::Validator.fully_validate('georeferencableRepresentation.json', @@example + 'georeferencableRepresentation.json', strict: @@strict, list: true)
|
6
|
-
assert(errors.empty?, errors.join("\n"))
|
7
|
-
end
|
8
|
-
end
|
File without changes
|