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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 683bd04ca360d0f58c10c3567665fe10a61823aa
4
- data.tar.gz: '0593cde9de63104759c53878b323ae8baddbe17e'
3
+ metadata.gz: e42d629b76b7b17f16eff16fca0d3d0a5028fff8
4
+ data.tar.gz: 8c5fff39c65d2d5b01074b9103dd7fb5e912576b
5
5
  SHA512:
6
- metadata.gz: 5b0efb6a9b861cf6764e4c2fc5e5b655e118120f12d50d2b29ad8d168dbb18f306eaebcf179393d685f55820065f2541945ca7838096ae78e82fda696c019143
7
- data.tar.gz: a23304e4f40d0f13792379cb97c8a64c114584e8ed00e96c14e99fc80fec5894de047c6699b38ae1bbd75b0e46e89da9abca0df261b91c02df6f2b37bde0b6d1
6
+ metadata.gz: 16f340aacf53ceb75e03b6e07bb5ff3d7310344566016eeab01820e18b45a5462174012bc872e287d4dc2c13d420489491858f4a856b5e09438450791e24de6b
7
+ data.tar.gz: 4a03d09effc1ffbfb9d86911de006f44228bef6542454707a47326f0bc53ea2d45024ebea7f3b847719d562dfdb17dafd5a2db49f92fc362142d7a5b561c761d
@@ -16,8 +16,13 @@
16
16
  "edition": "edition",
