From d1e0da823a603f53e0aef4ec7c90bdd7a57ac4e7 Mon Sep 17 00:00:00 2001 From: Jessica McInchak Date: Fri, 2 Feb 2024 11:15:52 +0100 Subject: [PATCH] generate schema --- schema/schema.json | 231 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 231 insertions(+) diff --git a/schema/schema.json b/schema/schema.json index f910edb4..2976a506 100644 --- a/schema/schema.json +++ b/schema/schema.json @@ -4056,6 +4056,75 @@ ], "type": "object" }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Listed Building - Grade I", + "type": "string" + }, + "intersects": { + "const": false, + "type": "boolean" + }, + "value": { + "const": "listed.gradeI", + "type": "string" + } + }, + "required": [ + "description", + "intersects", + "value" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Listed Building - Grade II", + "type": "string" + }, + "intersects": { + "const": false, + "type": "boolean" + }, + "value": { + "const": "listed.gradeII", + "type": "string" + } + }, + "required": [ + "description", + "intersects", + "value" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Listed Building - Grade II*", + "type": "string" + }, + "intersects": { + "const": false, + "type": "boolean" + }, + "value": { + "const": "listed.gradeII*", + "type": "string" + } + }, + "required": [ + "description", + "intersects", + "value" + ], + "type": "object" + }, { "additionalProperties": false, "properties": { @@ -5132,6 +5201,168 @@ ], "type": "object" }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Listed Building - Grade I", + "type": "string" + }, + "entities": { + "anyOf": [ + { + "items": { + "additionalProperties": false, + "properties": { + "description": { + "type": "string" + }, + "name": { + "type": "string" + }, + "source": { + "$ref": "#/definitions/URL" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + }, + { + "maxItems": 0, + "minItems": 0, + "type": "array" + } + ] + }, + "intersects": { + "const": true, + "type": "boolean" + }, + "value": { + "const": "listed.gradeI", + "type": "string" + } + }, + "required": [ + "description", + "entities", + "intersects", + "value" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Listed Building - Grade II", + "type": "string" + }, + "entities": { + "anyOf": [ + { + "items": { + "additionalProperties": false, + "properties": { + "description": { + "type": "string" + }, + "name": { + "type": "string" + }, + "source": { + "$ref": "#/definitions/URL" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + }, + { + "maxItems": 0, + "minItems": 0, + "type": "array" + } + ] + }, + "intersects": { + "const": true, + "type": "boolean" + }, + "value": { + "const": "listed.gradeII", + "type": "string" + } + }, + "required": [ + "description", + "entities", + "intersects", + "value" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "description": { + "const": "Listed Building - Grade II*", + "type": "string" + }, + "entities": { + "anyOf": [ + { + "items": { + "additionalProperties": false, + "properties": { + "description": { + "type": "string" + }, + "name": { + "type": "string" + }, + "source": { + "$ref": "#/definitions/URL" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "type": "array" + }, + { + "maxItems": 0, + "minItems": 0, + "type": "array" + } + ] + }, + "intersects": { + "const": true, + "type": "boolean" + }, + "value": { + "const": "listed.gradeII*", + "type": "string" + } + }, + "required": [ + "description", + "entities", + "intersects", + "value" + ], + "type": "object" + }, { "additionalProperties": false, "properties": {