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": "09e91fd9-7a46-4840-adbc-244d545cfef7"
15
+ }
16
+ },
17
+ "09e91fd9-7a46-4840-adbc-244d545cfef7": {
18
+ "_type": "flow.branch",
19
+ "title": "Branching point 1",
20
+ "next": {
21
+ "default": "f475d6fd-0ea4-45d5-985e-e1a7c7a5b992",
22
+ "conditionals": [
23
+ {
24
+ "_type": "if",
25
+ "next": "e8708909-922e-4eaf-87a5-096f7a713fcb",
26
+ "expressions": [
27
+ {
28
+ "operator": "is",
29
+ "page": "68fbb180-9a2a-48f6-9da6-545e28b8d35a",
30
+ "component": "ac41be35-914e-4b22-8683-f5477716b7d4",
31
+ "field": "c5571937-9388-4411-b5fa-34ddf9bc4ca0"
32
+ }
33
+ ]
34
+ },
35
+ {
36
+ "_type": "if",
37
+ "next": "3a584d15-6805-4a21-bc05-b61c3be47857",
38
+ "expressions": [
39
+ {
40
+ "operator": "is",
41
+ "page": "68fbb180-9a2a-48f6-9da6-545e28b8d35a",
42
+ "component": "ac41be35-914e-4b22-8683-f5477716b7d4",
43
+ "field": "67160ff1-6f7c-43a8-8bf6-49b3d5f450f6"
44
+ }
45
+ ]
46
+ }
47
+ ]
48
+ }
49
+ },
50
+ "e8708909-922e-4eaf-87a5-096f7a713fcb": {
51
+ "_type": "flow.page",
52
+ "next": {
53
+ "default": "65a2e01a-57dc-4702-8e41-ed8f9921ac7d"
54
+ }
55
+ },
56
+ "65a2e01a-57dc-4702-8e41-ed8f9921ac7d": {
57
+ "_type": "flow.page",
58
+ "next": {
59
+ "default": "37a94466-97fa-427f-88b2-09b369435d0d"
60
+ }
61
+ },
62
+ "37a94466-97fa-427f-88b2-09b369435d0d": {
63
+ "_type": "flow.page",
64
+ "next": {
65
+ "default": "13ecf9bd-5064-4cad-baf8-3dfa091928cb"
66
+ }
67
+ },
68
+ "13ecf9bd-5064-4cad-baf8-3dfa091928cb": {
69
+ "_type": "flow.page",
70
+ "next": {
71
+ "default": "e337070b-f636-49a3-a65c-f506675265f0"
72
+ }
73
+ },
74
+ "3a584d15-6805-4a21-bc05-b61c3be47857": {
75
+ "_type": "flow.page",
76
+ "next": {
77
+ "default": "e337070b-f636-49a3-a65c-f506675265f0"
78
+ }
79
+ },
80
+ "f475d6fd-0ea4-45d5-985e-e1a7c7a5b992": {
81
+ "_type": "flow.page",
82
+ "next": {
83
+ "default": "ffadeb22-063b-4e4f-9502-bd753c706b1d"
84
+ }
85
+ },
86
+ "ffadeb22-063b-4e4f-9502-bd753c706b1d": {
87
+ "_type": "flow.branch",
88
+ "title": "Branching point 2",
89
+ "next": {
90
+ "default": "d80a2225-63c3-4944-873f-504b61311a15",
91
+ "conditionals": [
92
+ {
93
+ "_type": "if",
94
+ "next": "be130ac1-f33d-4845-807d-89b23b90d205",
95
+ "expressions": [
96
+ {
97
+ "operator": "is",
98
+ "page": "f475d6fd-0ea4-45d5-985e-e1a7c7a5b992",
99
+ "component": "c2f4ad91-d7ad-4aa9-b7e9-be287a7248d3",
100
+ "field": "2e7e602d-e1af-4757-a126-75363fad80f3"
101
+ }
102
+ ]
103
+ }
104
+ ]
105
+ }
106
+ },
107
+ "be130ac1-f33d-4845-807d-89b23b90d205": {
108
+ "_type": "flow.page",
109
+ "next": {
110
+ "default": "2c7deb33-19eb-4569-86d6-462e3d828d87"
111
+ }
112
+ },
113
+ "2c7deb33-19eb-4569-86d6-462e3d828d87": {
114
+ "_type": "flow.page",
115
+ "next": {
116
+ "default": "e337070b-f636-49a3-a65c-f506675265f0"
117
+ }
118
+ },
119
+ "d80a2225-63c3-4944-873f-504b61311a15": {
120
+ "_type": "flow.page",
121
+ "next": {
122
+ "default": "393645a4-f037-4e75-8359-51f9b0e360fb"
123
+ }
124
+ },
125
+ "393645a4-f037-4e75-8359-51f9b0e360fb": {
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 5",
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_radios_1",
165
+ "hint": "",
166
+ "name": "page-b_radios_1",
167
+ "_type": "radios",
168
+ "_uuid": "ac41be35-914e-4b22-8683-f5477716b7d4",
169
+ "items": [
170
+ {
171
+ "_id": "page-b_radios_1_item_1",
172
+ "hint": "",
173
+ "name": "page-b_radios_1",
174
+ "_type": "radio",
175
+ "_uuid": "c5571937-9388-4411-b5fa-34ddf9bc4ca0",
176
+ "label": "Item 1",
177
+ "value": "value-1",
178
+ "errors": {},
179
+ "legend": "Item 1",
180
+ "collection": "components",
181
+ "validation": {
182
+ "required": true
183
+ }
184
+ },
185
+ {
186
+ "_id": "page-b_radios_1_item_2",
187
+ "hint": "",
188
+ "name": "page-b_radios_1",
189
+ "_type": "radio",
190
+ "_uuid": "67160ff1-6f7c-43a8-8bf6-49b3d5f450f6",
191
+ "label": "Item 2",
192
+ "value": "value-2",
193
+ "errors": {},
194
+ "legend": "Item 2",
195
+ "collection": "components",
196
+ "validation": {
197
+ "required": true
198
+ }
199
+ },
200
+ {
201
+ "_id": "page-b_radios_1_item_3",
202
+ "hint": "",
203
+ "name": "page-b_radios_1",
204
+ "_type": "radio",
205
+ "_uuid": "ea223fa3-06d0-4111-a7e9-c6b9012d7928",
206
+ "label": "Item 3",
207
+ "value": "value-3",
208
+ "errors": {},
209
+ "legend": "Item 3",
210
+ "collection": "components",
211
+ "validation": {
212
+ "required": true
213
+ }
214
+ }
215
+ ],
216
+ "errors": {},
217
+ "legend": "Page B",
218
+ "collection": "components",
219
+ "validation": {
220
+ "required": true
221
+ }
222
+ }
223
+ ]
224
+ },
225
+ {
226
+ "_id": "page.c",
227
+ "url": "page-c",
228
+ "body": "Page C body",
229
+ "lede": "",
230
+ "_type": "page.singlequestion",
231
+ "_uuid": "e8708909-922e-4eaf-87a5-096f7a713fcb",
232
+ "heading": "Page C",
233
+ "components": [
234
+ {
235
+ "_id": "page-c_text_1",
236
+ "hint": "",
237
+ "name": "page-c_text_1",
238
+ "_type": "text",
239
+ "_uuid": "fda1e5a1-ed5f-49c9-a943-dc930a520984",
240
+ "label": "Page C",
241
+ "errors": {},
242
+ "collection": "components",
243
+ "validation": {
244
+ "required": true,
245
+ "max_length": 20,
246
+ "min_length": 2
247
+ }
248
+ }
249
+ ]
250
+ },
251
+ {
252
+ "_id": "page.d",
253
+ "url": "page-d",
254
+ "body": "Page D body",
255
+ "lede": "",
256
+ "_type": "page.singlequestion",
257
+ "_uuid": "65a2e01a-57dc-4702-8e41-ed8f9921ac7d",
258
+ "heading": "Page D",
259
+ "components": [
260
+ {
261
+ "_id": "page-d_text_1",
262
+ "hint": "",
263
+ "name": "page-d_text_1",
264
+ "_type": "text",
265
+ "_uuid": "509f0dc1-3066-4af3-8bd7-9aef99fdf22e",
266
+ "label": "Page D",
267
+ "errors": {},
268
+ "collection": "components",
269
+ "validation": {
270
+ "required": true,
271
+ "max_length": 20,
272
+ "min_length": 2
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.j",
357
+ "url": "page-j",
358
+ "body": "Page J body",
359
+ "lede": "",
360
+ "_type": "page.singlequestion",
361
+ "_uuid": "f475d6fd-0ea4-45d5-985e-e1a7c7a5b992",
362
+ "heading": "Page J",
363
+ "components": [
364
+ {
365
+ "_id": "page-j_radios_1",
366
+ "hint": "",
367
+ "name": "page-j_radios_1",
368
+ "_type": "radios",
369
+ "_uuid": "c2f4ad91-d7ad-4aa9-b7e9-be287a7248d3",
370
+ "items": [
371
+ {
372
+ "_id": "page-j_radios_1_item_1",
373
+ "hint": "",
374
+ "name": "page-j_radios_1",
375
+ "_type": "radio",
376
+ "_uuid": "2e7e602d-e1af-4757-a126-75363fad80f3",
377
+ "label": "Item 1",
378
+ "value": "value-1",
379
+ "errors": {},
380
+ "legend": "Item 1",
381
+ "collection": "components",
382
+ "validation": {
383
+ "required": true
384
+ }
385
+ },
386
+ {
387
+ "_id": "page-j_radios_1_item_2",
388
+ "hint": "",
389
+ "name": "page-j_radios_1",
390
+ "_type": "radio",
391
+ "_uuid": "4548747d-81c0-49a5-b4f1-32291b7c3415",
392
+ "label": "Item 2",
393
+ "value": "value-2",
394
+ "errors": {},
395
+ "legend": "Item 2",
396
+ "collection": "components",
397
+ "validation": {
398
+ "required": true
399
+ }
400
+ }
401
+ ],
402
+ "errors": {},
403
+ "legend": "Page J",
404
+ "collection": "components",
405
+ "validation": {
406
+ "required": true
407
+ }
408
+ }
409
+ ]
410
+ },
411
+ {
412
+ "_id": "page.k",
413
+ "url": "page-k",
414
+ "body": "Page K body",
415
+ "lede": "",
416
+ "_type": "page.singlequestion",
417
+ "_uuid": "be130ac1-f33d-4845-807d-89b23b90d205",
418
+ "heading": "Page K",
419
+ "components": [
420
+ {
421
+ "_id": "page-k_text_1",
422
+ "hint": "",
423
+ "name": "page-k_text_1",
424
+ "_type": "text",
425
+ "_uuid": "ebd99204-0f15-4e6e-a937-c6da30b140f8",
426
+ "label": "Page K",
427
+ "errors": {},
428
+ "collection": "components",
429
+ "validation": {
430
+ "required": true,
431
+ "max_length": 20,
432
+ "min_length": 2
433
+ }
434
+ }
435
+ ]
436
+ },
437
+ {
438
+ "_id": "page.l",
439
+ "url": "page-l",
440
+ "body": "Page L body",
441
+ "lede": "",
442
+ "_type": "page.singlequestion",
443
+ "_uuid": "2c7deb33-19eb-4569-86d6-462e3d828d87",
444
+ "heading": "Page L",
445
+ "components": [
446
+ {
447
+ "_id": "page-l_text_1",
448
+ "hint": "",
449
+ "name": "page-l_text_1",
450
+ "_type": "text",
451
+ "_uuid": "ae38d9b2-e0d9-4f5c-8e38-c8c96b66cad9",
452
+ "label": "Page L",
453
+ "errors": {},
454
+ "collection": "components",
455
+ "validation": {
456
+ "required": true,
457
+ "max_length": 20,
458
+ "min_length": 2
459
+ }
460
+ }
461
+ ]
462
+ },
463
+ {
464
+ "_id": "page.m",
465
+ "url": "page-m",
466
+ "body": "Page M body",
467
+ "lede": "",
468
+ "_type": "page.singlequestion",
469
+ "_uuid": "d80a2225-63c3-4944-873f-504b61311a15",
470
+ "heading": "Page M",
471
+ "components": [
472
+ {
473
+ "_id": "page-m_text_1",
474
+ "hint": "",
475
+ "name": "page-m_text_1",
476
+ "_type": "text",
477
+ "_uuid": "147bb557-b2cf-4ba3-bbb3-7dc757cbb7e6",
478
+ "label": "Page M",
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.n",
491
+ "url": "page-n",
492
+ "body": "Page N body",
493
+ "lede": "",
494
+ "_type": "page.singlequestion",
495
+ "_uuid": "393645a4-f037-4e75-8359-51f9b0e360fb",
496
+ "heading": "Page N",
497
+ "components": [
498
+ {
499
+ "_id": "page-n_text_1",
500
+ "hint": "",
501
+ "name": "page-n_text_1",
502
+ "_type": "text",
503
+ "_uuid": "fde1a00b-cf70-49d5-98f7-eeb3c10fbc69",
504
+ "label": "Page N",
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 5",
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