From c2137dceafd1ac590c8f4021805cbd7a2d9682e4 Mon Sep 17 00:00:00 2001 From: ChrisBAshton Date: Thu, 5 Dec 2024 15:50:02 +0000 Subject: [PATCH] Generate schemas --- .../dist/formats/generic/frontend/schema.json | 1 + .../formats/generic/notification/schema.json | 1 + .../formats/generic/publisher_v2/schema.json | 1 + .../frontend/schema.json | 1 + .../notification/schema.json | 1 + .../publisher_v2/schema.json | 1 + .../specialist_document/frontend/schema.json | 37 +++++++++++++++++++ .../notification/schema.json | 37 +++++++++++++++++++ .../publisher_v2/schema.json | 37 +++++++++++++++++++ 9 files changed, 117 insertions(+) diff --git a/content_schemas/dist/formats/generic/frontend/schema.json b/content_schemas/dist/formats/generic/frontend/schema.json index 9bbe575e7..382d35b01 100644 --- a/content_schemas/dist/formats/generic/frontend/schema.json +++ b/content_schemas/dist/formats/generic/frontend/schema.json @@ -69,6 +69,7 @@ "corporate_report", "correspondence", "countryside_stewardship_grant", + "data_ethics_guidance_document", "decision", "deputy_head_of_mission_role", "detailed_guide", diff --git a/content_schemas/dist/formats/generic/notification/schema.json b/content_schemas/dist/formats/generic/notification/schema.json index 516629885..7b990dbaf 100644 --- a/content_schemas/dist/formats/generic/notification/schema.json +++ b/content_schemas/dist/formats/generic/notification/schema.json @@ -93,6 +93,7 @@ "corporate_report", "correspondence", "countryside_stewardship_grant", + "data_ethics_guidance_document", "decision", "deputy_head_of_mission_role", "detailed_guide", diff --git a/content_schemas/dist/formats/generic/publisher_v2/schema.json b/content_schemas/dist/formats/generic/publisher_v2/schema.json index ed07f8638..4db5984a4 100644 --- a/content_schemas/dist/formats/generic/publisher_v2/schema.json +++ b/content_schemas/dist/formats/generic/publisher_v2/schema.json @@ -82,6 +82,7 @@ "corporate_report", "correspondence", "countryside_stewardship_grant", + "data_ethics_guidance_document", "decision", "deputy_head_of_mission_role", "detailed_guide", diff --git a/content_schemas/dist/formats/generic_with_external_related_links/frontend/schema.json b/content_schemas/dist/formats/generic_with_external_related_links/frontend/schema.json index 25fb496da..fffeae7a9 100644 --- a/content_schemas/dist/formats/generic_with_external_related_links/frontend/schema.json +++ b/content_schemas/dist/formats/generic_with_external_related_links/frontend/schema.json @@ -69,6 +69,7 @@ "corporate_report", "correspondence", "countryside_stewardship_grant", + "data_ethics_guidance_document", "decision", "deputy_head_of_mission_role", "detailed_guide", diff --git a/content_schemas/dist/formats/generic_with_external_related_links/notification/schema.json b/content_schemas/dist/formats/generic_with_external_related_links/notification/schema.json index d1e3a72b0..3aaa99e0d 100644 --- a/content_schemas/dist/formats/generic_with_external_related_links/notification/schema.json +++ b/content_schemas/dist/formats/generic_with_external_related_links/notification/schema.json @@ -93,6 +93,7 @@ "corporate_report", "correspondence", "countryside_stewardship_grant", + "data_ethics_guidance_document", "decision", "deputy_head_of_mission_role", "detailed_guide", diff --git a/content_schemas/dist/formats/generic_with_external_related_links/publisher_v2/schema.json b/content_schemas/dist/formats/generic_with_external_related_links/publisher_v2/schema.json index bd52bbeb1..7133d160a 100644 --- a/content_schemas/dist/formats/generic_with_external_related_links/publisher_v2/schema.json +++ b/content_schemas/dist/formats/generic_with_external_related_links/publisher_v2/schema.json @@ -82,6 +82,7 @@ "corporate_report", "correspondence", "countryside_stewardship_grant", + "data_ethics_guidance_document", "decision", "deputy_head_of_mission_role", "detailed_guide", diff --git a/content_schemas/dist/formats/specialist_document/frontend/schema.json b/content_schemas/dist/formats/specialist_document/frontend/schema.json index 030268ed1..cb47f3a86 100644 --- a/content_schemas/dist/formats/specialist_document/frontend/schema.json +++ b/content_schemas/dist/formats/specialist_document/frontend/schema.json @@ -69,6 +69,7 @@ "corporate_report", "correspondence", "countryside_stewardship_grant", + "data_ethics_guidance_document", "decision", "deputy_head_of_mission_role", "detailed_guide", @@ -628,6 +629,9 @@ { "$ref": "#/definitions/employment_tribunal_decision_metadata" }, + { + "$ref": "#/definitions/data_ethics_guidance_document_metadata" + }, { "$ref": "#/definitions/european_structural_investment_fund_metadata" }, @@ -888,6 +892,39 @@ } } }, + "data_ethics_guidance_document_metadata": { + "type": "object", + "additionalProperties": false, + "properties": { + "bulk_published": { + "type": "boolean" + }, + "data_ethics_guidance_document_ethical_theme": { + "type": "array", + "items": { + "type": "string" + } + }, + "data_ethics_guidance_document_key_reference": { + "type": "string" + }, + "data_ethics_guidance_document_organisation": { + "type": "string" + }, + "data_ethics_guidance_document_project_phase": { + "type": "array", + "items": { + "type": "string" + } + }, + "data_ethics_guidance_document_technology_area": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, "description_optional": { "anyOf": [ { diff --git a/content_schemas/dist/formats/specialist_document/notification/schema.json b/content_schemas/dist/formats/specialist_document/notification/schema.json index 5f329febe..189019118 100644 --- a/content_schemas/dist/formats/specialist_document/notification/schema.json +++ b/content_schemas/dist/formats/specialist_document/notification/schema.json @@ -93,6 +93,7 @@ "corporate_report", "correspondence", "countryside_stewardship_grant", + "data_ethics_guidance_document", "decision", "deputy_head_of_mission_role", "detailed_guide", @@ -716,6 +717,9 @@ { "$ref": "#/definitions/employment_tribunal_decision_metadata" }, + { + "$ref": "#/definitions/data_ethics_guidance_document_metadata" + }, { "$ref": "#/definitions/european_structural_investment_fund_metadata" }, @@ -976,6 +980,39 @@ } } }, + "data_ethics_guidance_document_metadata": { + "type": "object", + "additionalProperties": false, + "properties": { + "bulk_published": { + "type": "boolean" + }, + "data_ethics_guidance_document_ethical_theme": { + "type": "array", + "items": { + "type": "string" + } + }, + "data_ethics_guidance_document_key_reference": { + "type": "string" + }, + "data_ethics_guidance_document_organisation": { + "type": "string" + }, + "data_ethics_guidance_document_project_phase": { + "type": "array", + "items": { + "type": "string" + } + }, + "data_ethics_guidance_document_technology_area": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, "description_optional": { "anyOf": [ { diff --git a/content_schemas/dist/formats/specialist_document/publisher_v2/schema.json b/content_schemas/dist/formats/specialist_document/publisher_v2/schema.json index ae5d48d6d..faf98f103 100644 --- a/content_schemas/dist/formats/specialist_document/publisher_v2/schema.json +++ b/content_schemas/dist/formats/specialist_document/publisher_v2/schema.json @@ -82,6 +82,7 @@ "corporate_report", "correspondence", "countryside_stewardship_grant", + "data_ethics_guidance_document", "decision", "deputy_head_of_mission_role", "detailed_guide", @@ -562,6 +563,9 @@ { "$ref": "#/definitions/employment_tribunal_decision_metadata" }, + { + "$ref": "#/definitions/data_ethics_guidance_document_metadata" + }, { "$ref": "#/definitions/european_structural_investment_fund_metadata" }, @@ -822,6 +826,39 @@ } } }, + "data_ethics_guidance_document_metadata": { + "type": "object", + "additionalProperties": false, + "properties": { + "bulk_published": { + "type": "boolean" + }, + "data_ethics_guidance_document_ethical_theme": { + "type": "array", + "items": { + "type": "string" + } + }, + "data_ethics_guidance_document_key_reference": { + "type": "string" + }, + "data_ethics_guidance_document_organisation": { + "type": "string" + }, + "data_ethics_guidance_document_project_phase": { + "type": "array", + "items": { + "type": "string" + } + }, + "data_ethics_guidance_document_technology_area": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, "description_optional": { "anyOf": [ {