From b623f49ce85c02a1a5cf855c202b35fba83f4ce6 Mon Sep 17 00:00:00 2001 From: kashifatcha Date: Thu, 19 Dec 2024 13:45:41 +0000 Subject: [PATCH] WIP blocked by nested facets work --- content_schemas/allowed_document_types.yml | 1 + .../definitions/_specialist_document.jsonnet | 72 +++++++++++++++++++ 2 files changed, 73 insertions(+) diff --git a/content_schemas/allowed_document_types.yml b/content_schemas/allowed_document_types.yml index c220b173a..c378bcdd1 100644 --- a/content_schemas/allowed_document_types.yml +++ b/content_schemas/allowed_document_types.yml @@ -78,6 +78,7 @@ - independent_report - international_development_fund - international_treaty +- intellectual_property_trademark_decisions - landing_page - licence - license_finder diff --git a/content_schemas/formats/shared/definitions/_specialist_document.jsonnet b/content_schemas/formats/shared/definitions/_specialist_document.jsonnet index eec3d13f6..0aa6f4c5a 100644 --- a/content_schemas/formats/shared/definitions/_specialist_document.jsonnet +++ b/content_schemas/formats/shared/definitions/_specialist_document.jsonnet @@ -682,6 +682,78 @@ }, }, }, + intellectual_property_trademark_decisions_metadata: { + type: "object", + additionalProperties: false, + properties: { + bulk_published: { + type: "boolean", + }, + british_library_number: { + type: "array", + items: { + type: "string", + }, + }, + type_of_hearing: { + type: "array", + items: { + type: "string", + }, + }, + ipo_mark: { + type: "array", + items: { + type: "string", + }, + }, + ipo_class: { + type: "array", + items: { + type: "string", + }, + }, + issued_between: { + type: "string", + pattern: "^[1-9][0-9]{3}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[0-1])$", + }, + }, + and: { + type: "string", + pattern: "^[1-9][0-9]{3}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[0-1])$", + }, + }, + appointed_person_hearing_officer: { + type: "array", + items: { + type: "string", + }, + }, + person_or_company_involved: { + type: "array", + items: { + type: "string", + }, + }, + grounds_section: { + type: "array", + items: { + type: "string", + }, + }, + grounds_sub_section: { + type: "array", + items: { + type: "string", + }, + }, + browse_by_year: { + type: "string", + pattern: "^[1-9][0-9]{3}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[0-1])$", + }, + }, + }, + }, licence_transaction_metadata: { type: "object", additionalProperties: false,