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