17
17
  "responsibleParty": [{
18
18
  "role": "role",
19
- "timePeriod": [{
20
- "startDateTime": "2016-10-14"
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
- "timePeriod": [{
29
- "startDateTime": "2016-10-14"
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"
@@ -22,9 +22,13 @@
22
22
  },
23
23
  "responsibleParty": [{
24
24
  "role": "role0",
25
- "timePeriod": [{
26
- "startDateTime": "2016-10-14T11:10:15.2-10:00",
27
- "endDateTime": "2016-12-31"
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
- "timePeriod": [{
36
- "startDateTime": "2016-10-14T11:10:15.2-10:00",
37
- "endDateTime": "2016-12-31"
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"
@@ -3,8 +3,13 @@
3
3
  "distributor": [{
4
4
  "contact": {
5
5
  "role": "role",
6
- "timePeriod": [{
7
- "startDateTime": "2016-10-21"
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
- "timePeriod": [{
18
- "startDateTime": "2016-10-21"
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"
@@ -1,8 +1,13 @@
1
1
  [{
2
2
  "contact": {
3
3
  "role": "role",
4
- "timePeriod": [{
5
- "startDateTime": "2016-10-21"
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
- "type": "referenceSystemType",
44
- "systemIdentifier": {
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
- "type": "referenceSystemType",
54
- "systemIdentifier": {
53
+ "referenceSystemType": "referenceSystemType",
54
+ "referenceSystemIdentifier": {
55
55
  "identifier": "identifier"
56
56
  }
57
57
  }
@@ -18,8 +18,13 @@
18
18
  ],
19
19
  "contact": [{
20
20
  "role": "role",
21
- "timePeriod": [{
22
- "startDateTime": "2016-10-14"
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
- "timePeriod": [{
31
- "startDateTime": "2016-10-15"
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": "individualId0"
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
- "timePeriod": [{
34
- "startDateTime": "2016-10-31"
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
- "timePeriod": [{
42
- "startDateTime": "2016-10-31"
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
- "timePeriod": [{
59
- "startDateTime": "2016-10-14"
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"
@@ -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
- "timePeriod": [{
19
- "startDateTime": "2016-10-31"
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
- "timePeriod": [{
36
- "startDateTime": "2016-10-14"
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"
@@ -26,8 +26,13 @@
26
26
  }],
27
27
  "metadataContact": [{
28
28
  "role": "role",
29
- "timePeriod": [{
30
- "startDateTime": "2016-10-31"
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
- "timePeriod": [{
39
- "startDateTime": "2016-10-31"
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"
@@ -7,9 +7,13 @@
7
7
  },
8
8
  "processor": [{
9
9
  "role": "role",
10
- "timePeriod": [{
11
- "startDateTime": "2016-10-14T11:10:15.2-10:00",
12
- "endDateTime": "2016-12-31"
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
- "timePeriod": [{
21
- "startDateTime": "2016-10-14T11:10:15.2-10:00",
22
- "endDateTime": "2016-12-31"
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"
@@ -1,9 +1,13 @@
1
1
  [{
2
2
  "addressee": [{
3
3
  "role": "role",
4
- "timePeriod": [{
5
- "startDateTime": "2016-10-14T11:10:15.2-10:00",
6
- "endDateTime": "2016-12-31"
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
- "timePeriod": [{
23
- "startDateTime": "2016-10-14T11:10:15.2-10:00",
24
- "endDateTime": "2016-12-31"
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"
@@ -23,29 +23,39 @@
23
23
  ],
24
24
  "pointOfContact": [{
25
25
  "role": "role",
26
- "timePeriod": [{
27
- "startDateTime": "2016-10-14"
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
- "timePeriod": [{
35
- "startDateTime": "2016-10-14"
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
- "type": "referenceSystemType0",
43
- "systemIdentifier": {
52
+ "referenceSystemType": "referenceSystemType0",
53
+ "referenceSystemIdentifier": {
44
54
  "identifier": "identifier"
45
55
  }
46
56
  }, {
47
- "type": "referenceSystemType1",
48
- "systemIdentifier": {
57
+ "referenceSystemType": "referenceSystemType1",
58
+ "referenceSystemIdentifier": {
49
59
  "identifier": "identifier"
50
60
  }
51
61
  }],
@@ -1,30 +1,37 @@
1
1
  [{
2
2
  "role": "role",
3
- "timePeriod": [{
4
- "id": "id",
5
- "description": "description",
6
- "identifier": {
7
- "identifier": "identifier",
8
- "namespace": "namespace"
9
- },
10
- "periodName": [
11
- "periodName0",
12
- "periodName1"
13
- ],
14
- "startDateTime": "2016-10-14T11:10:15.2-10:00",
15
- "endDateTime": "2016-12-31",
16
- "timeInterval": {
17
- "interval": 9.9,
18
- "units": "units"
19
- },
20
- "duration": {
21
- "years": 1,
22
- "months": 1,
23
- "days": 1,
24
- "hours": 1,
25
- "minutes": 1,
26
- "seconds": 1
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
@@ -10,8 +10,8 @@
10
10
  }],
11
11
  "scaleDenominator": 9,
12
12
  "referenceSystem": {
13
- "type": "referenceSystemType",
14
- "systemIdentifier": {
13
+ "referenceSystemType": "referenceSystemType",
14
+ "referenceSystemIdentifier": {
15
15
  "identifier": "identifier"
16
16
  }
17
17
  },
@@ -1,20 +1,20 @@
1
1
  [{
2
- "type": "referenceSystemType",
3
- "systemIdentifier": {
2
+ "referenceSystemType": "referenceSystemType",
3
+ "referenceSystemIdentifier": {
4
4
  "identifier": "identifier"
5
5
  }
6
6
  },
7
7
  {
8
- "type": "projected",
9
- "systemIdentifier": {
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
- "type": "geodeticGeographic2D",
17
- "systemIdentifier": {
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
- "type": "projected",
28
- "systemIdentifier": {
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": "georeferencable",
43
- "georeferencableRepresentation": {
42
+ "type": "georeferenceable",
43
+ "georeferenceableRepresentation": {
44
44
  "gridRepresentation": {
45
45
  "dimension": [{
46
46
  "dimensionType": "dimensionType",
@@ -33,8 +33,13 @@
33
33
  ],
34
34
  "observer": [{
35
35
  "role": "role",
36
- "timePeriod": [{
37
- "startDateTime": "2016-10-22"
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
- "timePeriod": [{
46
- "startDateTime": "2016-10-22"
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
- "timePeriod": [{
60
- "startDateTime": "2016-10-14"
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
- "timePeriod": [{
72
- "startDateTime": "2016-10-14"
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
- "timePeriod": [{
34
- "startDateTime": "2016-10-14"
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
- "timePeriod": [{
43
- "startDateTime": "2016-10-14T11:10:15.2-10:00",
44
- "endDateTime": "2016-12-31"
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"
@@ -3,8 +3,8 @@
3
3
  "minValue": 9.9,
4
4
  "maxValue": 9.9,
5
5
  "crsId": {
6
- "type": "referenceSystemType",
7
- "systemIdentifier": {
6
+ "referenceSystemType": "referenceSystemType",
7
+ "referenceSystemIdentifier": {
8
8
  "identifier": "identifier"
9
9
  }
10
10
  }
@@ -2,8 +2,13 @@
2
2
  "specimen": "specimen",
3
3
  "repository": {
4
4
  "role": "role",
5
- "timePeriod": [{
6
- "startDateTime": "2016-10-14"
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,6 +1,6 @@
1
1
  module ADIWG
2
2
  module MdjsonSchemas
3
3
  # Current schema version number
4
- VERSION = "2.0.0-alpha.6"
4
+ VERSION = "2.0.0-alpha.7"
5
5
  end
6
6
  end
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/draft-04/schema#",
3
- "id": "georeferencableRepresentation.json#",
3
+ "id": "georeferenceableRepresentation.json#",
4
4
  "type": "object",
5
- "title": "georeferencableRepresentation",
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/georeferencableRepresentation.json",
7
+ "example": "../examples/georeferenceableRepresentation.json",
8
8
  "required": ["controlPointAvailable", "orientationParameterAvailable", "georeferencedParameter"],
9
9
  "additionalProperties": true,
10
10
  "properties": {
@@ -18,12 +18,12 @@
18
18
  },
19
19
  "minLength": 1
20
20
  },
21
- "timePeriod": {
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": "./timePeriod.json#"
26
+ "$ref": "./extent.json#"
27
27
  }
28
28
  },
29
29
  "party": {
data/schema/schema.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "schema.json#",
3
3
  "$schema": "http://json-schema.org/draft-04/schema#",
4
- "version": "2.0.0-alpha.6",
4
+ "version": "2.0.0-alpha.7",
5
5
  "description": "schema for ADIwg mdJSON metadata",
6
6
  "example": "../examples/mdJson.json",
7
7
  "type": "object",
@@ -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": ["systemIdentifier", "type"],
10
+ "required": ["referenceSystemIdentifier", "referenceSystemType"],
11
11
  "additionalProperties": true,
12
12
  "properties": {
13
13
  "type": {
14
- "type": "string",
14
+ "referenceSystemType": "string",
15
15
  "description": "Type of reference system used.",
16
16
  "translation": {},
17
17
  "minLength": 1
18
18
  },
19
- "systemIdentifier": {
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": "georeferencableRepresentation",
61
- "example": "../examples/georeferencableRepresentation.json",
62
- "required": ["type", "georeferencableRepresentation"],
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": ["georeferencable"]
67
+ "enum": ["georeferenceable"]
68
68
  },
69
- "georeferencableRepresentation": {
70
- "$ref": "./georeferencableRepresentation.json#"
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", "georeferencable"]
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.6
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/georeferencableRepresentation.json
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/georeferencableRepresentation.json
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/tc_georeferencableRepresentation.rb
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/tc_georeferencableRepresentation.rb
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