Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove non-edition worldwide organisation links #2616

Merged
merged 1 commit into from
Jan 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,26 +10,14 @@
"type": "object",
"additionalProperties": false,
"properties": {
"corporate_information_pages": {
"description": "Corporate information pages for this Worldwide Organisation",
"$ref": "#/definitions/guid_list"
},
"finder": {
"description": "Powers links from content back to finders the content is surfaced on",
"$ref": "#/definitions/guid_list"
},
"home_page_offices": {
"description": "The offices, other than the main office, to be shown on the home page of this Worldwide Organisation",
"$ref": "#/definitions/guid_list"
},
"lead_organisations": {
"description": "DEPRECATED: A subset of organisations that should be emphasised in relation to this content item. All organisations specified here should also be part of the organisations array.",
"$ref": "#/definitions/guid_list"
},
"main_office": {
"description": "The main office for this Worldwide Organisation",
"$ref": "#/definitions/guid_list"
},
"mainstream_browse_pages": {
"description": "Powers the /browse section of the site. These are known as sections in some legacy apps.",
"$ref": "#/definitions/guid_list"
Expand All @@ -38,10 +26,6 @@
"description": "The user needs this piece of content meets.",
"$ref": "#/definitions/guid_list"
},
"office_staff": {
"description": "People currently appointed to office staff roles in this Worldwide Organisation",
"$ref": "#/definitions/guid_list"
},
"ordered_related_items": {
"description": "Related items, can be any page on GOV.UK. Mostly used for mainstream content to power the sidebar. Ordering of the links is determined by the editor in Content Tagger.",
"$ref": "#/definitions/guid_list"
Expand Down Expand Up @@ -72,22 +56,6 @@
"$ref": "#/definitions/guid_list",
"maxItems": 1
},
"primary_role_person": {
"description": "The person currently appointed to a primary role in this Worldwide Organisation",
"$ref": "#/definitions/guid_list"
},
"roles": {
"description": "All roles associated with this Worldwide Organisation",
"$ref": "#/definitions/guid_list"
},
"secondary_role_person": {
"description": "The person currently appointed to a secondary role in this Worldwide Organisation",
"$ref": "#/definitions/guid_list"
},
"sponsoring_organisations": {
"description": "Sponsoring organisations for this Worldwide Organisation",
"$ref": "#/definitions/guid_list"
},
"suggested_ordered_related_items": {
"description": "Used for displaying related content on most pages, except for step-by-step and fatality notices. Links and their ordering are determined by the machine learning algorithms.",
"$ref": "#/definitions/guid_list"
Expand All @@ -99,10 +67,6 @@
"topics": {
"description": "Powers the /topic section of the site. These are known as specialist sectors in some legacy apps.",
"$ref": "#/definitions/guid_list"
},
"world_locations": {
"description": "World Locations associated with this Worldwide Organisation",
"$ref": "#/definitions/guid_list"
}
}
},
Expand Down
11 changes: 0 additions & 11 deletions content_schemas/formats/worldwide_organisation.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -111,17 +111,6 @@
},
},
},
links: (import "shared/base_links.jsonnet") + {
corporate_information_pages: "Corporate information pages for this Worldwide Organisation",
main_office: "The main office for this Worldwide Organisation",
home_page_offices: "The offices, other than the main office, to be shown on the home page of this Worldwide Organisation",
primary_role_person: "The person currently appointed to a primary role in this Worldwide Organisation",
secondary_role_person: "The person currently appointed to a secondary role in this Worldwide Organisation",
office_staff: "People currently appointed to office staff roles in this Worldwide Organisation",
sponsoring_organisations: "Sponsoring organisations for this Worldwide Organisation",
world_locations: "World Locations associated with this Worldwide Organisation",
roles: "All roles associated with this Worldwide Organisation",
},
edition_links: (import "shared/base_edition_links.jsonnet") + {
contacts: "The contacts linked to offices of this Worldwide Organisation",
corporate_information_pages: "Corporate information pages for this Worldwide Organisation",
Expand Down
Loading