aboutsummaryrefslogtreecommitdiff
path: root/data/projjson.schema.json
diff options
context:
space:
mode:
Diffstat (limited to 'data/projjson.schema.json')
-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