Skip to content

Commit

Permalink
Merge pull request #2491 from alphagov/update_document_collection_schema
Browse files Browse the repository at this point in the history
Add new field to edition links
  • Loading branch information
aldavidson authored Sep 6, 2023
2 parents 8ee0655 + 80258b6 commit 16d4491
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,11 @@
"related_policies": {
"$ref": "#/definitions/guid_list"
},
"taxonomy_topic_email_override": {
"description": "The taxonomy topic that email subscriptions for this document collection should go to - only for document collections converted from specialist topics",
"$ref": "#/definitions/guid_list",
"maxItems": 1
},
"topical_events": {
"$ref": "#/definitions/guid_list"
},
Expand Down
4 changes: 4 additions & 0 deletions content_schemas/formats/document_collection.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@
},
edition_links: (import "shared/whitehall_edition_links.jsonnet") + {
documents: "",
taxonomy_topic_email_override: {
description: "The taxonomy topic that email subscriptions for this document collection should go to - only for document collections converted from specialist topics",
maxItems: 1
},
},
links: (import "shared/base_links.jsonnet") + {
government: {
Expand Down

0 comments on commit 16d4491

Please sign in to comment.