metadata_presenter 2.4.1 → 2.4.2

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.
@@ -0,0 +1,493 @@
1
+ {
2
+ "_id": "service.base",
3
+ "_type": "service.base",
4
+ "flow": {
5
+ "cf6dc32f-502c-4215-8c27-1151a45735bb": {
6
+ "_type": "flow.page",
7
+ "next": {
8
+ "default": "68fbb180-9a2a-48f6-9da6-545e28b8d35a"
9
+ }
10
+ },
11
+ "68fbb180-9a2a-48f6-9da6-545e28b8d35a": {
12
+ "_type": "flow.page",
13
+ "next": {
14
+ "default": "e8708909-922e-4eaf-87a5-096f7a713fcb"
15
+ }
16
+ },
17
+ "e8708909-922e-4eaf-87a5-096f7a713fcb": {
18
+ "_type": "flow.page",
19
+ "next": {
20
+ "default": "65a2e01a-57dc-4702-8e41-ed8f9921ac7d"
21
+ }
22
+ },
23
+ "65a2e01a-57dc-4702-8e41-ed8f9921ac7d": {
24
+ "_type": "flow.page",
25
+ "next": {
26
+ "default": "09e91fd9-7a46-4840-adbc-244d545cfef7"
27
+ }
28
+ },
29
+ "09e91fd9-7a46-4840-adbc-244d545cfef7": {
30
+ "_type": "flow.branch",
31
+ "title": "Branching point 1",
32
+ "next": {
33
+ "default": "520fde26-8124-4c67-a550-cd38d2ef304d",
34
+ "conditionals": [
35
+ {
36
+ "_type": "if",
37
+ "next": "37a94466-97fa-427f-88b2-09b369435d0d",
38
+ "expressions": [
39
+ {
40
+ "operator": "is",
41
+ "page": "65a2e01a-57dc-4702-8e41-ed8f9921ac7d",
42
+ "component": "ac41be35-914e-4b22-8683-f5477716b7d4",
43
+ "field": "c5571937-9388-4411-b5fa-34ddf9bc4ca0"
44
+ }
45
+ ]
46
+ }
47
+ ]
48
+ }
49
+ },
50
+ "37a94466-97fa-427f-88b2-09b369435d0d": {
51
+ "_type": "flow.page",
52
+ "next": {
53
+ "default": "e337070b-f636-49a3-a65c-f506675265f0"
54
+ }
55
+ },
56
+ "520fde26-8124-4c67-a550-cd38d2ef304d": {
57
+ "_type": "flow.page",
58
+ "next": {
59
+ "default": "f475d6fd-0ea4-45d5-985e-e1a7c7a5b992"
60
+ }
61
+ },
62
+ "f475d6fd-0ea4-45d5-985e-e1a7c7a5b992": {
63
+ "_type": "flow.page",
64
+ "next": {
65
+ "default": "be130ac1-f33d-4845-807d-89b23b90d205"
66
+ }
67
+ },
68
+ "be130ac1-f33d-4845-807d-89b23b90d205": {
69
+ "_type": "flow.page",
70
+ "next": {
71
+ "default": "2c7deb33-19eb-4569-86d6-462e3d828d87"
72
+ }
73
+ },
74
+ "2c7deb33-19eb-4569-86d6-462e3d828d87": {
75
+ "_type": "flow.page",
76
+ "next": {
77
+ "default": "e337070b-f636-49a3-a65c-f506675265f0"
78
+ }
79
+ },
80
+ "e337070b-f636-49a3-a65c-f506675265f0": {
81
+ "_type": "flow.page",
82
+ "next": {
83
+ "default": "778e364b-9a7f-4829-8eb2-510e08f156a3"
84
+ }
85
+ },
86
+ "778e364b-9a7f-4829-8eb2-510e08f156a3": {
87
+ "_type": "flow.page",
88
+ "next": {
89
+ "default": ""
90
+ }
91
+ }
92
+ },
93
+ "pages": [
94
+ {
95
+ "_id": "page.start",
96
+ "url": "/",
97
+ "body": "Start page body",
98
+ "_type": "page.start",
99
+ "_uuid": "cf6dc32f-502c-4215-8c27-1151a45735bb",
100
+ "heading": "Branching Fixture 6",
101
+ "before_you_start": "Start page before you start"
102
+ },
103
+ {
104
+ "_id": "page.b",
105
+ "url": "page-b",
106
+ "body": "Page B body",
107
+ "lede": "",
108
+ "_type": "page.singlequestion",
109
+ "_uuid": "68fbb180-9a2a-48f6-9da6-545e28b8d35a",
110
+ "heading": "Page B",
111
+ "components": [
112
+ {
113
+ "_id": "page-b_text_1",
114
+ "hint": "",
115
+ "name": "page-b_text_1",
116
+ "_type": "text",
117
+ "_uuid": "509f0dc1-3066-4af3-8bd7-9aef99fdf22e",
118
+ "label": "Page B",
119
+ "errors": {},
120
+ "collection": "components",
121
+ "validation": {
122
+ "required": true,
123
+ "max_length": 20,
124
+ "min_length": 2
125
+ }
126
+ }
127
+ ]
128
+ },
129
+ {
130
+ "_id": "page.c",
131
+ "url": "page-c",
132
+ "body": "Page C body",
133
+ "lede": "",
134
+ "_type": "page.singlequestion",
135
+ "_uuid": "e8708909-922e-4eaf-87a5-096f7a713fcb",
136
+ "heading": "Page C",
137
+ "components": [
138
+ {
139
+ "_id": "page-c_text_1",
140
+ "hint": "",
141
+ "name": "page-c_text_1",
142
+ "_type": "text",
143
+ "_uuid": "fda1e5a1-ed5f-49c9-a943-dc930a520984",
144
+ "label": "Page C",
145
+ "errors": {},
146
+ "collection": "components",
147
+ "validation": {
148
+ "required": true,
149
+ "max_length": 20,
150
+ "min_length": 2
151
+ }
152
+ }
153
+ ]
154
+ },
155
+ {
156
+ "_id": "page.d",
157
+ "url": "page-d",
158
+ "body": "Page D body",
159
+ "lede": "",
160
+ "_type": "page.singlequestion",
161
+ "_uuid": "65a2e01a-57dc-4702-8e41-ed8f9921ac7d",
162
+ "heading": "Page D",
163
+ "components": [
164
+ {
165
+ "_id": "page-d_radios_1",
166
+ "hint": "",
167
+ "name": "page-d_radios_1",
168
+ "_type": "radios",
169
+ "_uuid": "ac41be35-914e-4b22-8683-f5477716b7d4",
170
+ "items": [
171
+ {
172
+ "_id": "page-d_radios_1_item_1",
173
+ "hint": "",
174
+ "name": "page-d_radios_1",
175
+ "_type": "radio",
176
+ "_uuid": "c5571937-9388-4411-b5fa-34ddf9bc4ca0",
177
+ "label": "Item 1",
178
+ "value": "value-1",
179
+ "errors": {},
180
+ "legend": "Item 1",
181
+ "collection": "components",
182
+ "validation": {
183
+ "required": true
184
+ }
185
+ },
186
+ {
187
+ "_id": "page-d_radios_1_item_2",
188
+ "hint": "",
189
+ "name": "page-d_radios_1",
190
+ "_type": "radio",
191
+ "_uuid": "67160ff1-6f7c-43a8-8bf6-49b3d5f450f6",
192
+ "label": "Item 2",
193
+ "value": "value-2",
194
+ "errors": {},
195
+ "legend": "Item 2",
196
+ "collection": "components",
197
+ "validation": {
198
+ "required": true
199
+ }
200
+ },
201
+ {
202
+ "_id": "page-d_radios_1_item_3",
203
+ "hint": "",
204
+ "name": "page-d_radios_1",
205
+ "_type": "radio",
206
+ "_uuid": "ea223fa3-06d0-4111-a7e9-c6b9012d7928",
207
+ "label": "Item 3",
208
+ "value": "value-3",
209
+ "errors": {},
210
+ "legend": "Item 3",
211
+ "collection": "components",
212
+ "validation": {
213
+ "required": true
214
+ }
215
+ }
216
+ ],
217
+ "errors": {},
218
+ "legend": "Page D",
219
+ "collection": "components",
220
+ "validation": {
221
+ "required": true
222
+ }
223
+ }
224
+ ]
225
+ },
226
+ {
227
+ "_id": "page.e",
228
+ "url": "page-e",
229
+ "body": "Page E body",
230
+ "lede": "",
231
+ "_type": "page.singlequestion",
232
+ "_uuid": "37a94466-97fa-427f-88b2-09b369435d0d",
233
+ "heading": "Page E",
234
+ "components": [
235
+ {
236
+ "_id": "page-e_text_1",
237
+ "hint": "",
238
+ "name": "page-e_text_1",
239
+ "_type": "text",
240
+ "_uuid": "d4295f66-7882-4673-bf0e-c9c9b627cb10",
241
+ "label": "Page E",
242
+ "errors": {},
243
+ "collection": "components",
244
+ "validation": {
245
+ "required": true,
246
+ "max_length": 20,
247
+ "min_length": 2
248
+ }
249
+ }
250
+ ]
251
+ },
252
+ {
253
+ "_id": "page.i",
254
+ "url": "page-i",
255
+ "body": "Page I body",
256
+ "lede": "",
257
+ "_type": "page.singlequestion",
258
+ "_uuid": "520fde26-8124-4c67-a550-cd38d2ef304d",
259
+ "heading": "Page I",
260
+ "components": [
261
+ {
262
+ "_id": "page-i_text_1",
263
+ "hint": "",
264
+ "name": "page-i_text_1",
265
+ "_type": "text",
266
+ "_uuid": "ebd99204-0f15-4e6e-a937-c6da30b140f8",
267
+ "label": "Page I",
268
+ "errors": {},
269
+ "collection": "components",
270
+ "validation": {
271
+ "required": true,
272
+ "max_length": 20,
273
+ "min_length": 2
274
+ }
275
+ }
276
+ ]
277
+ },
278
+ {
279
+ "_id": "page.j",
280
+ "url": "page-j",
281
+ "body": "Page J body",
282
+ "lede": "",
283
+ "_type": "page.singlequestion",
284
+ "_uuid": "f475d6fd-0ea4-45d5-985e-e1a7c7a5b992",
285
+ "heading": "Page J",
286
+ "components": [
287
+ {
288
+ "_id": "page-j_radios_1",
289
+ "hint": "",
290
+ "name": "page-j_radios_1",
291
+ "_type": "radios",
292
+ "_uuid": "c2f4ad91-d7ad-4aa9-b7e9-be287a7248d3",
293
+ "items": [
294
+ {
295
+ "_id": "page-j_radios_1_item_1",
296
+ "hint": "",
297
+ "name": "page-j_radios_1",
298
+ "_type": "radio",
299
+ "_uuid": "2e7e602d-e1af-4757-a126-75363fad80f3",
300
+ "label": "Item 1",
301
+ "value": "value-1",
302
+ "errors": {},
303
+ "legend": "Item 1",
304
+ "collection": "components",
305
+ "validation": {
306
+ "required": true
307
+ }
308
+ },
309
+ {
310
+ "_id": "page-j_radios_1_item_2",
311
+ "hint": "",
312
+ "name": "page-j_radios_1",
313
+ "_type": "radio",
314
+ "_uuid": "4548747d-81c0-49a5-b4f1-32291b7c3415",
315
+ "label": "Item 2",
316
+ "value": "value-2",
317
+ "errors": {},
318
+ "legend": "Item 2",
319
+ "collection": "components",
320
+ "validation": {
321
+ "required": true
322
+ }
323
+ }
324
+ ],
325
+ "errors": {},
326
+ "legend": "Page J",
327
+ "collection": "components",
328
+ "validation": {
329
+ "required": true
330
+ }
331
+ }
332
+ ]
333
+ },
334
+ {
335
+ "_id": "page.k",
336
+ "url": "page-k",
337
+ "body": "Page K body",
338
+ "lede": "",
339
+ "_type": "page.singlequestion",
340
+ "_uuid": "be130ac1-f33d-4845-807d-89b23b90d205",
341
+ "heading": "Page K",
342
+ "components": [
343
+ {
344
+ "_id": "page-k_text_1",
345
+ "hint": "",
346
+ "name": "page-k_text_1",
347
+ "_type": "text",
348
+ "_uuid": "ebd99204-0f15-4e6e-a937-c6da30b140f8",
349
+ "label": "Page K",
350
+ "errors": {},
351
+ "collection": "components",
352
+ "validation": {
353
+ "required": true,
354
+ "max_length": 20,
355
+ "min_length": 2
356
+ }
357
+ }
358
+ ]
359
+ },
360
+ {
361
+ "_id": "page.l",
362
+ "url": "page-l",
363
+ "body": "Page L body",
364
+ "lede": "",
365
+ "_type": "page.singlequestion",
366
+ "_uuid": "2c7deb33-19eb-4569-86d6-462e3d828d87",
367
+ "heading": "Page L",
368
+ "components": [
369
+ {
370
+ "_id": "page-l_text_1",
371
+ "hint": "",
372
+ "name": "page-l_text_1",
373
+ "_type": "text",
374
+ "_uuid": "ae38d9b2-e0d9-4f5c-8e38-c8c96b66cad9",
375
+ "label": "Page L",
376
+ "errors": {},
377
+ "collection": "components",
378
+ "validation": {
379
+ "required": true,
380
+ "max_length": 20,
381
+ "min_length": 2
382
+ }
383
+ }
384
+ ]
385
+ },
386
+ {
387
+ "_id": "page.check-answers",
388
+ "url": "check-answers",
389
+ "_type": "page.checkanswers",
390
+ "_uuid": "e337070b-f636-49a3-a65c-f506675265f0",
391
+ "heading": "Check your answers",
392
+ "send_body": "By submitting this application you confirm that, to the best of your knowledge, the details you are providing are correct.",
393
+ "components": [
394
+ {
395
+ "_id": "check-answers_content_2",
396
+ "name": "check-answers_content_2",
397
+ "_type": "content",
398
+ "_uuid": "b065ff4f-90c5-4ba2-b4ac-c984a9dd2470",
399
+ "content": "Take the cannoli.",
400
+ "collection": "components"
401
+ }
402
+ ],
403
+ "send_heading": "Now send your application",
404
+ "add_component": "content",
405
+ "extra_components": [
406
+ {
407
+ "_id": "check-answers_content_1",
408
+ "name": "check-answers_content_1",
409
+ "_type": "content",
410
+ "_uuid": "3e6ef27e-91a6-402f-8291-b7ce669e824e",
411
+ "content": "Check yourself before you wreck yourself.",
412
+ "collection": "extra_components"
413
+ }
414
+ ],
415
+ "add_extra_component": "content"
416
+ },
417
+ {
418
+ "_id": "page.confirmation",
419
+ "url": "confirmation",
420
+ "body": "Some day I will be the most powerful Jedi ever!",
421
+ "lede": "",
422
+ "_type": "page.confirmation",
423
+ "_uuid": "778e364b-9a7f-4829-8eb2-510e08f156a3",
424
+ "heading": "Complaint sent",
425
+ "components": []
426
+ }
427
+ ],
428
+ "locale": "en",
429
+ "created_at": "2021-04-21T13:10:19Z",
430
+ "created_by": "099d5bf5-5f7b-444c-86ee-9e189cc1a369",
431
+ "service_id": "ea3bfb09-fc6d-4464-b025-9d6aadafc593",
432
+ "version_id": "429a8039-75b3-42b8-84dc-230fb371c71d",
433
+ "service_name": "Branching Fixture 6",
434
+ "configuration": {
435
+ "meta": {
436
+ "_id": "config.meta",
437
+ "_type": "config.meta",
438
+ "items": [
439
+ {
440
+ "_id": "config.meta--link",
441
+ "href": "cookies",
442
+ "text": "Cookies",
443
+ "_type": "link"
444
+ },
445
+ {
446
+ "_id": "config.meta--link--2",
447
+ "href": "privacy",
448
+ "text": "Privacy",
449
+ "_type": "link"
450
+ },
451
+ {
452
+ "_id": "config.meta--link--3",
453
+ "href": "accessibility",
454
+ "text": "Accessibility",
455
+ "_type": "link"
456
+ }
457
+ ]
458
+ },
459
+ "service": {
460
+ "_id": "config.service",
461
+ "_type": "config.service"
462
+ }
463
+ },
464
+ "standalone_pages": [
465
+ {
466
+ "_id": "page.cookies",
467
+ "url": "cookies",
468
+ "body": "Cookies body",
469
+ "_type": "page.standalone",
470
+ "_uuid": "fd52e7c0-03f7-4001-ae7e-f2e4142b0ccc",
471
+ "heading": "Cookies",
472
+ "components": []
473
+ },
474
+ {
475
+ "_id": "page.privacy",
476
+ "url": "privacy",
477
+ "body": "Privacy body",
478
+ "_type": "page.standalone",
479
+ "_uuid": "4b86fe8c-7723-4cce-9378-7b2510279e04",
480
+ "heading": "Privacy notice",
481
+ "components": []
482
+ },
483
+ {
484
+ "_id": "page.accessibility",
485
+ "url": "accessibility",
486
+ "body": "Accessibility body",
487
+ "_type": "page.standalone",
488
+ "_uuid": "c439c7fd-f411-4e11-8598-4023934bac93",
489
+ "heading": "Accessibility statement",
490
+ "components": []
491
+ }
492
+ ]
493
+ }
Binary file