From bca0a82921594c675ed1212f54e032f19004ee82 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Tue, 14 Sep 2021 18:13:47 +0200 Subject: PROJJSON: support additional properties allowed in id object (version, authority_citation, uri) for parity with WKT2:2019 --- data/projjson.schema.json | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'data') 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 -- cgit v1.2.3