@defra/forms-engine-plugin 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (328) hide show
  1. package/.public/assets/fonts/bold-affa96571d-v2.woff +0 -0
  2. package/.public/assets/fonts/bold-b542beb274-v2.woff2 +0 -0
  3. package/.public/assets/fonts/light-94a07e06a1-v2.woff2 +0 -0
  4. package/.public/assets/fonts/light-f591b13f7d-v2.woff +0 -0
  5. package/.public/assets/images/favicon.ico +0 -0
  6. package/.public/assets/images/favicon.svg +1 -0
  7. package/.public/assets/images/govuk-crest.svg +1 -0
  8. package/.public/assets/images/govuk-icon-180.png +0 -0
  9. package/.public/assets/images/govuk-icon-192.png +0 -0
  10. package/.public/assets/images/govuk-icon-512.png +0 -0
  11. package/.public/assets/images/govuk-icon-mask.svg +1 -0
  12. package/.public/assets/images/govuk-opengraph-image.png +0 -0
  13. package/.public/assets/manifest.json +39 -0
  14. package/.public/assets-manifest.json +24 -0
  15. package/.public/javascripts/application.0fd8c18.min.js +3 -0
  16. package/.public/javascripts/application.0fd8c18.min.js.LICENSE.txt +58 -0
  17. package/.public/javascripts/application.0fd8c18.min.js.map +1 -0
  18. package/.public/javascripts/file-upload.b2f18f5.min.js +2 -0
  19. package/.public/javascripts/file-upload.b2f18f5.min.js.map +1 -0
  20. package/.public/javascripts/vendor/accessible-autocomplete.275d332.min.js +2 -0
  21. package/.public/javascripts/vendor/accessible-autocomplete.275d332.min.js.map +1 -0
  22. package/.public/stylesheets/application.e340021.min.css +14 -0
  23. package/.public/stylesheets/application.e340021.min.css.map +1 -0
  24. package/package.json +6 -2
  25. package/.browserslistrc +0 -16
  26. package/.editorconfig +0 -9
  27. package/.eslintrc.cjs +0 -266
  28. package/.github/dependabot.yml +0 -85
  29. package/.github/workflows/check-pull-request.yml +0 -209
  30. package/.github/workflows/pr-notifier.yml +0 -98
  31. package/.github/workflows/publish.yml +0 -111
  32. package/.husky/pre-commit +0 -1
  33. package/.lintstagedrc.js +0 -4
  34. package/.nvmrc +0 -1
  35. package/.prettierignore +0 -8
  36. package/.prettierrc.cjs +0 -26
  37. package/Dockerfile +0 -61
  38. package/Procfile +0 -1
  39. package/babel.config.cjs +0 -55
  40. package/compose/aws.env +0 -4
  41. package/compose/start-localstack.sh +0 -26
  42. package/docker-compose.yaml +0 -86
  43. package/globals.d.ts +0 -1
  44. package/jest.config.cjs +0 -54
  45. package/jest.environment.js +0 -4
  46. package/jest.setup.cjs +0 -14
  47. package/postcss.config.js +0 -26
  48. package/sonar-project.properties +0 -17
  49. package/src/client/javascripts/application.js +0 -87
  50. package/src/client/javascripts/file-upload.js +0 -386
  51. package/src/client/stylesheets/_code.scss +0 -33
  52. package/src/client/stylesheets/_govuk-frontend.scss +0 -4
  53. package/src/client/stylesheets/_prose.scss +0 -56
  54. package/src/client/stylesheets/_service-banner.scss +0 -24
  55. package/src/client/stylesheets/_summary-list.scss +0 -28
  56. package/src/client/stylesheets/_tag-env.scss +0 -24
  57. package/src/client/stylesheets/application.scss +0 -14
  58. package/src/common/cookies.js +0 -58
  59. package/src/common/cookies.test.js +0 -23
  60. package/src/common/types.js +0 -5
  61. package/src/config/index.ts +0 -271
  62. package/src/index.ts +0 -31
  63. package/src/server/common/helpers/logging/logger-options.test.ts +0 -50
  64. package/src/server/common/helpers/logging/logger-options.ts +0 -46
  65. package/src/server/common/helpers/logging/logger.ts +0 -7
  66. package/src/server/common/helpers/logging/request-logger.ts +0 -9
  67. package/src/server/common/helpers/logging/request-tracing.js +0 -10
  68. package/src/server/common/helpers/redis-client.js +0 -70
  69. package/src/server/constants.js +0 -1
  70. package/src/server/forms/README.md +0 -10
  71. package/src/server/forms/components.json +0 -1015
  72. package/src/server/forms/report-a-terrorist.json +0 -270
  73. package/src/server/forms/runner-components-test.json +0 -365
  74. package/src/server/forms/test.json +0 -581
  75. package/src/server/index.test.ts +0 -582
  76. package/src/server/index.ts +0 -140
  77. package/src/server/plugins/blankie.test.ts +0 -73
  78. package/src/server/plugins/blankie.ts +0 -48
  79. package/src/server/plugins/crumb.ts +0 -20
  80. package/src/server/plugins/engine/README.md +0 -87
  81. package/src/server/plugins/engine/components/AutocompleteField.test.ts +0 -294
  82. package/src/server/plugins/engine/components/AutocompleteField.ts +0 -49
  83. package/src/server/plugins/engine/components/CheckboxesField.test.ts +0 -379
  84. package/src/server/plugins/engine/components/CheckboxesField.ts +0 -106
  85. package/src/server/plugins/engine/components/ComponentBase.ts +0 -97
  86. package/src/server/plugins/engine/components/ComponentCollection.ts +0 -278
  87. package/src/server/plugins/engine/components/DatePartsField.test.ts +0 -822
  88. package/src/server/plugins/engine/components/DatePartsField.ts +0 -264
  89. package/src/server/plugins/engine/components/Details.test.ts +0 -49
  90. package/src/server/plugins/engine/components/Details.ts +0 -30
  91. package/src/server/plugins/engine/components/EmailAddressField.test.ts +0 -395
  92. package/src/server/plugins/engine/components/EmailAddressField.ts +0 -55
  93. package/src/server/plugins/engine/components/FileUploadField.test.ts +0 -778
  94. package/src/server/plugins/engine/components/FileUploadField.ts +0 -262
  95. package/src/server/plugins/engine/components/FormComponent.ts +0 -249
  96. package/src/server/plugins/engine/components/Html.test.ts +0 -48
  97. package/src/server/plugins/engine/components/Html.ts +0 -29
  98. package/src/server/plugins/engine/components/InsetText.test.ts +0 -48
  99. package/src/server/plugins/engine/components/InsetText.ts +0 -27
  100. package/src/server/plugins/engine/components/List.test.ts +0 -76
  101. package/src/server/plugins/engine/components/List.ts +0 -72
  102. package/src/server/plugins/engine/components/ListFormComponent.ts +0 -140
  103. package/src/server/plugins/engine/components/MonthYearField.test.ts +0 -567
  104. package/src/server/plugins/engine/components/MonthYearField.ts +0 -222
  105. package/src/server/plugins/engine/components/MultilineTextField.test.ts +0 -558
  106. package/src/server/plugins/engine/components/MultilineTextField.ts +0 -138
  107. package/src/server/plugins/engine/components/NumberField.test.ts +0 -701
  108. package/src/server/plugins/engine/components/NumberField.ts +0 -163
  109. package/src/server/plugins/engine/components/RadiosField.test.ts +0 -288
  110. package/src/server/plugins/engine/components/RadiosField.ts +0 -24
  111. package/src/server/plugins/engine/components/SelectField.test.ts +0 -288
  112. package/src/server/plugins/engine/components/SelectField.ts +0 -47
  113. package/src/server/plugins/engine/components/SelectionControlField.ts +0 -43
  114. package/src/server/plugins/engine/components/TelephoneNumberField.test.ts +0 -356
  115. package/src/server/plugins/engine/components/TelephoneNumberField.ts +0 -67
  116. package/src/server/plugins/engine/components/TextField.test.ts +0 -489
  117. package/src/server/plugins/engine/components/TextField.ts +0 -96
  118. package/src/server/plugins/engine/components/UkAddressField.test.ts +0 -623
  119. package/src/server/plugins/engine/components/UkAddressField.ts +0 -172
  120. package/src/server/plugins/engine/components/YesNoField.test.ts +0 -248
  121. package/src/server/plugins/engine/components/YesNoField.ts +0 -31
  122. package/src/server/plugins/engine/components/constants.ts +0 -1
  123. package/src/server/plugins/engine/components/helpers.ts +0 -330
  124. package/src/server/plugins/engine/components/index.ts +0 -24
  125. package/src/server/plugins/engine/components/types.ts +0 -117
  126. package/src/server/plugins/engine/configureEnginePlugin.ts +0 -47
  127. package/src/server/plugins/engine/helpers.test.ts +0 -791
  128. package/src/server/plugins/engine/helpers.ts +0 -379
  129. package/src/server/plugins/engine/index.ts +0 -7
  130. package/src/server/plugins/engine/models/FormModel.test.ts +0 -42
  131. package/src/server/plugins/engine/models/FormModel.ts +0 -443
  132. package/src/server/plugins/engine/models/RepeatingSummaryViewModel.ts +0 -0
  133. package/src/server/plugins/engine/models/Section.ts +0 -0
  134. package/src/server/plugins/engine/models/SummaryViewModel.test.ts +0 -209
  135. package/src/server/plugins/engine/models/SummaryViewModel.ts +0 -220
  136. package/src/server/plugins/engine/models/index.ts +0 -2
  137. package/src/server/plugins/engine/models/types.ts +0 -114
  138. package/src/server/plugins/engine/outputFormatters/human/v1.test.ts +0 -143
  139. package/src/server/plugins/engine/outputFormatters/human/v1.ts +0 -73
  140. package/src/server/plugins/engine/outputFormatters/index.test.ts +0 -17
  141. package/src/server/plugins/engine/outputFormatters/index.ts +0 -44
  142. package/src/server/plugins/engine/outputFormatters/machine/v1.test.ts +0 -229
  143. package/src/server/plugins/engine/outputFormatters/machine/v1.ts +0 -140
  144. package/src/server/plugins/engine/outputFormatters/machine/v2.test.ts +0 -229
  145. package/src/server/plugins/engine/outputFormatters/machine/v2.ts +0 -153
  146. package/src/server/plugins/engine/pageControllers/FileUploadPageController.test.ts +0 -1108
  147. package/src/server/plugins/engine/pageControllers/FileUploadPageController.ts +0 -446
  148. package/src/server/plugins/engine/pageControllers/PageController.test.ts +0 -205
  149. package/src/server/plugins/engine/pageControllers/PageController.ts +0 -176
  150. package/src/server/plugins/engine/pageControllers/QuestionPageController.test.ts +0 -1264
  151. package/src/server/plugins/engine/pageControllers/QuestionPageController.ts +0 -561
  152. package/src/server/plugins/engine/pageControllers/README.md +0 -28
  153. package/src/server/plugins/engine/pageControllers/RepeatPageController.test.ts +0 -264
  154. package/src/server/plugins/engine/pageControllers/RepeatPageController.ts +0 -458
  155. package/src/server/plugins/engine/pageControllers/StartPageController.ts +0 -18
  156. package/src/server/plugins/engine/pageControllers/StatusPageController.ts +0 -50
  157. package/src/server/plugins/engine/pageControllers/SummaryPageController.ts +0 -261
  158. package/src/server/plugins/engine/pageControllers/TerminalController.test.ts +0 -28
  159. package/src/server/plugins/engine/pageControllers/TerminalPageController.ts +0 -19
  160. package/src/server/plugins/engine/pageControllers/helpers.test.ts +0 -198
  161. package/src/server/plugins/engine/pageControllers/helpers.ts +0 -101
  162. package/src/server/plugins/engine/pageControllers/index.ts +0 -10
  163. package/src/server/plugins/engine/pageControllers/validationOptions.ts +0 -89
  164. package/src/server/plugins/engine/plugin.ts +0 -673
  165. package/src/server/plugins/engine/services/formSubmissionService.js +0 -46
  166. package/src/server/plugins/engine/services/formsService.js +0 -46
  167. package/src/server/plugins/engine/services/formsService.test.js +0 -90
  168. package/src/server/plugins/engine/services/index.js +0 -3
  169. package/src/server/plugins/engine/services/notifyService.test.ts +0 -132
  170. package/src/server/plugins/engine/services/notifyService.ts +0 -64
  171. package/src/server/plugins/engine/services/uploadService.js +0 -60
  172. package/src/server/plugins/engine/types.ts +0 -315
  173. package/src/server/plugins/engine/views/components/autocompletefield.html +0 -5
  174. package/src/server/plugins/engine/views/components/checkboxesfield.html +0 -5
  175. package/src/server/plugins/engine/views/components/datepartsfield.html +0 -5
  176. package/src/server/plugins/engine/views/components/details.html +0 -6
  177. package/src/server/plugins/engine/views/components/emailaddressfield.html +0 -5
  178. package/src/server/plugins/engine/views/components/fileuploadfield-key.html +0 -8
  179. package/src/server/plugins/engine/views/components/fileuploadfield-value.html +0 -3
  180. package/src/server/plugins/engine/views/components/fileuploadfield.html +0 -24
  181. package/src/server/plugins/engine/views/components/html.html +0 -3
  182. package/src/server/plugins/engine/views/components/insettext.html +0 -7
  183. package/src/server/plugins/engine/views/components/list.html +0 -36
  184. package/src/server/plugins/engine/views/components/monthyearfield.html +0 -5
  185. package/src/server/plugins/engine/views/components/multilinetextfield.html +0 -10
  186. package/src/server/plugins/engine/views/components/numberfield.html +0 -5
  187. package/src/server/plugins/engine/views/components/radiosfield.html +0 -5
  188. package/src/server/plugins/engine/views/components/selectfield.html +0 -5
  189. package/src/server/plugins/engine/views/components/telephonenumberfield.html +0 -5
  190. package/src/server/plugins/engine/views/components/textfield.html +0 -5
  191. package/src/server/plugins/engine/views/components/ukaddressfield.html +0 -25
  192. package/src/server/plugins/engine/views/components/yesnofield.html +0 -5
  193. package/src/server/plugins/engine/views/file-upload.html +0 -45
  194. package/src/server/plugins/engine/views/index.html +0 -39
  195. package/src/server/plugins/engine/views/item-delete.html +0 -56
  196. package/src/server/plugins/engine/views/partials/components.html +0 -6
  197. package/src/server/plugins/engine/views/partials/conditional-components.html +0 -3
  198. package/src/server/plugins/engine/views/partials/debug.html +0 -44
  199. package/src/server/plugins/engine/views/partials/form.html +0 -15
  200. package/src/server/plugins/engine/views/partials/heading.html +0 -16
  201. package/src/server/plugins/engine/views/partials/preview-banner.html +0 -32
  202. package/src/server/plugins/engine/views/partials/preview-banner.test.js +0 -122
  203. package/src/server/plugins/engine/views/partials/warn-missing-notification-email.html +0 -10
  204. package/src/server/plugins/engine/views/repeat-list-summary.html +0 -53
  205. package/src/server/plugins/errorPages.ts +0 -58
  206. package/src/server/plugins/nunjucks/context.js +0 -88
  207. package/src/server/plugins/nunjucks/context.test.js +0 -142
  208. package/src/server/plugins/nunjucks/enviroment.test.js +0 -201
  209. package/src/server/plugins/nunjucks/environment.js +0 -116
  210. package/src/server/plugins/nunjucks/filters/answer.js +0 -27
  211. package/src/server/plugins/nunjucks/filters/answer.test.js +0 -89
  212. package/src/server/plugins/nunjucks/filters/evaluate.js +0 -21
  213. package/src/server/plugins/nunjucks/filters/field.js +0 -28
  214. package/src/server/plugins/nunjucks/filters/field.test.js +0 -75
  215. package/src/server/plugins/nunjucks/filters/highlight.js +0 -11
  216. package/src/server/plugins/nunjucks/filters/href.js +0 -30
  217. package/src/server/plugins/nunjucks/filters/href.test.js +0 -80
  218. package/src/server/plugins/nunjucks/filters/index.js +0 -8
  219. package/src/server/plugins/nunjucks/filters/inspect.js +0 -15
  220. package/src/server/plugins/nunjucks/filters/page.js +0 -24
  221. package/src/server/plugins/nunjucks/filters/page.test.js +0 -65
  222. package/src/server/plugins/nunjucks/index.js +0 -3
  223. package/src/server/plugins/nunjucks/plugin.js +0 -40
  224. package/src/server/plugins/nunjucks/render.js +0 -42
  225. package/src/server/plugins/nunjucks/types.js +0 -40
  226. package/src/server/plugins/pulse.ts +0 -11
  227. package/src/server/plugins/router.ts +0 -201
  228. package/src/server/plugins/session.ts +0 -28
  229. package/src/server/routes/health.js +0 -13
  230. package/src/server/routes/health.test.js +0 -35
  231. package/src/server/routes/index.test.ts +0 -125
  232. package/src/server/routes/index.ts +0 -2
  233. package/src/server/routes/public.ts +0 -47
  234. package/src/server/routes/types.ts +0 -48
  235. package/src/server/schemas/index.ts +0 -34
  236. package/src/server/secure-context.js +0 -43
  237. package/src/server/services/cacheService.test.ts +0 -276
  238. package/src/server/services/cacheService.ts +0 -131
  239. package/src/server/services/httpService.test.js +0 -491
  240. package/src/server/services/httpService.ts +0 -50
  241. package/src/server/services/index.ts +0 -1
  242. package/src/server/types.ts +0 -54
  243. package/src/server/utils/notify.test.ts +0 -37
  244. package/src/server/utils/notify.ts +0 -50
  245. package/src/server/utils/secure-context/get-trust-store-certs.js +0 -11
  246. package/src/server/utils/secure-context/get-trust-store-certs.test.js +0 -19
  247. package/src/server/utils/utils.js +0 -24
  248. package/src/server/utils/utils.test.js +0 -54
  249. package/src/server/views/404.html +0 -16
  250. package/src/server/views/500.html +0 -19
  251. package/src/server/views/components/debug/macro.njk +0 -3
  252. package/src/server/views/components/debug/template.njk +0 -13
  253. package/src/server/views/components/service-banner/macro.njk +0 -3
  254. package/src/server/views/components/service-banner/template.njk +0 -20
  255. package/src/server/views/components/service-banner/template.test.js +0 -43
  256. package/src/server/views/components/tag-env/macro.njk +0 -3
  257. package/src/server/views/components/tag-env/template.njk +0 -30
  258. package/src/server/views/components/tag-env/template.test.js +0 -66
  259. package/src/server/views/confirmation.html +0 -19
  260. package/src/server/views/help/accessibility-statement.html +0 -58
  261. package/src/server/views/help/cookie-preferences.html +0 -57
  262. package/src/server/views/help/cookies.html +0 -71
  263. package/src/server/views/help/get-support.html +0 -37
  264. package/src/server/views/help/privacy-notice.html +0 -68
  265. package/src/server/views/help/terms-and-conditions.html +0 -83
  266. package/src/server/views/layout.html +0 -199
  267. package/src/server/views/summary.html +0 -50
  268. package/src/typings/hapi/index.d.ts +0 -95
  269. package/src/typings/hapi-tracing/index.d.ts +0 -6
  270. package/src/typings/index.d.ts +0 -3
  271. package/src/typings/joi/index.d.ts +0 -22
  272. package/stylelint.config.js +0 -10
  273. package/test/client/javascripts/file-upload.test.js +0 -1197
  274. package/test/condition/checkboxes.test.js +0 -112
  275. package/test/condition/radios.test.js +0 -112
  276. package/test/condition/text.test.js +0 -103
  277. package/test/fixtures/assets-manifest.json +0 -4
  278. package/test/fixtures/form.js +0 -86
  279. package/test/fixtures/index.js +0 -2
  280. package/test/fixtures/list.js +0 -92
  281. package/test/form/cookies.test.js +0 -338
  282. package/test/form/csrf.test.js +0 -87
  283. package/test/form/definitions/basic.js +0 -101
  284. package/test/form/definitions/blank.js +0 -10
  285. package/test/form/definitions/checkboxes.json +0 -88
  286. package/test/form/definitions/components.json +0 -452
  287. package/test/form/definitions/conditional-reveal.js +0 -140
  288. package/test/form/definitions/conditions-basic.js +0 -187
  289. package/test/form/definitions/conditions-complex.js +0 -338
  290. package/test/form/definitions/conditions-dates.js +0 -78
  291. package/test/form/definitions/conditions-escaping.js +0 -143
  292. package/test/form/definitions/demo-cph-number.js +0 -3099
  293. package/test/form/definitions/feedback.json +0 -45
  294. package/test/form/definitions/fields-optional.js +0 -402
  295. package/test/form/definitions/fields-required.js +0 -402
  296. package/test/form/definitions/file-upload-basic.js +0 -44
  297. package/test/form/definitions/file-upload.js +0 -66
  298. package/test/form/definitions/minimal.js +0 -39
  299. package/test/form/definitions/phase-alpha.json +0 -33
  300. package/test/form/definitions/phase-default.json +0 -26
  301. package/test/form/definitions/radios.json +0 -88
  302. package/test/form/definitions/repeat-mixed.js +0 -54
  303. package/test/form/definitions/repeat.js +0 -70
  304. package/test/form/definitions/status.json +0 -126
  305. package/test/form/definitions/templates.js +0 -183
  306. package/test/form/definitions/test.json +0 -581
  307. package/test/form/definitions/text.json +0 -75
  308. package/test/form/definitions/titles.json +0 -170
  309. package/test/form/definitions.test.js +0 -47
  310. package/test/form/exit-page.test.js +0 -210
  311. package/test/form/feedback.test.js +0 -68
  312. package/test/form/fields-optional.test.js +0 -237
  313. package/test/form/fields-required.test.js +0 -294
  314. package/test/form/file-upload.test.js +0 -313
  315. package/test/form/govuk-notify.test.js +0 -449
  316. package/test/form/journey-basic.test.js +0 -444
  317. package/test/form/persist-files.test.js +0 -227
  318. package/test/form/phase-banner.test.js +0 -71
  319. package/test/form/repeat.test.js +0 -628
  320. package/test/form/summary-submission-email.test.js +0 -95
  321. package/test/form/template.test.js +0 -288
  322. package/test/form/titles.test.js +0 -204
  323. package/test/helpers/component-helpers.js +0 -74
  324. package/test/utils/get-cookie.js +0 -42
  325. package/test/utils/get-form-definitions.js +0 -18
  326. package/tmp.pdf +0 -1
  327. package/tsconfig.json +0 -28
  328. package/webpack.config.js +0 -208
