Skip to content

Commit 1b9c821

Browse files
authored
Merge pull request #2668 from alphagov/revert-2637-add-pages-to-worldwide-organisations
Revert "Add pages array to worldwide organisations"
2 parents 0a303fb + 875e40e commit 1b9c821

File tree

12 files changed

+4
-203
lines changed

12 files changed

+4
-203
lines changed

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -566,9 +566,6 @@
566566
"type": "string",
567567
"format": "uri"
568568
},
569-
"summary": {
570-
"type": "string"
571-
},
572569
"title": {
573570
"type": "string"
574571
}

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -689,9 +689,6 @@
689689
"type": "string",
690690
"format": "uri"
691691
},
692-
"summary": {
693-
"type": "string"
694-
},
695692
"title": {
696693
"type": "string"
697694
}

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -338,9 +338,6 @@
338338
"type": "string",
339339
"format": "uri"
340340
},
341-
"summary": {
342-
"type": "string"
343-
},
344341
"title": {
345342
"type": "string"
346343
}

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -692,9 +692,6 @@
692692
"type": "string",
693693
"format": "uri"
694694
},
695-
"summary": {
696-
"type": "string"
697-
},
698695
"title": {
699696
"type": "string"
700697
}

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -818,9 +818,6 @@
818818
"type": "string",
819819
"format": "uri"
820820
},
821-
"summary": {
822-
"type": "string"
823-
},
824821
"title": {
825822
"type": "string"
826823
}

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -461,9 +461,6 @@
461461
"type": "string",
462462
"format": "uri"
463463
},
464-
"summary": {
465-
"type": "string"
466-
},
467464
"title": {
468465
"type": "string"
469466
}

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

