Skip to content

Commit

Permalink
Merge pull request #2478 from alphagov/add-all-roles-to-ww-org
Browse files Browse the repository at this point in the history
Add links to all roles to worldwide organisation content item
  • Loading branch information
jkempster34 authored Aug 25, 2023
2 parents 8002186 + 567b5f5 commit b751e75
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,10 @@
"description": "Link type automatically added by Publishing API",
"$ref": "#/definitions/frontend_links"
},
"roles": {
"description": "All roles associated with this Worldwide Organisation",
"$ref": "#/definitions/frontend_links_with_base_path"
},
"secondary_role_person": {
"description": "The person currently appointed to a secondary role in this Worldwide Organisation",
"$ref": "#/definitions/frontend_links"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,10 @@
"description": "Link type automatically added by Publishing API",
"$ref": "#/definitions/frontend_links"
},
"roles": {
"description": "All roles associated with this Worldwide Organisation",
"$ref": "#/definitions/frontend_links_with_base_path"
},
"secondary_role_person": {
"description": "The person currently appointed to a secondary role in this Worldwide Organisation",
"$ref": "#/definitions/frontend_links"
Expand Down Expand Up @@ -467,6 +471,10 @@
"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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@
"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"
Expand Down
3 changes: 2 additions & 1 deletion content_schemas/formats/worldwide_organisation.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
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"
world_locations: "World Locations associated with this Worldwide Organisation",
roles: "All roles associated with this Worldwide Organisation",
},
}

0 comments on commit b751e75

Please sign in to comment.