@@ -1,3099 +0,0 @@
1
- import {
2
- ComponentType,
3
- ConditionType,
4
- ControllerPath,
5
- ControllerType,
6
- Coordinator,
7
- DateDirections,
8
- DateUnits,
9
- OperatorName
10
- } from '@defra/forms-model'
11
-
12
- export default /** @satisfies {FormDefinition} */ ({
13
- name: 'Apply for a county parish holding (CPH) number',
14
- startPage: '/are-you-18-or-older',
15
- pages: [
16
- {
17
- title: "What's the name of the applicant?",
18
- path: '/whats-the-name-of-the-applicant',
19
- next: [
20
- {
21
- path: '/business-name'
22
- }
23
- ],
24
- components: [
25
- {
26
- name: 'Jhimsh',
27
- title: 'Html',
28
- type: ComponentType.Html,
29
- content:
30
- '<p class="govuk-body">Enter the name of the person applying for the county parish holding (CPH) number. This should be the person who is responsible for the livestock.</p>\n',
31
- options: {}
32
- },
33
- {
34
- name: 'TKsWbP',
35
- title: 'Title',
36
- type: ComponentType.TextField,
37
- hint: '',
38
- options: {
39
- classes: 'govuk-!-width-one-quarter',
40
- required: false
41
- },
42
- schema: {}
43
- },
44
- {
45
- name: 'iyutEh',
46
- title: 'First name',
47
- type: ComponentType.TextField,
48
- options: {
49
- classes: 'govuk-input govuk-!-width-one-half'
50
- },
51
- schema: {}
52
- },
53
- {
54
- name: 'ByUqQW',
55
- title: 'Middle name',
56
- type: ComponentType.TextField,
57
- hint: '',
58
- options: {
59
- required: false,
60
- classes: 'govuk-input govuk-!-width-one-half'
61
- },
62
- schema: {}
63
- },
64
- {
65
- name: 'GDYfTS',
66
- title: 'Last name',
67
- type: ComponentType.TextField,
68
- options: {
69
- classes: 'govuk-input govuk-!-width-one-half'
70
- },
71
- schema: {}
72
- }
73
- ]
74
- },
75
- {
76
- path: '/whats-your-home-address',
77
- title: "What's your home address?",
78
- components: [
79
- {
80
- name: 'hpmkrN',
81
- title: 'Home address',
82
- type: ComponentType.UkAddressField,
83
- options: {
84
- hideTitle: true
85
- }
86
- }
87
- ],
88
- next: [
89
- {
90
- path: '/do-you-want-to-add-a-second-contact'
91
- }
92
- ]
93
- },
94
- {
95
- path: '/telephone-numbers',
96
- title: 'Telephone numbers',
97
- components: [
98
- {
99
- name: 'ndonzl',
100
- title: 'Html',
101
- type: ComponentType.Html,
102
- content:
103
- '<p class="govuk-body">\nThe Rural Payments Agency (RPA) will use the phone numbers you provide to contact you if they need to discuss your application.\n</p>',
104
- options: {}
105
- },
106
- {
107
- name: 'aEFhyW',
108
- title: "What's your main phone number?",
109
- type: ComponentType.TelephoneNumberField,
110
- hint: '',
111
- options: {}
112
- },
113
- {
114
- name: 'tmSOkR',
115
- title: "What's your second phone number?",
116
- type: ComponentType.TelephoneNumberField,
117
- options: {
118
- required: false
119
- }
120
- }
121
- ],
122
- next: [
123
- {
124
- path: '/whats-your-email-address'
125
- }
126
- ]
127
- },
128
- {
129
- path: '/whats-your-email-address',
130
- title: "What's your email address?",
131
- components: [
132
- {
133
- name: 'uZcVcc',
134
- title: 'Email address',
135
- type: ComponentType.EmailAddressField,
136
- hint: 'The Rural Payments Agency (RPA) will email your CPH number to you.',
137
- options: {}
138
- }
139
- ],
140
- next: [
141
- {
142
- path: '/whats-your-business-address'
143
- },
144
- {
145
- path: '/whats-your-home-address',
146
- condition: 'jJEMOD'
147
- }
148
- ]
149
- },
150
- {
151
- path: '/business-name',
152
- title: 'Business name',
153
- components: [
154
- {
155
- name: 'azvqQo',
156
- title: 'Html',
157
- type: ComponentType.Html,
158
- content:
159
- '<p class="govuk-body">RPA needs to register you as a business on their system (the Rural Payments service) before they can give you a CPH number. They must do this even if you keep livestock as pets or for a hobby.\n</p>\n\n\n\n\n',
160
- options: {}
161
- },
162
- {
163
- name: 'jFlrpY',
164
- title: 'What is the name of the business?',
165
- type: ComponentType.TextField,
166
- options: {},
167
- schema: {}
168
- }
169
- ],
170
- next: [
171
- {
172
- path: '/telephone-numbers'
173
- }
174
- ]
175
- },
176
- {
177
- path: '/legal-status-of-your-business',
178
- title: 'Legal status of your business',
179
- components: [
180
- {
181
- name: 'KVSTXs',
182
- title: 'Html',
183
- type: ComponentType.Html,
184
- content:
185
- '<p class="govuk-body">\nThe Rural Payments Agency (RPA) needs the legal status of your business to register you on the Rural Payments service.\n<br><br>\nRead more about <a href="https://www.gov.uk/set-up-business"class=" govuk-link" target="_blank">registering a business (opens in new tab)</a> or <a href="https://www.gov.uk/guidance/charity-types-how-to-choose-a-structure" class="govuk-link" target="_blank">find out more about charity types (opens in new tab)</a>. If you\'re not sure, seek professional advice.\n</p>',
186
- options: {}
187
- },
188
- {
189
- name: 'yHQAol',
190
- title: 'Business legal status',
191
- type: ComponentType.RadiosField,
192
- list: 'LLfsSM',
193
- options: {}
194
- }
195
- ],
196
- next: [
197
- {
198
- path: '/charity-number',
199
- condition: 'HhHvCo'
200
- },
201
- {
202
- path: '/what-is-the-main-purpose-of-your-business',
203
- condition: 'Mofdix'
204
- },
205
- {
206
- path: '/companies-house',
207
- condition: 'WWZpek'
208
- },
209
- {
210
- path: '/legal-status-of-your-business-something-else',
211
- condition: 'NqsUxW'
212
- }
213
- ]
214
- },
215
- {
216
- path: '/companies-house',
217
- title: 'Companies House',
218
- components: [
219
- {
220
- name: 'vvVXGQ',
221
- title: 'Html',
222
- type: ComponentType.Html,
223
- content:
224
- '<p class="govuk-body">\nThe Rural Payments Agency (RPA) need to know your company number. You can get this from Companies House.\n<br><br>\n<a href="https://find-and-update.company-information.service.gov.uk/"class=" govuk-link" target="_blank">Find your company number (opens in new tab)</a>\n<br><br>\nYou can also find your company number on any documents you have received from Companies House.\n</p>',
225
- options: {}
226
- },
227
- {
228
- name: 'nNNsgO',
229
- options: {
230
- customValidationMessage: 'Enter a valid company number'
231
- },
232
- type: ComponentType.TextField,
233
- title: "What's your company number?",
234
- hint: 'You company number is either an 8-digit number or 2 letters followed by a 6-digit number, for example, 03256178 or SL123456.',
235
- schema: {
236
- regex: '^([0-9]{8}|(LP|NC|NL|NI|OC|SC|SL|SO)[0-9]{6}|R[0-9]{7})$'
237
- }
238
- }
239
- ],
240
- next: [
241
- {
242
- path: '/what-is-the-main-purpose-of-your-business'
243
- }
244
- ]
245
- },
246
- {
247
- path: '/charity-number',
248
- title: 'Charity number',
249
- components: [
250
- {
251
- name: 'uHmVat',
252
- title: 'Html',
253
- type: ComponentType.Html,
254
- content:
255
- '<p class="govuk-body">\n<a href="https://register-of-charities.charitycommission.gov.uk/charity-search" class="govuk-link" class="govuk-link" target="_blank">Search the register of charities (opens in new tab)</a> to find your charity number.\n</p>',
256
- options: {}
257
- },
258
- {
259
- name: 'ifygYY',
260
- title: "What's your charity number?",
261
- type: ComponentType.NumberField,
262
- hint: '',
263
- schema: {},
264
- options: {}
265
- }
266
- ],
267
- next: [
268
- {
269
- path: '/what-is-the-main-purpose-of-your-business'
270
- }
271
- ]
272
- },
273
- {
274
- path: '/what-is-the-main-purpose-of-your-business',
275
- title: 'What is the main purpose of your business?',
276
- components: [
277
- {
278
- name: 'AoofuF',
279
- type: ComponentType.RadiosField,
280
- list: 'kMOALL',
281
- title: 'Business type',
282
- hint: "Select the main purpose of your business. If you're a farmer and you keep livestock, select 'farmer'.",
283
- options: {}
284
- }
285
- ],
286
- next: [
287
- {
288
- path: '/is-your-business-a-market-showground-or-zoo'
289
- },
290
- {
291
- path: '/what-is-the-main-purpose-of-your-business-something-else',
292
- condition: 'mLnJPE'
293
- }
294
- ]
295
- },
296
- {
297
- path: '/what-type-of-business-do-you-have',
298
- title: 'What type of business do you have?',
299
- components: [
300
- {
301
- name: 'hCxIFa',
302
- type: ComponentType.TextField,
303
- title: 'What type of business do you have?',
304
- options: {},
305
- schema: {}
306
- }
307
- ],
308
- next: [
309
- {
310
- path: '/is-your-business-a-market-showground-or-zoo'
311
- }
312
- ]
313
- },
314
- {
315
- path: '/what-livestock-will-you-keep',
316
- title: 'What livestock will you keep?',
317
- components: [
318
- {
319
- name: 'vumpmr',
320
- options: {},
321
- type: ComponentType.CheckboxesField,
322
- list: 'CoRNqi',
323
- title: 'Livestock that you keep'
324
- }
325
- ],
326
- next: [
327
- {
328
- path: '/what-do-you-use-animal-by-products-for',
329
- condition: 'KzDEBv'
330
- },
331
- {
332
- path: '/you-must-use-a-different-service',
333
- condition: 'dfoUtU'
334
- },
335
- {
336
- path: '/business-or-hobbyist'
337
- }
338
- ]
339
- },
340
- {
341
- path: '/what-do-you-use-animal-by-products-for',
342
- title: 'What do you use animal by-products for?',
343
- components: [
344
- {
345
- name: 'nTEdlT',
346
- type: ComponentType.TextField,
347
- title: 'What you use animal by-products for',
348
- hint: 'For example, using animal by-products to produce pet food',
349
- options: {},
350
- schema: {}
351
- }
352
- ],
353
- next: [
354
- {
355
- path: '/business-or-hobbyist'
356
- }
357
- ]
358
- },
359
- {
360
- path: '/is-your-business-a-market-showground-or-zoo',
361
- title: 'Is your business a market, showground or zoo?',
362
- components: [
363
- {
364
- name: 'jLxphO',
365
- title: 'Is your business a market, showground or zoo?',
366
- type: ComponentType.RadiosField,
367
- hint: 'Your answer will help us to process your application correctly',
368
- list: 'rieXPV',
369
- options: {}
370
- }
371
- ],
372
- next: [
373
- {
374
- path: '/does-your-business-have-a-second-contact',
375
- condition: 'oKXMlf'
376
- },
377
- {
378
- path: '/national-grid-field-number-for-where-youll-keep-livestock'
379
- }
380
- ]
381
- },
382
- {
383
- path: '/arrival-date',
384
- title: 'Arrival date',
385
- components: [
386
- {
387
- name: 'NRlngf',
388
- title: 'Html',
389
- type: ComponentType.Html,
390
- content:
391
- '<p class="govuk-body">\nTell the Rural Payments Agency (RPA) when the livestock or animal by-products will arrive. This date must be no more than 6 weeks from today\'s date. If they will arrive later, do not apply for your CPH number now.\n<br><br>\nIf you do not know when the livestock or animal by-products will arrive, give an estimate. If they have already arrived, you can put a date in the past.\n<br><br>\nRPA need to know this so they can prioritise your application.\n</p>',
392
- options: {}
393
- },
394
- {
395
- name: 'uogTBM',
396
- title: 'What date will the livestock or animal by-products arrive?',
397
- type: ComponentType.DatePartsField,
398
- hint: 'If you keep both livestock and animal by-products, tell us the date the first one will arrive.',
399
- options: {}
400
- }
401
- ],
402
- next: [
403
- {
404
- path: '/what-livestock-will-you-keep'
405
- },
406
- {
407
- path: '/the-livestock-must-arrive-within-6-weeks',
408
- condition: 'oQKstF'
409
- }
410
- ]
411
- },
412
- {
413
- path: '/will-you-keep-livestock-or-use-animal-by-products-at-your-home-address',
414
- title:
415
- 'Will you keep livestock or use animal by-products at your home address?',
416
- components: [
417
- {
418
- name: 'QcfaVC',
419
- title:
420
- 'Will you keep livestock or use animal by-products at your home address?',
421
- type: ComponentType.YesNoField,
422
- options: {}
423
- }
424
- ],
425
- next: [
426
- {
427
- path: '/whats-the-address-where-youll-keep-livestock-or-use-animal-by-products',
428
- condition: 'jxSqwt'
429
- },
430
- {
431
- path: '/national-grid-field-number-for-where-youll-keep-livestock'
432
- }
433
- ]
434
- },
435
- {
436
- path: '/national-grid-field-number-for-where-youll-keep-livestock',
437
- title: "National Grid field number for where you'll keep livestock",
438
- components: [
439
- {
440
- name: 'GIGZXr',
441
- title: 'Html',
442
- type: ComponentType.Html,
443
- content:
444
- '<p class="govuk-body">\nRPA need the National Grid field number for the main area where you\'ll keep livestock. For example, if you\'re a:\n</p>',
445
- options: {}
446
- },
447
- {
448
- name: 'hJJvRZ',
449
- title: "National Grid field number for where you'll keep livestock",
450
- type: ComponentType.List,
451
- list: 'OxfbRE',
452
- options: {
453
- hideTitle: true
454
- }
455
- },
456
- {
457
- name: 'moXMAe',
458
- title: 'Html',
459
- type: ComponentType.Html,
460
- content:
461
- '<p class="govuk-body">\nIf your business uses animal by-products, this will be for the premises where you use them.\n<br><br>\nUse the <a href="https://magic.defra.gov.uk/" class="govuk-link" target="_blank">MAGIC map (opens in new tab)</a> to find the National Grid field numbers for your land or buildings. Follow these instructions:\n\n<ol class="govuk-list govuk-list--number">\n<li>Select ‘Get Started’.</li>\n<li>Search for a postcode or place.<br></li>\n<li>Using the map, locate the land or building. Use the +/- icons to zoom in and out.<br></li>\n<li>In the top toolbar, select the fourth icon along (\'Where am I?\') - it looks like a target.</li>\n<li>Click on the land or building.<br></li>\n<li>A pop-up box will appear showing the land details for this location. The National Grid field number is the fourth number down and comes after the ‘Grid Ref’ (Ordnance Survey grid reference). It’s made up of 2 letters and 8 numbers, for example, SO 0418 8589.</li>\n</ul>\n</p>',
462
- options: {}
463
- },
464
- {
465
- name: 'sLRVWq',
466
- type: ComponentType.TextField,
467
- title:
468
- "What's the National Grid field number for the main area where you'll keep livestock or use animal by-products?",
469
- options: {
470
- customValidationMessage: 'Enter a valid National Grid field number',
471
- classes: 'govuk-!-width-one-third'
472
- },
473
- schema: {
474
- regex:
475
- '^((([sS]|[nN])[a-hA-Hj-zJ-Z])|(([tT]|[oO])[abfglmqrvwABFGLMQRVW])|([hH][l-zL-Z])|([jJ][lmqrvwLMQRVW]))\\s?([0-9]{4})\\s?([0-9]{4})$'
476
- }
477
- }
478
- ],
479
- next: [
480
- {
481
- path: '/will-you-keep-livestock-or-use-animal-by-products-anywhere-else'
482
- }
483
- ]
484
- },
485
- {
486
- path: '/will-you-keep-livestock-or-use-animal-by-products-anywhere-else',
487
- title: 'Will you keep livestock or use animal by-products anywhere else?',
488
- components: [
489
- {
490
- name: 'MBoevI',
491
- title:
492
- 'Will you keep livestock or use animal by-products anywhere else?',
493
- type: ComponentType.YesNoField,
494
- hint: "The Rural Payments Agency (RPA) needs to know about any other land or buildings you'll use to keep livestock",
495
- options: {}
496
- }
497
- ],
498
- next: [
499
- {
500
- path: '/national-grid-field-numbers-for-other-land-and-buildings-where-youll-keep-livestock'
501
- },
502
- {
503
- path: '/do-you-own-the-land',
504
- condition: 'qLowJn'
505
- }
506
- ]
507
- },
508
- {
509
- path: '/national-grid-field-numbers-for-other-land-and-buildings-where-youll-keep-livestock',
510
- title:
511
- "National Grid field numbers for other land and buildings where you'll keep livestock",
512
- components: [
513
- {
514
- name: 'ILcbVH',
515
- title: 'Html',
516
- type: ComponentType.Html,
517
- content:
518
- '<p class="govuk-body">\nTell us where you\'ll keep animals, in addition to the main area.\n<br><br>\nUse the <a href="https://magic.defra.gov.uk/" class="govuk-link" target="_blank">MAGIC map (opens in new tab)</a> to find the National Grid field numbers for your land or buildings. Follow these instructions:\n\n<ol class="govuk-list govuk-list--number">\n<li>Select ‘Get Started’.</li>\n<li>Search for a postcode or place.<br></li>\n<li>Using the map, locate the land or building. Use the +/- icons to zoom in and out.<br></li>\n<li>In the top toolbar, select the fourth icon along (\'Where am I?\') - it looks like a target.</li>\n<li>Click on the land or building.<br></li>\n<li>A pop-up box will appear showing the land details for this location. The National Grid field number is the fourth number down and comes after the ‘Grid Ref’ (Ordnance Survey grid reference). It’s made up of 2 letters and 8 numbers, for example, SO 0418 8589.</li>\n</ul>\n</p>',
519
- options: {}
520
- },
521
- {
522
- name: 'wBfSTW',
523
- title: 'National Grid field number for additional field 2',
524
- type: ComponentType.TextField,
525
- options: {
526
- required: true,
527
- classes: 'govuk-!-width-one-third',
528
- customValidationMessage: ''
529
- },
530
- schema: {
531
- regex:
532
- '^((([sS]|[nN])[a-hA-Hj-zJ-Z])|(([tT]|[oO])[abfglmqrvwABFGLMQRVW])|([hH][l-zL-Z])|([jJ][lmqrvwLMQRVW]))\\s?([0-9]{4})\\s?([0-9]{4})$'
533
- }
534
- },
535
- {
536
- name: 'mLvSOS',
537
- title: 'National Grid field number for additional field 3',
538
- type: ComponentType.TextField,
539
- options: {
540
- required: false,
541
- optionalText: false,
542
- classes: 'govuk-!-width-one-third',
543
- customValidationMessage: ''
544
- },
545
- schema: {
546
- regex:
547
- '^((([sS]|[nN])[a-hA-Hj-zJ-Z])|(([tT]|[oO])[abfglmqrvwABFGLMQRVW])|([hH][l-zL-Z])|([jJ][lmqrvwLMQRVW]))\\s?([0-9]{4})\\s?([0-9]{4})$'
548
- }
549
- },
550
- {
551
- name: 'VqlUVC',
552
- title: 'National Grid field number for additional field 4',
553
- type: ComponentType.TextField,
554
- options: {
555
- required: false,
556
- classes: 'govuk-!-width-one-third',
557
- customValidationMessage: ''
558
- },
559
- schema: {
560
- regex:
561
- '^((([sS]|[nN])[a-hA-Hj-zJ-Z])|(([tT]|[oO])[abfglmqrvwABFGLMQRVW])|([hH][l-zL-Z])|([jJ][lmqrvwLMQRVW]))\\s?([0-9]{4})\\s?([0-9]{4})$'
562
- }
563
- },
564
- {
565
- name: 'ueciBB',
566
- title: 'National Grid field number for additional field 5',
567
- type: ComponentType.TextField,
568
- options: {
569
- required: false,
570
- classes: 'govuk-!-width-one-third',
571
- customValidationMessage:
572
- 'Enter a valid National Grid field number for additional field 5'
573
- },
574
- schema: {
575
- regex:
576
- '^((([sS]|[nN])[a-hA-Hj-zJ-Z])|(([tT]|[oO])[abfglmqrvwABFGLMQRVW])|([hH][l-zL-Z])|([jJ][lmqrvwLMQRVW]))\\s?([0-9]{4})\\s?([0-9]{4})$'
577
- }
578
- },
579
- {
580
- name: 'QAHEJC',
581
- title: 'National Grid field number for additional field 6',
582
- type: ComponentType.TextField,
583
- options: {
584
- required: false,
585
- classes: 'govuk-!-width-one-third',
586
- customValidationMessage:
587
- 'Enter a valid National Grid field number for additional field 6'
588
- },
589
- schema: {
590
- regex:
591
- '^((([sS]|[nN])[a-hA-Hj-zJ-Z])|(([tT]|[oO])[abfglmqrvwABFGLMQRVW])|([hH][l-zL-Z])|([jJ][lmqrvwLMQRVW]))\\s?([0-9]{4})\\s?([0-9]{4})$'
592
- }
593
- },
594
- {
595
- name: 'BxsQdG',
596
- title: 'National Grid field number for additional field 7',
597
- type: ComponentType.TextField,
598
- options: {
599
- required: false,
600
- classes: 'govuk-!-width-one-third',
601
- customValidationMessage:
602
- 'Enter a valid National Grid field number for additional field 7'
603
- },
604
- schema: {
605
- regex:
606
- '^((([sS]|[nN])[a-hA-Hj-zJ-Z])|(([tT]|[oO])[abfglmqrvwABFGLMQRVW])|([hH][l-zL-Z])|([jJ][lmqrvwLMQRVW]))\\s?([0-9]{4})\\s?([0-9]{4})$'
607
- }
608
- },
609
- {
610
- name: 'OAlihM',
611
- title: 'National Grid field number for additional field 8',
612
- type: ComponentType.TextField,
613
- options: {
614
- required: false,
615
- autocomplete: '',
616
- classes: 'govuk-!-width-one-third',
617
- customValidationMessage:
618
- 'Enter a valid National Grid field number for additional field 8'
619
- },
620
- schema: {
621
- regex:
622
- '^((([sS]|[nN])[a-hA-Hj-zJ-Z])|(([tT]|[oO])[abfglmqrvwABFGLMQRVW])|([hH][l-zL-Z])|([jJ][lmqrvwLMQRVW]))\\s?([0-9]{4})\\s?([0-9]{4})$'
623
- }
624
- },
625
- {
626
- name: 'UlWuJy',
627
- title: 'National Grid field number for additional field 9',
628
- type: ComponentType.TextField,
629
- options: {
630
- required: false,
631
- classes: 'govuk-!-width-one-third',
632
- optionalText: false,
633
- customValidationMessage:
634
- 'Enter a valid National Grid field number for additional field 9'
635
- },
636
- schema: {
637
- regex:
638
- '^((([sS]|[nN])[a-hA-Hj-zJ-Z])|(([tT]|[oO])[abfglmqrvwABFGLMQRVW])|([hH][l-zL-Z])|([jJ][lmqrvwLMQRVW]))\\s?([0-9]{4})\\s?([0-9]{4})$'
639
- }
640
- }
641
- ],
642
- next: [
643
- {
644
- path: '/do-you-own-the-land'
645
- }
646
- ]
647
- },
648
- {
649
- path: '/do-you-own-the-land',
650
- title: 'Do you own the land?',
651
- components: [
652
- {
653
- name: 'rOgnUv',
654
- title: 'Do you own the land?',
655
- type: ComponentType.YesNoField,
656
- hint: "If you rent the land, select 'No'",
657
- options: {}
658
- }
659
- ],
660
- next: [
661
- {
662
- path: '/do-you-want-to-tell-us-anything-else',
663
- condition: 'VtzzTR'
664
- },
665
- {
666
- path: '/is-your-tenancy-agreement-for-more-than-one-year',
667
- condition: 'yTTblu'
668
- }
669
- ]
670
- },
671
- {
672
- title: 'Do you want to tell us anything else?',
673
- path: '/do-you-want-to-tell-us-anything-else',
674
- next: [
675
- {
676
- path: '/what-do-you-want-to-tell-us',
677
- condition: 'MrMPHC'
678
- },
679
- {
680
- path: '/rural-payments'
681
- }
682
- ],
683
- components: [
684
- {
685
- name: 'ledUEN',
686
- title: 'Anything else to tell us',
687
- type: ComponentType.YesNoField,
688
- hint: '',
689
- options: {
690
- required: false
691
- }
692
- }
693
- ]
694
- },
695
- {
696
- title: 'Rural payments',
697
- path: '/rural-payments',
698
- next: [
699
- {
700
- path: '/summary'
701
- }
702
- ],
703
- components: [
704
- {
705
- name: 'dOMSCK',
706
- title: 'Html',
707
- type: ComponentType.Html,
708
- content:
709
- '<p class="govuk-body">\nFind out about the available <a href="https://www.gov.uk/guidance/funding-for-farmers" class="govuk-link" target="_blank">funding for farmers, growers and land managers (opens in new tab)</a>\n<br><br>\nAnswering \'No\' does not stop you from applying for funding at a later date.\n</p>',
710
- options: {}
711
- },
712
- {
713
- name: 'qIhSXZ',
714
- title: 'Do you intend to claim funding from the RPA?',
715
- type: ComponentType.YesNoField,
716
- hint: "Select 'No' if you're not sure",
717
- options: {}
718
- }
719
- ]
720
- },
721
- {
722
- path: ControllerPath.Summary,
723
- controller: ControllerType.Summary,
724
- title: 'Check your answers before submitting your form'
725
- },
726
- {
727
- path: '/whats-your-business-address',
728
- title: "What's your business address?",
729
- components: [
730
- {
731
- name: 'SJmeaZ',
732
- title: 'Business address',
733
- type: ComponentType.UkAddressField,
734
- hint: 'Your business address must be a postal address',
735
- options: {}
736
- }
737
- ],
738
- next: [
739
- {
740
- path: '/legal-status-of-your-business'
741
- }
742
- ]
743
- },
744
- {
745
- path: '/whats-the-address-where-youll-keep-livestock-or-use-animal-by-products',
746
- title:
747
- "What's the address where you'll keep livestock or use animal by-products?",
748
- components: [
749
- {
750
- name: 'sDJyOK',
751
- title: 'Html',
752
- type: ComponentType.Html,
753
- content:
754
- '<p class="govuk-body">\nThis will help trace the animals to prevent and contain disease.\n</p>',
755
- options: {}
756
- },
757
- {
758
- name: 'PXRMtw',
759
- title: 'Address for livestock and animal by-products',
760
- type: ComponentType.UkAddressField,
761
- options: {
762
- hideTitle: true
763
- }
764
- }
765
- ],
766
- next: [
767
- {
768
- path: '/national-grid-field-number-for-where-youll-keep-livestock'
769
- }
770
- ]
771
- },
772
- {
773
- path: '/is-your-tenancy-agreement-for-more-than-one-year',
774
- title: 'Is your tenancy agreement for more than one year?',
775
- components: [
776
- {
777
- name: 'qLmGSL',
778
- title: 'Is your tenancy agreement for more than one year?',
779
- type: ComponentType.YesNoField,
780
- options: {}
781
- }
782
- ],
783
- next: [
784
- {
785
- path: '/does-the-landowner-have-a-cph-number-for-the-land',
786
- condition: 'jHDHJK'
787
- },
788
- {
789
- path: '/do-you-want-to-tell-us-anything-else',
790
- condition: 'WgVJGi'
791
- }
792
- ]
793
- },
794
- {
795
- path: '/does-the-landowner-have-a-cph-number-for-the-land',
796
- title: 'Does the landowner have a CPH number for the land?',
797
- components: [
798
- {
799
- name: 'uuQMUp',
800
- title: 'Does the landowner have a CPH number for the land?',
801
- type: ComponentType.YesNoField,
802
- options: {}
803
- }
804
- ],
805
- next: [
806
- {
807
- path: '/do-you-want-to-tell-us-anything-else'
808
- }
809
- ]
810
- },
811
- {
812
- title: 'Business or hobbyist',
813
- path: '/business-or-hobbyist',
814
- next: [
815
- {
816
- path: '/whats-your-name',
817
- condition: 'SmRHwO'
818
- },
819
- {
820
- path: '/whats-the-name-of-the-applicant'
821
- }
822
- ],
823
- components: [
824
- {
825
- name: 'UQlrDN',
826
- title: 'Html',
827
- type: ComponentType.Html,
828
- content:
829
- "<p class=\"govuk-body\">\nWhen you apply for a country parish holding (CPH) number, the Rural Payments Agency (RPA) will give you a single business identifier (SBI) number. You'll get an SBI number even if you're not a business.\n<br><br>\nIf you're a hobbyist keeper, RPA will use your full name as your business name.\n</p>",
830
- options: {}
831
- },
832
- {
833
- name: 'FsSpLA',
834
- title: 'Are you a hobbyist keeper or a business?',
835
- type: ComponentType.RadiosField,
836
- hint: '',
837
- list: 'IGZhBB',
838
- options: {}
839
- }
840
- ]
841
- },
842
- {
843
- title: "What's your name?",
844
- path: '/whats-your-name',
845
- next: [
846
- {
847
- path: '/telephone-numbers'
848
- }
849
- ],
850
- components: [
851
- {
852
- name: 'QvSFQU',
853
- title: 'Title',
854
- type: ComponentType.TextField,
855
- hint: '',
856
- options: {
857
- classes: 'govuk-!-width-one-quarter',
858
- required: false
859
- },
860
- schema: {}
861
- },
862
- {
863
- name: 'fGBFPv',
864
- title: 'First name',
865
- type: ComponentType.TextField,
866
- hint: '',
867
- options: {
868
- classes: 'govuk-input govuk-!-width-one-half'
869
- },
870
- schema: {}
871
- },
872
- {
873
- name: 'BzFtpG',
874
- title: 'Middle name',
875
- type: ComponentType.TextField,
876
- hint: '',
877
- options: {
878
- required: false,
879
- classes: 'govuk-input govuk-!-width-one-half'
880
- },
881
- schema: {}
882
- },
883
- {
884
- name: 'HEHgbQ',
885
- title: 'Last name',
886
- type: ComponentType.TextField,
887
- hint: '',
888
- options: {
889
- classes: 'govuk-input govuk-!-width-one-half'
890
- },
891
- schema: {}
892
- }
893
- ]
894
- },
895
- {
896
- title: 'What country will you keep livestock in?',
897
- path: '/what-country-will-you-keep-livestock-in',
898
- next: [
899
- {
900
- path: '/arrival-date'
901
- },
902
- {
903
- path: '/you-cannot-use-this-service',
904
- condition: 'WHxsFL'
905
- }
906
- ],
907
- components: [
908
- {
909
- name: 'aYjRCZ',
910
- title: 'Country where you will keep livestock',
911
- type: ComponentType.RadiosField,
912
- hint: '',
913
- list: 'oNaqxb',
914
- options: {}
915
- }
916
- ]
917
- },
918
- {
919
- title: 'You cannot use this service',
920
- path: '/you-cannot-use-this-service',
921
- next: [],
922
- components: [
923
- {
924
- name: 'INnXyT',
925
- title: 'Html',
926
- type: ComponentType.Html,
927
- content:
928
- '<p class="govuk-body">\nYou cannot use this service to apply for a county parish holding (CPH) number if you live in Northern Ireland, Scotland or Wales.\n<br><br>\nRead guidance for:\n<ol class="govuk-list govuk-list--bullet"> \n<li><a href="https://www.daera-ni.gov.uk/topics/animal-health-and-welfare/identification-registration-and-movement" class="govuk-link" target="_blank">Northern Ireland</a> (opens in new tab)</li> \n<li><a href="https://www.ruralpayments.org/publicsite/futures/topics/customer-services/contact/" class="govuk-link" target="_blank">Scotland</a> (opens in new tab)</li> \n<li><a href="https://gov.wales/get-county-parish-holding-cph-number" class="govuk-link" target="_blank">Wales</a> (opens in new tab)</li> \n</ul> \n</p>',
929
- options: {}
930
- }
931
- ]
932
- },
933
- {
934
- title: 'You must use a different service',
935
- path: '/you-must-use-a-different-service',
936
- next: [],
937
- components: [
938
- {
939
- name: 'NxLvxq',
940
- title: 'Html',
941
- type: ComponentType.Html,
942
- content:
943
- '<h3 class="govuk-heading-m">Less than 50 poultry or other captive birds</h3>\n<p class="govuk-body">\nIf you’re a keeper of less than 50 poultry or other captive birds, you must <a href="https://www.gov.uk/guidance/register-as-a-keeper-of-less-than-50-poultry-or-other-captive-birds"class=" govuk-link" target="_blank">register with the Animal and Plant Health Agency (APHA) (opens in new tab)</a>. This includes any birds you keep as pets. APHA will provide you with a CPH number when you register. You should not apply for a country parish holding (CPH) number from the Rurual Payments Agency (RPA) using this form.\n<br><br>\nIf you already have a CPH number from keeping other livestock, call the RPA to get your CPH number updated to include keeping 50 poultry or other captive birds.\n<br><br>\nRural Payments Agency<br>\nTelephone (Defra rural services helpline): 03000 200 301<br>\nMonday to Friday, 8:30am to 5pm<br>\n<a href="http://www.gov.uk/call-charges"class=" govuk-link" target="_blank">Find out about call charges (opens in new tab)</a>\n</p>',
944
- options: {
945
- condition: 'BYIene'
946
- }
947
- },
948
- {
949
- name: 'GKEcri',
950
- title: 'Html',
951
- type: ComponentType.Html,
952
- content:
953
- '<h3 class="govuk-heading-m">Racing pigeons</h3>\n<p class="govuk-body">\nThere\'s a different process for racing pigeons. \n<br><br>\nFind out how to <a href="https://www.gov.uk/guidance/register-a-racing-pigeon-establishment-to-move-pigeons-to-the-eu-or-northern-ireland-for-a-race"class=" govuk-link" target="_blank">register a racing pigeon establishment to move pigeons to the EU or Northern Ireland for a race (opens in new tab)</a>.\n</p>',
954
- options: {
955
- condition: 'OFokTY'
956
- }
957
- }
958
- ]
959
- },
960
- {
961
- title: 'Legal status of your business: something else',
962
- path: '/legal-status-of-your-business-something-else',
963
- next: [
964
- {
965
- path: '/what-is-the-main-purpose-of-your-business'
966
- },
967
- {
968
- path: '/charity-number',
969
- condition: 'aEAQKS'
970
- },
971
- {
972
- path: '/companies-house',
973
- condition: 'yuNJzn'
974
- }
975
- ],
976
- components: [
977
- {
978
- name: 'NUaCrU',
979
- title: 'Html',
980
- type: ComponentType.Html,
981
- content:
982
- '<p class="govuk-body">\nRPA needs the legal status of your business to register you on the Rural Payments service.\n<br>\n<br>\nRead more about <a href="https://www.gov.uk/set-up-business"class=" govuk-link" target="_blank">registering a business (opens in new tab)</a> or <a href="https://www.gov.uk/guidance/charity-types-how-to-choose-a-structure" class="govuk-link" target="_blank">find out more about charity types (opens in new tab)</a>. If you\'re not sure, seek professional advice.\n</p>',
983
- options: {}
984
- },
985
- {
986
- name: 'MfzkDz',
987
- title: 'Business legal status: something else',
988
- type: ComponentType.RadiosField,
989
- hint: '',
990
- list: 'dfccAs',
991
- options: {}
992
- }
993
- ]
994
- },
995
- {
996
- title: 'What is the main purpose of your business: something else?',
997
- path: '/what-is-the-main-purpose-of-your-business-something-else',
998
- next: [
999
- {
1000
- path: '/what-type-of-business-do-you-have',
1001
- condition: 'tEkhIS'
1002
- },
1003
- {
1004
- path: '/is-your-business-a-market-showground-or-zoo'
1005
- }
1006
- ],
1007
- components: [
1008
- {
1009
- name: 'luoxoh',
1010
- title: 'Main purpose of your business: something else',
1011
- type: ComponentType.RadiosField,
1012
- hint: '',
1013
- list: 'IOxAAj',
1014
- options: {}
1015
- }
1016
- ]
1017
- },
1018
- {
1019
- title:
1020
- 'Are you or your business already registered with the Rural Payments Agency?',
1021
- path: '/are-you-or-your-business-already-registered-with-the-rural-payments-agency',
1022
- next: [
1023
- {
1024
- path: '/what-country-will-you-keep-livestock-in'
1025
- },
1026
- {
1027
- path: '/already-registered-with-the-rural-payments-agency',
1028
- condition: 'fLLefX'
1029
- }
1030
- ],
1031
- components: [
1032
- {
1033
- name: 'zcjEtV',
1034
- title: 'Registered with the Rural Payments Agency',
1035
- type: ComponentType.YesNoField,
1036
- hint: '',
1037
- options: {}
1038
- }
1039
- ]
1040
- },
1041
- {
1042
- title: 'Already registered with the Rural Payments Agency',
1043
- path: '/already-registered-with-the-rural-payments-agency',
1044
- next: [],
1045
- components: [
1046
- {
1047
- name: 'uqUowX',
1048
- title: 'Html',
1049
- type: ComponentType.Html,
1050
- content:
1051
- '<p class="govuk-body">\nYou cannot use this form if you’re already registered on the Rural Payments service. The Rural Payments Agency (RPA) already has much of the information it needs to process your application. You must apply by phone instead.\n<br><br>\nTelephone (Defra rural services helpline): 03000 200 301<br>\nMonday to Friday, 8:30am to 5pm<br>\n<a href="https://www.gov.uk/call-charges" class="govuk-link" target="_blank">Find out about call charges (opens in new tab)</a>\n</p>',
1052
- options: {}
1053
- }
1054
- ]
1055
- },
1056
- {
1057
- title: 'Does your business have a second contact?',
1058
- path: '/does-your-business-have-a-second-contact',
1059
- next: [
1060
- {
1061
- path: '/contact-details-of-the-second-contact',
1062
- condition: 'ZEZlNG'
1063
- },
1064
- {
1065
- path: '/national-grid-field-number-for-where-youll-keep-livestock'
1066
- }
1067
- ],
1068
- components: [
1069
- {
1070
- name: 'iszBCF',
1071
- title: 'Business has a second contact',
1072
- type: ComponentType.YesNoField,
1073
- hint: '',
1074
- options: {}
1075
- }
1076
- ]
1077
- },
1078
- {
1079
- title: 'Contact details of the second contact',
1080
- path: '/contact-details-of-the-second-contact',
1081
- next: [
1082
- {
1083
- path: '/national-grid-field-number-for-where-youll-keep-livestock'
1084
- },
1085
- {
1086
- path: '/will-you-keep-livestock-or-use-animal-by-products-at-your-home-address',
1087
- condition: 'aCslEZ'
1088
- }
1089
- ],
1090
- components: [
1091
- {
1092
- name: 'vCcTAU',
1093
- title: 'Title',
1094
- type: ComponentType.TextField,
1095
- hint: '',
1096
- options: {
1097
- required: false
1098
- },
1099
- schema: {}
1100
- },
1101
- {
1102
- name: 'MtBoTP',
1103
- title: 'First name of second contact',
1104
- type: ComponentType.TextField,
1105
- hint: '',
1106
- options: {
1107
- required: true
1108
- },
1109
- schema: {}
1110
- },
1111
- {
1112
- name: 'QZNQVn',
1113
- title: 'Middle name of second contact',
1114
- type: ComponentType.TextField,
1115
- hint: '',
1116
- options: {
1117
- required: false,
1118
- classes: 'govuk-input govuk-!-width-one-half'
1119
- },
1120
- schema: {}
1121
- },
1122
- {
1123
- name: 'RHkcga',
1124
- title: 'Phone number of second contact',
1125
- type: ComponentType.TelephoneNumberField,
1126
- hint: '',
1127
- options: {
1128
- required: true
1129
- }
1130
- },
1131
- {
1132
- name: 'JdIhbf',
1133
- title: 'Last name of second contact',
1134
- type: ComponentType.TextField,
1135
- hint: '',
1136
- options: {},
1137
- schema: {}
1138
- },
1139
- {
1140
- name: 'JiLYDB',
1141
- title: 'Email address of second contact',
1142
- type: ComponentType.EmailAddressField,
1143
- hint: 'The email address of the second contact must be different from the main contact',
1144
- options: {
1145
- required: true
1146
- }
1147
- },
1148
- {
1149
- name: 'YnSTrb',
1150
- title: 'Address for the second contact',
1151
- type: ComponentType.UkAddressField,
1152
- hint: '',
1153
- options: {}
1154
- }
1155
- ]
1156
- },
1157
- {
1158
- title: 'What do you want to tell us?',
1159
- path: '/what-do-you-want-to-tell-us',
1160
- next: [
1161
- {
1162
- path: '/rural-payments'
1163
- }
1164
- ],
1165
- components: [
1166
- {
1167
- name: 'JKtzeY',
1168
- title: 'Additional information',
1169
- type: ComponentType.MultilineTextField,
1170
- hint: '',
1171
- options: {},
1172
- schema: {}
1173
- }
1174
- ]
1175
- },
1176
- {
1177
- title: 'Do you want to add a second contact?',
1178
- path: '/do-you-want-to-add-a-second-contact',
1179
- next: [
1180
- {
1181
- path: '/contact-details-of-the-second-contact',
1182
- condition: 'WAdayu'
1183
- },
1184
- {
1185
- path: '/will-you-keep-livestock-or-use-animal-by-products-at-your-home-address'
1186
- }
1187
- ],
1188
- components: [
1189
- {
1190
- name: 'yQiBlu',
1191
- title: 'Second contact',
1192
- type: ComponentType.YesNoField,
1193
- hint: 'For example, if someone else helps you keep the livestock',
1194
- options: {}
1195
- }
1196
- ]
1197
- },
1198
- {
1199
- title: 'The livestock must arrive within 6 weeks',
1200
- path: '/the-livestock-must-arrive-within-6-weeks',
1201
- next: [],
1202
- components: [
1203
- {
1204
- name: 'MDtiNg',
1205
- title: 'Html',
1206
- type: ComponentType.Html,
1207
- content:
1208
- '<p class="govuk-body">\nThe livestock or animal by-products must arrive within 6 weeks from today\'s date. \n<br><br>\nYou cannot apply for your county parish number (CPH) number now as the date you have entered is more than 6 weeks from today\'s date.\n<br><br>\nYou can return to fill in this form closer to the arrival date of your livestock or animal by-products.\n</p>',
1209
- options: {}
1210
- }
1211
- ]
1212
- },
1213
- {
1214
- title: 'Are you 18 or older?',
1215
- path: '/are-you-18-or-older',
1216
- next: [
1217
- {
1218
- path: '/are-you-or-your-business-already-registered-with-the-rural-payments-agency'
1219
- },
1220
- {
1221
- path: '/you-must-be-18-or-older-to-use-this-service',
1222
- condition: 'VHfpoC'
1223
- }
1224
- ],
1225
- components: [
1226
- {
1227
- name: 'JGLmzy',
1228
- title: '18 or older',
1229
- type: ComponentType.YesNoField,
1230
- hint: '',
1231
- options: {}
1232
- }
1233
- ]
1234
- },
1235
- {
1236
- title: 'You must be 18 or older to use this service',
1237
- path: '/you-must-be-18-or-older-to-use-this-service',
1238
- next: [],
1239
- components: [
1240
- {
1241
- name: 'acXfVy',
1242
- title: 'Html',
1243
- type: ComponentType.Html,
1244
- content:
1245
- '<p class="govuk-body">\nTo apply for a country parish holding (CPH) number, you must be 18 or older.\n</p>',
1246
- options: {}
1247
- }
1248
- ]
1249
- }
1250
- ],
1251
- lists: [
1252
- {
1253
- title: 'What is the legal status of your business?',
1254
- name: 'ihwVmQ',
1255
- type: 'string',
1256
- items: [
1257
- {
1258
- text: 'Sole trader',
1259
- value: 'Sole trader'
1260
- },
1261
- {
1262
- text: 'Private limited company (Ltd)',
1263
- value: 'Private limited company (Ltd)'
1264
- },
1265
- {
1266
- text: 'Partnership',
1267
- value: 'Partnership'
1268
- },
1269
- {
1270
- text: 'Limited partnership (LP)',
1271
- value: 'Limited partnership (LP)'
1272
- },
1273
- {
1274
- text: 'Charitable trust',
1275
- value: 'Charitable trust'
1276
- },
1277
- {
1278
- text: 'Limited liability partnership (LLP)',
1279
- value: 'Limited liability partnership (LLP)'
1280
- },
1281
- {
1282
- text: 'Charitable incorporated organisation (CIO)',
1283
- value: 'Charitable incorporated organisation (CIO)'
1284
- },
1285
- {
1286
- text: 'Government (local)',
1287
- value: 'Government (local)'
1288
- },
1289
- {
1290
- text: 'Public limited company (PLC)',
1291
- value: 'Public limited company (PLC)'
1292
- },
1293
- {
1294
- text: 'Community interest company (CIC)',
1295
- value: 'Community interest company (CIC)'
1296
- },
1297
- {
1298
- text: 'Non-UK company',
1299
- value: 'Non-UK company'
1300
- },
1301
- {
1302
- text: 'The Crown',
1303
- value: 'The Crown'
1304
- },
1305
- {
1306
- text: 'Unlimited company (Ultd)',
1307
- value: 'Unlimited company (Ultd)'
1308
- },
1309
- {
1310
- text: 'Government (central)',
1311
- value: 'Government (central)'
1312
- }
1313
- ]
1314
- },
1315
- {
1316
- title: 'Companies House',
1317
- name: 'gqNQpU',
1318
- type: 'string',
1319
- items: [
1320
- {
1321
- text: 'Community interest company (CIC)',
1322
- value: 'Community interest company (CIC)'
1323
- },
1324
- {
1325
- text: 'Limited liability partnership (LLP)',
1326
- value: 'Limited liability partnership (LLP)'
1327
- },
1328
- {
1329
- text: 'Limited partnership (LP)',
1330
- value: 'Limited partnership (LP)'
1331
- },
1332
- {
1333
- text: 'Non-UK company',
1334
- value: 'Non-UK company'
1335
- },
1336
- {
1337
- text: 'Private limited company (Ltd)',
1338
- value: 'Private limited company (Ltd)'
1339
- },
1340
- {
1341
- text: 'Public limited company (PLC)',
1342
- value: 'Public limited company (PLC)'
1343
- },
1344
- {
1345
- text: 'Unlimited company (Ultd)',
1346
- value: 'Unlimited company (Ultd)'
1347
- }
1348
- ]
1349
- },
1350
- {
1351
- title: 'Animal by-products and livestock',
1352
- name: 'CzxRVp',
1353
- type: 'string',
1354
- items: [
1355
- {
1356
- text: 'livestock only',
1357
- value: 'livestock only'
1358
- },
1359
- {
1360
- text: 'livestock and animal by-products',
1361
- value: 'livestock and animal by-products'
1362
- },
1363
- {
1364
- text: 'animal by-products only',
1365
- value: 'animal by-products only'
1366
- }
1367
- ]
1368
- },
1369
- {
1370
- title: 'Business type',
1371
- name: 'ycOtLx',
1372
- type: 'string',
1373
- items: [
1374
- {
1375
- text: 'Hobby livestock keeper - if you keep livestock for a hobby or as a pet',
1376
- value:
1377
- 'Hobby livestock keeper - if you keep livestock for a hobby or as a pet'
1378
- },
1379
- {
1380
- text: 'Professional livestock keeper - if you keep livestock as your profession',
1381
- value:
1382
- 'Professional livestock keeper - if you keep livestock as your profession'
1383
- },
1384
- {
1385
- text: 'Farmer',
1386
- value: 'Farmer'
1387
- },
1388
- {
1389
- text: 'Meat industry',
1390
- value: 'Meat industry'
1391
- },
1392
- {
1393
- text: 'Land manager',
1394
- value: 'Land manager'
1395
- },
1396
- {
1397
- text: 'Education provider or trainer',
1398
- value: 'Education provider or trainer'
1399
- },
1400
- {
1401
- text: 'Rural community, voluntary or third sector organisation',
1402
- value: 'Rural community, voluntary or third sector organisation'
1403
- },
1404
- {
1405
- text: 'Tourism',
1406
- value: 'Tourism'
1407
- },
1408
- {
1409
- text: 'Forestry or woodland owner',
1410
- value: 'Forestry or woodland owner'
1411
- },
1412
- {
1413
- text: 'Horticultural business',
1414
- value: 'Horticultural business'
1415
- },
1416
- {
1417
- text: 'Central or local government',
1418
- value: 'Central or local government'
1419
- },
1420
- {
1421
- text: 'Trader only organisation',
1422
- value: 'Trader only organisation'
1423
- },
1424
- {
1425
- text: 'Intervention or private storage',
1426
- value: 'Intervention or private storage'
1427
- },
1428
- {
1429
- text: 'Commons or graziers association',
1430
- value: 'Commons or graziers association'
1431
- },
1432
- {
1433
- text: 'Leader group',
1434
- value: 'Leader group'
1435
- },
1436
- {
1437
- text: 'Official receiver or administrator',
1438
- value: 'Official receiver or administrator'
1439
- },
1440
- {
1441
- text: 'Other',
1442
- value: 'Other'
1443
- }
1444
- ]
1445
- },
1446
- {
1447
- title: 'Livestock you keep',
1448
- name: 'CoRNqi',
1449
- type: 'string',
1450
- items: [
1451
- {
1452
- text: 'Cattle',
1453
- value: 'Cattle'
1454
- },
1455
- {
1456
- text: 'Camelids ',
1457
- value: 'Camelids ',
1458
- description: 'For example, llamas, camels, alpacas'
1459
- },
1460
- {
1461
- text: 'Deer',
1462
- value: 'Deer'
1463
- },
1464
- {
1465
- text: 'Goats',
1466
- value: 'Goats'
1467
- },
1468
- {
1469
- text: 'Pigs',
1470
- value: 'Pigs'
1471
- },
1472
- {
1473
- text: 'Sheep',
1474
- value: 'Sheep'
1475
- },
1476
- {
1477
- text: 'More than 50 poultry',
1478
- value: 'More than 50 poultry'
1479
- },
1480
- {
1481
- text: 'Less than 50 poultry or other captive birds',
1482
- value: 'Less than 50 poultry or other captive birds'
1483
- },
1484
- {
1485
- text: 'Racing pigeons',
1486
- value: 'Racing pigeons',
1487
- description: 'Only if racing in the EU or Northern Ireland'
1488
- },
1489
- {
1490
- text: 'Animal by-products',
1491
- value: 'Animal by-products',
1492
- description:
1493
- 'For example, hides and skins from slaughterhouses, processed animal proteins, carcasses '
1494
- }
1495
- ]
1496
- },
1497
- {
1498
- title: 'business a market, showground or zoo',
1499
- name: 'rieXPV',
1500
- type: 'string',
1501
- items: [
1502
- {
1503
- text: 'Market',
1504
- value: 'Market'
1505
- },
1506
- {
1507
- text: 'Showground',
1508
- value: 'Showground'
1509
- },
1510
- {
1511
- text: 'Zoo',
1512
- value: 'Zoo'
1513
- },
1514
- {
1515
- text: 'None of the above',
1516
- value: 'None of the above'
1517
- }
1518
- ]
1519
- },
1520
- {
1521
- title: "National Grid field number for where you'll keep livestock",
1522
- name: 'OxfbRE',
1523
- type: 'string',
1524
- items: [
1525
- {
1526
- text: 'pet owner, this might be a back yard, garden or piece of land attached to your house',
1527
- value:
1528
- 'pet owner, this might be a back yard, garden or piece of land attached to your house'
1529
- },
1530
- {
1531
- text: 'hobby livestock keeper, this might be a community allotment, back yard or a piece of of land you own',
1532
- value:
1533
- 'hobby livestock keeper, this might be a community allotment, back yard or a piece of of land you own'
1534
- },
1535
- {
1536
- text: 'professional livestock keeper or farmer, this would be the gathering point on your farm yard or main field',
1537
- value:
1538
- 'professional livestock keeper or farmer, this would be the gathering point on your farm yard or main field'
1539
- }
1540
- ]
1541
- },
1542
- {
1543
- title: 'Country',
1544
- name: 'oNaqxb',
1545
- type: 'string',
1546
- items: [
1547
- {
1548
- text: 'England',
1549
- value: 'England'
1550
- },
1551
- {
1552
- text: 'Northern Ireland',
1553
- value: 'Northern Ireland'
1554
- },
1555
- {
1556
- text: 'Scotland',
1557
- value: 'Scotland'
1558
- },
1559
- {
1560
- text: 'Wales',
1561
- value: 'Wales'
1562
- }
1563
- ]
1564
- },
1565
- {
1566
- title: 'Hobbyist or business',
1567
- name: 'IGZhBB',
1568
- type: 'string',
1569
- items: [
1570
- {
1571
- text: "I'm a hobbyist keeper",
1572
- value: 'Im a hobbyist keeper'
1573
- },
1574
- {
1575
- text: "I'm registering on behalf of a business",
1576
- value: 'Im registering on behalf of a business'
1577
- }
1578
- ]
1579
- },
1580
- {
1581
- title: 'Top 5 legal statuses for businesses',
1582
- name: 'LLfsSM',
1583
- type: 'string',
1584
- items: [
1585
- {
1586
- text: 'Sole trader',
1587
- value: 'Sole trader'
1588
- },
1589
- {
1590
- text: 'Partnership',
1591
- value: 'Partnership'
1592
- },
1593
- {
1594
- text: 'Private limited company (Ltd)',
1595
- value: 'Private limited company Ltd'
1596
- },
1597
- {
1598
- text: 'Limited partnership (LP)',
1599
- value: 'Limited partnership LP'
1600
- },
1601
- {
1602
- text: 'Charitable trust',
1603
- value: 'Charitable trust'
1604
- },
1605
- {
1606
- text: 'Something else',
1607
- value: 'Something else'
1608
- }
1609
- ]
1610
- },
1611
- {
1612
- title: 'Less used legal statuses for businesses',
1613
- name: 'dfccAs',
1614
- type: 'string',
1615
- items: [
1616
- {
1617
- text: 'Charitable incorporated organisation (CIO)',
1618
- value: 'Charitable incorporated organisation CIO'
1619
- },
1620
- {
1621
- text: 'Community interest company (CIC)',
1622
- value: 'Community interest company CIC'
1623
- },
1624
- {
1625
- text: 'Limited liability partnership (LLP)',
1626
- value: 'Limited liability partnership LLP'
1627
- },
1628
- {
1629
- text: 'Government (local)',
1630
- value: 'Government local'
1631
- },
1632
- {
1633
- text: 'Public limited company (PLC)',
1634
- value: 'Public limited company PLC'
1635
- },
1636
- {
1637
- text: 'The Crown',
1638
- value: 'The Crown'
1639
- },
1640
- {
1641
- text: 'Non-UK company',
1642
- value: 'Non-UK company'
1643
- },
1644
- {
1645
- text: 'Unlimited company (Ultd)',
1646
- value: 'Unlimited company Ultd'
1647
- },
1648
- {
1649
- text: 'Government (central)',
1650
- value: 'Government central'
1651
- }
1652
- ]
1653
- },
1654
- {
1655
- title: 'Top 5 business types',
1656
- name: 'kMOALL',
1657
- type: 'string',
1658
- items: [
1659
- {
1660
- text: 'Farmer',
1661
- value: 'Farmer'
1662
- },
1663
- {
1664
- text: 'Professional livestock keeper',
1665
- value: 'Professional livestock keeper'
1666
- },
1667
- {
1668
- text: 'Meat industry',
1669
- value: 'Meat industry'
1670
- },
1671
- {
1672
- text: 'Land manager',
1673
- value: 'Land manager'
1674
- },
1675
- {
1676
- text: 'Education provider or trainer',
1677
- value: 'Education provider or trainer'
1678
- },
1679
- {
1680
- text: 'Something else',
1681
- value: 'Something else'
1682
- }
1683
- ]
1684
- },
1685
- {
1686
- title: 'Lesser used business types',
1687
- name: 'IOxAAj',
1688
- type: 'string',
1689
- items: [
1690
- {
1691
- text: 'Forestry or woodland owner',
1692
- value: 'Forestry or woodland owner'
1693
- },
1694
- {
1695
- text: 'Tourism',
1696
- value: 'Tourism'
1697
- },
1698
- {
1699
- text: 'Rural community, voluntary or third sector organisation',
1700
- value: 'Rural community, voluntary or third sector organisation'
1701
- },
1702
- {
1703
- text: 'Horticultural business',
1704
- value: 'Horticultural business'
1705
- },
1706
- {
1707
- text: 'Trader only organisation',
1708
- value: 'Trader only organisation'
1709
- },
1710
- {
1711
- text: 'Intervention or private storage',
1712
- value: 'Intervention or private storage'
1713
- },
1714
- {
1715
- text: 'Central or local government',
1716
- value: 'Central or local government'
1717
- },
1718
- {
1719
- text: 'Commons or graziers association',
1720
- value: 'Commons or graziers association'
1721
- },
1722
- {
1723
- text: 'Leader group',
1724
- value: 'Leader group'
1725
- },
1726
- {
1727
- text: 'Other',
1728
- value: 'Other'
1729
- }
1730
- ]
1731
- }
1732
- ],
1733
- sections: [
1734
- {
1735
- title: 'Contact details',
1736
- name: 'dhpiZu',
1737
- hideTitle: true
1738
- }
1739
- ],
1740
- conditions: [
1741
- {
1742
- displayName: 'livestock only',
1743
- name: 'HkZPxJ',
1744
- value: {
1745
- name: 'livestock only',
1746
- conditions: [
1747
- {
1748
- field: {
1749
- name: 'iXwGcW',
1750
- type: ComponentType.RadiosField,
1751
- display: 'What do you want to register?'
1752
- },
1753
- operator: OperatorName.Is,
1754
- value: {
1755
- type: ConditionType.Value,
1756
- value: 'livestock only',
1757
- display: 'livestock only'
1758
- }
1759
- }
1760
- ]
1761
- }
1762
- },
1763
- {
1764
- displayName: 'livestock and animal by-products',
1765
- name: 'lMZXws',
1766
- value: {
1767
- name: 'livestock and animal by-products',
1768
- conditions: [
1769
- {
1770
- field: {
1771
- name: 'iXwGcW',
1772
- type: ComponentType.RadiosField,
1773
- display: 'What do you want to register?'
1774
- },
1775
- operator: OperatorName.Is,
1776
- value: {
1777
- type: ConditionType.Value,
1778
- value: 'livestock and animal by-products',
1779
- display: 'livestock and animal by-products'
1780
- }
1781
- }
1782
- ]
1783
- }
1784
- },
1785
- {
1786
- displayName: 'animal by-products only',
1787
- name: 'uiTSgY',
1788
- value: {
1789
- name: 'animal by-products only',
1790
- conditions: [
1791
- {
1792
- field: {
1793
- name: 'iXwGcW',
1794
- type: ComponentType.RadiosField,
1795
- display: 'What do you want to register?'
1796
- },
1797
- operator: OperatorName.Is,
1798
- value: {
1799
- type: ConditionType.Value,
1800
- value: 'animal by-products only',
1801
- display: 'animal by-products only'
1802
- }
1803
- }
1804
- ]
1805
- }
1806
- },
1807
- {
1808
- displayName: 'Business address is not the same as home address',
1809
- name: 'BpTXyI',
1810
- value: {
1811
- name: 'Business address is not the same as home address',
1812
- conditions: [
1813
- {
1814
- field: {
1815
- name: 'CMTiOK',
1816
- type: ComponentType.YesNoField,
1817
- display: 'Is your business address the same as your home address?'
1818
- },
1819
- operator: OperatorName.Is,
1820
- value: {
1821
- type: ConditionType.Value,
1822
- value: 'false',
1823
- display: 'false'
1824
- }
1825
- }
1826
- ]
1827
- }
1828
- },
1829
- {
1830
- displayName:
1831
- "Does not contain 'Other or my business uses animal by-products'",
1832
- name: 'TngqpM',
1833
- value: {
1834
- name: "Does not contain 'Other or my business uses animal by-products'",
1835
- conditions: [
1836
- {
1837
- field: {
1838
- name: 'livestock-keep',
1839
- type: ComponentType.CheckboxesField,
1840
- display: 'What livestock do you keep?'
1841
- },
1842
- operator: OperatorName.DoesNotContain,
1843
- value: {
1844
- type: ConditionType.Value,
1845
- value: 'Other or my business uses animal by-products',
1846
- display: 'Other or my business uses animal by-products'
1847
- }
1848
- }
1849
- ]
1850
- }
1851
- },
1852
- {
1853
- displayName: 'No - will not keep livestock at business address',
1854
- name: 'FoYTFn',
1855
- value: {
1856
- name: 'No - will not keep livestock at business address',
1857
- conditions: [
1858
- {
1859
- field: {
1860
- name: 'QcfaVC',
1861
- type: ComponentType.YesNoField,
1862
- display:
1863
- 'Will you keep livestock or use animal by-products at your home address?'
1864
- },
1865
- operator: OperatorName.Is,
1866
- value: {
1867
- type: ConditionType.Value,
1868
- value: 'false',
1869
- display: 'false'
1870
- }
1871
- }
1872
- ]
1873
- }
1874
- },
1875
- {
1876
- displayName:
1877
- 'No - Will you keep livestock or use animal by-products anywhere else?',
1878
- name: 'qLowJn',
1879
- value: {
1880
- name: 'No - Will you keep livestock or use animal by-products anywhere else?',
1881
- conditions: [
1882
- {
1883
- field: {
1884
- name: 'MBoevI',
1885
- type: ComponentType.YesNoField,
1886
- display:
1887
- 'Will you keep livestock or use animal by-products anywhere else?'
1888
- },
1889
- operator: OperatorName.Is,
1890
- value: {
1891
- type: ConditionType.Value,
1892
- value: 'false',
1893
- display: 'false'
1894
- }
1895
- }
1896
- ]
1897
- }
1898
- },
1899
- {
1900
- displayName: 'No - will not keep livestock at home address',
1901
- name: 'jxSqwt',
1902
- value: {
1903
- name: 'No - will not keep livestock at home address',
1904
- conditions: [
1905
- {
1906
- field: {
1907
- name: 'QcfaVC',
1908
- type: ComponentType.YesNoField,
1909
- display:
1910
- 'Will you keep livestock or use animal by-products at your home address?'
1911
- },
1912
- operator: OperatorName.Is,
1913
- value: {
1914
- type: ConditionType.Value,
1915
- value: 'false',
1916
- display: 'false'
1917
- }
1918
- }
1919
- ]
1920
- }
1921
- },
1922
- {
1923
- displayName: 'Yes - will keep livestock at business address',
1924
- name: 'BStxIv',
1925
- value: {
1926
- name: 'Yes - will keep livestock at business address',
1927
- conditions: [
1928
- {
1929
- field: {
1930
- name: 'RiEsSm',
1931
- type: ComponentType.YesNoField,
1932
- display:
1933
- 'Will you keep livestock or use animal by-products at your business address?'
1934
- },
1935
- operator: OperatorName.Is,
1936
- value: {
1937
- type: ConditionType.Value,
1938
- value: 'true',
1939
- display: 'true'
1940
- }
1941
- }
1942
- ]
1943
- }
1944
- },
1945
- {
1946
- displayName: 'No - do not own the land',
1947
- name: 'yTTblu',
1948
- value: {
1949
- name: 'No - do not own the land',
1950
- conditions: [
1951
- {
1952
- field: {
1953
- name: 'rOgnUv',
1954
- type: ComponentType.YesNoField,
1955
- display: 'Do you own the land?'
1956
- },
1957
- operator: OperatorName.Is,
1958
- value: {
1959
- type: ConditionType.Value,
1960
- value: 'false',
1961
- display: 'false'
1962
- }
1963
- }
1964
- ]
1965
- }
1966
- },
1967
- {
1968
- displayName: 'Yes - the landowner has a CPH number for the land',
1969
- name: 'pOUOIi',
1970
- value: {
1971
- name: 'Yes - the landowner has a CPH number for the land',
1972
- conditions: [
1973
- {
1974
- field: {
1975
- name: 'qLmGSL',
1976
- type: ComponentType.YesNoField,
1977
- display: 'Is your tenancy agreement for more than one year?'
1978
- },
1979
- operator: OperatorName.Is,
1980
- value: {
1981
- type: ConditionType.Value,
1982
- value: 'true',
1983
- display: 'true'
1984
- }
1985
- }
1986
- ]
1987
- }
1988
- },
1989
- {
1990
- displayName: 'Yes - tenancy agreement is for more than one year',
1991
- name: 'jHDHJK',
1992
- value: {
1993
- name: 'Yes - tenancy agreement is for more than one year',
1994
- conditions: [
1995
- {
1996
- field: {
1997
- name: 'qLmGSL',
1998
- type: ComponentType.YesNoField,
1999
- display: 'Is your tenancy agreement for more than one year?'
2000
- },
2001
- operator: OperatorName.Is,
2002
- value: {
2003
- type: ConditionType.Value,
2004
- value: 'true',
2005
- display: 'true'
2006
- }
2007
- }
2008
- ]
2009
- }
2010
- },
2011
- {
2012
- displayName: 'No - tenancy agreement is not for more than one year',
2013
- name: 'WgVJGi',
2014
- value: {
2015
- name: 'No - tenancy agreement is not for more than one year',
2016
- conditions: [
2017
- {
2018
- field: {
2019
- name: 'qLmGSL',
2020
- type: ComponentType.YesNoField,
2021
- display: 'Is your tenancy agreement for more than one year?'
2022
- },
2023
- operator: OperatorName.Is,
2024
- value: {
2025
- type: ConditionType.Value,
2026
- value: 'false',
2027
- display: 'false'
2028
- }
2029
- }
2030
- ]
2031
- }
2032
- },
2033
- {
2034
- displayName: 'Yes - own the land',
2035
- name: 'VtzzTR',
2036
- value: {
2037
- name: 'Yes - own the land',
2038
- conditions: [
2039
- {
2040
- field: {
2041
- name: 'rOgnUv',
2042
- type: ComponentType.YesNoField,
2043
- display: 'Do you own the land?'
2044
- },
2045
- operator: OperatorName.Is,
2046
- value: {
2047
- type: ConditionType.Value,
2048
- value: 'true',
2049
- display: 'true'
2050
- }
2051
- }
2052
- ]
2053
- }
2054
- },
2055
- {
2056
- displayName: 'No - not registered with Companies House',
2057
- name: 'GhOaqI',
2058
- value: {
2059
- name: 'No - not registered with Companies House',
2060
- conditions: [
2061
- {
2062
- field: {
2063
- name: 'rJIKfO',
2064
- type: ComponentType.YesNoField,
2065
- display: 'Is your business registered with Companies House?'
2066
- },
2067
- operator: OperatorName.Is,
2068
- value: {
2069
- type: ConditionType.Value,
2070
- value: 'false',
2071
- display: 'false'
2072
- }
2073
- }
2074
- ]
2075
- }
2076
- },
2077
- {
2078
- displayName: 'No - not registered with the Charity Commission',
2079
- name: 'cGDdyD',
2080
- value: {
2081
- name: 'No - not registered with the Charity Commission',
2082
- conditions: [
2083
- {
2084
- field: {
2085
- name: 'DRrBSz',
2086
- type: ComponentType.YesNoField,
2087
- display: 'Is your charity registered with the Charity Commission?'
2088
- },
2089
- operator: OperatorName.Is,
2090
- value: {
2091
- type: ConditionType.Value,
2092
- value: 'false',
2093
- display: 'false'
2094
- }
2095
- }
2096
- ]
2097
- }
2098
- },
2099
- {
2100
- displayName: 'Must have a charity number',
2101
- name: 'HhHvCo',
2102
- value: {
2103
- name: 'Must have a charity number',
2104
- conditions: [
2105
- {
2106
- field: {
2107
- name: 'yHQAol',
2108
- type: ComponentType.RadiosField,
2109
- display: 'Business legal status'
2110
- },
2111
- operator: OperatorName.Is,
2112
- value: {
2113
- type: ConditionType.Value,
2114
- value: 'Charitable trust',
2115
- display: 'Charitable trust'
2116
- }
2117
- }
2118
- ]
2119
- }
2120
- },
2121
- {
2122
- name: 'PxBtNC',
2123
- displayName: 'Not a business (Applying on behalf of a business)',
2124
- value: {
2125
- name: 'Not a business (Applying on behalf of a business)',
2126
- conditions: [
2127
- {
2128
- field: {
2129
- name: 'mSqqmJ',
2130
- type: ComponentType.YesNoField,
2131
- display: 'Applying on behalf of a business'
2132
- },
2133
- operator: OperatorName.Is,
2134
- value: {
2135
- type: ConditionType.Value,
2136
- value: 'false',
2137
- display: 'No'
2138
- }
2139
- }
2140
- ]
2141
- }
2142
- },
2143
- {
2144
- name: 'WHxsFL',
2145
- displayName: 'Northern Ireland, Scotland or Wales',
2146
- value: {
2147
- name: 'Northern Ireland, Scotland or Wales',
2148
- conditions: [
2149
- {
2150
- field: {
2151
- name: 'aYjRCZ',
2152
- type: ComponentType.RadiosField,
2153
- display: 'Country where you will keep livestock'
2154
- },
2155
- operator: OperatorName.Is,
2156
- value: {
2157
- type: ConditionType.Value,
2158
- value: 'Scotland',
2159
- display: 'Scotland'
2160
- }
2161
- },
2162
- {
2163
- coordinator: Coordinator.OR,
2164
- field: {
2165
- name: 'aYjRCZ',
2166
- type: ComponentType.RadiosField,
2167
- display: 'Country where you will keep livestock'
2168
- },
2169
- operator: OperatorName.Is,
2170
- value: {
2171
- type: ConditionType.Value,
2172
- value: 'Wales',
2173
- display: 'Wales'
2174
- }
2175
- },
2176
- {
2177
- coordinator: Coordinator.OR,
2178
- field: {
2179
- name: 'aYjRCZ',
2180
- type: ComponentType.RadiosField,
2181
- display: 'Country where you will keep livestock'
2182
- },
2183
- operator: OperatorName.Is,
2184
- value: {
2185
- type: ConditionType.Value,
2186
- value: 'Northern Ireland',
2187
- display: 'Northern Ireland'
2188
- }
2189
- }
2190
- ]
2191
- }
2192
- },
2193
- {
2194
- name: 'KzDEBv',
2195
- displayName: 'Contains animal by-products',
2196
- value: {
2197
- name: 'Contains animal by-products',
2198
- conditions: [
2199
- {
2200
- field: {
2201
- name: 'vumpmr',
2202
- type: ComponentType.CheckboxesField,
2203
- display: 'Livestock that you keep'
2204
- },
2205
- operator: OperatorName.Contains,
2206
- value: {
2207
- type: ConditionType.Value,
2208
- value: 'Animal by-products',
2209
- display: 'Animal by-products'
2210
- }
2211
- }
2212
- ]
2213
- }
2214
- },
2215
- {
2216
- name: 'SmRHwO',
2217
- displayName: 'Hobbyist',
2218
- value: {
2219
- name: 'Hobbyist',
2220
- conditions: [
2221
- {
2222
- field: {
2223
- name: 'FsSpLA',
2224
- type: ComponentType.RadiosField,
2225
- display: 'Are you a hobbyist keeper or a business?'
2226
- },
2227
- operator: OperatorName.Is,
2228
- value: {
2229
- type: ConditionType.Value,
2230
- value: 'Im a hobbyist keeper',
2231
- display: "I'm a hobbyist keeper"
2232
- }
2233
- }
2234
- ]
2235
- }
2236
- },
2237
- {
2238
- name: 'NqsUxW',
2239
- displayName: 'Business legal status is something else',
2240
- value: {
2241
- name: 'Business legal status is something else',
2242
- conditions: [
2243
- {
2244
- field: {
2245
- name: 'yHQAol',
2246
- type: ComponentType.RadiosField,
2247
- display: 'Business legal status'
2248
- },
2249
- operator: OperatorName.Is,
2250
- value: {
2251
- type: ConditionType.Value,
2252
- value: 'Something else',
2253
- display: 'Something else'
2254
- }
2255
- }
2256
- ]
2257
- }
2258
- },
2259
- {
2260
- name: 'aEAQKS',
2261
- displayName: 'Is Charitable incorporated organisation (CIO)',
2262
- value: {
2263
- name: 'Is Charitable incorporated organisation (CIO)',
2264
- conditions: [
2265
- {
2266
- field: {
2267
- name: 'MfzkDz',
2268
- type: ComponentType.RadiosField,
2269
- display: 'Business legal status: something else'
2270
- },
2271
- operator: OperatorName.Is,
2272
- value: {
2273
- type: ConditionType.Value,
2274
- value: 'Charitable incorporated organisation CIO',
2275
- display: 'Charitable incorporated organisation (CIO)'
2276
- }
2277
- }
2278
- ]
2279
- }
2280
- },
2281
- {
2282
- name: 'mLnJPE',
2283
- displayName: 'Main business type is something else',
2284
- value: {
2285
- name: 'Main business type is something else',
2286
- conditions: [
2287
- {
2288
- field: {
2289
- name: 'AoofuF',
2290
- type: ComponentType.RadiosField,
2291
- display: 'Business type'
2292
- },
2293
- operator: OperatorName.Is,
2294
- value: {
2295
- type: ConditionType.Value,
2296
- value: 'Something else',
2297
- display: 'Something else'
2298
- }
2299
- }
2300
- ]
2301
- }
2302
- },
2303
- {
2304
- name: 'tEkhIS',
2305
- displayName: 'Other business type',
2306
- value: {
2307
- name: 'Other business type',
2308
- conditions: [
2309
- {
2310
- field: {
2311
- name: 'luoxoh',
2312
- type: ComponentType.RadiosField,
2313
- display: 'Main purpose of your business: something else'
2314
- },
2315
- operator: OperatorName.Is,
2316
- value: {
2317
- type: ConditionType.Value,
2318
- value: 'Other',
2319
- display: 'Other'
2320
- }
2321
- }
2322
- ]
2323
- }
2324
- },
2325
- {
2326
- name: 'fLLefX',
2327
- displayName: 'Yes - already registered with RPA',
2328
- value: {
2329
- name: 'Yes - already registered with RPA',
2330
- conditions: [
2331
- {
2332
- field: {
2333
- name: 'zcjEtV',
2334
- type: ComponentType.YesNoField,
2335
- display: 'Registered with the Rural Payments Agency'
2336
- },
2337
- operator: OperatorName.Is,
2338
- value: {
2339
- type: ConditionType.Value,
2340
- value: 'true',
2341
- display: 'Yes'
2342
- }
2343
- }
2344
- ]
2345
- }
2346
- },
2347
- {
2348
- name: 'dfoUtU',
2349
- displayName: 'Less than 50 birds',
2350
- value: {
2351
- name: 'Less than 50 birds',
2352
- conditions: [
2353
- {
2354
- field: {
2355
- name: 'vumpmr',
2356
- type: ComponentType.CheckboxesField,
2357
- display: 'Livestock that you keep'
2358
- },
2359
- operator: OperatorName.Contains,
2360
- value: {
2361
- type: ConditionType.Value,
2362
- value: 'Less than 50 poultry or other captive birds',
2363
- display: 'Less than 50 poultry or other captive birds'
2364
- }
2365
- },
2366
- {
2367
- coordinator: Coordinator.AND,
2368
- field: {
2369
- name: 'vumpmr',
2370
- type: ComponentType.CheckboxesField,
2371
- display: 'Livestock that you keep'
2372
- },
2373
- operator: OperatorName.DoesNotContain,
2374
- value: {
2375
- type: ConditionType.Value,
2376
- value: 'Cattle',
2377
- display: 'Cattle'
2378
- }
2379
- },
2380
- {
2381
- coordinator: Coordinator.AND,
2382
- field: {
2383
- name: 'vumpmr',
2384
- type: ComponentType.CheckboxesField,
2385
- display: 'Livestock that you keep'
2386
- },
2387
- operator: OperatorName.DoesNotContain,
2388
- value: {
2389
- type: ConditionType.Value,
2390
- value: 'Sheep',
2391
- display: 'Sheep'
2392
- }
2393
- },
2394
- {
2395
- coordinator: Coordinator.AND,
2396
- field: {
2397
- name: 'vumpmr',
2398
- type: ComponentType.CheckboxesField,
2399
- display: 'Livestock that you keep'
2400
- },
2401
- operator: OperatorName.DoesNotContain,
2402
- value: {
2403
- type: ConditionType.Value,
2404
- value: 'Goats',
2405
- display: 'Goats'
2406
- }
2407
- },
2408
- {
2409
- coordinator: Coordinator.AND,
2410
- field: {
2411
- name: 'vumpmr',
2412
- type: ComponentType.CheckboxesField,
2413
- display: 'Livestock that you keep'
2414
- },
2415
- operator: OperatorName.DoesNotContain,
2416
- value: {
2417
- type: ConditionType.Value,
2418
- value: 'Pigs',
2419
- display: 'Pigs'
2420
- }
2421
- },
2422
- {
2423
- coordinator: Coordinator.AND,
2424
- field: {
2425
- name: 'vumpmr',
2426
- type: ComponentType.CheckboxesField,
2427
- display: 'Livestock that you keep'
2428
- },
2429
- operator: OperatorName.DoesNotContain,
2430
- value: {
2431
- type: ConditionType.Value,
2432
- value: 'Deer',
2433
- display: 'Deer'
2434
- }
2435
- },
2436
- {
2437
- coordinator: Coordinator.AND,
2438
- field: {
2439
- name: 'vumpmr',
2440
- type: ComponentType.CheckboxesField,
2441
- display: 'Livestock that you keep'
2442
- },
2443
- operator: OperatorName.DoesNotContain,
2444
- value: {
2445
- type: ConditionType.Value,
2446
- value: 'More than 50 birds',
2447
- display: 'More than 50 birds'
2448
- }
2449
- },
2450
- {
2451
- coordinator: Coordinator.AND,
2452
- field: {
2453
- name: 'vumpmr',
2454
- type: ComponentType.CheckboxesField,
2455
- display: 'Livestock that you keep'
2456
- },
2457
- operator: OperatorName.DoesNotContain,
2458
- value: {
2459
- type: ConditionType.Value,
2460
- value: 'Animal by-products',
2461
- display: 'Animal by-products'
2462
- }
2463
- },
2464
- {
2465
- coordinator: Coordinator.AND,
2466
- field: {
2467
- name: 'vumpmr',
2468
- type: ComponentType.CheckboxesField,
2469
- display: 'Livestock that you keep'
2470
- },
2471
- operator: OperatorName.DoesNotContain,
2472
- value: {
2473
- type: ConditionType.Value,
2474
- value: 'Camelids ',
2475
- display: 'Camelids '
2476
- }
2477
- },
2478
- {
2479
- coordinator: Coordinator.OR,
2480
- field: {
2481
- name: 'vumpmr',
2482
- type: ComponentType.CheckboxesField,
2483
- display: 'Livestock that you keep'
2484
- },
2485
- operator: OperatorName.Contains,
2486
- value: {
2487
- type: ConditionType.Value,
2488
- value: 'Racing pigeons',
2489
- display: 'Racing pigeons'
2490
- }
2491
- }
2492
- ]
2493
- }
2494
- },
2495
- {
2496
- name: 'Mofdix',
2497
- displayName:
2498
- 'Does not need a charity number or Companies house number and is not something else',
2499
- value: {
2500
- name: 'Does not need a charity number or Companies house number and is not something else',
2501
- conditions: [
2502
- {
2503
- field: {
2504
- name: 'yHQAol',
2505
- type: ComponentType.RadiosField,
2506
- display: 'Business legal status'
2507
- },
2508
- operator: OperatorName.Is,
2509
- value: {
2510
- type: ConditionType.Value,
2511
- value: 'Sole trader',
2512
- display: 'Sole trader'
2513
- }
2514
- },
2515
- {
2516
- coordinator: Coordinator.OR,
2517
- field: {
2518
- name: 'yHQAol',
2519
- type: ComponentType.RadiosField,
2520
- display: 'Business legal status'
2521
- },
2522
- operator: OperatorName.Is,
2523
- value: {
2524
- type: ConditionType.Value,
2525
- value: 'Partnership',
2526
- display: 'Partnership'
2527
- }
2528
- }
2529
- ]
2530
- }
2531
- },
2532
- {
2533
- name: 'ZEZlNG',
2534
- displayName: 'Yes - business has a second contact',
2535
- value: {
2536
- name: 'Yes - business has a second contact',
2537
- conditions: [
2538
- {
2539
- field: {
2540
- name: 'iszBCF',
2541
- type: ComponentType.YesNoField,
2542
- display: 'Business has a second contact'
2543
- },
2544
- operator: OperatorName.Is,
2545
- value: {
2546
- type: ConditionType.Value,
2547
- value: 'true',
2548
- display: 'Yes'
2549
- }
2550
- }
2551
- ]
2552
- }
2553
- },
2554
- {
2555
- name: 'oKXMlf',
2556
- displayName: 'Business type is not sole trader',
2557
- value: {
2558
- name: 'Business type is not sole trader',
2559
- conditions: [
2560
- {
2561
- field: {
2562
- name: 'yHQAol',
2563
- type: ComponentType.RadiosField,
2564
- display: 'Business legal status'
2565
- },
2566
- operator: OperatorName.IsNot,
2567
- value: {
2568
- type: ConditionType.Value,
2569
- value: 'Sole trader',
2570
- display: 'Sole trader'
2571
- }
2572
- }
2573
- ]
2574
- }
2575
- },
2576
- {
2577
- name: 'jJEMOD',
2578
- displayName: 'Not a business',
2579
- value: {
2580
- name: 'Not a business',
2581
- conditions: [
2582
- {
2583
- field: {
2584
- name: 'FsSpLA',
2585
- type: ComponentType.RadiosField,
2586
- display: 'Are you a hobbyist keeper or a business?'
2587
- },
2588
- operator: OperatorName.Is,
2589
- value: {
2590
- type: ConditionType.Value,
2591
- value: 'Im a hobbyist keeper',
2592
- display: "I'm a hobbyist keeper"
2593
- }
2594
- }
2595
- ]
2596
- }
2597
- },
2598
- {
2599
- name: 'MrMPHC',
2600
- displayName: 'Yes - want to tell us something else',
2601
- value: {
2602
- name: 'Yes - want to tell us something else',
2603
- conditions: [
2604
- {
2605
- field: {
2606
- name: 'ledUEN',
2607
- type: ComponentType.YesNoField,
2608
- display: 'Anything else to tell us'
2609
- },
2610
- operator: OperatorName.Is,
2611
- value: {
2612
- type: ConditionType.Value,
2613
- value: 'true',
2614
- display: 'Yes'
2615
- }
2616
- }
2617
- ]
2618
- }
2619
- },
2620
- {
2621
- name: 'WAdayu',
2622
- displayName: 'Yes - hobbyist keeper wants to add a second contact',
2623
- value: {
2624
- name: 'Yes - hobbyist keeper wants to add a second contact',
2625
- conditions: [
2626
- {
2627
- field: {
2628
- name: 'yQiBlu',
2629
- type: ComponentType.YesNoField,
2630
- display: 'Second contact'
2631
- },
2632
- operator: OperatorName.Is,
2633
- value: {
2634
- type: ConditionType.Value,
2635
- value: 'true',
2636
- display: 'Yes'
2637
- }
2638
- }
2639
- ]
2640
- }
2641
- },
2642
- {
2643
- name: 'aCslEZ',
2644
- displayName: 'is hobbyist keeper',
2645
- value: {
2646
- name: 'is hobbyist keeper',
2647
- conditions: [
2648
- {
2649
- field: {
2650
- name: 'FsSpLA',
2651
- type: ComponentType.RadiosField,
2652
- display: 'Are you a hobbyist keeper or a business?'
2653
- },
2654
- operator: OperatorName.Is,
2655
- value: {
2656
- type: ConditionType.Value,
2657
- value: 'Im a hobbyist keeper',
2658
- display: "I'm a hobbyist keeper"
2659
- }
2660
- }
2661
- ]
2662
- }
2663
- },
2664
- {
2665
- name: 'oQKstF',
2666
- displayName: 'Livestock not within 6 weeks',
2667
- value: {
2668
- name: 'Livestock not within 6 weeks',
2669
- conditions: [
2670
- {
2671
- field: {
2672
- name: 'uogTBM',
2673
- type: ComponentType.DatePartsField,
2674
- display:
2675
- 'What date will the livestock or animal by-products arrive?'
2676
- },
2677
- operator: OperatorName.IsMoreThan,
2678
- value: {
2679
- type: ConditionType.RelativeDate,
2680
- period: '56',
2681
- unit: DateUnits.DAYS,
2682
- direction: DateDirections.FUTURE
2683
- }
2684
- }
2685
- ]
2686
- }
2687
- },
2688
- {
2689
- name: 'OFokTY',
2690
- displayName: 'Racing pigeons only',
2691
- value: {
2692
- name: 'Racing pigeons only',
2693
- conditions: [
2694
- {
2695
- field: {
2696
- name: 'vumpmr',
2697
- type: ComponentType.CheckboxesField,
2698
- display: 'Livestock that you keep'
2699
- },
2700
- operator: OperatorName.DoesNotContain,
2701
- value: {
2702
- type: ConditionType.Value,
2703
- value: 'Cattle',
2704
- display: 'Cattle'
2705
- }
2706
- },
2707
- {
2708
- coordinator: Coordinator.AND,
2709
- field: {
2710
- name: 'vumpmr',
2711
- type: ComponentType.CheckboxesField,
2712
- display: 'Livestock that you keep'
2713
- },
2714
- operator: OperatorName.DoesNotContain,
2715
- value: {
2716
- type: ConditionType.Value,
2717
- value: 'Camelids ',
2718
- display: 'Camelids '
2719
- }
2720
- },
2721
- {
2722
- coordinator: Coordinator.AND,
2723
- field: {
2724
- name: 'vumpmr',
2725
- type: ComponentType.CheckboxesField,
2726
- display: 'Livestock that you keep'
2727
- },
2728
- operator: OperatorName.DoesNotContain,
2729
- value: {
2730
- type: ConditionType.Value,
2731
- value: 'Deer',
2732
- display: 'Deer'
2733
- }
2734
- },
2735
- {
2736
- coordinator: Coordinator.AND,
2737
- field: {
2738
- name: 'vumpmr',
2739
- type: ComponentType.CheckboxesField,
2740
- display: 'Livestock that you keep'
2741
- },
2742
- operator: OperatorName.DoesNotContain,
2743
- value: {
2744
- type: ConditionType.Value,
2745
- value: 'Goats',
2746
- display: 'Goats'
2747
- }
2748
- },
2749
- {
2750
- coordinator: Coordinator.AND,
2751
- field: {
2752
- name: 'vumpmr',
2753
- type: ComponentType.CheckboxesField,
2754
- display: 'Livestock that you keep'
2755
- },
2756
- operator: OperatorName.DoesNotContain,
2757
- value: {
2758
- type: ConditionType.Value,
2759
- value: 'Pigs',
2760
- display: 'Pigs'
2761
- }
2762
- },
2763
- {
2764
- coordinator: Coordinator.AND,
2765
- field: {
2766
- name: 'vumpmr',
2767
- type: ComponentType.CheckboxesField,
2768
- display: 'Livestock that you keep'
2769
- },
2770
- operator: OperatorName.DoesNotContain,
2771
- value: {
2772
- type: ConditionType.Value,
2773
- value: 'Sheep',
2774
- display: 'Sheep'
2775
- }
2776
- },
2777
- {
2778
- coordinator: Coordinator.AND,
2779
- field: {
2780
- name: 'vumpmr',
2781
- type: ComponentType.CheckboxesField,
2782
- display: 'Livestock that you keep'
2783
- },
2784
- operator: OperatorName.DoesNotContain,
2785
- value: {
2786
- type: ConditionType.Value,
2787
- value: 'More than 50 poultry',
2788
- display: 'More than 50 poultry'
2789
- }
2790
- },
2791
- {
2792
- coordinator: Coordinator.AND,
2793
- field: {
2794
- name: 'vumpmr',
2795
- type: ComponentType.CheckboxesField,
2796
- display: 'Livestock that you keep'
2797
- },
2798
- operator: OperatorName.DoesNotContain,
2799
- value: {
2800
- type: ConditionType.Value,
2801
- value: 'Animal by-products',
2802
- display: 'Animal by-products'
2803
- }
2804
- },
2805
- {
2806
- coordinator: Coordinator.AND,
2807
- field: {
2808
- name: 'vumpmr',
2809
- type: ComponentType.CheckboxesField,
2810
- display: 'Livestock that you keep'
2811
- },
2812
- operator: OperatorName.Contains,
2813
- value: {
2814
- type: ConditionType.Value,
2815
- value: 'Racing pigeons',
2816
- display: 'Racing pigeons'
2817
- }
2818
- }
2819
- ]
2820
- }
2821
- },
2822
- {
2823
- name: 'yuNJzn',
2824
- displayName:
2825
- 'Less used legal statuses - must have a companies house number',
2826
- value: {
2827
- name: 'Less used legal statuses - must have a companies house number',
2828
- conditions: [
2829
- {
2830
- field: {
2831
- name: 'MfzkDz',
2832
- type: ComponentType.RadiosField,
2833
- display: 'Business legal status: something else'
2834
- },
2835
- operator: OperatorName.Is,
2836
- value: {
2837
- type: ConditionType.Value,
2838
- value: 'Community interest company CIC',
2839
- display: 'Community interest company (CIC)'
2840
- }
2841
- },
2842
- {
2843
- coordinator: Coordinator.OR,
2844
- field: {
2845
- name: 'MfzkDz',
2846
- type: ComponentType.RadiosField,
2847
- display: 'Business legal status: something else'
2848
- },
2849
- operator: OperatorName.Is,
2850
- value: {
2851
- type: ConditionType.Value,
2852
- value: 'Limited liability partnership LLP',
2853
- display: 'Limited liability partnership (LLP)'
2854
- }
2855
- },
2856
- {
2857
- coordinator: Coordinator.OR,
2858
- field: {
2859
- name: 'MfzkDz',
2860
- type: ComponentType.RadiosField,
2861
- display: 'Business legal status: something else'
2862
- },
2863
- operator: OperatorName.Is,
2864
- value: {
2865
- type: ConditionType.Value,
2866
- value: 'Non-UK company',
2867
- display: 'Non-UK company'
2868
- }
2869
- },
2870
- {
2871
- coordinator: Coordinator.OR,
2872
- field: {
2873
- name: 'MfzkDz',
2874
- type: ComponentType.RadiosField,
2875
- display: 'Business legal status: something else'
2876
- },
2877
- operator: OperatorName.Is,
2878
- value: {
2879
- type: ConditionType.Value,
2880
- value: 'Public limited company PLC',
2881
- display: 'Public limited company (PLC)'
2882
- }
2883
- },
2884
- {
2885
- coordinator: Coordinator.OR,
2886
- field: {
2887
- name: 'MfzkDz',
2888
- type: ComponentType.RadiosField,
2889
- display: 'Business legal status: something else'
2890
- },
2891
- operator: OperatorName.Is,
2892
- value: {
2893
- type: ConditionType.Value,
2894
- value: 'Unlimited company Ultd',
2895
- display: 'Unlimited company (Ultd)'
2896
- }
2897
- }
2898
- ]
2899
- }
2900
- },
2901
- {
2902
- name: 'WWZpek',
2903
- displayName: 'Must have a companies house number',
2904
- value: {
2905
- name: 'Must have a companies house number',
2906
- conditions: [
2907
- {
2908
- field: {
2909
- name: 'yHQAol',
2910
- type: ComponentType.RadiosField,
2911
- display: 'Business legal status'
2912
- },
2913
- operator: OperatorName.Is,
2914
- value: {
2915
- type: ConditionType.Value,
2916
- value: 'Private limited company Ltd',
2917
- display: 'Private limited company (Ltd)'
2918
- }
2919
- },
2920
- {
2921
- coordinator: Coordinator.OR,
2922
- field: {
2923
- name: 'yHQAol',
2924
- type: ComponentType.RadiosField,
2925
- display: 'Business legal status'
2926
- },
2927
- operator: OperatorName.Is,
2928
- value: {
2929
- type: ConditionType.Value,
2930
- value: 'Limited partnership LP',
2931
- display: 'Limited partnership (LP)'
2932
- }
2933
- }
2934
- ]
2935
- }
2936
- },
2937
- {
2938
- name: 'VHfpoC',
2939
- displayName: 'Not 18 years old',
2940
- value: {
2941
- name: 'Not 18 years old',
2942
- conditions: [
2943
- {
2944
- field: {
2945
- name: 'JGLmzy',
2946
- type: ComponentType.YesNoField,
2947
- display: '18 or older'
2948
- },
2949
- operator: OperatorName.Is,
2950
- value: {
2951
- type: ConditionType.Value,
2952
- value: 'false',
2953
- display: 'No'
2954
- }
2955
- }
2956
- ]
2957
- }
2958
- },
2959
- {
2960
- name: 'BYIene',
2961
- displayName: 'Less than 50 birds only',
2962
- value: {
2963
- name: 'Less than 50 birds only',
2964
- conditions: [
2965
- {
2966
- field: {
2967
- name: 'vumpmr',
2968
- type: ComponentType.CheckboxesField,
2969
- display: 'Livestock that you keep'
2970
- },
2971
- operator: OperatorName.Contains,
2972
- value: {
2973
- type: ConditionType.Value,
2974
- value: 'Less than 50 poultry or other captive birds',
2975
- display: 'Less than 50 poultry or other captive birds'
2976
- }
2977
- },
2978
- {
2979
- coordinator: Coordinator.AND,
2980
- field: {
2981
- name: 'vumpmr',
2982
- type: ComponentType.CheckboxesField,
2983
- display: 'Livestock that you keep'
2984
- },
2985
- operator: OperatorName.DoesNotContain,
2986
- value: {
2987
- type: ConditionType.Value,
2988
- value: 'Cattle',
2989
- display: 'Cattle'
2990
- }
2991
- },
2992
- {
2993
- coordinator: Coordinator.AND,
2994
- field: {
2995
- name: 'vumpmr',
2996
- type: ComponentType.CheckboxesField,
2997
- display: 'Livestock that you keep'
2998
- },
2999
- operator: OperatorName.DoesNotContain,
3000
- value: {
3001
- type: ConditionType.Value,
3002
- value: 'Camelids ',
3003
- display: 'Camelids '
3004
- }
3005
- },
3006
- {
3007
- coordinator: Coordinator.AND,
3008
- field: {
3009
- name: 'vumpmr',
3010
- type: ComponentType.CheckboxesField,
3011
- display: 'Livestock that you keep'
3012
- },
3013
- operator: OperatorName.DoesNotContain,
3014
- value: {
3015
- type: ConditionType.Value,
3016
- value: 'Deer',
3017
- display: 'Deer'
3018
- }
3019
- },
3020
- {
3021
- coordinator: Coordinator.AND,
3022
- field: {
3023
- name: 'vumpmr',
3024
- type: ComponentType.CheckboxesField,
3025
- display: 'Livestock that you keep'
3026
- },
3027
- operator: OperatorName.DoesNotContain,
3028
- value: {
3029
- type: ConditionType.Value,
3030
- value: 'Goats',
3031
- display: 'Goats'
3032
- }
3033
- },
3034
- {
3035
- coordinator: Coordinator.AND,
3036
- field: {
3037
- name: 'vumpmr',
3038
- type: ComponentType.CheckboxesField,
3039
- display: 'Livestock that you keep'
3040
- },
3041
- operator: OperatorName.DoesNotContain,
3042
- value: {
3043
- type: ConditionType.Value,
3044
- value: 'Pigs',
3045
- display: 'Pigs'
3046
- }
3047
- },
3048
- {
3049
- coordinator: Coordinator.AND,
3050
- field: {
3051
- name: 'vumpmr',
3052
- type: ComponentType.CheckboxesField,
3053
- display: 'Livestock that you keep'
3054
- },
3055
- operator: OperatorName.DoesNotContain,
3056
- value: {
3057
- type: ConditionType.Value,
3058
- value: 'Sheep',
3059
- display: 'Sheep'
3060
- }
3061
- },
3062
- {
3063
- coordinator: Coordinator.AND,
3064
- field: {
3065
- name: 'vumpmr',
3066
- type: ComponentType.CheckboxesField,
3067
- display: 'Livestock that you keep'
3068
- },
3069
- operator: OperatorName.DoesNotContain,
3070
- value: {
3071
- type: ConditionType.Value,
3072
- value: 'More than 50 poultry',
3073
- display: 'More than 50 poultry'
3074
- }
3075
- },
3076
- {
3077
- coordinator: Coordinator.AND,
3078
- field: {
3079
- name: 'vumpmr',
3080
- type: ComponentType.CheckboxesField,
3081
- display: 'Livestock that you keep'
3082
- },
3083
- operator: OperatorName.DoesNotContain,
3084
- value: {
3085
- type: ConditionType.Value,
3086
- value: 'Animal by-products',
3087
- display: 'Animal by-products'
3088
- }
3089
- }
3090
- ]
3091
- }
3092
- }
3093
- ],
3094
- outputEmail: 'cph_online_form@rpa.gov.uk'
3095
- })
3096
-
3097
- /**
3098
- * @import { FormDefinition } from '@defra/forms-model'
3099
- */