Skip to content

Commit

Permalink
Update schema (#412)
Browse files Browse the repository at this point in the history
Co-authored-by: Rhys Berrow <[email protected]>
  • Loading branch information
masiketlamelo and berroar authored Jun 13, 2023
1 parent 4b32b2b commit b3b51d8
Show file tree
Hide file tree
Showing 2 changed files with 126 additions and 55 deletions.
61 changes: 48 additions & 13 deletions schemas/business/en/blocks_0002.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,23 @@
"placeholders": [
{
"placeholder": "trad_as",
"value": {
"source": "metadata",
"identifier": "trad_as"
}
"transforms": [
{
"transform": "first_non_empty_item",
"arguments": {
"items": [
{
"source": "metadata",
"identifier": "trad_as"
},
{
"source": "metadata",
"identifier": "ru_name"
}
]
}
}
]
},
{
"placeholder": "ru_name",
Expand Down Expand Up @@ -113,18 +126,31 @@
"contents": [
{
"list": [
"This survey is conducted by the Office for National Statistics on behalf of the Department for Business, Energy and Industrial Strategy (BEIS).",
"BEIS uses the information for monitoring trends in the construction industries.",
"This survey is conducted by the Office for National Statistics on behalf of the Department for Business and Trade (DBT).",
"DBT uses the information for monitoring trends in the construction industries.",
"Your business was selected to give us a comprehensive view of the UK economy.",
{
"text": "Data should relate to {trad_as}.",
"placeholders": [
{
"placeholder": "trad_as",
"value": {
"source": "metadata",
"identifier": "trad_as"
}
"transforms": [
{
"transform": "first_non_empty_item",
"arguments": {
"items": [
{
"source": "metadata",
"identifier": "trad_as"
},
{
"source": "metadata",
"identifier": "ru_name"
}
]
}
}
]
}
]
},
Expand Down Expand Up @@ -229,7 +255,7 @@
{
"list": [
"You cannot appeal your selection. Your business was selected to give us a comprehensive view of the UK economy.",
"For the benefit of industry, and the public generally, building materials information is published by BEIS in their <a href=\"https://www.gov.uk/government/organisations/department-for-business-energy-and-industrial-strategy/about/statistics\"target=\"_blank\"rel=\"noopener noreferrer\">Monthly Statistics of Building Materials &amp; Components (this link opens in a new tab)</a>."
"For the benefit of industry, and the public generally, building materials information is published by DBT in their <a href=\"https://www.gov.uk/government/collections/building-materials-and-components-monthly-statistics-2012\"target=\"_blank\"rel=\"noopener noreferrer\">Monthly Statistics of Building Materials &amp; Components (this link opens in a new tab)</a>."
]
}
]
Expand All @@ -245,6 +271,7 @@
"title": "Block types",
"summary": {
"show_on_completion": false,
"page_title": "Block types section",
"collapsible": false
},
"show_on_hub": true,
Expand Down Expand Up @@ -347,7 +374,8 @@
]
}
]
}
},
"page_title": "Block types produced and delivered"
}
]
}
Expand All @@ -358,6 +386,7 @@
"title": "Details of production and delivery",
"summary": {
"show_on_completion": false,
"page_title": "Details of production and delivery section",
"collapsible": false
},
"show_on_hub": true,
Expand Down Expand Up @@ -429,6 +458,7 @@
}
]
},
"page_title": "Production and delivery for dense aggregate blocks",
"skip_conditions": {
"when": {
"not": [
Expand Down Expand Up @@ -509,6 +539,7 @@
}
]
},
"page_title": "Production and delivery for lightweight aggregate blocks",
"skip_conditions": {
"when": {
"not": [
Expand Down Expand Up @@ -589,6 +620,7 @@
}
]
},
"page_title": "Production and delivery for aerated blocks",
"skip_conditions": {
"when": {
"not": [
Expand Down Expand Up @@ -629,6 +661,7 @@
"title": "Comments",
"summary": {
"show_on_completion": false,
"page_title": "Comments section",
"collapsible": false
},
"show_on_hub": true,
Expand All @@ -654,6 +687,7 @@
}
]
},
"page_title": "New works since your last return",
"skip_conditions": {
"when": {
"not": [
Expand Down Expand Up @@ -720,7 +754,8 @@
"max_length": 2000
}
]
}
},
"page_title": "Further details"
}
]
}
Expand Down
Loading

0 comments on commit b3b51d8

Please sign in to comment.