aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2021-08-19 10:11:47 +0200
committerGitHub <noreply@github.com>2021-08-19 10:11:47 +0200
commit4766b7c3a17dc98f99c59d2b64076fd924df5804 (patch)
tree562d91eab76ad8196f4a721c4f48e8fb90e22a2e /data
parent92d8cc66100d72ba53bbc0bb0651b26310dfce4c (diff)
parent31692d0c0667f26ea1975affeae161beabb279fd (diff)
downloadPROJ-4766b7c3a17dc98f99c59d2b64076fd924df5804.tar.gz
PROJ-4766b7c3a17dc98f99c59d2b64076fd924df5804.zip
Merge pull request #2814 from rouault/fix_2813
BoundCRS: accept importing/exporting in WKT2 and PROJJSON the scope/area/extent/id attributes (fixes #2813)
Diffstat (limited to 'data')
-rw-r--r--data/projjson.schema.json14
1 files changed, 11 insertions, 3 deletions
diff --git a/data/projjson.schema.json b/data/projjson.schema.json
index bdb97bd5..c347b3e1 100644
--- a/data/projjson.schema.json
+++ b/data/projjson.schema.json
@@ -1,7 +1,7 @@
{
- "$id": "https://proj.org/schemas/v0.2/projjson.schema.json",
+ "$id": "https://proj.org/schemas/v0.3/projjson.schema.json",
"$schema": "http://json-schema.org/draft-07/schema#",
- "description": "Schema for PROJJSON (v0.2.1)",
+ "description": "Schema for PROJJSON (v0.3)",
"$comment": "This file exists both in data/ and in schemas/vXXX/. Keep both in sync. And if changing the value of $id, change PROJJSON_CURRENT_VERSION accordingly in io.cpp",
"oneOf": [
@@ -111,12 +111,20 @@
"bound_crs": {
"type": "object",
+ "allOf": [{ "$ref": "#/definitions/object_usage" }],
"properties": {
"$schema" : { "type": "string" },
"type": { "type": "string", "enum": ["BoundCRS"] },
+ "name": { "type": "string" },
"source_crs": { "$ref": "#/definitions/crs" },
"target_crs": { "$ref": "#/definitions/crs" },
- "transformation": { "$ref": "#/definitions/abridged_transformation" }
+ "transformation": { "$ref": "#/definitions/abridged_transformation" },
+ "scope": {},
+ "area": {},
+ "bbox": {},
+ "usages": {},
+ "remarks": {},
+ "id": {}, "ids": {}
},
"required" : [ "source_crs", "target_crs", "transformation" ],
"additionalProperties": false