From a95259a46b1c9b7ff61d94e28c63c1a8c904f99c Mon Sep 17 00:00:00 2001 From: Ryan Brown Date: Thu, 20 Jul 2023 17:14:41 +0100 Subject: [PATCH 1/2] Added new case type options to CMA case schema The competition and markets authority want users to be able to find Office for the Internal Market (OIM) and Subsidy Advice Unit (SAU) cases from within the existing CMA case finder so that they have a single point of reference. We therefore need the CMA case content schema to support these values --- .../dist/formats/specialist_document/frontend/schema.json | 4 +++- .../formats/specialist_document/notification/schema.json | 4 +++- .../formats/specialist_document/publisher_v2/schema.json | 4 +++- .../formats/shared/definitions/_specialist_document.jsonnet | 6 ++++-- 4 files changed, 13 insertions(+), 5 deletions(-) diff --git a/content_schemas/dist/formats/specialist_document/frontend/schema.json b/content_schemas/dist/formats/specialist_document/frontend/schema.json index 45e58c14c..aca453161 100644 --- a/content_schemas/dist/formats/specialist_document/frontend/schema.json +++ b/content_schemas/dist/formats/specialist_document/frontend/schema.json @@ -814,13 +814,15 @@ "enum": [ "ca98-and-civil-cartels", "competition-disqualification", + "consumer-enforcement", "criminal-cartels", "information-and-advice-to-government", "markets", "mergers", - "consumer-enforcement", + "oim-project", "regulatory-references-and-appeals", "review-of-orders-and-undertakings", + "sau-referral", "state-aid" ] }, diff --git a/content_schemas/dist/formats/specialist_document/notification/schema.json b/content_schemas/dist/formats/specialist_document/notification/schema.json index ce892a4a9..ca33e5cf2 100644 --- a/content_schemas/dist/formats/specialist_document/notification/schema.json +++ b/content_schemas/dist/formats/specialist_document/notification/schema.json @@ -906,13 +906,15 @@ "enum": [ "ca98-and-civil-cartels", "competition-disqualification", + "consumer-enforcement", "criminal-cartels", "information-and-advice-to-government", "markets", "mergers", - "consumer-enforcement", + "oim-project", "regulatory-references-and-appeals", "review-of-orders-and-undertakings", + "sau-referral", "state-aid" ] }, 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 eb46bc8ab..781452674 100644 --- a/content_schemas/dist/formats/specialist_document/publisher_v2/schema.json +++ b/content_schemas/dist/formats/specialist_document/publisher_v2/schema.json @@ -730,13 +730,15 @@ "enum": [ "ca98-and-civil-cartels", "competition-disqualification", + "consumer-enforcement", "criminal-cartels", "information-and-advice-to-government", "markets", "mergers", - "consumer-enforcement", + "oim-project", "regulatory-references-and-appeals", "review-of-orders-and-undertakings", + "sau-referral", "state-aid" ] }, diff --git a/content_schemas/formats/shared/definitions/_specialist_document.jsonnet b/content_schemas/formats/shared/definitions/_specialist_document.jsonnet index f11c55775..49277304f 100644 --- a/content_schemas/formats/shared/definitions/_specialist_document.jsonnet +++ b/content_schemas/formats/shared/definitions/_specialist_document.jsonnet @@ -520,14 +520,16 @@ enum: [ "ca98-and-civil-cartels", "competition-disqualification", + "consumer-enforcement", "criminal-cartels", "information-and-advice-to-government", "markets", "mergers", - "consumer-enforcement", + "oim-project", "regulatory-references-and-appeals", "review-of-orders-and-undertakings", - "state-aid", + "sau-referral", + "state-aid" ], }, case_state: { From 3635750a88f6951fe6c4b03f11f38abc8039cd1b Mon Sep 17 00:00:00 2001 From: Ryan Brown Date: Thu, 20 Jul 2023 17:20:34 +0100 Subject: [PATCH 2/2] Add SAU referral and OIM Project to example CMA case finder This matches a change to specialist publisher requested by the Competition and Markets Authority. The CMA wanted the case finder to allow users to access OIM Projects and SAU referrals from a single finder --- .../examples/specialist_document/frontend/cma-cases.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/content_schemas/examples/specialist_document/frontend/cma-cases.json b/content_schemas/examples/specialist_document/frontend/cma-cases.json index 635d51008..28162ab39 100644 --- a/content_schemas/examples/specialist_document/frontend/cma-cases.json +++ b/content_schemas/examples/specialist_document/frontend/cma-cases.json @@ -149,6 +149,10 @@ "label": "Mergers", "value": "mergers" }, + { + "label": "OIM Project", + "value": "oim-project" + }, { "label": "Consumer enforcement", "value": "consumer-enforcement" @@ -160,6 +164,10 @@ { "label": "Reviews of orders and undertakings", "value": "review-of-orders-and-undertakings" + }, + { + "label": "SAU Referral", + "value": "sau-referral" } ] },