Lines changed: 0 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -297,14 +297,6 @@
297297
"description": "The main content provided as HTML rendered from govspeak",
298298
"type": "string"
299299
},
300-
"body_html_and_govspeak": {
301-
"description": "The main content provided as HTML with the govspeak markdown it's rendered from",
302-
"anyOf": [
303-
{
304-
"type": "string"
305-
}
306-
]
307-
},
308300
"change_history": {
309301
"type": "array",
310302
"items": {
@@ -528,18 +520,12 @@
528520
"content_id": {
529521
"$ref": "#/definitions/guid"
530522
},
531-
"path": {
532-
"type": "string"
533-
},
534523
"title": {
535524
"type": "string"
536525
}
537526
}
538527
}
539528
},
540-
"page_parts": {
541-
"$ref": "#/definitions/parts"
542-
},
543529
"people_role_associations": {
544530
"type": "array",
545531
"items": {
@@ -900,33 +886,6 @@
900886
"zh-tw"
901887
]
902888
},
903-
"parts": {
904-
"type": "array",
905-
"items": {
906-
"type": "object",
907-
"required": [
908-
"title",
909-
"slug",
910-
"body"
911-
],
912-
"additionalProperties": false,
913-
"properties": {
914-
"body": {
915-
"$ref": "#/definitions/body_html_and_govspeak"
916-
},
917-
"slug": {
918-
"type": "string",
919-
"format": "uri"
920-
},
921-
"summary": {
922-
"type": "string"
923-
},
924-
"title": {
925-
"type": "string"
926-
}
927-
}
928-
}
929-
},
930889
"public_updated_at": {
931890
"description": "When the content was last significantly changed (a major update). Shown to users. Automatically determined by the publishing-api, unless overridden by the publishing application.",
932891
"type": "string",

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

Lines changed: 0 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -432,14 +432,6 @@
432432
"description": "The main content provided as HTML rendered from govspeak",
433433
"type": "string"
434434
},
435-
"body_html_and_govspeak": {
436-
"description": "The main content provided as HTML with the govspeak markdown it's rendered from",
437-
"anyOf": [
438-
{
439-
"$ref": "#/definitions/multiple_content_types"
440-
}
441-
]
442-
},
443435
"change_history": {
444436
"type": "array",
445437
"items": {
@@ -663,18 +655,12 @@
663655
"content_id": {
664656
"$ref": "#/definitions/guid"
665657
},
666-
"path": {
667-
"type": "string"
668-
},
669658
"title": {
670659
"type": "string"
671660
}
672661
}
673662
}
674663
},
675-
"page_parts": {
676-
"$ref": "#/definitions/parts"
677-
},
678664
"people_role_associations": {
679665
"type": "array",
680666
"items": {
@@ -1048,52 +1034,6 @@
10481034
"zh-tw"
10491035
]
10501036
},
1051-
"multiple_content_types": {
1052-
"type": "array",
1053-
"items": {
1054-
"type": "object",
1055-
"required": [
1056-
"content_type",
1057-
"content"
1058-
],
1059-
"additionalProperties": false,
1060-
"properties": {
1061-
"content": {
1062-
"type": "string"
1063-
},
1064-
"content_type": {
1065-
"type": "string"
1066-
}
1067-
}
1068-
}
1069-
},
1070-
"parts": {
1071-
"type": "array",
1072-
"items": {
1073-
"type": "object",
1074-
"required": [
1075-
"title",
1076-
"slug",
1077-
"body"
1078-
],
1079-
"additionalProperties": false,
1080-
"properties": {
1081-
"body": {
1082-
"$ref": "#/definitions/body_html_and_govspeak"
1083-
},
1084-
"slug": {
1085-
"type": "string",
1086-
"format": "uri"
1087-
},
1088-
"summary": {
1089-
"type": "string"
1090-
},
1091-
"title": {
1092-
"type": "string"
1093-
}
1094-
}
1095-
}
1096-
},
10971037
"payload_version": {
10981038
"description": "Counter to indicate when the payload was generated",
10991039
"type": "integer"

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

Lines changed: 0 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -204,14 +204,6 @@
204204
"description": "The main content provided as HTML rendered from govspeak",
205205
"type": "string"
206206
},
207-
"body_html_and_govspeak": {
208-
"description": "The main content provided as HTML with the govspeak markdown it's rendered from",
209-
"anyOf": [
210-
{
211-
"$ref": "#/definitions/multiple_content_types"
212-
}
213-
]
214-
},
215207
"description_optional": {
216208
"anyOf": [
217209
{
@@ -411,18 +403,12 @@
411403
"content_id": {
412404
"$ref": "#/definitions/guid"
413405
},
414-
"path": {
415-
"type": "string"
416-
},
417406
"title": {
418407
"type": "string"
419408
}
420409
}
421410
}
422411
},
423-
"page_parts": {
424-
"$ref": "#/definitions/parts"
425-
},
426412
"people_role_associations": {
427413
"type": "array",
428414
"items": {
@@ -657,52 +643,6 @@
657643
"zh-tw"
658644
]
659645
},
660-
"multiple_content_types": {
661-
"type": "array",
662-
"items": {
663-
"type": "object",
664-
"required": [
665-
"content_type",
666-
"content"
667-
],
668-
"additionalProperties": false,
669-
"properties": {
670-
"content": {
671-
"type": "string"
672-
},
673-
"content_type": {
674-
"type": "string"
675-
}
676-
}
677-
}
678-
},
679-
"parts": {
680-
"type": "array",
681-
"items": {
682-
"type": "object",
683-
"required": [
684-
"title",
685-
"slug",
686-
"body"
687-
],
688-
"additionalProperties": false,
689-
"properties": {
690-
"body": {
691-
"$ref": "#/definitions/body_html_and_govspeak"
692-
},
693-
"slug": {
694-
"type": "string",
695-
"format": "uri"
696-
},
697-
"summary": {
698-
"type": "string"
699-
},
700-
"title": {
701-
"type": "string"
702-
}
703-
}
704-
}
705-
},
706646
"public_updated_at": {
707647
"description": "When the content was last significantly changed (a major update). Shown to users. Automatically determined by the publishing-api, unless overridden by the publishing application.",
708648
"type": "string",

content_schemas/examples/worldwide_organisation/frontend/worldwide_organisation.json

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -146,25 +146,14 @@
146146
"ordered_corporate_information_pages": [
147147
{
148148
"title": "Complaints procedure",
149-
"content_id": "e6329651-2b52-43a3-9830-8ca18919eaeb",
150-
"path": "about/complaints-procedure"
151-
}
152-
],
153-
"secondary_corporate_information_pages": "Our <a class=\"govuk-link\" href=\"/world/organisations/british-deputy-high-commission-hyderabad/about/personal-information-charter\">Personal information charter</a> explains how we treat your personal information.",
154-
"page_parts": [
155-
{
156-
"body": "<h2 id=\"public-holidays\">Public holidays</h2> <p>Our offices will be closed for the following public holidays in 2013:</p> <table> <thead> <tr> <th scope=\"col\">Date</th> <th scope=\"col\">Offices</th> </tr> </thead> <tbody> <tr> <td>Tuesday 1 January</td> <td>New Year’s Day</td> </tr> <tr> <td>Monday 14 January</td> <td>Makar Sankranti</td> </tr> <tr> <td>Wednesday 27 March</td> <td>Holi</td> </tr> <tr> <td>Friday 29 March</td> <td>Good Friday</td> </tr> <tr> <td>Monday 1 April</td> <td>Easter Monday</td> </tr> <tr> <td>Thursday 11 April</td> <td>Ugadi (Telugu New Year)</td> </tr> <tr> <td>Friday 24 May</td> <td>Queen’s Birthday Privilege Holiday</td> </tr> <tr> <td>Thursday 15 August</td> <td>Independence Day</td> </tr> <tr> <td>Monday 9 September</td> <td>Ganesh Chaturthi</td> </tr> <tr> <td>Wednesday 2 October</td> <td>Gandhi Jayanti</td> </tr> <tr> <td>Wednesday 16 October</td> <td>Id-ul-Zuha/Bakrid</td> </tr> <tr> <td>Monday 4 November</td> <td>Diwali Balipratipada (Hindu New Year</td> </tr> <tr> <td>Wednesday 25 December</td> <td>Christmas</td> </tr> <tr> <td>Thursday 26 December</td> <td>Boxing Day</td> </tr> <tr> <td>Friday 27 December</td> <td>Christmas Privilege Holiday</td> </tr> </tbody> </table> <p>Holidays that fall on Saturdays & Sundays have been excluded from this list.</p> ",
157-
"slug": "about/personal-information-charter",
158-
"summary": "Public holidays information about the British Deputy High Commission Hyderabad.",
159-
"title": "Personal information charter"
149+
"content_id": "e6329651-2b52-43a3-9830-8ca18919eaeb"
160150
},
161151
{
162-
"body": "<h2 id=\"complaints-feedback-and-suggestions-on-consular-services\">Complaints, feedback and suggestions on consular services</h2> <p>If you have any complaints, feedback or suggestions about the consular service provided, please send details of your complaint using our <a rel=\"external\" href=\"https://www.contact-embassy.service.gov.uk/?country=United%20Kingdom&post=Feedback%20team\">online feedback form</a>, or in writing to:</p> <div class=\"address\"><div class=\"adr org fn\"><p> <br>Customer Interaction Team <br> Consular Directorate <br> Room WH4.36 <br> Foreign, Commonwealth & Development Office <br> King Charles Street <br> London <br> SW1A 2AH <br> <br> </p></div></div> <h2 id=\"customer-research\">Customer research</h2> <p>We also work with partner research agencies to conduct customer satisfaction research on our services. If you have sought consular assistance overseas and have provided your contact details to us, we may ask you to take part in our customer satisfaction research. Find out more about <a href=\"https://www.gov.uk/government/organisations/foreign-commonwealth-office/about/complaints-procedure#our-feedback-programme-and-research\">our feedback programme and research</a>.</p> <h3 id=\"we-are-not-able-to-respond-to-any-queries-or-complaints-about-uk-visas-or-british-passports\">We are not able to respond to any queries or complaints about UK visas or British passports.</h3> <h2 id=\"passports\">Passports</h2> <p>If your complaint is about British passports, contact <a href=\"https://www.gov.uk/government/organisations/hm-passport-office/about/complaints-procedure\">HM Passport Office</a>.</p> <h2 id=\"visas\">Visas</h2> <p>If your complaint is about UK visas, contact <a href=\"https://www.gov.uk/government/organisations/uk-visas-and-immigration/about/complaints-procedure\">UK Visas and Immigration</a>.</p> <p>Or if you have a query or feedback on UK visa services provided in India, please visit the <a href=\"https://www.gov.uk/government/organisations/uk-visas-and-immigration\">UK visas website</a>.</p> <h2 id=\"report-immigration-or-border-crimes\">Report immigration or border crimes</h2> <p>If you wish to report someone who is working illegally, has no right to be in the UK or is involved in immigration crime or smuggling activity, visit <a rel=\"external\" href=\"https://www.amsallegations.homeoffice.gov.uk/default.aspx/RenderForm/?F.Name=Lf62UB7cz4C\">this page</a>.</p> <p>Allegations made by email, post, or other means will not be processed.</p> \"\n",
163-
"slug": "about/complaints-procedure",
164-
"summary": "The Foreign, Commonwealth & Development Office is committed to providing a high-quality service to everyone we deal with. We welcome your views on the services that the Embassy provides, as they will help us to identify what we do well and what we could do better.",
165-
"title": "Complaints procedure"
152+
"title": "Our Personal information charter explains how we treat your personal information.",
153+
"content_id": "5f5560f5-7631-11e4-a3cb-005056011aef"
166154
}
167155
],
156+
"secondary_corporate_information_pages": "Our <a class=\"govuk-link\" href=\"/world/organisations/british-deputy-high-commission-hyderabad/about/personal-information-charter\">Personal information charter</a> explains how we treat your personal information.",
168157
"world_location_names": [
169158
{
170159
"content_id": "5e9f047a-7706-11e4-a3cb-005056011aef",

0 commit comments

Comments
 (0)