Schema: content_block_contact
Frontend schema
This schema doesn’t have a frontend schema. This means that it should not be used by rendering applications.
Publisher content schema
This is what publisher apps should send to the publishing-api in This is what
a publishing application sends to the publishing-api in a
put_content
call.
Attributes
access_limitedobject |
| ||||||||||||
analytics_identifierstring or null | A short identifier we send to Google Analytics for multi-valued fields. This means we avoid the truncated values we would get if we sent the path or slug of eg organisations. | ||||||||||||
auth_bypass_idsarray | |||||||||||||
base_pathnull | |||||||||||||
bulk_publishingboolean | |||||||||||||
change_note["null", "string"] | |||||||||||||
content_id_alias or null | |||||||||||||
description or null | |||||||||||||
detailsobject |
| ||||||||||||
document_typestring | Allowed values: content_block_contact | ||||||||||||
first_published_atstring | The date the content was first published. Automatically determined by the publishing-api, unless overridden by the publishing application. | ||||||||||||
instructions_to_publishers or null | |||||||||||||
last_edited_atstring | Last time when the content received a major or minor update. | ||||||||||||
last_edited_by_editor_idstring | The UUID of the editor who edited the content. | ||||||||||||
linksobject |
| ||||||||||||
localestring | Allowed values: ar , az , be , bg , bn , cs , cy , da , de , dr , el , en , es , es-419 , et , fa , fi , fr , gd , gu , he , hi , hr , hu , hy , id , is , it , ja , ka , kk , ko , lt , lv , ms , mt , ne , nl , no , pa , pa-pk , pl , ps , pt , ro , ru , si , sk , sl , so , sq , sr , sv , sw , ta , th , tk , tr , uk , ur , uz , vi , yi , zh , zh-hk , zh-tw | ||||||||||||
need_idsarray | |||||||||||||
phasestring | The service design phase of this content item - https://www.gov.uk/service-manual/phases Allowed values: alpha , beta , live | ||||||||||||
previous_versionstring | |||||||||||||
public_updated_atstring | 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. | ||||||||||||
publishing_appstring | The application that published this item. Allowed values: account-api , calculators , calendars , collections-publisher , contacts , content-publisher , content-tagger , email-alert-frontend , external-link-tracker , feedback , frontend , government-frontend , hmrc-manuals-api , local-links-manager , manuals-publisher , maslow , performanceplatform-big-screen-view , publisher , publishing-api , rummager , search-admin , search-api , service-manual-publisher , share-sale-publisher , short-url-manager , smartanswers , specialist-publisher , static , tariff , travel-advice-publisher , whitehall | ||||||||||||
redirectsarray | |||||||||||||
rendering_appnull | |||||||||||||
routesarray | |||||||||||||
schema_namestring | Allowed values: content_block_contact | ||||||||||||
titlestring | |||||||||||||
update_type | Allowed values: major , minor , republish |
Random example
{
"access_limited": {
"auth_bypass_ids": [
"bfeb8cab-4bdc-127e-a67a-8c0fea6ef517",
"4495505b-4b90-1cdf-a5a4-b3adeae7bad5",
"ed3cd8e6-cbd3-11c3-a450-e6dda3ce6e5d",
"3daf01af-d8dd-1045-aefb-2ef9f0c41d94",
"2c3c7a3a-aec3-1f6a-a54b-4aad1d71e255",
"db6904a8-fcd3-1d49-ac28-c22a92cfeaed"
]
},
"content_id_alias": "Pellentesque Mauris Sed Nam eros. dolor eu nisl",
"details": {
"addresses": {},
"contact_type": "Media enquiries",
"email_addresses": {},
"telephones": {}
},
"document_type": "content_block_contact",
"instructions_to_publishers": "volutpat Aenean nibh. turpis pellentesque Duis malesuada non lorem massa Quisque morbi ac libero. orci Suspendisse risus eu",
"last_edited_at": "2022-02-18T09:24:46+00:00",
"last_edited_by_editor_id": "fames nibh. Pellentesque dolor et sagittis bibendum. risus orci porttitor interdum. Nam eu at in ultricies Nam nibh scelerisque. ac aliquet. vestibulum. sit interdum. ac Suspendisse a hendrerit finibus pellentesque ac et volutpat tristique risus tempor egestas. sed sollicitudin tempor molestie tristique ac Aenean malesuada Ut massa senectus vel elit. vel cursus eros.",
"phase": "alpha",
"previous_version": "sollicitudin habitant non sed lectus vestibulum. mauris dolor ultricies risus malesuada non lorem hendrerit sit netus egestas. volutpat sem elit. ac Quisque bibendum. consectetur nibh. Ut a amet massa risus Sed cursus Suspendisse tempor finibus eu leo",
"publishing_app": "maslow",
"redirects": [
"pellentesque nisl elit. amet Aenean risus sollicitudin molestie habitant Suspendisse eros. Mauris hendrerit Duis ac finibus tempor ac morbi turpis orci bibendum. consectetur vel vel tempor massa ac in sit volutpat Quisque a malesuada non Nam cursus lorem Lorem purus risus tristique senectus Sed est.",
"scelerisque. risus turpis tempor interdum. ipsum Sed adipiscing vel Mauris senectus finibus"
],
"rendering_app": null,
"schema_name": "content_block_contact",
"title": "Pellentesque turpis sem molestie ac Lorem risus Mauris libero. volutpat nisl hendrerit suscipit vel porttitor amet cursus lectus habitant vestibulum. egestas. scelerisque. leo nibh. imperdiet Ut ultricies non pellentesque a molestie tristique malesuada at et senectus et sit sagittis purus vel ac tempor Sed nibh bibendum. adipiscing ac interdum. aliquet. eros. risus lorem eu Suspendisse Nam eu Quisque ac sed ipsum elit. massa Nam netus interdum. finibus Duis Aenean tempor fames consectetur dolor dolor est. non mauris sollicitudin orci Ut in morbi tristique",
"update_type": "republish"
}
Publisher links schema
The links for this item. This is what a publishing application sends in a
patch_links
call.
Attributes
bulk_publishingboolean | |||||||||||||||||||||||||||
linksobject |
| ||||||||||||||||||||||||||
previous_versionstring |
Random example
{
"bulk_publishing": true,
"links": {
"lead_organisations": [
"feb8cab4-bdc2-17e6-a7a8-c0fea6ef5174"
],
"organisations": [
"aaa5b4b9-0cdf-15a4-ab3a-deae7bad5ed3",
"cd8e6cbd-31c3-1450-ae6d-da3ce6e5d3da",
"f01afd8d-d045-1efb-a2ef-9f0c41d942c3",
"c7a3aaec-3f6a-154b-a4aa-d1d71e255db6"
],
"parent": [],
"suggested_ordered_related_items": [
"a8fcd3d4-9c28-1c22-aa92-cfeaed226c5a",
"21eaedea-11fb-173d-ae1b-3e6f10367a48",
"16aaa975-c681-13f5-a9a6-a7b3dcdb4f55",
"fb35efc3-1bec-1eab-a9bf-06ff1cbe91fa"
]
}
}