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