Skip to content

Commit

Permalink
added question bank templates
Browse files Browse the repository at this point in the history
  • Loading branch information
srh-sloan committed Oct 2, 2024
1 parent 51fafc7 commit 1a3d44e
Show file tree
Hide file tree
Showing 5 changed files with 687 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_data/Contact details template.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"metadata":{},"startPage":"/lead-contact-details","pages":[{"title":"Lead contact details","path":"/lead-contact-details","components":[{"name":"rILgUu","options":{},"type":"Html","content":"<p class=\"govuk-body\">They will receive all the information about this application.</p>","schema":{}},{"name":"CgCZmL","options":{},"type":"TextField","title":"Lead contact full name","schema":{}},{"name":"XHFsXs","options":{},"type":"TextField","title":"Lead contact job title","schema":{}},{"name":"qSOFAl","options":{},"type":"EmailAddressField","title":"Lead contact email address","schema":{}},{"name":"RyHYTL","options":{},"type":"NumberField","title":"Lead contact telephone number","schema":{}}],"next":[{"path":"/is-the-lead-contact-the-same-person-as-the-authorised-signatory"}],"section":"roYQzW"},{"path":"/is-the-lead-contact-the-same-person-as-the-authorised-signatory","title":"Is the lead contact the same person as the authorised signatory?","components":[{"name":"SDJIoS","options":{"exposeToContext":true},"type":"YesNoField","title":"Is the lead contact the same person as the authorised signatory?","hint":"<p class=\"govuk-body\">An authorised signatory:</p>\n<ul class=\"govuk-list govuk-list--bullet\">\n <li>is allowed to act on behalf of the organisation</li>\n <li>will sign the grant funding agreement if your application is successful</li>\n</ul>","values":{"type":"listRef"},"schema":{}}],"next":[{"path":"/summary"},{"path":"/authorised-signatory-details","condition":"gbOJSj"}],"section":"roYQzW"},{"title":"Summary","path":"/summary","controller":"./pages/summary.js","components":[],"next":[],"section":"roYQzW"},{"path":"/authorised-signatory-details","title":"Authorised signatory details","components":[{"name":"JTDVSR","options":{},"type":"TextField","title":"Authorised signatory full name","schema":{}},{"name":"yafapW","options":{},"type":"TextField","title":"Authorised signatory job title","schema":{}},{"type":"EmailAddressField","title":"Authorised signatory email address","name":"authorised-signatory-email","nameHasError":false,"options":{"exposeToContext":false},"schema":{}},{"name":"CXrlUt","options":{},"type":"TelephoneNumberField","title":"Authorised signatory telephone number","schema":{}}],"next":[{"path":"/summary"}],"section":"roYQzW"}],"lists":[],"sections":[{"name":"roYQzW","title":"Contact details","hideTitle":false}],"conditions":[{"displayName":"Authorised signatory different from lead contact","name":"gbOJSj","value":{"name":"Authorised signatory different from lead contact","conditions":[{"field":{"name":"SDJIoS","type":"YesNoField","display":"Is the lead contact the same person as the authorised signatory?"},"operator":"is","value":{"type":"Value","value":"false","display":"false"}}]}}],"fees":[],"outputs":[],"version":2,"skipSummary":false,"feeOptions":{"allowSubmissionWithoutPayment":true,"maxAttempts":3,"showPaymentSkippedWarningPage":false},"markAsComplete":false,"name":"Contact details template (September 2024)","feedback":{"feedbackForm":false,"url":""},"phaseBanner":{}}
1 change: 1 addition & 0 deletions tests/test_data/Financial information template.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"metadata":{},"startPage":"/what-is-your-organisations-annual-turnover","pages":[{"title":"What is your organisation's annual turnover?","path":"/what-is-your-organisations-annual-turnover","components":[{"name":"GzXnjg","options":{"prefix":"£"},"type":"NumberField","title":"Turnover for 1 April 2022 to 31 March 2023"},{"name":"uMmsCR","options":{"prefix":"£"},"type":"NumberField","title":"Turnover for 1 April 2023 to 31 March 2024"}],"next":[{"path":"/upload-your-organisations-annual-accounts-from-the-last-3-years"}]},{"path":"/upload-your-organisations-annual-accounts-from-the-last-3-years","title":"Upload your organisation's annual accounts from the last 3 years","components":[{"name":"kAgOws","options":{},"type":"FileUploadField","title":"Upload your organisation's annual accounts from the last 3 years","hint":"It should be a single file no bigger than 5MB in an accepted format (jpg, jpeg, png, pdf, txt, doc, docx, odt, rtf, csv, xls, xlsx, ods)."}],"next":[{"path":"/upload-a-current-bank-statement-which-is-less-than-2-months-old"}]},{"title":"Summary","path":"/summary","controller":"./pages/summary.js","components":[],"next":[]},{"path":"/upload-a-current-bank-statement-which-is-less-than-2-months-old","title":"Upload a current bank statement which is less than 2 months old","components":[{"name":"OdQxuO","options":{},"type":"FileUploadField","title":"Upload a current bank statement which is less than 2 months old","hint":"It should be a single file no bigger than 5MB in an accepted format (jpg, jpeg, png, pdf, txt, doc, docx, odt, rtf, csv, xls, xlsx, ods)."}],"next":[{"path":"/upload-an-annual-budget-for-your-organisation"}]},{"path":"/upload-an-annual-budget-for-your-organisation","title":"Upload an annual budget for your organisation","components":[{"name":"skqoWk","options":{},"type":"FileUploadField","title":"Upload an annual budget for your organisation","hint":"It should be a single file no bigger than 5MB in an accepted format (jpg, jpeg, png, pdf, txt, doc, docx, odt, rtf, csv, xls, xlsx, ods)."}],"next":[{"path":"/summary"}]}],"lists":[],"sections":[],"conditions":[],"fees":[],"outputs":[],"version":2,"skipSummary":false,"feeOptions":{},"markAsComplete":false,"name":"Financial information template (October 2024)","feedback":{"feedbackForm":false,"url":""},"phaseBanner":{}}
Loading

0 comments on commit 1a3d44e

Please sign in to comment.