Skip to content

Commit 69073ac

Browse files
authored
Merge pull request #2627 from alphagov/feature/add-defualt-news-image-to-world-wide-organisation
Update WorldwideOrganisation schema
2 parents c750e0e + c0292c8 commit 69073ac

File tree

5 files changed

+16
-0
lines changed

5 files changed

+16
-0
lines changed

content_schemas/dist/formats/worldwide_organisation/frontend/schema.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,9 @@
338338
"change_history": {
339339
"$ref": "#/definitions/change_history"
340340
},
341+
"default_news_image": {
342+
"$ref": "#/definitions/image"
343+
},
341344
"logo": {
342345
"description": "The organisation's logo, including the logo image and formatted name.",
343346
"type": "object",

content_schemas/dist/formats/worldwide_organisation/notification/schema.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -473,6 +473,9 @@
473473
"change_history": {
474474
"$ref": "#/definitions/change_history"
475475
},
476+
"default_news_image": {
477+
"$ref": "#/definitions/image"
478+
},
476479
"logo": {
477480
"description": "The organisation's logo, including the logo image and formatted name.",
478481
"type": "object",

content_schemas/dist/formats/worldwide_organisation/publisher_v2/schema.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,9 @@
221221
"body": {
222222
"$ref": "#/definitions/body"
223223
},
224+
"default_news_image": {
225+
"$ref": "#/definitions/image"
226+
},
224227
"logo": {
225228
"description": "The organisation's logo, including the logo image and formatted name.",
226229
"type": "object",

content_schemas/examples/worldwide_organisation/frontend/worldwide_organisation.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@
1717
"crest": "single-identity",
1818
"formatted_title": "British Deputy High Commission<br/>Hyderabad"
1919
},
20+
"default_news_image": {
21+
"url": "https://assets.publishing.service.gov.uk/government/uploads/system/uploads/default_news_organisation_image_data/file/548/s300_fcdo-main-building.jpg",
22+
"high_resolution_url": "https://assets.publishing.service.gov.uk/government/uploads/system/uploads/default_news_organisation_image_data/file/548/s960_fcdo-main-building.jpg"
23+
},
2024
"office_contact_associations": [
2125
{
2226
"office_content_id": "58c83be0-6264-4cb0-a652-126d57e8c0b7",

content_schemas/formats/worldwide_organisation.jsonnet

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
"$ref": "#/definitions/body",
1010
},
1111
logo: (import "shared/definitions/_organisation_logo.jsonnet"),
12+
default_news_image: {
13+
"$ref": "#/definitions/image",
14+
},
1215
office_contact_associations: {
1316
type: "array",
1417
items: {

0 commit comments

Comments
 (0)