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