ONSdigital / eq-survey-runner

eQ Survey Runner
MIT License
21 stars 14 forks source link

New Schema to republish #2895

Closed ashtuck closed 2 years ago

ashtuck commented 2 years ago

What is the context of this PR?

Minor changes to the original schema.

How to review

Ensure eq_id, survey_id, form_type and data_version are unchanged from the previous wave (compare with the JSON you just replaced to know what these values are) Ensure the trad_as metadata validator (found at the end of the JSON document) is optional_string (it will default to string in the JSON you grab from Author) Within the preview_content block of the JSON (near the top of the page, around line 32) add a description property into the content property to create a hyperlink, it's value is unchanged from the previous wave (compare with the JSON you just replaced to know what this value is) remove the extra metadata field for "employment_date" at end of questionnaire. When you are done making changes, or further updates, run yarn format and push the code to GitHub.

Checklist