examples/geojson.json in adiwg-json_schemas-0.5.2 vs examples/geojson.json in adiwg-json_schemas-0.7.0

- old
+ new

@@ -1,253 +1,446 @@ -[{ - "type": "FeatureCollection", - "id": "multiPt1", - "bbox": [-164.88550989974, 59.159712874412, -164.86353724349, 59.169368826866], - "properties": { - "name": "A FeatureCollection(points)", - "description": "represents GML MultiGeometry" - }, - "crs": { - "type": "name", - "properties": { - "name": "urn:ogc:def:crs:OGC:1.3:CRS84" - } - }, - "features": [{ - "type": "Feature", - "id": "point010", - "properties": { - "identifier": "PNT-12345", - "idAuthority": "http://www.gtnp.org", - "name": "BS7882", - "description": "point valid on or after a specific date", - "date": "2011-09-15" - +[ + { + "type":"FeatureCollection", + "id":"multiPt1", + "bbox":[ + -164.88550989974, + 59.159712874412, + -164.86353724349, + 59.169368826866 + ], + "properties":{ + "name":"A FeatureCollection(points)", + "description":"represents GML MultiGeometry" }, - "geometry": { - "type": "Point", - "coordinates": [-164.88550989974, 59.179712874412] - } - }, { - "type": "Feature", - "id": "point012", - "properties": { - "description": "point valid on or after a specific date", - "timeInstant": [{ - "description": "ground condition", - "timePosition": "2012-07-15T08:05:00-09:00" - }] - - }, - "geometry": { - "type": "Point", - "coordinates": [-164.87550989974, 59.209712874412] - } - }, { - "type": "Feature", - "id": "point013", - "properties": { - "description": "point valid over a time period", - "temporalElement": { - "timePeriod": [{ - "beginPosition": "2013-08-24T08:05:00", - "endPosition": "2013-10-04" - }] + "crs":{ + "type":"name", + "properties":{ + "name":"urn:ogc:def:crs:OGC:1.3:CRS84" } }, - "geometry": { - "type": "Point", - "coordinates": [-164.89650989974, 59.249712874412] - } - }] -}, { - "type": "Feature", - "bbox": [-164.88550989974, 59.159712874412, -164.86353724349, 59.169368826866], - "id": "pointlist1", - "properties": { - "name": "Fishin' spots", - "description": "These points have shared attributes", - "includesData": true - }, - "geometry": { - "type": "MultiPoint", - "coordinates": [ - [-164.87402357161, 59.165040850639], - [-164.87502357161, 59.164040850639], - [-164.88387053359, 59.161207759012] + "features":[ + { + "type":"Feature", + "id":"point010", + "properties":{ + "identifier":[ + { + "identifier":"PNT-12345", + "authority":{ + "title":"Global Terrestrial Network for Permafrost Identifiers", + "onlineResource":[ + { + "uri":"http://www.gtnp.org" + } + ] + } + } + ], + "name":"BS7882", + "description":"point valid on or after a specific date", + "date":"2011-09-15" + }, + "geometry":{ + "type":"Point", + "coordinates":[ + -164.88550989974, + 59.179712874412 + ] + } + }, + { + "type":"Feature", + "id":"point012", + "properties":{ + "description":"point valid on or after a specific date", + "timeInstant":[ + { + "description":"ground condition", + "timePosition":"2012-07-15T08:05:00-09:00" + } + ] + }, + "geometry":{ + "type":"Point", + "coordinates":[ + -164.87550989974, + 59.209712874412 + ] + } + }, + { + "type":"Feature", + "id":"point013", + "properties":{ + "description":"point valid over a time period", + "temporalElement":{ + "timePeriod":[ + { + "beginPosition":"2013-08-24T08:05:00", + "endPosition":"2013-10-04" + } + ] + } + }, + "geometry":{ + "type":"Point", + "coordinates":[ + -164.89650989974, + 59.249712874412 + ] + } + } ] }, - "crs": { - "type": "name", - "properties": { - "name": "urn:ogc:def:crs:OGC:1.3:CRS84" - } - } -}, { - "type": "Feature", - "id": "point1", - "properties": { - "identifier": "PNT-12345", - "idAuthority": "http://www.gtnp.org", - "name": "BS7882", - "description": "Sea buoy BS7882 location" - }, - "geometry": { - "type": "Point", - "coordinates": [-164.87402357161, 59.165040850639] - }, - "crs": { - "type": "name", - "properties": { - "name": "urn:ogc:def:crs:OGC:1.3:CRS84" - } - } -}, { - "type": "Feature", - "id": "point100", - "properties": { - "identifier": "PNT-12346", - "idAuthority": "http://www.gtnp.org", - "name": "BS999", - "description": "Sea buoy BS999 location" - }, - "geometry": { - "type": "Point", - "coordinates": [-164.87302357161, 59.145040850639] - }, - "crs": { - "type": "name", - "properties": { - "name": "urn:ogc:def:crs:OGC:1.3:CRS84" - } - } -}, { - "type": "FeatureCollection", - "id": "multiline1", - "bbox": [-157.07025098484, 70.022012234173, 35.2, -150.76174075893, 71.109331363597, 125.8], - "properties": { - "name": "A FeatureCollection(lines)", - "description": "represents GML MultiGeometry" - }, - "crs": { - "type": "name", - "properties": { - "name": "urn:ogc:def:crs:OGC:1.3:CRS84" - } - }, - "features": [{ - "type": "Feature", - "id": "multiLine001", - "properties": { - "name": "Josh", - "description": "First line in multiline object", - "date": "2011-09-15" - + { + "type":"Feature", + "bbox":[ + -164.88550989974, + 59.159712874412, + -164.86353724349, + 59.169368826866 + ], + "id":"pointlist1", + "properties":{ + "name":"Fishin' spots", + "description":"These points have shared attributes", + "includesData":true }, - "geometry": { - "type": "LineString", - "coordinates": [ - [-157.0702509848438, 71.10933136359692, 35.2], - [-154.6526281903968, 70.40820968995817, 68.1], - [-150.7617407589279, 70.02201223417278, 84.7], - [-150.8371960238169, 70.43210058905156, 125.8], - [-152.2049884417053, 70.87235618158296, 116.0] - ] - } - }, { - "type": "Feature", - "id": "multiLine001", - "properties": { - "name": "Chris", - "description": "Second line in multiline object" - }, - "geometry": { - "type": "LineString", - "coordinates": [ - [-154.5708878990441, 71.04082324476376, 36.9], - [-150.7617407589279, 70.02201223417278, 84.7], - [-154.6526281903968, 70.40820968995817, 68.1], - [-157.0702509848438, 71.10933136359692, 35.2] - ] - } - }, { - "type": "Feature", - "id": "multiLine003", - "properties": { - "name": "Allison", - "description": "Third line in multiline object" - }, - "geometry": { - "type": "LineString", - "coordinates": [ - [-150.7617407589279, 70.02201223417278, 84.7], - [-154.6526281903968, 70.40820968995817, 68.1] - ] - } - }] -}, { - "type": "FeatureCollection", - "id": "unique2", - "bbox": [-149.89603182812, 61.215716023773, -149.87405917187, 61.225371976227], - "properties": { - "name": "A FeatureCollection(polygons)", - "description": "represents GML MultiGeometry", - "includesData": true - }, - "crs": { - "type": "name", - "properties": { - "name": "urn:ogc:def:crs:OGC:1.3:CRS84" - } - }, - "features": [{ - "type": "Feature", - "id": "unique3", - "geometry": { - "type": "Polygon", - "coordinates": [ + "geometry":{ + "type":"MultiPoint", + "coordinates":[ [ - [-149.880796, 61.21988], - [-149.880625, 61.221305], - [-149.889386, 61.221346], - [-149.880796, 61.21988] + -164.87402357161, + 59.165040850639 ], [ - [-149.8807, 61.21990], - [-149.880627, 61.221300], - [-149.8809, 61.221300], - [-149.8807, 61.21990] + -164.87502357161, + 59.164040850639 ], [ - [-149.889300, 61.221300], - [-149.889382, 61.221345], - [-149.889382, 61.221445], - [-149.889300, 61.221300] + -164.88387053359, + 59.161207759012 ] ] }, - "properties": { - "name": "Buttress Park sampling location", - "description": "Boundary of area in downtown Anchorage where sampling occurred" + "crs":{ + "type":"name", + "properties":{ + "name":"urn:ogc:def:crs:OGC:1.3:CRS84" + } } - }, { - "type": "Feature", - "id": "unique4", - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [-149.888221, 61.219643], - [-149.889466, 61.219643], - [-149.889251, 61.219973], - [-149.887835, 61.219952], - [-149.888221, 61.219643] - ] + }, + { + "type":"Feature", + "id":"point1", + "properties":{ + "identifier":[ + { + "identifier":"PNT-12345", + "authority":{ + "title":"Global Terrestrial Network for Permafrost Identifiers", + "onlineResource":[ + { + "uri":"http://www.gtnp.org" + } + ] + } + } + ], + "name":"BS7882", + "description":"Sea buoy BS7882 location" + }, + "geometry":{ + "type":"Point", + "coordinates":[ + -164.87402357161, + 59.165040850639 ] }, - "properties": { - "includesData": false, - "name": "Equipment staging area", - "description": "Area where sampling equipment was stored, no sampling occurred (Note:includesData should be ignored here. Would need to move this feature into another geographicElement.)" + "crs":{ + "type":"name", + "properties":{ + "name":"urn:ogc:def:crs:OGC:1.3:CRS84" + } } - }] -}] + }, + { + "type":"Feature", + "id":"point100", + "properties":{ + "identifier":[ + { + "identifier":"PNT-12346", + "authority":{ + "title":"Global Terrestrial Network for Permafrost Identifiers", + "onlineResource":[ + { + "uri":"http://www.gtnp.org" + } + ] + } + } + ], + "name":"BS999", + "description":"Sea buoy BS999 location" + }, + "geometry":{ + "type":"Point", + "coordinates":[ + -164.87302357161, + 59.145040850639 + ] + }, + "crs":{ + "type":"name", + "properties":{ + "name":"urn:ogc:def:crs:OGC:1.3:CRS84" + } + } + }, + { + "type":"FeatureCollection", + "id":"multiline1", + "bbox":[ + -157.07025098484, + 70.022012234173, + 35.2, + -150.76174075893, + 71.109331363597, + 125.8 + ], + "properties":{ + "name":"A FeatureCollection(lines)", + "description":"represents GML MultiGeometry" + }, + "crs":{ + "type":"name", + "properties":{ + "name":"urn:ogc:def:crs:OGC:1.3:CRS84" + } + }, + "features":[ + { + "type":"Feature", + "id":"multiLine001", + "properties":{ + "name":"Josh", + "description":"First line in multiline object", + "date":"2011-09-15" + }, + "geometry":{ + "type":"LineString", + "coordinates":[ + [ + -157.0702509848438, + 71.10933136359692, + 35.2 + ], + [ + -154.6526281903968, + 70.40820968995817, + 68.1 + ], + [ + -150.7617407589279, + 70.02201223417278, + 84.7 + ], + [ + -150.8371960238169, + 70.43210058905156, + 125.8 + ], + [ + -152.2049884417053, + 70.87235618158296, + 116.0 + ] + ] + } + }, + { + "type":"Feature", + "id":"multiLine001", + "properties":{ + "name":"Chris", + "description":"Second line in multiline object" + }, + "geometry":{ + "type":"LineString", + "coordinates":[ + [ + -154.5708878990441, + 71.04082324476376, + 36.9 + ], + [ + -150.7617407589279, + 70.02201223417278, + 84.7 + ], + [ + -154.6526281903968, + 70.40820968995817, + 68.1 + ], + [ + -157.0702509848438, + 71.10933136359692, + 35.2 + ] + ] + } + }, + { + "type":"Feature", + "id":"multiLine003", + "properties":{ + "name":"Allison", + "description":"Third line in multiline object" + }, + "geometry":{ + "type":"LineString", + "coordinates":[ + [ + -150.7617407589279, + 70.02201223417278, + 84.7 + ], + [ + -154.6526281903968, + 70.40820968995817, + 68.1 + ] + ] + } + } + ] + }, + { + "type":"FeatureCollection", + "id":"unique2", + "bbox":[ + -149.89603182812, + 61.215716023773, + -149.87405917187, + 61.225371976227 + ], + "properties":{ + "name":"A FeatureCollection(polygons)", + "description":"represents GML MultiGeometry", + "includesData":true + }, + "crs":{ + "type":"name", + "properties":{ + "name":"urn:ogc:def:crs:OGC:1.3:CRS84" + } + }, + "features":[ + { + "type":"Feature", + "id":"unique3", + "geometry":{ + "type":"Polygon", + "coordinates":[ + [ + [ + -149.880796, + 61.21988 + ], + [ + -149.880625, + 61.221305 + ], + [ + -149.889386, + 61.221346 + ], + [ + -149.880796, + 61.21988 + ] + ], + [ + [ + -149.8807, + 61.21990 + ], + [ + -149.880627, + 61.221300 + ], + [ + -149.8809, + 61.221300 + ], + [ + -149.8807, + 61.21990 + ] + ], + [ + [ + -149.889300, + 61.221300 + ], + [ + -149.889382, + 61.221345 + ], + [ + -149.889382, + 61.221445 + ], + [ + -149.889300, + 61.221300 + ] + ] + ] + }, + "properties":{ + "name":"Buttress Park sampling location", + "description":"Boundary of area in downtown Anchorage where sampling occurred" + } + }, + { + "type":"Feature", + "id":"unique4", + "geometry":{ + "type":"Polygon", + "coordinates":[ + [ + [ + -149.888221, + 61.219643 + ], + [ + -149.889466, + 61.219643 + ], + [ + -149.889251, + 61.219973 + ], + [ + -149.887835, + 61.219952 + ], + [ + -149.888221, + 61.219643 + ] + ] + ] + }, + "properties":{ + "includesData":false, + "name":"Equipment staging area", + "description":"Area where sampling equipment was stored, no sampling occurred (Note:includesData should be ignored here. Would need to move this feature into another geographicElement.)" + } + } + ] + } +] \ No newline at end of file