@inseefr/lunatic 0.2.1-prisme → 0.2.2-prisme

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,509 @@
1
+ {
2
+ "id": "kt32raif",
3
+ "modele": "TESTSURSUM",
4
+ "enoCoreVersion": "2.3.7-dev-lunatic-v2",
5
+ "lunaticModelVersion": "2.2.13-dev-lunatic-v2",
6
+ "generatingDate": "19-07-2022 10:46:24",
7
+ "missing": false,
8
+ "pagination": "question",
9
+ "maxPage": "9",
10
+ "label": {
11
+ "value": "QNONREG test sur sum, min dans une boucle, nb majeurs et filtre",
12
+ "type": "VTL|MD"
13
+ },
14
+ "components": [
15
+ {
16
+ "id": "ksyjs7vy",
17
+ "componentType": "Sequence",
18
+ "page": "1",
19
+ "label": { "value": "S0", "type": "VTL|MD" },
20
+ "conditionFilter": { "value": "true", "type": "VTL" },
21
+ "hierarchy": {
22
+ "sequence": {
23
+ "id": "ksyjs7vy",
24
+ "page": "1",
25
+ "label": { "value": "S0", "type": "VTL|MD" }
26
+ }
27
+ }
28
+ },
29
+
30
+ {
31
+ "id": "kze792d8",
32
+ "componentType": "InputNumber",
33
+ "mandatory": false,
34
+ "page": "2",
35
+ "min": 0,
36
+ "max": 10,
37
+ "decimals": 0,
38
+ "label": { "value": "\"➡ 1. \" || \"NB \"", "type": "VTL|MD" },
39
+ "conditionFilter": { "value": "true", "type": "VTL" },
40
+ "hierarchy": {
41
+ "sequence": {
42
+ "id": "ksyjs7vy",
43
+ "page": "1",
44
+ "label": { "value": "S0", "type": "VTL|MD" }
45
+ }
46
+ },
47
+ "bindingDependencies": ["NB"],
48
+ "response": { "name": "NB" }
49
+ },
50
+
51
+ {
52
+ "id": "ksykfdm9",
53
+ "componentType": "Loop",
54
+ "page": "3",
55
+ "depth": 1,
56
+ "paginatedLoop": false,
57
+ "conditionFilter": { "value": "true", "type": "VTL" },
58
+ "hierarchy": {
59
+ "sequence": {
60
+ "id": "ksyjs7vy",
61
+ "page": "1",
62
+ "label": { "value": "S0", "type": "VTL|MD" }
63
+ }
64
+ },
65
+ "bindingDependencies": ["NB", "PRENOM"],
66
+ "loopDependencies": ["NB"],
67
+ "lines": {
68
+ "min": { "value": "cast(NB,integer)", "type": "VTL" },
69
+ "max": { "value": "cast(NB,integer)", "type": "VTL" }
70
+ },
71
+ "components": [
72
+ {
73
+ "id": "ksynhpl3",
74
+ "componentType": "Subsequence",
75
+ "page": "3",
76
+ "goToPage": "3",
77
+ "label": { "value": "Habitants", "type": "VTL|MD" },
78
+ "conditionFilter": { "value": "true", "type": "VTL" },
79
+ "hierarchy": {
80
+ "sequence": {
81
+ "id": "ksyjs7vy",
82
+ "page": "1",
83
+ "label": { "value": "S0", "type": "VTL|MD" }
84
+ },
85
+ "subSequence": {
86
+ "id": "ksynhpl3",
87
+ "page": "3",
88
+ "label": { "value": "Habitants", "type": "VTL|MD" }
89
+ }
90
+ },
91
+ "bindingDependencies": ["NB"]
92
+ },
93
+
94
+ {
95
+ "id": "ksyjvi40",
96
+ "componentType": "Input",
97
+ "mandatory": false,
98
+ "page": "3",
99
+ "maxLength": 249,
100
+ "label": { "value": "\"➡ 2. \" || \"prénom\"", "type": "VTL|MD" },
101
+ "conditionFilter": { "value": "true", "type": "VTL" },
102
+ "hierarchy": {
103
+ "sequence": {
104
+ "id": "ksyjs7vy",
105
+ "page": "1",
106
+ "label": { "value": "S0", "type": "VTL|MD" }
107
+ },
108
+ "subSequence": {
109
+ "id": "ksynhpl3",
110
+ "page": "3",
111
+ "label": { "value": "Habitants", "type": "VTL|MD" }
112
+ }
113
+ },
114
+ "bindingDependencies": ["PRENOM", "NB"],
115
+ "response": { "name": "PRENOM" }
116
+ }
117
+ ]
118
+ },
119
+
120
+ {
121
+ "id": "ksyniqzx",
122
+ "componentType": "Sequence",
123
+ "page": "4",
124
+ "label": { "value": "S1", "type": "VTL|MD" },
125
+ "conditionFilter": { "value": "true", "type": "VTL" },
126
+ "hierarchy": {
127
+ "sequence": {
128
+ "id": "ksyniqzx",
129
+ "page": "4",
130
+ "label": { "value": "S1", "type": "VTL|MD" }
131
+ }
132
+ }
133
+ },
134
+
135
+ {
136
+ "id": "ksynkaoo",
137
+ "componentType": "Loop",
138
+ "page": "5",
139
+ "maxPage": "1",
140
+ "depth": 1,
141
+ "paginatedLoop": true,
142
+ "conditionFilter": { "value": "true", "type": "VTL" },
143
+ "hierarchy": {
144
+ "sequence": {
145
+ "id": "ksyniqzx",
146
+ "page": "4",
147
+ "label": { "value": "S1", "type": "VTL|MD" }
148
+ }
149
+ },
150
+ "bindingDependencies": ["AGE_NUM", "PRENOM", "AGE"],
151
+ "loopDependencies": ["PRENOM"],
152
+ "components": [
153
+ {
154
+ "id": "ksyjxw3a",
155
+ "componentType": "Subsequence",
156
+ "goToPage": "5.1",
157
+ "label": { "value": "Les ages", "type": "VTL|MD" },
158
+ "conditionFilter": { "value": "true", "type": "VTL" },
159
+ "hierarchy": {
160
+ "sequence": {
161
+ "id": "ksyniqzx",
162
+ "page": "4",
163
+ "label": { "value": "S1", "type": "VTL|MD" }
164
+ },
165
+ "subSequence": {
166
+ "id": "ksyjxw3a",
167
+ "page": "5.1",
168
+ "label": { "value": "Les ages", "type": "VTL|MD" }
169
+ }
170
+ },
171
+ "bindingDependencies": ["PRENOM"]
172
+ },
173
+
174
+ {
175
+ "id": "ksyke448",
176
+ "componentType": "InputNumber",
177
+ "mandatory": false,
178
+ "page": "5.1",
179
+ "min": 0,
180
+ "max": 100,
181
+ "decimals": 0,
182
+ "label": {
183
+ "value": "\"➡ 1. \" || \"Q3 Age de l’individu : \" || PRENOM",
184
+ "type": "VTL|MD"
185
+ },
186
+ "declarations": [
187
+ {
188
+ "id": "ksyke448-ktwsl4qu",
189
+ "declarationType": "HELP",
190
+ "position": "AFTER_QUESTION_TEXT",
191
+ "label": {
192
+ "value": "\"AGE_NUM vaut : \" || cast(AGE_NUM,string)",
193
+ "type": "VTL|MD"
194
+ }
195
+ }
196
+ ],
197
+ "conditionFilter": { "value": "true", "type": "VTL" },
198
+ "hierarchy": {
199
+ "sequence": {
200
+ "id": "ksyniqzx",
201
+ "page": "4",
202
+ "label": { "value": "S1", "type": "VTL|MD" }
203
+ },
204
+ "subSequence": {
205
+ "id": "ksyjxw3a",
206
+ "page": "5.1",
207
+ "label": { "value": "Les ages", "type": "VTL|MD" }
208
+ }
209
+ },
210
+ "bindingDependencies": ["AGE_NUM", "PRENOM", "AGE"],
211
+ "response": { "name": "AGE" }
212
+ }
213
+ ],
214
+ "iterations": { "value": "count(PRENOM)", "type": "VTL" }
215
+ },
216
+
217
+ {
218
+ "id": "ku2pnlmr",
219
+ "componentType": "Subsequence",
220
+ "page": "6",
221
+ "goToPage": "6",
222
+ "label": { "value": "\"Affichage de qq var\"", "type": "VTL|MD" },
223
+ "declarations": [
224
+ {
225
+ "id": "ku2pnlmr-kze7f245",
226
+ "declarationType": "HELP",
227
+ "position": "AFTER_QUESTION_TEXT",
228
+ "label": {
229
+ "value": "\"Affichage de la somme des ages : \" || cast(SUM_AGE,string)",
230
+ "type": "VTL|MD"
231
+ }
232
+ },
233
+
234
+ {
235
+ "id": "ku2pnlmr-kzsevgcm",
236
+ "declarationType": "HELP",
237
+ "position": "AFTER_QUESTION_TEXT",
238
+ "label": {
239
+ "value": "\"Affichage du min des ages : \" || cast(MIN_AGE,string)",
240
+ "type": "VTL|MD"
241
+ }
242
+ }
243
+ ],
244
+ "conditionFilter": { "value": "true", "type": "VTL" },
245
+ "hierarchy": {
246
+ "sequence": {
247
+ "id": "ksyniqzx",
248
+ "page": "4",
249
+ "label": { "value": "S1", "type": "VTL|MD" }
250
+ },
251
+ "subSequence": {
252
+ "id": "ku2pnlmr",
253
+ "page": "6",
254
+ "label": { "value": "\"Affichage de qq var\"", "type": "VTL|MD" }
255
+ }
256
+ },
257
+ "bindingDependencies": ["SUM_AGE", "MIN_AGE"]
258
+ },
259
+
260
+ {
261
+ "id": "ku2pxugf",
262
+ "componentType": "Input",
263
+ "mandatory": false,
264
+ "page": "7",
265
+ "maxLength": 249,
266
+ "label": { "value": "\"➡ 2. \" || \"divers\"", "type": "VTL|MD" },
267
+ "conditionFilter": { "value": "true", "type": "VTL" },
268
+ "hierarchy": {
269
+ "sequence": {
270
+ "id": "ksyniqzx",
271
+ "page": "4",
272
+ "label": { "value": "S1", "type": "VTL|MD" }
273
+ },
274
+ "subSequence": {
275
+ "id": "ku2pnlmr",
276
+ "page": "6",
277
+ "label": { "value": "\"Affichage de qq var\"", "type": "VTL|MD" }
278
+ }
279
+ },
280
+ "bindingDependencies": ["DIVERS"],
281
+ "response": { "name": "DIVERS" }
282
+ },
283
+
284
+ {
285
+ "id": "ku2pqil5",
286
+ "componentType": "Subsequence",
287
+ "page": "8",
288
+ "goToPage": "8",
289
+ "label": {
290
+ "value": "\"Affichage de la question suivante si au moins 1 majeur. Pour info : nb de majeurs calculé = \" || cast(NB_MAJEUR,string)",
291
+ "type": "VTL|MD"
292
+ },
293
+ "declarations": [
294
+ {
295
+ "id": "ku2pqil5-kze7d4ia",
296
+ "declarationType": "HELP",
297
+ "position": "AFTER_QUESTION_TEXT",
298
+ "label": {
299
+ "value": "Affichage de cette sous séquence systématique. Affichage question qui suit si au moins 1 majeur",
300
+ "type": "VTL|MD"
301
+ }
302
+ }
303
+ ],
304
+ "conditionFilter": { "value": "true", "type": "VTL" },
305
+ "hierarchy": {
306
+ "sequence": {
307
+ "id": "ksyniqzx",
308
+ "page": "4",
309
+ "label": { "value": "S1", "type": "VTL|MD" }
310
+ },
311
+ "subSequence": {
312
+ "id": "ku2pqil5",
313
+ "page": "8",
314
+ "label": {
315
+ "value": "\"Affichage de la question suivante si au moins 1 majeur. Pour info : nb de majeurs calculé = \" || cast(NB_MAJEUR,string)",
316
+ "type": "VTL|MD"
317
+ }
318
+ }
319
+ },
320
+ "bindingDependencies": ["NB_MAJEUR"]
321
+ },
322
+
323
+ {
324
+ "id": "ktwvc5zc",
325
+ "componentType": "Input",
326
+ "mandatory": false,
327
+ "page": "9",
328
+ "maxLength": 249,
329
+ "label": { "value": "\"➡ 3. \" || \"Texte\"", "type": "VTL|MD" },
330
+ "conditionFilter": {
331
+ "value": "(cast(NB_MAJEUR,integer) > 0)",
332
+ "type": "VTL",
333
+ "bindingDependencies": ["NB_MAJEUR", "IND_MAJEUR", "AGE"]
334
+ },
335
+ "hierarchy": {
336
+ "sequence": {
337
+ "id": "ksyniqzx",
338
+ "page": "4",
339
+ "label": { "value": "S1", "type": "VTL|MD" }
340
+ },
341
+ "subSequence": {
342
+ "id": "ku2pqil5",
343
+ "page": "8",
344
+ "label": {
345
+ "value": "\"Affichage de la question suivante si au moins 1 majeur. Pour info : nb de majeurs calculé = \" || cast(NB_MAJEUR,string)",
346
+ "type": "VTL|MD"
347
+ }
348
+ }
349
+ },
350
+ "bindingDependencies": ["TEXTE"],
351
+ "response": { "name": "TEXTE" }
352
+ }
353
+ ],
354
+ "variables": [
355
+ {
356
+ "variableType": "COLLECTED",
357
+ "name": "NB",
358
+ "values": {
359
+ "PREVIOUS": null,
360
+ "COLLECTED": null,
361
+ "FORCED": null,
362
+ "EDITED": null,
363
+ "INPUTED": null
364
+ }
365
+ },
366
+
367
+ {
368
+ "variableType": "COLLECTED",
369
+ "name": "PRENOM",
370
+ "values": {
371
+ "PREVIOUS": [null],
372
+ "COLLECTED": [null],
373
+ "FORCED": [null],
374
+ "EDITED": [null],
375
+ "INPUTED": [null]
376
+ }
377
+ },
378
+
379
+ {
380
+ "variableType": "COLLECTED",
381
+ "name": "AGE",
382
+ "values": {
383
+ "PREVIOUS": [null],
384
+ "COLLECTED": [null],
385
+ "FORCED": [null],
386
+ "EDITED": [null],
387
+ "INPUTED": [null]
388
+ }
389
+ },
390
+
391
+ {
392
+ "variableType": "COLLECTED",
393
+ "name": "DIVERS",
394
+ "values": {
395
+ "PREVIOUS": null,
396
+ "COLLECTED": null,
397
+ "FORCED": null,
398
+ "EDITED": null,
399
+ "INPUTED": null
400
+ }
401
+ },
402
+
403
+ {
404
+ "variableType": "COLLECTED",
405
+ "name": "TEXTE",
406
+ "values": {
407
+ "PREVIOUS": null,
408
+ "COLLECTED": null,
409
+ "FORCED": null,
410
+ "EDITED": null,
411
+ "INPUTED": null
412
+ }
413
+ },
414
+
415
+ {
416
+ "variableType": "CALCULATED",
417
+ "name": "FILTER_RESULT_NB",
418
+ "expression": { "value": "true", "type": "VTL" },
419
+ "inFilter": "false"
420
+ },
421
+
422
+ {
423
+ "variableType": "CALCULATED",
424
+ "name": "FILTER_RESULT_PRENOM",
425
+ "expression": { "value": "true", "type": "VTL" },
426
+ "shapeFrom": "PRENOM",
427
+ "inFilter": "false"
428
+ },
429
+
430
+ {
431
+ "variableType": "CALCULATED",
432
+ "name": "AGE_NUM",
433
+ "expression": {
434
+ "value": "cast(nvl(AGE, \"0\"), integer)",
435
+ "type": "VTL"
436
+ },
437
+ "bindingDependencies": ["AGE"],
438
+ "shapeFrom": "PRENOM",
439
+ "inFilter": "true"
440
+ },
441
+
442
+ {
443
+ "variableType": "CALCULATED",
444
+ "name": "IND_MAJEUR",
445
+ "expression": {
446
+ "value": "if cast(AGE_NUM, integer) > 17 then 1 else 0",
447
+ "type": "VTL"
448
+ },
449
+ "bindingDependencies": ["AGE_NUM", "AGE"],
450
+ "shapeFrom": "PRENOM",
451
+ "inFilter": "true"
452
+ },
453
+
454
+ {
455
+ "variableType": "CALCULATED",
456
+ "name": "FILTER_RESULT_AGE",
457
+ "expression": { "value": "true", "type": "VTL" },
458
+ "shapeFrom": "AGE",
459
+ "inFilter": "false"
460
+ },
461
+
462
+ {
463
+ "variableType": "CALCULATED",
464
+ "name": "FILTER_RESULT_DIVERS",
465
+ "expression": { "value": "true", "type": "VTL" },
466
+ "inFilter": "false"
467
+ },
468
+
469
+ {
470
+ "variableType": "CALCULATED",
471
+ "name": "FILTER_RESULT_TEXTE",
472
+ "expression": { "value": "(cast(NB_MAJEUR,integer) > 0)", "type": "VTL" },
473
+ "bindingDependencies": ["NB_MAJEUR"],
474
+ "inFilter": "false"
475
+ },
476
+
477
+ {
478
+ "variableType": "CALCULATED",
479
+ "name": "SUM_AGE",
480
+ "expression": { "value": "sum(AGE_NUM)", "type": "VTL" },
481
+ "bindingDependencies": ["AGE_NUM", "AGE"],
482
+ "inFilter": "false"
483
+ },
484
+
485
+ {
486
+ "variableType": "CALCULATED",
487
+ "name": "NB_MAJEUR",
488
+ "expression": { "value": "sum(IND_MAJEUR)", "type": "VTL" },
489
+ "bindingDependencies": ["IND_MAJEUR", "AGE"],
490
+ "inFilter": "true"
491
+ },
492
+
493
+ {
494
+ "variableType": "CALCULATED",
495
+ "name": "MIN_AGE",
496
+ "expression": { "value": "min(AGE_NUM)", "type": "VTL" },
497
+ "bindingDependencies": ["AGE_NUM", "AGE"],
498
+ "inFilter": "false"
499
+ }
500
+ ],
501
+ "cleaning": {
502
+ "NB_MAJEUR": { "TEXTE": "(cast(NB_MAJEUR,integer) > 0)" },
503
+ "IND_MAJEUR": { "TEXTE": "(cast(NB_MAJEUR,integer) > 0)" },
504
+ "AGE": { "TEXTE": "(cast(NB_MAJEUR,integer) > 0)" }
505
+ },
506
+ "resizing": {
507
+ "NB": { "size": "cast(NB,integer)", "variables": ["PRENOM", "AGE"] }
508
+ }
509
+ }