aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2021-09-14 18:13:47 +0200
committerEven Rouault <even.rouault@spatialys.com>2021-09-14 18:13:47 +0200
commitbca0a82921594c675ed1212f54e032f19004ee82 (patch)
tree29373bee072524c43091b0b0597d9bd1a74d3006 /data
parent92ca1a9455cdd136aaaeb1dbb0d8d867020e70c6 (diff)
downloadPROJ-bca0a82921594c675ed1212f54e032f19004ee82.tar.gz
PROJ-bca0a82921594c675ed1212f54e032f19004ee82.zip
PROJJSON: support additional properties allowed in id object (version, authority_citation, uri) for parity with WKT2:2019
Diffstat (limited to 'data')
-rw-r--r--data/projjson.schema.json11
1 files changed, 8 insertions, 3 deletions
diff --git a/data/projjson.schema.json b/data/projjson.schema.json
index c347b3e1..6ed97b7b 100644
--- a/data/projjson.schema.json
+++ b/data/projjson.schema.json
@@ -1,7 +1,7 @@
{
- "$id": "https://proj.org/schemas/v0.3/projjson.schema.json",
+ "$id": "https://proj.org/schemas/v0.4/projjson.schema.json",
"$schema": "http://json-schema.org/draft-07/schema#",
- "description": "Schema for PROJJSON (v0.3)",
+ "description": "Schema for PROJJSON (v0.4)",
"$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": [
@@ -612,7 +612,12 @@
"authority": { "type": "string" },
"code": {
"oneOf": [ { "type": "string" }, { "type": "integer" } ]
- }
+ },
+ "version": {
+ "oneOf": [ { "type": "string" }, { "type": "number" } ]
+ },
+ "authority_citation": { "type": "string" },
+ "uri": { "type": "string" }
},
"required" : [ "authority", "code" ],
"additionalProperties": false