/usr/lib/python2.7/dist-packages/pywps/schemas/geojson/geojson.json is in python-pywps 4.0.0-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 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 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 | {
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "http://json-schema.org/geojson/geojson.json#",
"title": "Geo JSON object",
"description": "Schema for a Geo JSON object",
"type": "object",
"required": [ "type" ],
"properties": {
"crs": { "$ref": "http://json-schema.org/geojson/crs.json#" },
"bbox": { "$ref": "http://json-schema.org/geojson/bbox.json#" }
},
"oneOf": [
{ "$ref": "http://json-schema.org/geojson/geometry.json#" },
{ "$ref": "#/definitions/geometryCollection" },
{ "$ref": "#/definitions/feature" },
{ "$ref": "#/definitions/featureCollection" }
],
"definitions": {
"geometryCollection": {
"title": "GeometryCollection",
"description": "A collection of geometry objects",
"required": [ "geometries" ],
"properties": {
"type": { "enum": [ "GeometryCollection" ] },
"geometries": {
"type": "array",
"items": { "$ref": "http://json-schema.org/geojson/geometry.json#" }
}
}
},
"feature": {
"title": "Feature",
"description": "A Geo JSON feature object",
"required": [ "geometry", "properties" ],
"properties": {
"type": { "enum": [ "Feature" ] },
"geometry": {
"oneOf": [
{ "type": "null" },
{ "$ref": "http://json-schema.org/geojson/geometry.json#" }
]
},
"properties": { "type": [ "object", "null" ] },
"id": { "FIXME": "may be there, type not known (string? number?)" }
}
},
"featureCollection": {
"title": "FeatureCollection",
"description": "A Geo JSON feature collection",
"required": [ "features" ],
"properties": {
"type": { "enum": [ "FeatureCollection" ] },
"features": {
"type": "array",
"items": { "$ref": "#/definitions/feature" }
}
}
}
}
}
|