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,622 @@
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": "13ecf9bd-5064-4cad-baf8-3dfa091928cb"
54
+ }
55
+ },
56
+ "13ecf9bd-5064-4cad-baf8-3dfa091928cb": {
57
+ "_type": "flow.page",
58
+ "next": {
59
+ "default": "7a561e9f-f4f8-4d2e-a01e-4097fc3ccf1c"
60
+ }
61
+ },
62
+ "7a561e9f-f4f8-4d2e-a01e-4097fc3ccf1c": {
63
+ "_type": "flow.page",
64
+ "next": {
65
+ "default": "e337070b-f636-49a3-a65c-f506675265f0"
66
+ }
67
+ },
68
+ "520fde26-8124-4c67-a550-cd38d2ef304d": {
69
+ "_type": "flow.page",
70
+ "next": {
71
+ "default": "ffadeb22-063b-4e4f-9502-bd753c706b1d"
72
+ }
73
+ },
74
+ "3a584d15-6805-4a21-bc05-b61c3be47857": {
75
+ "_type": "flow.page",
76
+ "next": {
77
+ "default": ""
78
+ }
79
+ },
80
+ "f475d6fd-0ea4-45d5-985e-e1a7c7a5b992": {
81
+ "_type": "flow.page",
82
+ "next": {
83
+ "default": "be130ac1-f33d-4845-807d-89b23b90d205"
84
+ }
85
+ },
86
+ "be130ac1-f33d-4845-807d-89b23b90d205": {
87
+ "_type": "flow.page",
88
+ "next": {
89
+ "default": "2c7deb33-19eb-4569-86d6-462e3d828d87"
90
+ }
91
+ },
92
+ "ffadeb22-063b-4e4f-9502-bd753c706b1d": {
93
+ "_type": "flow.branch",
94
+ "title": "Branching point 2",
95
+ "next": {
96
+ "default": "3a584d15-6805-4a21-bc05-b61c3be47857",
97
+ "conditionals": [
98
+ {
99
+ "_type": "if",
100
+ "next": "13ecf9bd-5064-4cad-baf8-3dfa091928cb",
101
+ "expressions": [
102
+ {
103
+ "operator": "is",
104
+ "page": "65a2e01a-57dc-4702-8e41-ed8f9921ac7d",
105
+ "component": "ac41be35-914e-4b22-8683-f5477716b7d4",
106
+ "field": "c5571937-9388-4411-b5fa-34ddf9bc4ca0"
107
+ }
108
+ ]
109
+ },
110
+ {
111
+ "_type": "if",
112
+ "next": "be130ac1-f33d-4845-807d-89b23b90d205",
113
+ "expressions": [
114
+ {
115
+ "operator": "is",
116
+ "page": "65a2e01a-57dc-4702-8e41-ed8f9921ac7d",
117
+ "component": "ac41be35-914e-4b22-8683-f5477716b7d4",
118
+ "field": "67160ff1-6f7c-43a8-8bf6-49b3d5f450f6"
119
+ }
120
+ ]
121
+ }
122
+ ]
123
+ }
124
+ },
125
+ "2c7deb33-19eb-4569-86d6-462e3d828d87": {
126
+ "_type": "flow.page",
127
+ "next": {
128
+ "default": "e337070b-f636-49a3-a65c-f506675265f0"
129
+ }
130
+ },
131
+ "e337070b-f636-49a3-a65c-f506675265f0": {
132
+ "_type": "flow.page",
133
+ "next": {
134
+ "default": "778e364b-9a7f-4829-8eb2-510e08f156a3"
135
+ }
136
+ },
137
+ "778e364b-9a7f-4829-8eb2-510e08f156a3": {
138
+ "_type": "flow.page",
139
+ "next": {
140
+ "default": ""
141
+ }
142
+ }
143
+ },
144
+ "pages": [
145
+ {
146
+ "_id": "page.start",
147
+ "url": "/",
148
+ "body": "Start page body",
149
+ "_type": "page.start",
150
+ "_uuid": "cf6dc32f-502c-4215-8c27-1151a45735bb",
151
+ "heading": "Branching Fixture 4",
152
+ "before_you_start": "Start page before you start"
153
+ },
154
+ {
155
+ "_id": "page.b",
156
+ "url": "page-b",
157
+ "body": "Page B body",
158
+ "lede": "",
159
+ "_type": "page.singlequestion",
160
+ "_uuid": "68fbb180-9a2a-48f6-9da6-545e28b8d35a",
161
+ "heading": "Page B",
162
+ "components": [
163
+ {
164
+ "_id": "page-b_text_1",
165
+ "hint": "",
166
+ "name": "page-b_text_1",
167
+ "_type": "text",
168
+ "_uuid": "509f0dc1-3066-4af3-8bd7-9aef99fdf22e",
169
+ "label": "Page B",
170
+ "errors": {},
171
+ "collection": "components",
172
+ "validation": {
173
+ "required": true,
174
+ "max_length": 20,
175
+ "min_length": 2
176
+ }
177
+ }
178
+ ]
179
+ },
180
+ {
181
+ "_id": "page.c",
182
+ "url": "page-c",
183
+ "body": "Page C body",
184
+ "lede": "",
185
+ "_type": "page.singlequestion",
186
+ "_uuid": "e8708909-922e-4eaf-87a5-096f7a713fcb",
187
+ "heading": "Page C",
188
+ "components": [
189
+ {
190
+ "_id": "page-c_text_1",
191
+ "hint": "",
192
+ "name": "page-c_text_1",
193
+ "_type": "text",
194
+ "_uuid": "fda1e5a1-ed5f-49c9-a943-dc930a520984",
195
+ "label": "Page C",
196
+ "errors": {},
197
+ "collection": "components",
198
+ "validation": {
199
+ "required": true,
200
+ "max_length": 20,
201
+ "min_length": 2
202
+ }
203
+ }
204
+ ]
205
+ },
206
+ {
207
+ "_id": "page.d",
208
+ "url": "page-d",
209
+ "body": "Page D body",
210
+ "lede": "",
211
+ "_type": "page.singlequestion",
212
+ "_uuid": "65a2e01a-57dc-4702-8e41-ed8f9921ac7d",
213
+ "heading": "Page D",
214
+ "components": [
215
+ {
216
+ "_id": "page-d_radios_1",
217
+ "hint": "",
218
+ "name": "page-d_radios_1",
219
+ "_type": "radios",
220
+ "_uuid": "ac41be35-914e-4b22-8683-f5477716b7d4",
221
+ "items": [
222
+ {
223
+ "_id": "page-d_radios_1_item_1",
224
+ "hint": "",
225
+ "name": "page-d_radios_1",
226
+ "_type": "radio",
227
+ "_uuid": "c5571937-9388-4411-b5fa-34ddf9bc4ca0",
228
+ "label": "Item 1",
229
+ "value": "value-1",
230
+ "errors": {},
231
+ "legend": "Item 1",
232
+ "collection": "components",
233
+ "validation": {
234
+ "required": true
235
+ }
236
+ },
237
+ {
238
+ "_id": "page-d_radios_1_item_2",
239
+ "hint": "",
240
+ "name": "page-d_radios_1",
241
+ "_type": "radio",
242
+ "_uuid": "67160ff1-6f7c-43a8-8bf6-49b3d5f450f6",
243
+ "label": "Item 2",
244
+ "value": "value-2",
245
+ "errors": {},
246
+ "legend": "Item 2",
247
+ "collection": "components",
248
+ "validation": {
249
+ "required": true
250
+ }
251
+ },
252
+ {
253
+ "_id": "page-d_radios_1_item_3",
254
+ "hint": "",
255
+ "name": "page-d_radios_1",
256
+ "_type": "radio",
257
+ "_uuid": "ea223fa3-06d0-4111-a7e9-c6b9012d7928",
258
+ "label": "Item 3",
259
+ "value": "value-3",
260
+ "errors": {},
261
+ "legend": "Item 3",
262
+ "collection": "components",
263
+ "validation": {
264
+ "required": true
265
+ }
266
+ }
267
+ ],
268
+ "errors": {},
269
+ "legend": "Page D",
270
+ "collection": "components",
271
+ "validation": {
272
+ "required": true
273
+ }
274
+ }
275
+ ]
276
+ },
277
+ {
278
+ "_id": "page.e",
279
+ "url": "page-e",
280
+ "body": "Page E body",
281
+ "lede": "",
282
+ "_type": "page.singlequestion",
283
+ "_uuid": "37a94466-97fa-427f-88b2-09b369435d0d",
284
+ "heading": "Page E",
285
+ "components": [
286
+ {
287
+ "_id": "page-e_text_1",
288
+ "hint": "",
289
+ "name": "page-e_text_1",
290
+ "_type": "text",
291
+ "_uuid": "d4295f66-7882-4673-bf0e-c9c9b627cb10",
292
+ "label": "Page E",
293
+ "errors": {},
294
+ "collection": "components",
295
+ "validation": {
296
+ "required": true,
297
+ "max_length": 20,
298
+ "min_length": 2
299
+ }
300
+ }
301
+ ]
302
+ },
303
+ {
304
+ "_id": "page.f",
305
+ "url": "page-f",
306
+ "body": "Page F body",
307
+ "lede": "",
308
+ "_type": "page.singlequestion",
309
+ "_uuid": "13ecf9bd-5064-4cad-baf8-3dfa091928cb",
310
+ "heading": "Page F",
311
+ "components": [
312
+ {
313
+ "_id": "page-f_text_1",
314
+ "hint": "",
315
+ "name": "page-f_text_1",
316
+ "_type": "text",
317
+ "_uuid": "f837fabd-044a-441c-b204-fcec79648b41",
318
+ "label": "Page F",
319
+ "errors": {},
320
+ "collection": "components",
321
+ "validation": {
322
+ "required": true,
323
+ "max_length": 20,
324
+ "min_length": 2
325
+ }
326
+ }
327
+ ]
328
+ },
329
+ {
330
+ "_id": "page.g",
331
+ "url": "page-g",
332
+ "body": "Page G body",
333
+ "lede": "",
334
+ "_type": "page.singlequestion",
335
+ "_uuid": "3a584d15-6805-4a21-bc05-b61c3be47857",
336
+ "heading": "Page G",
337
+ "components": [
338
+ {
339
+ "_id": "page-g_text_1",
340
+ "hint": "",
341
+ "name": "page-g_text_1",
342
+ "_type": "text",
343
+ "_uuid": "fa91e9cd-d935-4c15-bd92-5b6fafd81a91",
344
+ "label": "Page G",
345
+ "errors": {},
346
+ "collection": "components",
347
+ "validation": {
348
+ "required": true,
349
+ "max_length": 20,
350
+ "min_length": 2
351
+ }
352
+ }
353
+ ]
354
+ },
355
+ {
356
+ "_id": "page.h",
357
+ "url": "page-h",
358
+ "body": "Page H body",
359
+ "lede": "",
360
+ "_type": "page.singlequestion",
361
+ "_uuid": "7a561e9f-f4f8-4d2e-a01e-4097fc3ccf1c",
362
+ "heading": "Page H",
363
+ "components": [
364
+ {
365
+ "_id": "page-h_text_1",
366
+ "hint": "",
367
+ "name": "page-h_text_1",
368
+ "_type": "text",
369
+ "_uuid": "8fabefd3-2d18-44ac-873b-f8095643da65",
370
+ "label": "Page H",
371
+ "errors": {},
372
+ "collection": "components",
373
+ "validation": {
374
+ "required": true,
375
+ "max_length": 20,
376
+ "min_length": 2
377
+ }
378
+ }
379
+ ]
380
+ },
381
+ {
382
+ "_id": "page.i",
383
+ "url": "page-i",
384
+ "body": "Page I body",
385
+ "lede": "",
386
+ "_type": "page.singlequestion",
387
+ "_uuid": "520fde26-8124-4c67-a550-cd38d2ef304d",
388
+ "heading": "Page I",
389
+ "components": [
390
+ {
391
+ "_id": "page-i_text_1",
392
+ "hint": "",
393
+ "name": "page-i_text_1",
394
+ "_type": "text",
395
+ "_uuid": "ebd99204-0f15-4e6e-a937-c6da30b140f8",
396
+ "label": "Page I",
397
+ "errors": {},
398
+ "collection": "components",
399
+ "validation": {
400
+ "required": true,
401
+ "max_length": 20,
402
+ "min_length": 2
403
+ }
404
+ }
405
+ ]
406
+ },
407
+ {
408
+ "_id": "page.j",
409
+ "url": "page-j",
410
+ "body": "Page J body",
411
+ "lede": "",
412
+ "_type": "page.singlequestion",
413
+ "_uuid": "f475d6fd-0ea4-45d5-985e-e1a7c7a5b992",
414
+ "heading": "Page J",
415
+ "components": [
416
+ {
417
+ "_id": "page-j_radios_1",
418
+ "hint": "",
419
+ "name": "page-j_radios_1",
420
+ "_type": "radios",
421
+ "_uuid": "c2f4ad91-d7ad-4aa9-b7e9-be287a7248d3",
422
+ "items": [
423
+ {
424
+ "_id": "page-j_radios_1_item_1",
425
+ "hint": "",
426
+ "name": "page-j_radios_1",
427
+ "_type": "radio",
428
+ "_uuid": "2e7e602d-e1af-4757-a126-75363fad80f3",
429
+ "label": "Item 1",
430
+ "value": "value-1",
431
+ "errors": {},
432
+ "legend": "Item 1",
433
+ "collection": "components",
434
+ "validation": {
435
+ "required": true
436
+ }
437
+ },
438
+ {
439
+ "_id": "page-j_radios_1_item_2",
440
+ "hint": "",
441
+ "name": "page-j_radios_1",
442
+ "_type": "radio",
443
+ "_uuid": "4548747d-81c0-49a5-b4f1-32291b7c3415",
444
+ "label": "Item 2",
445
+ "value": "value-2",
446
+ "errors": {},
447
+ "legend": "Item 2",
448
+ "collection": "components",
449
+ "validation": {
450
+ "required": true
451
+ }
452
+ }
453
+ ],
454
+ "errors": {},
455
+ "legend": "Page J",
456
+ "collection": "components",
457
+ "validation": {
458
+ "required": true
459
+ }
460
+ }
461
+ ]
462
+ },
463
+ {
464
+ "_id": "page.k",
465
+ "url": "page-k",
466
+ "body": "Page K body",
467
+ "lede": "",
468
+ "_type": "page.singlequestion",
469
+ "_uuid": "be130ac1-f33d-4845-807d-89b23b90d205",
470
+ "heading": "Page K",
471
+ "components": [
472
+ {
473
+ "_id": "page-k_text_1",
474
+ "hint": "",
475
+ "name": "page-k_text_1",
476
+ "_type": "text",
477
+ "_uuid": "ebd99204-0f15-4e6e-a937-c6da30b140f8",
478
+ "label": "Page K",
479
+ "errors": {},
480
+ "collection": "components",
481
+ "validation": {
482
+ "required": true,
483
+ "max_length": 20,
484
+ "min_length": 2
485
+ }
486
+ }
487
+ ]
488
+ },
489
+ {
490
+ "_id": "page.l",
491
+ "url": "page-l",
492
+ "body": "Page L body",
493
+ "lede": "",
494
+ "_type": "page.singlequestion",
495
+ "_uuid": "2c7deb33-19eb-4569-86d6-462e3d828d87",
496
+ "heading": "Page L",
497
+ "components": [
498
+ {
499
+ "_id": "page-l_text_1",
500
+ "hint": "",
501
+ "name": "page-l_text_1",
502
+ "_type": "text",
503
+ "_uuid": "ae38d9b2-e0d9-4f5c-8e38-c8c96b66cad9",
504
+ "label": "Page L",
505
+ "errors": {},
506
+ "collection": "components",
507
+ "validation": {
508
+ "required": true,
509
+ "max_length": 20,
510
+ "min_length": 2
511
+ }
512
+ }
513
+ ]
514
+ },
515
+ {
516
+ "_id": "page.check-answers",
517
+ "url": "check-answers",
518
+ "_type": "page.checkanswers",
519
+ "_uuid": "e337070b-f636-49a3-a65c-f506675265f0",
520
+ "heading": "Check your answers",
521
+ "send_body": "By submitting this application you confirm that, to the best of your knowledge, the details you are providing are correct.",
522
+ "components": [
523
+ {
524
+ "_id": "check-answers_content_2",
525
+ "name": "check-answers_content_2",
526
+ "_type": "content",
527
+ "_uuid": "b065ff4f-90c5-4ba2-b4ac-c984a9dd2470",
528
+ "content": "Take the cannoli.",
529
+ "collection": "components"
530
+ }
531
+ ],
532
+ "send_heading": "Now send your application",
533
+ "add_component": "content",
534
+ "extra_components": [
535
+ {
536
+ "_id": "check-answers_content_1",
537
+ "name": "check-answers_content_1",
538
+ "_type": "content",
539
+ "_uuid": "3e6ef27e-91a6-402f-8291-b7ce669e824e",
540
+ "content": "Check yourself before you wreck yourself.",
541
+ "collection": "extra_components"
542
+ }
543
+ ],
544
+ "add_extra_component": "content"
545
+ },
546
+ {
547
+ "_id": "page.confirmation",
548
+ "url": "confirmation",
549
+ "body": "Some day I will be the most powerful Jedi ever!",
550
+ "lede": "",
551
+ "_type": "page.confirmation",
552
+ "_uuid": "778e364b-9a7f-4829-8eb2-510e08f156a3",
553
+ "heading": "Complaint sent",
554
+ "components": []
555
+ }
556
+ ],
557
+ "locale": "en",
558
+ "created_at": "2021-04-21T13:10:19Z",
559
+ "created_by": "099d5bf5-5f7b-444c-86ee-9e189cc1a369",
560
+ "service_id": "ea3bfb09-fc6d-4464-b025-9d6aadafc593",
561
+ "version_id": "429a8039-75b3-42b8-84dc-230fb371c71d",
562
+ "service_name": "Branching Fixture 4",
563
+ "configuration": {
564
+ "meta": {
565
+ "_id": "config.meta",
566
+ "_type": "config.meta",
567
+ "items": [
568
+ {
569
+ "_id": "config.meta--link",
570
+ "href": "cookies",
571
+ "text": "Cookies",
572
+ "_type": "link"
573
+ },
574
+ {
575
+ "_id": "config.meta--link--2",
576
+ "href": "privacy",
577
+ "text": "Privacy",
578
+ "_type": "link"
579
+ },
580
+ {
581
+ "_id": "config.meta--link--3",
582
+ "href": "accessibility",
583
+ "text": "Accessibility",
584
+ "_type": "link"
585
+ }
586
+ ]
587
+ },
588
+ "service": {
589
+ "_id": "config.service",
590
+ "_type": "config.service"
591
+ }
592
+ },
593
+ "standalone_pages": [
594
+ {
595
+ "_id": "page.cookies",
596
+ "url": "cookies",
597
+ "body": "Cookies body",
598
+ "_type": "page.standalone",
599
+ "_uuid": "fd52e7c0-03f7-4001-ae7e-f2e4142b0ccc",
600
+ "heading": "Cookies",
601
+ "components": []
602
+ },
603
+ {
604
+ "_id": "page.privacy",
605
+ "url": "privacy",
606
+ "body": "Privacy body",
607
+ "_type": "page.standalone",
608
+ "_uuid": "4b86fe8c-7723-4cce-9378-7b2510279e04",
609
+ "heading": "Privacy notice",
610
+ "components": []
611
+ },
612
+ {
613
+ "_id": "page.accessibility",
614
+ "url": "accessibility",
615
+ "body": "Accessibility body",
616
+ "_type": "page.standalone",
617
+ "_uuid": "c439c7fd-f411-4e11-8598-4023934bac93",
618
+ "heading": "Accessibility statement",
619
+ "components": []
620
+ }
621
+ ]
622
+ }
Binary file