From 3d100ffc4e6d0d612966928256d9f40cf0e5258b Mon Sep 17 00:00:00 2001 From: Farhanam76 <138291154+Farhanam76@users.noreply.github.com> Date: Mon, 8 Jan 2024 12:10:54 +0000 Subject: [PATCH 1/3] re-publish WCIS (#461) --- schemas/health/en/wcis_0001.json | 205 +++++++------------------------ 1 file changed, 45 insertions(+), 160 deletions(-) diff --git a/schemas/health/en/wcis_0001.json b/schemas/health/en/wcis_0001.json index bc73a6bd..c1074812 100644 --- a/schemas/health/en/wcis_0001.json +++ b/schemas/health/en/wcis_0001.json @@ -7529,13 +7529,13 @@ } }, { - "id": "nhs-questions-intro", + "id": "nhs-questions-introduction", "type": "Question", "question": { - "id": "questionnhs-questions-intro", - "title": "The next few questions are being asked on behalf of the National Health Service (NHS) England to help their understanding of winter pressures on the NHS", + "id": "questionnhs-questions-introduction", + "title": "Accessing GP and National Health Service (NHS) services in England", "description": [ - "
The questions ask about your experience accessing GP care and waiting for NHS treatment. There are a maximum of 8 questions, which will take around 3 minutes to complete.
Please note, we will not share your data with NHS England. We will only share the statistics produced on groups of respondents.
" + "You have now completed all your questions for the Winter CIS.
The next few questions are voluntary. They ask about your experience accessing GP care and waiting for NHS treatment in England. They should take no longer than 2 to 3 minutes to complete.
These questions are separate from the Winter CIS, with new privacy information. Please read the data privacy and protection information for these questions.
Your data collected from these questions will not be shared outside of ONS.
The questions are about access to these services in England only. If you live in Scotland, please select "No".
" ], "type": "General", "answers": [ @@ -7557,7 +7557,7 @@ } ] }, - "page_title": "NHS Questions - intro", + "page_title": "NHS Questions - introduction", "routing_rules": [ { "block": "nhs-questions-gp-contact", @@ -7586,18 +7586,7 @@ { "block": "nhs-questions-gp-contact" } - ], - "skip_conditions": { - "when": { - "in": [ - { - "identifier": "answerc4a54f91-f947-4cb4-b166-1cefbf3d05eb", - "source": "answers" - }, - ["Yes", "No"] - ] - } - } + ] }, { "id": "nhs-questions-gp-contact", @@ -7606,7 +7595,7 @@ "id": "questionnhs-questions-gp-contact", "title": "In the past month, have you tried to contact a GP practice for yourself or someone else? ", "description": [ - "This could be in person, on the phone or online.
" + "This could be in person, on the phone or online.
By GP we mean General Practitioner Medical Doctor.
" ], "type": "General", "answers": [ @@ -7655,25 +7644,12 @@ ], "skip_conditions": { "when": { - "or": [ + "in": [ { - "in": [ - { - "identifier": "answerc4a54f91-f947-4cb4-b166-1cefbf3d05eb", - "source": "answers" - }, - ["Yes", "No"] - ] + "identifier": "answer7cd6799e-4efd-4991-83c6-280a2729a21e", + "source": "answers" }, - { - "in": [ - { - "identifier": "answer7cd6799e-4efd-4991-83c6-280a2729a21e", - "source": "answers" - }, - ["No"] - ] - } + ["No"] ] } } @@ -7746,25 +7722,12 @@ ], "skip_conditions": { "when": { - "or": [ + "in": [ { - "in": [ - { - "identifier": "answerc4a54f91-f947-4cb4-b166-1cefbf3d05eb", - "source": "answers" - }, - ["Yes", "No"] - ] + "identifier": "answer7cd6799e-4efd-4991-83c6-280a2729a21e", + "source": "answers" }, - { - "in": [ - { - "identifier": "answer7cd6799e-4efd-4991-83c6-280a2729a21e", - "source": "answers" - }, - ["No"] - ] - } + ["No"] ] } } @@ -7824,25 +7787,12 @@ "page_title": "NHS questions - How GP contact was made", "skip_conditions": { "when": { - "or": [ + "in": [ { - "in": [ - { - "identifier": "answerc4a54f91-f947-4cb4-b166-1cefbf3d05eb", - "source": "answers" - }, - ["Yes", "No"] - ] + "identifier": "answer7cd6799e-4efd-4991-83c6-280a2729a21e", + "source": "answers" }, - { - "in": [ - { - "identifier": "answer7cd6799e-4efd-4991-83c6-280a2729a21e", - "source": "answers" - }, - ["No"] - ] - } + ["No"] ] } } @@ -7895,7 +7845,7 @@ "page_title": "NHS question - GP access easy or difficult", "routing_rules": [ { - "block": "nhs-questions-gp", + "block": "nhs-questions-gp-overall-experience", "when": { "in": [ { @@ -7932,25 +7882,12 @@ ], "skip_conditions": { "when": { - "or": [ + "in": [ { - "in": [ - { - "identifier": "answerc4a54f91-f947-4cb4-b166-1cefbf3d05eb", - "source": "answers" - }, - ["Yes", "No"] - ] + "identifier": "answer7cd6799e-4efd-4991-83c6-280a2729a21e", + "source": "answers" }, - { - "in": [ - { - "identifier": "answer7cd6799e-4efd-4991-83c6-280a2729a21e", - "source": "answers" - }, - ["No"] - ] - } + ["No"] ] } } @@ -8027,34 +7964,21 @@ "page_title": "NHS questions - GP contact next steps", "skip_conditions": { "when": { - "or": [ + "in": [ { - "in": [ - { - "identifier": "answerc4a54f91-f947-4cb4-b166-1cefbf3d05eb", - "source": "answers" - }, - ["Yes", "No"] - ] + "identifier": "answer7cd6799e-4efd-4991-83c6-280a2729a21e", + "source": "answers" }, - { - "in": [ - { - "identifier": "answer7cd6799e-4efd-4991-83c6-280a2729a21e", - "source": "answers" - }, - ["No"] - ] - } + ["No"] ] } } }, { - "id": "nhs-questions-gp", + "id": "nhs-questions-gp-overall-experience", "type": "Question", "question": { - "id": "questionnhs-questions-gp", + "id": "questionnhs-questions-gp-overall-experience", "title": "Overall, how would you describe your experience of the GP practice? ", "type": "General", "answers": [ @@ -8095,28 +8019,15 @@ } ] }, - "page_title": "NHS questions - GP", + "page_title": "NHS questions - GP overall experience", "skip_conditions": { "when": { - "or": [ + "in": [ { - "in": [ - { - "identifier": "answerc4a54f91-f947-4cb4-b166-1cefbf3d05eb", - "source": "answers" - }, - ["Yes", "No"] - ] + "identifier": "answer7cd6799e-4efd-4991-83c6-280a2729a21e", + "source": "answers" }, - { - "in": [ - { - "identifier": "answer7cd6799e-4efd-4991-83c6-280a2729a21e", - "source": "answers" - }, - ["No"] - ] - } + ["No"] ] } } @@ -8174,25 +8085,12 @@ ], "skip_conditions": { "when": { - "or": [ + "in": [ { - "in": [ - { - "identifier": "answerc4a54f91-f947-4cb4-b166-1cefbf3d05eb", - "source": "answers" - }, - ["Yes", "No"] - ] + "identifier": "answer7cd6799e-4efd-4991-83c6-280a2729a21e", + "source": "answers" }, - { - "in": [ - { - "identifier": "answer7cd6799e-4efd-4991-83c6-280a2729a21e", - "source": "answers" - }, - ["No"] - ] - } + ["No"] ] } } @@ -8238,8 +8136,8 @@ "value": "More than 18 months" }, { - "label": "Not sure", - "value": "Not sure" + "label": "Do not know", + "value": "Do not know" }, { "label": "Prefer not to say", @@ -8252,25 +8150,12 @@ "page_title": "NHS questions - waiting for hospital appointment", "skip_conditions": { "when": { - "or": [ + "in": [ { - "in": [ - { - "identifier": "answerc4a54f91-f947-4cb4-b166-1cefbf3d05eb", - "source": "answers" - }, - ["Yes", "No"] - ] + "identifier": "answer7cd6799e-4efd-4991-83c6-280a2729a21e", + "source": "answers" }, - { - "in": [ - { - "identifier": "answer7cd6799e-4efd-4991-83c6-280a2729a21e", - "source": "answers" - }, - ["No"] - ] - } + ["No"] ] } } From bf925c6c4f221b873402d15ac7551b563aad71b7 Mon Sep 17 00:00:00 2001 From: Jason LavarinhasInformed estimates are acceptable.
Enter a value to the nearest thousand (e.g. 56,000). Do not enter ‘56’ for 56,000.
" + ], + "guidance": { + "contents": [ + { + "description": "Exclude pavers" + } + ] + }, + "definitions": [ + { + "title": "What do we mean by 'opening stock'", + "contents": [ + { + "description": "This refers to the closing stock at the end of the previous month unless a physical stock check has been made, in which case the actual physical stock figure should be entered, and discrepancies explained in the comments section of this survey." + } + ] + } + ], + "type": "General", + "answers": [ + { + "id": "answer980", + "mandatory": false, + "type": "Number", + "label": "Opening stock of common bricks", + "q_code": "01", + "decimal_places": 0 + }, + { + "id": "answer981", + "mandatory": false, + "type": "Number", + "label": "Common bricks drawn from kiln or autoclave during month", + "description": "This refers to saleable bricks produced and ready for use", + "q_code": "02", + "decimal_places": 0 + }, + { + "id": "answer982", + "mandatory": false, + "type": "Number", + "label": "Common bricks delivered to customers during month", + "description": "This refers to bricks that have been dispatched from the premises and should include any actually used on the premises if they were of a saleable quality", + "q_code": "03", + "decimal_places": 0 + }, + { + "id": "answer983", + "mandatory": false, + "type": "Number", + "label": "Closing stock of common bricks", + "q_code": "04", + "decimal_places": 0 + } + ] + }, + "page_title": "Production and delivery for common bricks", + "skip_conditions": { + "when": { + "not": [ + { + "any-in": [ + ["Common bricks"], + { + "identifier": "answer57363407-61bd-422f-9789-70dbf0e7ba20", + "source": "answers" + } + ] + } + ] + } + } + }, + { + "id": "production-and-delivery-for-facing-bricks", + "type": "Question", + "question": { + "id": "questionproduction-and-delivery-for-facing-bricks", + "title": "For the reporting period, what are the details of production and delivery for facing bricks?", + "description": [ + "Informed estimates are acceptable.
Enter a value to the nearest thousand (e.g. 56,000). Do not enter ‘56’ for 56,000.
" + ], + "guidance": { + "contents": [ + { + "description": "Exclude pavers" + } + ] + }, + "definitions": [ + { + "title": "What do we mean by 'opening stock'", + "contents": [ + { + "description": "This refers to the closing stock at the end of the previous month unless a physical stock check has been made, in which case the actual physical stock figure should be entered, and discrepancies explained in the comments section of this survey." + } + ] + } + ], + "type": "General", + "answers": [ + { + "id": "answer7d42fafe-21f4-4fa4-9f4e-bcd0e6156adf", + "mandatory": false, + "type": "Number", + "label": "Opening stock of facing bricks", + "q_code": "11", + "decimal_places": 0 + }, + { + "id": "answerc2094bc9-aef8-446d-8744-29a30b77d464", + "mandatory": false, + "type": "Number", + "label": "Facing bricks drawn from kiln or autoclave during month", + "description": "This refers to saleable bricks produced and ready for use", + "q_code": "12", + "decimal_places": 0 + }, + { + "id": "answerab9f9884-6ad5-4a29-adfc-3fa212fc871b", + "mandatory": false, + "type": "Number", + "label": "Facing bricks delivered to customers during month", + "description": "This refers to bricks that have been dispatched from the premises and should include any actually used on the premises if they were of a saleable quality", + "q_code": "13", + "decimal_places": 0 + }, + { + "id": "answerbe7ef6c3-72d1-4d93-b6ac-6afdd0ecc0e1", + "mandatory": false, + "type": "Number", + "label": "Closing stock of facing bricks", + "q_code": "14", + "decimal_places": 0 + } + ] + }, + "page_title": "Production and delivery for facing bricks", + "skip_conditions": { + "when": { + "not": [ + { + "any-in": [ + ["Facing bricks"], + { + "identifier": "answer57363407-61bd-422f-9789-70dbf0e7ba20", + "source": "answers" + } + ] + } + ] + } + } + }, + { + "id": "production-and-delivery-for-engineering-bricks", + "type": "Question", + "question": { + "id": "questionproduction-and-delivery-for-engineering-bricks", + "title": "For the reporting period, what are the details of production and delivery for engineering bricks?", + "description": [ + "Informed estimates are acceptable.
Enter a value to the nearest thousand (e.g. 56,000). Do not enter ‘56’ for 56,000.
" + ], + "guidance": { + "contents": [ + { + "description": "Exclude pavers" + } + ] + }, + "definitions": [ + { + "title": "What do we mean by 'opening stock'", + "contents": [ + { + "description": "This refers to the closing stock at the end of the previous month unless a physical stock check has been made, in which case the actual physical stock figure should be entered, and discrepancies explained in the comments section of this survey." + } + ] + } + ], + "type": "General", + "answers": [ + { + "id": "answer9e25ab2b-3bc7-4325-bd6d-8738336a6741", + "mandatory": false, + "type": "Number", + "label": "Opening stock of engineering bricks", + "q_code": "21", + "decimal_places": 0 + }, + { + "id": "answer0b90ce18-9c41-4629-9540-b354ddd2bbf2", + "mandatory": false, + "type": "Number", + "label": "Engineering bricks drawn from kiln or autoclave during month", + "description": "This refers to saleable bricks produced and ready for use", + "q_code": "22", + "decimal_places": 0 + }, + { + "id": "answerd4c187c6-1db5-49d7-a7b1-d2329620a6bf", + "mandatory": false, + "type": "Number", + "label": "Engineering bricks delivered to customers during month", + "description": "This refers to bricks that have been dispatched from the premises and should include any actually used on the premises if they were of a saleable quality", + "q_code": "23", + "decimal_places": 0 + }, + { + "id": "answerb132275d-886a-45a0-843e-774c33f8e116", + "mandatory": false, + "type": "Number", + "label": "Closing stock of engineering bricks", + "q_code": "24", + "decimal_places": 0 + } + ] + }, + "page_title": "Production and delivery for engineering bricks", + "skip_conditions": { + "when": { + "not": [ + { + "any-in": [ + ["Engineering bricks"], + { + "identifier": "answer57363407-61bd-422f-9789-70dbf0e7ba20", + "source": "answers" + } + ] + } + ] + } + } + }, + { + "id": "total-of-bricks-in-opening-stock", + "type": "CalculatedSummary", + "page_title": "Total of bricks in opening stock", + "title": "We have calculated your business's total number of bricks in your opening stock to be %(total)s. Is this correct?", + "calculation": { + "operation": { + "+": [ + { + "identifier": "answer980", + "source": "answers" + }, + { + "identifier": "answer7d42fafe-21f4-4fa4-9f4e-bcd0e6156adf", + "source": "answers" + }, + { + "identifier": "answer9e25ab2b-3bc7-4325-bd6d-8738336a6741", + "source": "answers" + } + ] + }, + "title": "Total number of bricks in your opening stock" + } + }, + { + "id": "total-of-bricks-drawn-from-kiln-or-autoclave", + "type": "CalculatedSummary", + "page_title": "Total of bricks drawn from kiln or autoclave", + "title": "We have calculated your business's total number of bricks drawn from kiln or autoclave to be %(total)s. Is this correct?", + "calculation": { + "operation": { + "+": [ + { + "identifier": "answer981", + "source": "answers" + }, + { + "identifier": "answerc2094bc9-aef8-446d-8744-29a30b77d464", + "source": "answers" + }, + { + "identifier": "answer0b90ce18-9c41-4629-9540-b354ddd2bbf2", + "source": "answers" + } + ] + }, + "title": "Total number of bricks drawn from kiln or autoclave" + } + }, + { + "id": "total-of-bricks-delivered-to-customers", + "type": "CalculatedSummary", + "page_title": "Total of bricks delivered to customers", + "title": "We have calculated your business's total number of bricks delivered to customers to be %(total)s. Is this correct?", + "calculation": { + "operation": { + "+": [ + { + "identifier": "answer982", + "source": "answers" + }, + { + "identifier": "answerab9f9884-6ad5-4a29-adfc-3fa212fc871b", + "source": "answers" + }, + { + "identifier": "answerd4c187c6-1db5-49d7-a7b1-d2329620a6bf", + "source": "answers" + } + ] + }, + "title": "Total number of bricks delivered to customers" + } + }, + { + "id": "total-of-bricks-in-closing-stock", + "type": "CalculatedSummary", + "page_title": "Total of bricks in closing stock", + "title": "We have calculated your business's total number of bricks in your closing stock to be %(total)s. Is this correct?", + "calculation": { + "operation": { + "+": [ + { + "identifier": "answer983", + "source": "answers" + }, + { + "identifier": "answerbe7ef6c3-72d1-4d93-b6ac-6afdd0ecc0e1", + "source": "answers" + }, + { + "identifier": "answerb132275d-886a-45a0-843e-774c33f8e116", + "source": "answers" + } + ] + }, + "title": "Total number of bricks in your closing stock" + } + }, + { + "id": "type-of-brick", + "type": "Question", + "question": { + "id": "questiontype-of-brick", + "title": "What type of brick does your business produce?", + "type": "General", + "answers": [ + { + "id": "answer733a0a93-209e-4a16-8e6f-04658c84abf3", + "mandatory": false, + "type": "Radio", + "q_code": "9999", + "options": [ + { + "label": "Clay", + "value": "Clay" + }, + { + "label": "Concrete", + "value": "Concrete" + }, + { + "label": "Sandlime", + "value": "Sandlime" + } + ] + } + ] + }, + "page_title": "Type of brick" + } + ] + } + ], + "enabled": { + "when": { + "any-in": [ + ["Engineering bricks", "Facing bricks", "Common bricks"], + { + "identifier": "answer57363407-61bd-422f-9789-70dbf0e7ba20", + "source": "answers" + } + ] + } + } + }, + { + "id": "206", + "title": "Comments", + "summary": { + "show_on_completion": false, + "page_title": "Comments section", + "collapsible": false + }, + "show_on_hub": true, + "groups": [ + { + "id": "group206", + "blocks": [ + { + "id": "new-works-since-your-last-return", + "type": "Question", + "question": { + "id": "questionnew-works-since-your-last-return", + "title": "Please provide details of any new works your business has brought into use since your last return", + "type": "General", + "answers": [ + { + "id": "answer1055", + "mandatory": false, + "type": "TextArea", + "label": "Comments", + "q_code": "145", + "max_length": 2000 + } + ] + }, + "page_title": "New works since your last return", + "skip_conditions": { + "when": { + "==": [ + null, + { + "identifier": "answer57363407-61bd-422f-9789-70dbf0e7ba20", + "source": "answers" + } + ] + } + } + }, + { + "id": "further-details", + "type": "Question", + "question": { + "id": "questionfurther-details", + "title": "Please provide any further details that will help us understand your figures and tell an industry story", + "description": [ + "You have nearly finished. Make sure you continue to the next page and select submit answers at the bottom.
" + ], + "guidance": { + "contents": [ + { + "description": "Include:" + }, + { + "list": [ + "substantial fluctuations compared with your previous return" + ] + }, + { + "description": "For example:" + }, + { + "list": [ + "site shutdowns", + "site maintenance", + "site breakdowns", + "raw material shortages", + "stock movements", + "any change in contacts", + "extreme weather" + ] + } + ] + }, + "type": "General", + "answers": [ + { + "id": "answer1056", + "mandatory": false, + "type": "TextArea", + "label": "Comments", + "q_code": "146", + "max_length": 2000 + } + ] + }, + "page_title": "Further details" + } + ] + } + ] + } + ], + "theme": "dbt-dsit", + "navigation": { + "visible": true + }, + "metadata": [ + { + "name": "ru_name", + "type": "string" + }, + { + "name": "trad_as", + "type": "string" + }, + { + "name": "period_id", + "type": "string" + }, + { + "name": "ref_p_start_date", + "type": "date" + }, + { + "name": "ref_p_end_date", + "type": "date" + }, + { + "name": "employmentDate", + "type": "date" + }, + { + "name": "ru_ref", + "type": "string" + }, + { + "name": "user_id", + "type": "string" + } + ], + "post_submission": { + "feedback": true, + "view_response": true, + "guidance": { + "contents": [ + { + "description": "Learn more about how we use this data (this link opens in a new tab)" + } + ] + } + }, + "submission": { + "button": "Submit", + "title": "Check your answers and submit", + "warning": "You must submit this survey to complete it", + "guidance": "You will have the opportunity to view, save or print a copy of your answers after submitting this survey." + } +} From 0f53af07a2b0ab7c2ee92ef8a3a5902f58ad4474 Mon Sep 17 00:00:00 2001 From: Farhanam76 <138291154+Farhanam76@users.noreply.github.com> Date: Mon, 8 Jan 2024 12:22:46 +0000 Subject: [PATCH 3/3] EAR-2329-publish-slate-testing (#464) --- schemas/business/en/qs_0002.json | 1665 ++++++++++++++++++++++++++++++ 1 file changed, 1665 insertions(+) create mode 100644 schemas/business/en/qs_0002.json diff --git a/schemas/business/en/qs_0002.json b/schemas/business/en/qs_0002.json new file mode 100644 index 00000000..3b46c613 --- /dev/null +++ b/schemas/business/en/qs_0002.json @@ -0,0 +1,1665 @@ +{ + "language": "en", + "mime_type": "application/json/ons/eq", + "schema_version": "0.0.1", + "data_version": "0.0.3", + "preview_questions": false, + "survey_id": "068", + "form_type": "0002", + "answer_codes": [ + { + "answer_id": "answer05b1c255-1eb1-4e83-bcb1-101f862b0290", + "code": "9999" + }, + { + "answer_id": "answerebcca620-109a-46a6-b24b-25a909e50f20", + "code": "9998" + }, + { + "answer_id": "answer08c4caae-6f34-4fb2-95e3-ab6a900fe3ef", + "code": "9997" + }, + { + "answer_id": "answer942461c1-d1a9-406b-81c3-3fde7b3d3bb2", + "code": "9996" + }, + { + "answer_id": "answer9c1b8cf9-47b0-4ca5-bc5c-091bb72645ab", + "code": "9995" + }, + { + "answer_id": "answer6ec92f01-866c-43af-8bf7-2b8446cf4ae8", + "code": "9994" + }, + { + "answer_id": "answer1cd2cee7-6a39-4910-a4a6-e0ded1c50476", + "code": "9993" + }, + { + "answer_id": "answerbfcaa1cc-986d-4820-968e-3d4b3a0fd71c", + "code": "9992" + }, + { + "answer_id": "answer070fc34d-df85-48bc-b709-6915bc7fa212", + "code": "9991" + }, + { + "answer_id": "answer6014b9ee-c0c8-4c44-be02-29eea997ae8f", + "code": "9990" + }, + { + "answer_id": "answer74766a4b-6b6c-4bc8-98c5-338115307f57", + "code": "9989" + }, + { + "answer_id": "answer34a1b6b4-7624-45fb-be44-b398712f5b76", + "code": "9988" + }, + { + "answer_id": "answerc0a51304-b31c-4ddf-af97-ea0d4af430fd", + "code": "9987" + }, + { + "answer_id": "answer584a19d8-b633-40ca-b46a-215239adb583", + "code": "9986" + }, + { + "answer_id": "answer18dc8ebd-7c1e-4c0c-bbdf-e8880c244a80", + "code": "9985" + }, + { + "answer_id": "answer0c4d8705-0c53-4778-b8d9-de0b41bc446f", + "code": "9984" + }, + { + "answer_id": "answer1847ffdb-1216-456d-91e9-007931267748", + "code": "9983" + }, + { + "answer_id": "answerabb1c25b-970d-4298-b132-93d1adf42f3d", + "code": "9982" + }, + { + "answer_id": "answerdfbbf643-c2f1-4df5-b659-c7fa7dd9b556", + "code": "9981" + }, + { + "answer_id": "answer38e39812-1535-454f-a6d5-8c70ddbc7680", + "code": "9980" + }, + { + "answer_id": "answer09c28594-f521-41e6-a25f-b86f6cb296ef", + "code": "9979" + }, + { + "answer_id": "answera5aba7c9-5e14-481b-889b-bf5c6abc3767", + "code": "9978" + }, + { + "answer_id": "answerbf11b2d4-3f36-4466-8e59-4f8bc3cce4c8", + "code": "9977" + }, + { + "answer_id": "answerebb4269d-e0be-4491-882a-eb591b417a63", + "code": "9976" + }, + { + "answer_id": "answerf6e6b4ef-7765-4e58-98c9-c825b89ebae8", + "code": "9975" + }, + { + "answer_id": "answer3d8541bf-c427-4776-aa76-b26b06a7a1ed", + "code": "9974" + }, + { + "answer_id": "answere9cfe6d9-16d8-41ed-836c-5541e967e2f8", + "code": "9973" + }, + { + "answer_id": "answerec1c4bba-13ad-4bf5-915c-a9953a747d1b", + "code": "9972" + }, + { + "answer_id": "answer4665612b-1bdc-493f-9aeb-9f73a5a5b0f8", + "code": "9971" + }, + { + "answer_id": "answer35f89d2c-bbad-4d4a-b196-01e333a93a67", + "code": "9970" + } + ], + "title": "TEST USE ONLY Quarterly Survey of Building Materials - Slate", + "questionnaire_flow": { + "type": "Hub", + "options": { + "required_completed_sections": [ + "03cfdd40-bd05-4171-a48e-ce0be54fe1b3", + "section88d360e2-bdf7-43a1-9739-a61eeed1fa15" + ] + } + }, + "sections": [ + { + "id": "section88d360e2-bdf7-43a1-9739-a61eeed1fa15", + "title": "Introduction", + "show_on_hub": false, + "groups": [ + { + "id": "group88d360e2-bdf7-43a1-9739-a61eeed1fa15", + "title": "Introduction", + "blocks": [ + { + "id": "introduction", + "type": "Introduction", + "primary_content": [ + { + "id": "primary", + "title": { + "text": "You are completing this for {ru_name} {trad_as}", + "placeholders": [ + { + "placeholder": "ru_name", + "value": { + "source": "metadata", + "identifier": "ru_name" + } + }, + { + "placeholder": "trad_as", + "transforms": [ + { + "transform": "conditional_trad_as", + "arguments": { + "trad_as": { + "source": "metadata", + "identifier": "trad_as" + } + } + } + ] + } + ] + }, + "contents": [ + { + "description": { + "text": "If the company details or structure have changed contact us on {telephone_number_link} or email {email_link}", + "placeholders": [ + { + "placeholder": "telephone_number_link", + "transforms": [ + { + "transform": "telephone_number_link", + "arguments": { + "telephone_number": "0300 1234 931" + } + } + ] + }, + { + "placeholder": "email_link", + "transforms": [ + { + "transform": "email_link", + "arguments": { + "email_address": "surveys@ons.gov.uk", + "email_subject": "Change of details", + "email_subject_append": { + "identifier": "ru_ref", + "source": "metadata" + } + } + } + ] + } + ] + } + } + ] + }, + { + "id": "additional-guidance", + "contents": [ + { + "guidance": { + "contents": [ + { + "title": "Important Notice" + }, + { + "description": "This questionnaire has been designed for online mode. You may notice changes compared with the paper version, such as to the ordering of questions and sections." + }, + { + "description": "There is additional guidance throughout the questionnaire. However, if you require support then please contact us on 0300 1234 931 or via email at surveys@ons.gov.uk" + } + ] + } + } + ] + }, + { + "id": "description", + "contents": [ + { + "list": [ + "This voluntary survey is conducted by the Office for National Statistics on behalf of the Department for Business and Trade (DBT).", + "Data should relate to all sites in England, Scotland, and Wales unless otherwise stated.", + "This survey is to be completed for the sites named within the local unit and new site information sections of this questionnaire.", + "The figures should exclude all products imported from outside the UK.", + "You can provide informed estimates if actual figures are not available.", + "We will treat your data securely and confidentially.", + "You can save a copy of your answers at the end of this questionnaire using the ‘Download as PDF’ button." + ] + } + ] + } + ], + "preview_content": { + "id": "preview", + "title": "Information you need", + "contents": [ + { + "description": { + "text": "This survey collects information on your business's production and delivery of different slate types as a building material during the quarter {ref_p_start_date} to {ref_p_end_date}.", + "placeholders": [ + { + "placeholder": "ref_p_start_date", + "transforms": [ + { + "transform": "format_date", + "arguments": { + "date_to_format": { + "source": "metadata", + "identifier": "ref_p_start_date" + }, + "date_format": "d MMMM yyyy" + } + } + ] + }, + { + "placeholder": "ref_p_end_date", + "transforms": [ + { + "transform": "format_date", + "arguments": { + "date_to_format": { + "source": "metadata", + "identifier": "ref_p_end_date" + }, + "date_format": "d MMMM yyyy" + } + } + ] + } + ] + } + }, + { + "description": "View more information about this survey (this link opens in a new tab)" + }, + { + "description": "The types of slate included in this survey are slate for:" + }, + { + "list": [ + "roofing", + "cladding and other decorative uses", + "powder and granules", + "crude blocks including external paving and walling stone", + "slate waste, for fill and other uses" + ] + }, + { + "description": "The survey has the following sections:" + } + ], + "questions": [ + { + "question": "Types of slate", + "contents": [ + { + "description": { + "text": "In this section you will be asked to confirm the types of slate {ru_name} has produced, delivered or held in stock for the period {ref_p_start_date} to {ref_p_end_date}.", + "placeholders": [ + { + "placeholder": "ru_name", + "value": { + "source": "metadata", + "identifier": "ru_name" + } + }, + { + "placeholder": "ref_p_start_date", + "transforms": [ + { + "transform": "format_date", + "arguments": { + "date_to_format": { + "source": "metadata", + "identifier": "ref_p_start_date" + }, + "date_format": "d MMMM yyyy" + } + } + ] + }, + { + "placeholder": "ref_p_end_date", + "transforms": [ + { + "transform": "format_date", + "arguments": { + "date_to_format": { + "source": "metadata", + "identifier": "ref_p_end_date" + }, + "date_format": "d MMMM yyyy" + } + } + ] + } + ] + } + } + ] + }, + { + "question": "Details of production", + "contents": [ + { + "description": "In this section you will be asked to provide the following information for each type of slate you have selected." + }, + { + "description": "This includes:" + }, + { + "list": [ + "total production", + "total deliveries", + "closing stock", + "new works your business has brought into use since the date of your last return" + ] + }, + { + "description": "This section is to be completed for the sites named within the local unit and new site information sections of this questionnaire." + } + ] + }, + { + "question": "Local unit information", + "contents": [ + { + "description": "In this section you will be presented with your business's local units. You will be asked to check the information for any errors and provide details of any changes. If a unit is no longer covered by this return, include the date that it ceased production." + } + ] + }, + { + "question": "New site information", + "contents": [ + { + "description": "In this section you will be asked to provide details of any new local units that have come into production since your last return." + }, + { + "description": "This includes:" + }, + { + "list": [ + "name, address, and postcode of the new unit", + "nature of work carried on at the new unit", + "number of persons employed at the new unit", + "date the new unit came into production" + ] + } + ] + } + ] + }, + "secondary_content": [ + { + "id": "secondary-content", + "contents": [ + { + "title": "How we use your data" + }, + { + "list": [ + "DBT uses the information for monitoring trends in the construction industries.", + "For the benefit of industry, and the public generally, building materials information is published by DBT in their 'Monthly Statistics of Building Materials & Components (this link opens in a new tab)." + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "id": "03cfdd40-bd05-4171-a48e-ce0be54fe1b3", + "title": "Types of slate", + "summary": { + "show_on_completion": false, + "collapsible": false + }, + "show_on_hub": true, + "groups": [ + { + "id": "group03cfdd40-bd05-4171-a48e-ce0be54fe1b3", + "blocks": [ + { + "id": "slate-type", + "type": "Question", + "question": { + "id": "questionslate-type", + "title": { + "text": "For the period {ref_p_start_date} to {ref_p_end_date}, which of the following types of slate has {ru_name} produced, delivered, or held in stock?", + "placeholders": [ + { + "placeholder": "ref_p_start_date", + "transforms": [ + { + "transform": "format_date", + "arguments": { + "date_to_format": { + "source": "metadata", + "identifier": "ref_p_start_date" + }, + "date_format": "d MMMM yyyy" + } + } + ] + }, + { + "placeholder": "ref_p_end_date", + "transforms": [ + { + "transform": "format_date", + "arguments": { + "date_to_format": { + "source": "metadata", + "identifier": "ref_p_end_date" + }, + "date_format": "d MMMM yyyy" + } + } + ] + }, + { + "placeholder": "ru_name", + "value": { + "source": "metadata", + "identifier": "ru_name" + } + } + ] + }, + "type": "MutuallyExclusive", + "mandatory": true, + "answers": [ + { + "id": "answer05b1c255-1eb1-4e83-bcb1-101f862b0290", + "mandatory": false, + "type": "Checkbox", + "options": [ + { + "label": "Slate for roofing", + "value": "Slate for roofing", + "description": "Including roofing slates used vertically" + }, + { + "label": "Slate for cladding and other decorative uses based on sawn slabs", + "value": "Slate for cladding and other decorative uses based on sawn slabs" + }, + { + "label": "Slate for powder and granules", + "value": "Slate for powder and granules" + }, + { + "label": "Slate for crude blocks", + "value": "Slate for crude blocks", + "description": "Including external paving and walling stone" + }, + { + "label": "Slate waste, for fill and other uses", + "value": "Slate waste, for fill and other uses", + "description": "Include saleable slate waste" + } + ] + }, + { + "id": "answerebcca620-109a-46a6-b24b-25a909e50f20", + "mandatory": false, + "type": "Checkbox", + "options": [ + { + "label": "None of the above", + "value": "None of the above" + } + ] + } + ] + }, + "page_title": "Slate type" + } + ] + } + ] + }, + { + "id": "f7b1c412-d8b5-43ea-86d3-52efcf3ba36c", + "title": "Details of production", + "summary": { + "show_on_completion": false, + "collapsible": false + }, + "show_on_hub": true, + "groups": [ + { + "id": "groupf7b1c412-d8b5-43ea-86d3-52efcf3ba36c", + "blocks": [ + { + "type": "Interstitial", + "id": "details-of-production-introduction", + "page_title": "Details of production introduction", + "content": { + "title": "Details of production", + "contents": [ + { + "description": "In this section you will be asked to provide the following information for each type of slate you have selected." + }, + { + "description": "This includes:" + }, + { + "list": [ + "total production", + "total deliveries", + "closing stock", + "new works your business has brought into use since the date of your last return" + ] + }, + { + "description": "This section is to be completed for the sites named within the local unit and new site information sections of this questionnaire." + } + ] + } + }, + { + "id": "details-of-production-of-slate-for-roofing", + "type": "Question", + "question": { + "id": "questiondetails-of-production-of-slate-for-roofing", + "title": { + "text": "For the period {ref_p_start_date} to {ref_p_end_date}, what were {ru_name}'s details of production and delivery of slate for roofing?", + "placeholders": [ + { + "placeholder": "ref_p_start_date", + "transforms": [ + { + "transform": "format_date", + "arguments": { + "date_to_format": { + "source": "metadata", + "identifier": "ref_p_start_date" + }, + "date_format": "d MMMM yyyy" + } + } + ] + }, + { + "placeholder": "ref_p_end_date", + "transforms": [ + { + "transform": "format_date", + "arguments": { + "date_to_format": { + "source": "metadata", + "identifier": "ref_p_end_date" + }, + "date_format": "d MMMM yyyy" + } + } + ] + }, + { + "placeholder": "ru_name", + "value": { + "source": "metadata", + "identifier": "ru_name" + } + } + ] + }, + "description": [ + "Enter a value to the nearest whole number and record in tonnes.
1 ton = 1.016 tonnes.
Informed estimates are acceptable.
If the value is known to be none, enter a single zero.
" + ], + "guidance": { + "contents": [ + { + "description": "Include" + }, + { + "list": ["roofing slates used vertically"] + }, + { + "description": "Exclude" + }, + { + "list": ["all products imported from outside the UK"] + } + ] + }, + "type": "General", + "answers": [ + { + "id": "answer08c4caae-6f34-4fb2-95e3-ab6a900fe3ef", + "mandatory": false, + "type": "Unit", + "label": "Total production of slate for roofing", + "description": "This refers to products completed and ready for despatch", + "unit": "mass-tonne", + "unit_length": "short", + "decimal_places": 0 + }, + { + "id": "answer942461c1-d1a9-406b-81c3-3fde7b3d3bb2", + "mandatory": false, + "type": "Unit", + "label": "Total deliveries of slate for roofing", + "description": "This refers to products which have actually left the premises", + "unit": "mass-tonne", + "unit_length": "short", + "decimal_places": 0 + }, + { + "id": "answer9c1b8cf9-47b0-4ca5-bc5c-091bb72645ab", + "mandatory": false, + "type": "Unit", + "label": "Closing stock of slate for roofing", + "unit": "mass-tonne", + "unit_length": "short", + "decimal_places": 0 + } + ] + }, + "page_title": "Details of production of slate for roofing", + "skip_conditions": { + "when": { + "not": [ + { + "any-in": [ + ["Slate for roofing"], + { + "identifier": "answer05b1c255-1eb1-4e83-bcb1-101f862b0290", + "source": "answers" + } + ] + } + ] + } + } + }, + { + "id": "details-of-production-of-slate-for-cladding-and-other-decorative-uses", + "type": "Question", + "question": { + "id": "questiondetails-of-production-of-slate-for-cladding-and-other-decorative-uses", + "title": "For the reporting period, what were your business's details of production and delivery of slate for cladding and other decorative uses based on sawn slabs?", + "description": [ + "Enter a value to the nearest whole number and record in tonnes.
1 ton = 1.016 tonnes.
Informed estimates are acceptable.
If the value is known to be none, enter a single zero.
" + ], + "guidance": { + "contents": [ + { + "description": "Exclude all products imported from outside the UK" + } + ] + }, + "type": "General", + "answers": [ + { + "id": "answer6ec92f01-866c-43af-8bf7-2b8446cf4ae8", + "mandatory": false, + "type": "Unit", + "label": "Total production of slate for cladding and other decorative uses based on sawn slabs", + "description": "This refers to products completed and ready for despatch", + "unit": "mass-tonne", + "unit_length": "short", + "decimal_places": 0 + }, + { + "id": "answer1cd2cee7-6a39-4910-a4a6-e0ded1c50476", + "mandatory": false, + "type": "Unit", + "label": "Total deliveries of slate for cladding and other decorative uses based on sawn slabs", + "description": "This refers to products which have actually left the premises", + "unit": "mass-tonne", + "unit_length": "short", + "decimal_places": 0 + }, + { + "id": "answerbfcaa1cc-986d-4820-968e-3d4b3a0fd71c", + "mandatory": false, + "type": "Unit", + "label": "Closing stock of slate for cladding and other decorative uses based on sawn slabs", + "unit": "mass-tonne", + "unit_length": "short", + "decimal_places": 0 + } + ] + }, + "page_title": "Details of production of slate for cladding and other decorative uses", + "skip_conditions": { + "when": { + "not": [ + { + "any-in": [ + [ + "Slate for cladding and other decorative uses based on sawn slabs" + ], + { + "identifier": "answer05b1c255-1eb1-4e83-bcb1-101f862b0290", + "source": "answers" + } + ] + } + ] + } + } + }, + { + "id": "details-of-production-of-slate-for-powder-and-granules", + "type": "Question", + "question": { + "id": "questiondetails-of-production-of-slate-for-powder-and-granules", + "title": "For the reporting period, what were your business's details of production and delivery of slate for powder and granules?", + "description": [ + "Enter a value to the nearest whole number and record in tonnes.
1 ton = 1.016 tonnes.
Informed estimates are acceptable.
If the value is known to be none, enter a single zero.
" + ], + "guidance": { + "contents": [ + { + "description": "Exclude all products imported from outside the UK" + } + ] + }, + "type": "General", + "answers": [ + { + "id": "answer070fc34d-df85-48bc-b709-6915bc7fa212", + "mandatory": false, + "type": "Unit", + "label": "Total production of slate for powder and granules", + "description": "This refers to products completed and ready for despatch", + "unit": "mass-tonne", + "unit_length": "short", + "decimal_places": 0 + }, + { + "id": "answer6014b9ee-c0c8-4c44-be02-29eea997ae8f", + "mandatory": false, + "type": "Unit", + "label": "Total deliveries of slate for powder and granules", + "description": "This refers to products which have actually left the premises", + "unit": "mass-tonne", + "unit_length": "short", + "decimal_places": 0 + }, + { + "id": "answer74766a4b-6b6c-4bc8-98c5-338115307f57", + "mandatory": false, + "type": "Unit", + "label": "Closing stock of slate for powder and granules", + "unit": "mass-tonne", + "unit_length": "short", + "decimal_places": 0 + } + ] + }, + "page_title": "Details of production of slate for powder and granules", + "skip_conditions": { + "when": { + "not": [ + { + "any-in": [ + ["Slate for powder and granules"], + { + "identifier": "answer05b1c255-1eb1-4e83-bcb1-101f862b0290", + "source": "answers" + } + ] + } + ] + } + } + }, + { + "id": "details-of-production-of-slate-for-crude-blocks", + "type": "Question", + "question": { + "id": "questiondetails-of-production-of-slate-for-crude-blocks", + "title": "For the reporting period, what were your business's details of production and delivery of slate for crude blocks?", + "description": [ + "Enter a value to the nearest whole number and record in tonnes.
1 ton = 1.016 tonnes.
Informed estimates are acceptable.
If the value is known to be none, enter a single zero.
" + ], + "guidance": { + "contents": [ + { + "description": "Include" + }, + { + "list": ["external paving and walling stone"] + }, + { + "description": "Exclude" + }, + { + "list": ["all products imported from outside the UK"] + } + ] + }, + "type": "General", + "answers": [ + { + "id": "answer34a1b6b4-7624-45fb-be44-b398712f5b76", + "mandatory": false, + "type": "Unit", + "label": "Total production of slate for crude blocks", + "description": "This refers to products completed and ready for despatch", + "unit": "mass-tonne", + "unit_length": "short", + "decimal_places": 0 + }, + { + "id": "answerc0a51304-b31c-4ddf-af97-ea0d4af430fd", + "mandatory": false, + "type": "Unit", + "label": "Total deliveries of slate for crude blocks", + "description": "This refers to products which have actually left the premises", + "unit": "mass-tonne", + "unit_length": "short", + "decimal_places": 0 + }, + { + "id": "answer584a19d8-b633-40ca-b46a-215239adb583", + "mandatory": false, + "type": "Unit", + "label": "Closing stock of slate for crude blocks", + "unit": "mass-tonne", + "unit_length": "short", + "decimal_places": 0 + } + ] + }, + "page_title": "Details of production of slate for crude blocks", + "skip_conditions": { + "when": { + "not": [ + { + "any-in": [ + ["Slate for crude blocks"], + { + "identifier": "answer05b1c255-1eb1-4e83-bcb1-101f862b0290", + "source": "answers" + } + ] + } + ] + } + } + }, + { + "id": "details-of-production-of-slate-waste", + "type": "Question", + "question": { + "id": "questiondetails-of-production-of-slate-waste", + "title": "For the reporting period, how many tonnes of slate waste were delivered by your business?", + "description": [ + "Enter a value to the nearest whole number and record in tonnes.
1 ton = 1.016 tonnes.
Informed estimates are acceptable.
If the value is known to be none, enter a single zero.
" + ], + "guidance": { + "contents": [ + { + "description": "Include" + }, + { + "list": [ + "slate waste for fill and other uses", + "saleable slate waste" + ] + }, + { + "description": "Exclude" + }, + { + "list": ["all products imported from outside the UK"] + } + ] + }, + "type": "General", + "answers": [ + { + "id": "answer18dc8ebd-7c1e-4c0c-bbdf-e8880c244a80", + "mandatory": false, + "type": "Unit", + "label": "Slate waste delivered", + "description": "This refers to products which have actually left the premises", + "unit": "mass-tonne", + "unit_length": "short", + "decimal_places": 0 + } + ] + }, + "page_title": "Details of production of slate waste", + "skip_conditions": { + "when": { + "not": [ + { + "any-in": [ + ["Slate waste, for fill and other uses"], + { + "identifier": "answer05b1c255-1eb1-4e83-bcb1-101f862b0290", + "source": "answers" + } + ] + } + ] + } + } + }, + { + "id": "new-works", + "type": "Question", + "question": { + "id": "questionnew-works", + "title": "Provide details of any new works your business has brought into use since the date of your last return", + "type": "General", + "answers": [ + { + "id": "answer0c4d8705-0c53-4778-b8d9-de0b41bc446f", + "mandatory": false, + "type": "TextArea", + "label": "New works brought into use since the date of your last return", + "max_length": 2000 + } + ] + }, + "page_title": "New works" + } + ] + } + ], + "enabled": { + "when": { + "any-in": [ + [ + "Slate for roofing", + "Slate for cladding and other decorative uses based on sawn slabs", + "Slate for powder and granules", + "Slate for crude blocks", + "Slate waste, for fill and other uses" + ], + { + "identifier": "answer05b1c255-1eb1-4e83-bcb1-101f862b0290", + "source": "answers" + } + ] + } + } + }, + { + "id": "bcefcf71-a226-4b06-8778-54cb09657737", + "title": "Local unit information", + "summary": { + "show_on_completion": false, + "page_title": "Local unit list summary", + "collapsible": false + }, + "show_on_hub": true, + "groups": [ + { + "id": "groupbcefcf71-a226-4b06-8778-54cb09657737", + "blocks": [ + { + "type": "Interstitial", + "id": "local-unit-information-introduction", + "page_title": "Local unit information introduction", + "content": { + "title": "Local unit information", + "contents": [ + { + "description": "In this section you will be presented with your business's local units. You will be asked to check the information for any errors and provide details of any changes. If a unit is no longer covered by this return, include the date that it ceased production." + } + ] + } + }, + { + "id": "local-unit-information", + "type": "Question", + "question": { + "id": "questionlocal-unit-information", + "title": "The following local units are covered by this return. Provide details of any changes to your business's local units since the date of your last return", + "description": [ + "Check this information for any errors.
Leave blank if the local unit information is correct.
" + ], + "guidance": { + "contents": [ + { + "description": "Include:" + }, + { + "list": [ + "if the unit is no longer covered by this return, provide the date that it ceased production", + "any changes to the name or address", + "any corrections to errors" + ] + }, + { + "description": "Exclude:" + }, + { + "list": ["any new sites"] + } + ] + }, + "type": "General", + "dynamic_answers": { + "values": { + "source": "list", + "identifier": "local-units" + }, + "answers": [ + { + "id": "answer1847ffdb-1216-456d-91e9-007931267748", + "mandatory": false, + "type": "TextArea", + "label": { + "text": "{localunits_name}, {localunits_address}", + "placeholders": [ + { + "placeholder": "localunits_name", + "value": { + "source": "supplementary_data", + "identifier": "local-units", + "selectors": ["name"] + } + }, + { + "placeholder": "localunits_address", + "transforms": [ + { + "transform": "concatenate_list", + "arguments": { + "list_to_concatenate": [ + { + "source": "supplementary_data", + "identifier": "local-units", + "selectors": ["address"] + } + ], + "delimiter": ", " + } + } + ] + } + ] + }, + "max_length": 2000 + } + ] + } + }, + "page_title": "Local unit information" + } + ] + } + ] + }, + { + "id": "new-site-information-summary", + "title": "New site information", + "summary": { + "show_on_completion": true, + "page_title": "New site information summary", + "collapsible": false, + "items": [ + { + "type": "List", + "for_list": "additional_units", + "title": "What is the name, address, and postcode of the new unit?", + "item_anchor_answer_id": "answerebb4269d-e0be-4491-882a-eb591b417a63", + "item_label": "Name of new unit
", + "add_link_text": "Add item to this list", + "empty_list_text": "There are no items" + } + ], + "show_non_item_answers": true + }, + "show_on_hub": true, + "groups": [ + { + "id": "groupnew-site-information-summary", + "blocks": [ + { + "type": "Interstitial", + "id": "new-site-information-introduction", + "page_title": "New site information introduction", + "content": { + "title": "New site information", + "contents": [ + { + "description": "In this section you will be asked to provide details of any new local units that have come into production since your last return." + }, + { + "description": "This includes:" + }, + { + "list": [ + "name, address, and postcode of the new unit", + "nature of work carried on at the new unit", + "number of persons employed at the new unit", + "date the new unit came into production" + ] + } + ] + } + }, + { + "id": "new-sites", + "type": "ListCollectorDrivingQuestion", + "for_list": "additional_units", + "question": { + "id": "question-driving-additional-new-sites", + "type": "General", + "title": { + "text": "Does {ru_name} have any new sites that are covered by this return for the period {ref_p_start_date} to {ref_p_end_date}?", + "placeholders": [ + { + "placeholder": "ru_name", + "value": { + "source": "metadata", + "identifier": "ru_name" + } + }, + { + "placeholder": "ref_p_start_date", + "transforms": [ + { + "transform": "format_date", + "arguments": { + "date_to_format": { + "source": "metadata", + "identifier": "ref_p_start_date" + }, + "date_format": "d MMMM yyyy" + } + } + ] + }, + { + "placeholder": "ref_p_end_date", + "transforms": [ + { + "transform": "format_date", + "arguments": { + "date_to_format": { + "source": "metadata", + "identifier": "ref_p_end_date" + }, + "date_format": "d MMMM yyyy" + } + } + ] + } + ] + }, + "answers": [ + { + "id": "answerabb1c25b-970d-4298-b132-93d1adf42f3d", + "mandatory": true, + "type": "Radio", + "options": [ + { + "label": "Yes", + "value": "Yes", + "action": { + "type": "RedirectToListAddBlock", + "params": { + "block_id": "add-block-name-address-and-postcode-of-new-unit", + "list_name": "additional_units" + } + } + }, + { + "label": "No", + "value": "No" + } + ] + } + ] + }, + "routing_rules": [ + { + "section": "End", + "when": { + "in": [ + { + "source": "answers", + "identifier": "answerabb1c25b-970d-4298-b132-93d1adf42f3d" + }, + ["No"] + ] + } + }, + { + "block": "additional-new-sites" + } + ], + "page_title": "New sites" + }, + { + "id": "additional-new-sites", + "type": "ListCollector", + "page_title": "Additional new sites", + "for_list": "additional_units", + "question": { + "id": "list-collector-question-additional-new-sites", + "type": "General", + "title": "Do you have any other new sites covered by this return?", + "answers": [ + { + "id": "answera5aba7c9-5e14-481b-889b-bf5c6abc3767", + "mandatory": true, + "type": "Radio", + "options": [ + { + "label": "Yes", + "value": "Yes", + "action": { + "type": "RedirectToListAddBlock" + } + }, + { + "label": "No", + "value": "No" + } + ] + } + ] + }, + "add_block": { + "id": "add-block-name-address-and-postcode-of-new-unit", + "type": "ListAddQuestion", + "page_title": "Name, address, and postcode of new unit", + "cancel_text": "Don’t need to add this item", + "question": { + "id": "add-block-question-name-address-and-postcode-of-new-unit", + "description": [ + "If required, additional units can be added in later questions.
" + ], + "type": "General", + "title": "What is the name, address, and postcode of the new unit?", + "answers": [ + { + "id": "answerebb4269d-e0be-4491-882a-eb591b417a63", + "mandatory": true, + "type": "TextField", + "label": "Name of new unit" + }, + { + "id": "answerf6e6b4ef-7765-4e58-98c9-c825b89ebae8", + "mandatory": true, + "type": "TextField", + "label": "Address line 1" + }, + { + "id": "answer3d8541bf-c427-4776-aa76-b26b06a7a1ed", + "mandatory": false, + "type": "TextField", + "label": "Address line 2" + }, + { + "id": "answere9cfe6d9-16d8-41ed-836c-5541e967e2f8", + "mandatory": false, + "type": "TextField", + "label": "Address line 3" + }, + { + "id": "answerec1c4bba-13ad-4bf5-915c-a9953a747d1b", + "mandatory": false, + "type": "TextField", + "label": "Address line 4" + }, + { + "id": "answer4665612b-1bdc-493f-9aeb-9f73a5a5b0f8", + "mandatory": false, + "type": "TextField", + "label": "Address line 5" + }, + { + "id": "answer35f89d2c-bbad-4d4a-b196-01e333a93a67", + "mandatory": true, + "type": "TextField", + "label": "Postcode" + } + ] + } + }, + "repeating_blocks": [ + { + "id": "new-site-details", + "type": "ListRepeatingQuestion", + "page_title": "New site details", + "question": { + "id": "questionnew-site-details", + "title": { + "text": "Provide the following information for the new unit {name_of_new_unit}, {address_line_1}, {postcode}", + "placeholders": [ + { + "placeholder": "name_of_new_unit", + "value": { + "identifier": "answerebb4269d-e0be-4491-882a-eb591b417a63", + "source": "answers" + } + }, + { + "placeholder": "address_line_1", + "value": { + "identifier": "answerf6e6b4ef-7765-4e58-98c9-c825b89ebae8", + "source": "answers" + } + }, + { + "placeholder": "postcode", + "value": { + "identifier": "answer35f89d2c-bbad-4d4a-b196-01e333a93a67", + "source": "answers" + } + } + ] + }, + "type": "General", + "answers": [ + { + "id": "answerdfbbf643-c2f1-4df5-b659-c7fa7dd9b556", + "mandatory": false, + "type": "TextField", + "label": "Nature of work carried on at the new unit" + }, + { + "id": "answer38e39812-1535-454f-a6d5-8c70ddbc7680", + "mandatory": false, + "type": "Number", + "label": "Number of persons employed at the new unit", + "decimal_places": 0 + }, + { + "id": "answer09c28594-f521-41e6-a25f-b86f6cb296ef", + "mandatory": false, + "type": "Date", + "label": "Date new unit came into production" + } + ] + } + } + ], + "edit_block": { + "id": "edit-block-name-address-and-postcode-of-new-unit", + "type": "ListEditQuestion", + "page_title": "Name, address, and postcode of new unit", + "cancel_text": "Don’t need to edit this item", + "question": { + "id": "edit-block-question-name-address-and-postcode-of-new-unit", + "description": [ + "If required, additional units can be added in later questions.
" + ], + "type": "General", + "title": "What is the name, address, and postcode of the new unit?", + "answers": [ + { + "id": "answerebb4269d-e0be-4491-882a-eb591b417a63", + "mandatory": true, + "type": "TextField", + "label": "Name of new unit" + }, + { + "id": "answerf6e6b4ef-7765-4e58-98c9-c825b89ebae8", + "mandatory": true, + "type": "TextField", + "label": "Address line 1" + }, + { + "id": "answer3d8541bf-c427-4776-aa76-b26b06a7a1ed", + "mandatory": false, + "type": "TextField", + "label": "Address line 2" + }, + { + "id": "answere9cfe6d9-16d8-41ed-836c-5541e967e2f8", + "mandatory": false, + "type": "TextField", + "label": "Address line 3" + }, + { + "id": "answerec1c4bba-13ad-4bf5-915c-a9953a747d1b", + "mandatory": false, + "type": "TextField", + "label": "Address line 4" + }, + { + "id": "answer4665612b-1bdc-493f-9aeb-9f73a5a5b0f8", + "mandatory": false, + "type": "TextField", + "label": "Address line 5" + }, + { + "id": "answer35f89d2c-bbad-4d4a-b196-01e333a93a67", + "mandatory": true, + "type": "TextField", + "label": "Postcode" + } + ] + } + }, + "remove_block": { + "id": "remove-block-name-address-and-postcode-of-new-unit", + "type": "ListRemoveQuestion", + "cancel_text": "Don’t need to remove this item?", + "question": { + "id": "remove-block-question-name-address-and-postcode-of-new-unit", + "type": "General", + "title": "Are you sure you want to remove this item?", + "warning": "All of the information about this item will be deleted", + "answers": [ + { + "id": "remove-confirmation-name-address-and-postcode-of-new-unit", + "mandatory": true, + "type": "Radio", + "options": [ + { + "label": "Yes", + "value": "Yes", + "action": { + "type": "RemoveListItemAndAnswers" + } + }, + { + "label": "No", + "value": "No" + } + ] + } + ] + } + }, + "summary": { + "title": "Summary", + "item_title": { + "text": "{listcollector_summary_placeholder}", + "placeholders": [ + { + "placeholder": "listcollector_summary_placeholder", + "transforms": [ + { + "arguments": { + "delimiter": " ", + "list_to_concatenate": [ + { + "source": "answers", + "identifier": "answerebb4269d-e0be-4491-882a-eb591b417a63" + }, + { + "source": "answers", + "identifier": "answerf6e6b4ef-7765-4e58-98c9-c825b89ebae8" + }, + { + "source": "answers", + "identifier": "answer3d8541bf-c427-4776-aa76-b26b06a7a1ed" + }, + { + "source": "answers", + "identifier": "answere9cfe6d9-16d8-41ed-836c-5541e967e2f8" + }, + { + "source": "answers", + "identifier": "answerec1c4bba-13ad-4bf5-915c-a9953a747d1b" + }, + { + "source": "answers", + "identifier": "answer4665612b-1bdc-493f-9aeb-9f73a5a5b0f8" + }, + { + "source": "answers", + "identifier": "answer35f89d2c-bbad-4d4a-b196-01e333a93a67" + } + ] + }, + "transform": "concatenate_list" + } + ] + } + ] + } + } + } + ] + } + ] + }, + { + "id": "111676b6-dec3-4989-b876-578fce09999d", + "title": "Comments", + "summary": { + "show_on_completion": false, + "collapsible": false + }, + "show_on_hub": true, + "groups": [ + { + "id": "group111676b6-dec3-4989-b876-578fce09999d", + "blocks": [ + { + "id": "comments", + "type": "Question", + "question": { + "id": "questioncomments", + "title": "Please provide any further details that will help us understand your figures and to tell an industry story", + "description": [ + "Make sure you continue to the next page and select 'submit' at the bottom.
You will be unable to add or review answers after you have clicked submit. If you require support, contact us on 0300 1234 931 or via email at surveys@ons.gov.uk.
" + ], + "guidance": { + "contents": [ + { + "description": "Include:" + }, + { + "list": [ + "comments on figures included in this return, for example, to explain any substantial fluctuations in your figures compared with those of the previous return", + "any additional information about your business's local units", + "site closures", + "site maintenance", + "site breakdown", + "new contract demands", + "any change in contact", + "extreme weather" + ] + } + ] + }, + "type": "General", + "answers": [ + { + "id": "answerbf11b2d4-3f36-4466-8e59-4f8bc3cce4c8", + "mandatory": false, + "type": "TextArea", + "label": "Comments", + "max_length": 2000 + } + ] + }, + "page_title": "Comments" + } + ] + } + ] + } + ], + "theme": "dbt", + "navigation": { + "visible": false + }, + "metadata": [ + { + "name": "ru_name", + "type": "string" + }, + { + "name": "trad_as", + "type": "string", + "optional": true + }, + { + "name": "period_id", + "type": "string" + }, + { + "name": "ref_p_start_date", + "type": "date" + }, + { + "name": "ref_p_end_date", + "type": "date" + }, + { + "name": "ru_ref", + "type": "string" + }, + { + "name": "user_id", + "type": "string" + } + ], + "supplementary_data": { + "lists": ["local-units"] + }, + "post_submission": { + "feedback": true, + "view_response": true, + "guidance": { + "contents": [ + { + "description": "Learn more about how we use this data (this link opens in a new tab)" + } + ] + } + }, + "submission": { + "button": "Submit", + "title": "Check your answers and submit", + "warning": "You must submit this survey to complete it", + "guidance": "You will have the opportunity to view, save or print a copy of your answers after submitting this survey." + } +}