diff --git a/content_schemas/allowed_document_types.yml b/content_schemas/allowed_document_types.yml index c220b173a1..72165af58f 100644 --- a/content_schemas/allowed_document_types.yml +++ b/content_schemas/allowed_document_types.yml @@ -39,6 +39,7 @@ - document_collection - drcf_digital_markets_research - drug_safety_update +- editionable_topical_event - email_alert_signup - embassies_index - employment_appeal_tribunal_decision diff --git a/content_schemas/dist/formats/generic/frontend/schema.json b/content_schemas/dist/formats/generic/frontend/schema.json index 9bbe575e7c..8ad4cef476 100644 --- a/content_schemas/dist/formats/generic/frontend/schema.json +++ b/content_schemas/dist/formats/generic/frontend/schema.json @@ -75,6 +75,7 @@ "document_collection", "drcf_digital_markets_research", "drug_safety_update", + "editionable_topical_event", "email_alert_signup", "embassies_index", "employment_appeal_tribunal_decision", diff --git a/content_schemas/dist/formats/generic/notification/schema.json b/content_schemas/dist/formats/generic/notification/schema.json index 5166298850..72736114e6 100644 --- a/content_schemas/dist/formats/generic/notification/schema.json +++ b/content_schemas/dist/formats/generic/notification/schema.json @@ -99,6 +99,7 @@ "document_collection", "drcf_digital_markets_research", "drug_safety_update", + "editionable_topical_event", "email_alert_signup", "embassies_index", "employment_appeal_tribunal_decision", diff --git a/content_schemas/dist/formats/generic/publisher_v2/schema.json b/content_schemas/dist/formats/generic/publisher_v2/schema.json index ed07f8638e..7498654eb7 100644 --- a/content_schemas/dist/formats/generic/publisher_v2/schema.json +++ b/content_schemas/dist/formats/generic/publisher_v2/schema.json @@ -88,6 +88,7 @@ "document_collection", "drcf_digital_markets_research", "drug_safety_update", + "editionable_topical_event", "email_alert_signup", "embassies_index", "employment_appeal_tribunal_decision", 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 25fb496da2..99b433b2ae 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 @@ -75,6 +75,7 @@ "document_collection", "drcf_digital_markets_research", "drug_safety_update", + "editionable_topical_event", "email_alert_signup", "embassies_index", "employment_appeal_tribunal_decision", 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 d1e3a72b01..aab6761f0f 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 @@ -99,6 +99,7 @@ "document_collection", "drcf_digital_markets_research", "drug_safety_update", + "editionable_topical_event", "email_alert_signup", "embassies_index", "employment_appeal_tribunal_decision", 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 bd52bbeb19..6ef16b0b30 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 @@ -88,6 +88,7 @@ "document_collection", "drcf_digital_markets_research", "drug_safety_update", + "editionable_topical_event", "email_alert_signup", "embassies_index", "employment_appeal_tribunal_decision", diff --git a/content_schemas/dist/formats/specialist_document/frontend/schema.json b/content_schemas/dist/formats/specialist_document/frontend/schema.json index 030268ed14..300bc3e150 100644 --- a/content_schemas/dist/formats/specialist_document/frontend/schema.json +++ b/content_schemas/dist/formats/specialist_document/frontend/schema.json @@ -75,6 +75,7 @@ "document_collection", "drcf_digital_markets_research", "drug_safety_update", + "editionable_topical_event", "email_alert_signup", "embassies_index", "employment_appeal_tribunal_decision", diff --git a/content_schemas/dist/formats/specialist_document/notification/schema.json b/content_schemas/dist/formats/specialist_document/notification/schema.json index 5f329febe0..57c961fa66 100644 --- a/content_schemas/dist/formats/specialist_document/notification/schema.json +++ b/content_schemas/dist/formats/specialist_document/notification/schema.json @@ -99,6 +99,7 @@ "document_collection", "drcf_digital_markets_research", "drug_safety_update", + "editionable_topical_event", "email_alert_signup", "embassies_index", "employment_appeal_tribunal_decision", 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 ae5d48d6db..86d29512a8 100644 --- a/content_schemas/dist/formats/specialist_document/publisher_v2/schema.json +++ b/content_schemas/dist/formats/specialist_document/publisher_v2/schema.json @@ -88,6 +88,7 @@ "document_collection", "drcf_digital_markets_research", "drug_safety_update", + "editionable_topical_event", "email_alert_signup", "embassies_index", "employment_appeal_tribunal_decision", diff --git a/content_schemas/dist/formats/topical_event/frontend/schema.json b/content_schemas/dist/formats/topical_event/frontend/schema.json index a9ef429a45..7f0c9333de 100644 --- a/content_schemas/dist/formats/topical_event/frontend/schema.json +++ b/content_schemas/dist/formats/topical_event/frontend/schema.json @@ -34,7 +34,8 @@ "document_type": { "type": "string", "enum": [ - "topical_event" + "topical_event", + "editionable_topical_event" ] }, "first_published_at": { diff --git a/content_schemas/dist/formats/topical_event/notification/schema.json b/content_schemas/dist/formats/topical_event/notification/schema.json index e1a8b9fed0..95d93a57b8 100644 --- a/content_schemas/dist/formats/topical_event/notification/schema.json +++ b/content_schemas/dist/formats/topical_event/notification/schema.json @@ -58,7 +58,8 @@ "document_type": { "type": "string", "enum": [ - "topical_event" + "topical_event", + "editionable_topical_event" ] }, "email_document_supertype": { diff --git a/content_schemas/dist/formats/topical_event/publisher_v2/schema.json b/content_schemas/dist/formats/topical_event/publisher_v2/schema.json index 0554f80918..7710593410 100644 --- a/content_schemas/dist/formats/topical_event/publisher_v2/schema.json +++ b/content_schemas/dist/formats/topical_event/publisher_v2/schema.json @@ -47,7 +47,8 @@ "document_type": { "type": "string", "enum": [ - "topical_event" + "topical_event", + "editionable_topical_event" ] }, "first_published_at": { diff --git a/content_schemas/formats/topical_event.jsonnet b/content_schemas/formats/topical_event.jsonnet index 9c5edc7668..7c05799538 100644 --- a/content_schemas/formats/topical_event.jsonnet +++ b/content_schemas/formats/topical_event.jsonnet @@ -1,5 +1,5 @@ (import "shared/default_format.jsonnet") + { - document_type: "topical_event", + document_type: ["topical_event", "editionable_topical_event"], definitions: (import "shared/definitions/_whitehall.jsonnet") + { details: { type: "object",