@allthings/structured-ticket-form 3.0.0-beta.0 → 3.0.0-beta.1

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,1391 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ var jsonFormUtils_1 = require("./jsonFormUtils");
4
+ var translator_1 = require("./translator");
5
+ var formData = {
6
+ mainMenu: {
7
+ reportADamage: {
8
+ whereIsDamage: {
9
+ location: 'craftRoom',
10
+ whereIsDamage: 'wall',
11
+ },
12
+ report: 'outdoor',
13
+ },
14
+ section: 'damage',
15
+ },
16
+ };
17
+ var schema = {
18
+ title: 'Smart ticket',
19
+ type: 'object',
20
+ definitions: {
21
+ mainMenu: {
22
+ type: 'object',
23
+ properties: {
24
+ section: {
25
+ type: 'string',
26
+ enum: ['damage', 'broken'],
27
+ },
28
+ },
29
+ required: ['section'],
30
+ dependencies: {
31
+ section: {
32
+ oneOf: [
33
+ {
34
+ properties: {
35
+ section: {
36
+ enum: ['damage'],
37
+ },
38
+ reportADamage: {
39
+ $ref: '#/definitions/reportADamage',
40
+ },
41
+ },
42
+ required: ['reportADamage'],
43
+ },
44
+ {
45
+ properties: {
46
+ section: {
47
+ enum: ['broken'],
48
+ },
49
+ brokenDevice: {
50
+ $ref: '#/definitions/brokenDevice',
51
+ },
52
+ },
53
+ required: ['brokenDevice'],
54
+ },
55
+ ],
56
+ },
57
+ },
58
+ },
59
+ brokenDevice: {
60
+ type: 'object',
61
+ properties: {
62
+ location: {
63
+ type: 'string',
64
+ enum: ['kitchen', 'bathroom', 'common'],
65
+ },
66
+ },
67
+ required: ['location'],
68
+ dependencies: {
69
+ location: {
70
+ oneOf: [
71
+ {
72
+ properties: {
73
+ location: {
74
+ enum: ['kitchen'],
75
+ },
76
+ whereIsDamage: {
77
+ $ref: '#/definitions/deviceKitchen',
78
+ },
79
+ },
80
+ required: ['whereIsDamage'],
81
+ },
82
+ {
83
+ properties: {
84
+ location: {
85
+ enum: ['bathroom'],
86
+ },
87
+ whereIsDamage: {
88
+ $ref: '#/definitions/deviceBathroom',
89
+ },
90
+ },
91
+ required: ['whereIsDamage'],
92
+ },
93
+ {
94
+ properties: {
95
+ location: {
96
+ enum: ['common'],
97
+ },
98
+ whereIsDamage: {
99
+ $ref: '#/definitions/deviceCommon',
100
+ },
101
+ },
102
+ required: ['whereIsDamage'],
103
+ },
104
+ ],
105
+ },
106
+ },
107
+ },
108
+ manufacturer: {
109
+ type: 'object',
110
+ properties: {
111
+ manufacturer: {
112
+ type: 'string',
113
+ },
114
+ },
115
+ },
116
+ device: {
117
+ type: 'object',
118
+ properties: {
119
+ manufacturer: {
120
+ type: 'string',
121
+ },
122
+ deviceNumber: {
123
+ type: 'string',
124
+ },
125
+ errorCode: {
126
+ type: 'string',
127
+ },
128
+ },
129
+ },
130
+ deviceKitchen: {
131
+ type: 'object',
132
+ properties: {
133
+ whatIsBroken: {
134
+ type: 'string',
135
+ enum: ['appliance', 'other'],
136
+ },
137
+ },
138
+ required: ['whatIsBroken'],
139
+ dependencies: {
140
+ whatIsBroken: {
141
+ oneOf: [
142
+ {
143
+ properties: {
144
+ whatIsBroken: {
145
+ enum: ['appliance'],
146
+ },
147
+ whatExact: {
148
+ $ref: '#/definitions/kitchenAppliance',
149
+ },
150
+ },
151
+ required: ['whatExact'],
152
+ },
153
+ {
154
+ properties: {
155
+ whatIsBroken: {
156
+ enum: ['other'],
157
+ },
158
+ device: {
159
+ $ref: '#/definitions/device',
160
+ },
161
+ },
162
+ },
163
+ ],
164
+ },
165
+ },
166
+ },
167
+ kitchenAppliance: {
168
+ type: 'object',
169
+ properties: {
170
+ whatExact: {
171
+ type: 'string',
172
+ enum: [
173
+ 'oven',
174
+ 'stove',
175
+ 'cooker',
176
+ 'dishwasher',
177
+ 'extractor',
178
+ 'fridge',
179
+ 'freezer',
180
+ ],
181
+ },
182
+ },
183
+ required: ['whatExact'],
184
+ dependencies: {
185
+ whatExact: {
186
+ oneOf: [
187
+ {
188
+ properties: {
189
+ whatExact: {
190
+ enum: [
191
+ 'oven',
192
+ 'stove',
193
+ 'cooker',
194
+ 'dishwasher',
195
+ 'extractor',
196
+ 'fridge',
197
+ 'freezer',
198
+ ],
199
+ },
200
+ device: {
201
+ $ref: '#/definitions/device',
202
+ },
203
+ },
204
+ },
205
+ ],
206
+ },
207
+ },
208
+ },
209
+ deviceBathroom: {
210
+ type: 'object',
211
+ properties: {
212
+ whatIsBroken: {
213
+ type: 'string',
214
+ enum: ['ventilation', 'washing', 'dryer', 'other'],
215
+ },
216
+ },
217
+ required: ['whatIsBroken'],
218
+ dependencies: {
219
+ whatIsBroken: {
220
+ oneOf: [
221
+ {
222
+ properties: {
223
+ whatIsBroken: {
224
+ enum: ['ventilation'],
225
+ },
226
+ device: {
227
+ $ref: '#/definitions/manufacturer',
228
+ },
229
+ },
230
+ },
231
+ {
232
+ properties: {
233
+ whatIsBroken: {
234
+ enum: ['washing', 'dryer', 'other'],
235
+ },
236
+ device: {
237
+ $ref: '#/definitions/device',
238
+ },
239
+ },
240
+ },
241
+ ],
242
+ },
243
+ },
244
+ },
245
+ deviceCommon: {
246
+ type: 'object',
247
+ properties: {
248
+ whatIsBroken: {
249
+ type: 'string',
250
+ enum: ['washing', 'dryer'],
251
+ },
252
+ },
253
+ required: ['whatIsBroken'],
254
+ dependencies: {
255
+ whatIsBroken: {
256
+ oneOf: [
257
+ {
258
+ properties: {
259
+ whatIsBroken: {
260
+ enum: ['washing', 'dryer'],
261
+ },
262
+ device: {
263
+ $ref: '#/definitions/device',
264
+ },
265
+ },
266
+ },
267
+ ],
268
+ },
269
+ },
270
+ },
271
+ reportADamage: {
272
+ type: 'object',
273
+ properties: {
274
+ report: {
275
+ type: 'string',
276
+ enum: ['inApartment', 'outdoor'],
277
+ },
278
+ },
279
+ required: ['report'],
280
+ dependencies: {
281
+ report: {
282
+ oneOf: [
283
+ {
284
+ properties: {
285
+ report: {
286
+ enum: ['inApartment'],
287
+ },
288
+ whereIsDamage: {
289
+ $ref: '#/definitions/inTheApartment',
290
+ },
291
+ },
292
+ required: ['whereIsDamage'],
293
+ },
294
+ {
295
+ properties: {
296
+ report: {
297
+ enum: ['outdoor'],
298
+ },
299
+ whereIsDamage: {
300
+ $ref: '#/definitions/outdoorArea',
301
+ },
302
+ },
303
+ required: ['whereIsDamage'],
304
+ },
305
+ ],
306
+ },
307
+ },
308
+ },
309
+ inTheApartment: {
310
+ type: 'object',
311
+ properties: {
312
+ location: {
313
+ type: 'string',
314
+ enum: [
315
+ 'kitchen',
316
+ 'bathroom',
317
+ 'livingRoom',
318
+ 'corridor',
319
+ 'bedroom',
320
+ 'children',
321
+ 'storeroom',
322
+ 'terrace',
323
+ ],
324
+ },
325
+ },
326
+ required: ['location'],
327
+ dependencies: {
328
+ location: {
329
+ oneOf: [
330
+ {
331
+ properties: {
332
+ location: {
333
+ enum: ['kitchen'],
334
+ },
335
+ whereIsDamage: {
336
+ $ref: '#/definitions/kitchen',
337
+ },
338
+ },
339
+ required: ['whereIsDamage'],
340
+ },
341
+ {
342
+ properties: {
343
+ location: {
344
+ enum: ['bathroom'],
345
+ },
346
+ whereIsDamage: {
347
+ $ref: '#/definitions/bathroom',
348
+ },
349
+ },
350
+ required: ['whereIsDamage'],
351
+ },
352
+ {
353
+ properties: {
354
+ location: {
355
+ enum: ['livingRoom'],
356
+ },
357
+ whereIsDamage: {
358
+ $ref: '#/definitions/livingRoom',
359
+ },
360
+ },
361
+ required: ['whereIsDamage'],
362
+ },
363
+ {
364
+ properties: {
365
+ location: {
366
+ enum: ['corridor'],
367
+ },
368
+ whereIsDamage: {
369
+ $ref: '#/definitions/corridor',
370
+ },
371
+ },
372
+ required: ['whereIsDamage'],
373
+ },
374
+ {
375
+ properties: {
376
+ location: {
377
+ enum: ['bedroom'],
378
+ },
379
+ whereIsDamage: {
380
+ $ref: '#/definitions/bedroom',
381
+ },
382
+ },
383
+ required: ['whereIsDamage'],
384
+ },
385
+ {
386
+ properties: {
387
+ location: {
388
+ enum: ['children'],
389
+ },
390
+ whereIsDamage: {
391
+ $ref: '#/definitions/children',
392
+ },
393
+ },
394
+ required: ['whereIsDamage'],
395
+ },
396
+ {
397
+ properties: {
398
+ location: {
399
+ enum: ['storeroom'],
400
+ },
401
+ whereIsDamage: {
402
+ $ref: '#/definitions/storeroom',
403
+ },
404
+ },
405
+ required: ['whereIsDamage'],
406
+ },
407
+ {
408
+ properties: {
409
+ location: {
410
+ enum: ['terrace'],
411
+ },
412
+ whereIsDamage: {
413
+ $ref: '#/definitions/terrace',
414
+ },
415
+ },
416
+ required: ['whereIsDamage'],
417
+ },
418
+ ],
419
+ },
420
+ },
421
+ },
422
+ kitchen: {
423
+ type: 'string',
424
+ enum: [
425
+ 'floor',
426
+ 'wall',
427
+ 'ceiling',
428
+ 'electrical',
429
+ 'surface',
430
+ 'wasteSystem',
431
+ 'sink',
432
+ 'window',
433
+ 'sunScreen',
434
+ 'ventilation',
435
+ 'heating',
436
+ 'furniture',
437
+ 'door',
438
+ ],
439
+ },
440
+ bathroom: {
441
+ type: 'object',
442
+ properties: {
443
+ whatIsBroken: {
444
+ type: 'string',
445
+ enum: [
446
+ 'floor',
447
+ 'wall',
448
+ 'ceiling',
449
+ 'electrical',
450
+ 'ventilation',
451
+ 'sanitary',
452
+ 'heating',
453
+ 'window',
454
+ 'sunScreen',
455
+ 'furniture',
456
+ 'door',
457
+ ],
458
+ },
459
+ },
460
+ required: ['whatIsBroken'],
461
+ dependencies: {
462
+ whatIsBroken: {
463
+ oneOf: [
464
+ {
465
+ properties: {
466
+ whatIsBroken: {
467
+ enum: ['sanitary'],
468
+ },
469
+ whatExact: {
470
+ $ref: '#/definitions/sanitary',
471
+ },
472
+ },
473
+ required: ['whatExact'],
474
+ },
475
+ {
476
+ properties: {
477
+ whatIsBroken: {
478
+ enum: [
479
+ 'floor',
480
+ 'wall',
481
+ 'ceiling',
482
+ 'electrical',
483
+ 'ventilation',
484
+ 'heating',
485
+ 'window',
486
+ 'sunScreen',
487
+ 'furniture',
488
+ 'door',
489
+ ],
490
+ },
491
+ },
492
+ },
493
+ ],
494
+ },
495
+ },
496
+ },
497
+ sanitary: {
498
+ type: 'string',
499
+ enum: ['fitting', 'toilet', 'sink', 'bathTap', 'shower'],
500
+ },
501
+ livingRoom: {
502
+ type: 'string',
503
+ enum: [
504
+ 'floor',
505
+ 'wall',
506
+ 'ceiling',
507
+ 'electrical',
508
+ 'ventilation',
509
+ 'heating',
510
+ 'window',
511
+ 'sunScreen',
512
+ 'furniture',
513
+ 'door',
514
+ ],
515
+ },
516
+ corridor: {
517
+ type: 'string',
518
+ enum: [
519
+ 'floor',
520
+ 'wall',
521
+ 'ceiling',
522
+ 'electrical',
523
+ 'ventilation',
524
+ 'heating',
525
+ 'window',
526
+ 'sunScreen',
527
+ 'furniture',
528
+ 'door',
529
+ ],
530
+ },
531
+ bedroom: {
532
+ type: 'string',
533
+ enum: [
534
+ 'floor',
535
+ 'wall',
536
+ 'ceiling',
537
+ 'electrical',
538
+ 'ventilation',
539
+ 'heating',
540
+ 'window',
541
+ 'sunScreen',
542
+ 'furniture',
543
+ 'door',
544
+ ],
545
+ },
546
+ children: {
547
+ type: 'string',
548
+ enum: [
549
+ 'floor',
550
+ 'wall',
551
+ 'ceiling',
552
+ 'electrical',
553
+ 'ventilation',
554
+ 'heating',
555
+ 'window',
556
+ 'sunScreen',
557
+ 'furniture',
558
+ 'door',
559
+ ],
560
+ },
561
+ storeroom: {
562
+ type: 'string',
563
+ enum: ['floor', 'wall', 'ceiling', 'ventilation', 'heating', 'door'],
564
+ },
565
+ terrace: {
566
+ type: 'string',
567
+ enum: [
568
+ 'floor',
569
+ 'wall',
570
+ 'ceiling',
571
+ 'electrical',
572
+ 'railing',
573
+ 'window',
574
+ 'glass',
575
+ 'sunScreen',
576
+ 'screen',
577
+ ],
578
+ },
579
+ outdoorArea: {
580
+ type: 'object',
581
+ properties: {
582
+ location: {
583
+ type: 'string',
584
+ enum: [
585
+ 'basement',
586
+ 'craftRoom',
587
+ 'parking',
588
+ 'stairwell',
589
+ 'washroom',
590
+ 'entrance',
591
+ 'surroundings',
592
+ 'attic',
593
+ ],
594
+ },
595
+ },
596
+ required: ['location'],
597
+ dependencies: {
598
+ location: {
599
+ oneOf: [
600
+ {
601
+ properties: {
602
+ location: {
603
+ enum: ['basement'],
604
+ },
605
+ whereIsDamage: {
606
+ $ref: '#/definitions/basement',
607
+ },
608
+ },
609
+ required: ['whereIsDamage'],
610
+ },
611
+ {
612
+ properties: {
613
+ location: {
614
+ enum: ['craftRoom'],
615
+ },
616
+ whereIsDamage: {
617
+ $ref: '#/definitions/craftRoom',
618
+ },
619
+ },
620
+ required: ['whereIsDamage'],
621
+ },
622
+ {
623
+ properties: {
624
+ location: {
625
+ enum: ['parking'],
626
+ },
627
+ whereIsDamage: {
628
+ $ref: '#/definitions/parking',
629
+ },
630
+ },
631
+ required: ['whereIsDamage'],
632
+ },
633
+ {
634
+ properties: {
635
+ location: {
636
+ enum: ['stairwell'],
637
+ },
638
+ whereIsDamage: {
639
+ $ref: '#/definitions/stairwell',
640
+ },
641
+ },
642
+ required: ['whereIsDamage'],
643
+ },
644
+ {
645
+ properties: {
646
+ location: {
647
+ enum: ['washroom'],
648
+ },
649
+ whereIsDamage: {
650
+ $ref: '#/definitions/washroom',
651
+ },
652
+ },
653
+ required: ['whereIsDamage'],
654
+ },
655
+ {
656
+ properties: {
657
+ location: {
658
+ enum: ['entrance'],
659
+ },
660
+ whereIsDamage: {
661
+ $ref: '#/definitions/entrance',
662
+ },
663
+ },
664
+ required: ['whereIsDamage'],
665
+ },
666
+ {
667
+ properties: {
668
+ location: {
669
+ enum: ['surroundings'],
670
+ },
671
+ whereIsDamage: {
672
+ $ref: '#/definitions/surroundings',
673
+ },
674
+ },
675
+ required: ['whereIsDamage'],
676
+ },
677
+ {
678
+ properties: {
679
+ location: {
680
+ enum: ['attic'],
681
+ },
682
+ whereIsDamage: {
683
+ $ref: '#/definitions/attic',
684
+ },
685
+ },
686
+ required: ['whereIsDamage'],
687
+ },
688
+ ],
689
+ },
690
+ },
691
+ },
692
+ basement: {
693
+ type: 'string',
694
+ enum: [
695
+ 'floor',
696
+ 'wall',
697
+ 'ceiling',
698
+ 'electrical',
699
+ 'ventilation',
700
+ 'window',
701
+ 'door',
702
+ ],
703
+ },
704
+ craftRoom: {
705
+ type: 'string',
706
+ enum: [
707
+ 'floor',
708
+ 'wall',
709
+ 'ceiling',
710
+ 'electrical',
711
+ 'sanitary',
712
+ 'window',
713
+ 'door',
714
+ ],
715
+ },
716
+ parking: {
717
+ type: 'string',
718
+ enum: ['floor', 'electrical', 'covering', 'cleaning', 'storage'],
719
+ },
720
+ stairwell: {
721
+ type: 'object',
722
+ properties: {
723
+ whereIsDamage: {
724
+ type: 'string',
725
+ enum: [
726
+ 'floor',
727
+ 'wall',
728
+ 'ceiling',
729
+ 'electrical',
730
+ 'security',
731
+ 'window',
732
+ 'heating',
733
+ ],
734
+ },
735
+ },
736
+ required: ['whereIsDamage'],
737
+ dependencies: {
738
+ whereIsDamage: {
739
+ oneOf: [
740
+ {
741
+ properties: {
742
+ whereIsDamage: {
743
+ enum: ['security'],
744
+ },
745
+ whereExact: {
746
+ $ref: '#/definitions/security',
747
+ },
748
+ },
749
+ required: ['whereExact'],
750
+ },
751
+ {
752
+ properties: {
753
+ whereIsDamage: {
754
+ enum: [
755
+ 'floor',
756
+ 'wall',
757
+ 'ceiling',
758
+ 'electrical',
759
+ 'window',
760
+ 'heating',
761
+ ],
762
+ },
763
+ },
764
+ },
765
+ ],
766
+ },
767
+ },
768
+ },
769
+ security: {
770
+ type: 'string',
771
+ enum: ['fire', 'smoke'],
772
+ },
773
+ washroom: {
774
+ type: 'object',
775
+ properties: {
776
+ whereIsDamage: {
777
+ type: 'string',
778
+ enum: [
779
+ 'floor',
780
+ 'wall',
781
+ 'ceiling',
782
+ 'electrical',
783
+ 'sanitary',
784
+ 'window',
785
+ 'device',
786
+ ],
787
+ },
788
+ },
789
+ required: ['whereIsDamage'],
790
+ dependencies: {
791
+ whereIsDamage: {
792
+ oneOf: [
793
+ {
794
+ properties: {
795
+ whereIsDamage: {
796
+ enum: ['device'],
797
+ },
798
+ whereExact: {
799
+ $ref: '#/definitions/washroomDevice',
800
+ },
801
+ },
802
+ required: ['whereExact'],
803
+ },
804
+ {
805
+ properties: {
806
+ whereIsDamage: {
807
+ enum: [
808
+ 'floor',
809
+ 'wall',
810
+ 'ceiling',
811
+ 'electrical',
812
+ 'sanitary',
813
+ 'window',
814
+ ],
815
+ },
816
+ },
817
+ },
818
+ ],
819
+ },
820
+ },
821
+ },
822
+ washroomDevice: {
823
+ type: 'object',
824
+ properties: {
825
+ whatIsBroken: {
826
+ type: 'string',
827
+ enum: ['washing', 'dryer', 'dehumidifier'],
828
+ },
829
+ },
830
+ required: ['whatIsBroken'],
831
+ dependencies: {
832
+ whatIsBroken: {
833
+ oneOf: [
834
+ {
835
+ properties: {
836
+ whatIsBroken: {
837
+ enum: ['washing', 'dryer'],
838
+ },
839
+ device: {
840
+ $ref: '#/definitions/device',
841
+ },
842
+ },
843
+ },
844
+ {
845
+ properties: {
846
+ whatIsBroken: {
847
+ enum: ['dehumidifier'],
848
+ },
849
+ device: {
850
+ $ref: '#/definitions/manufacturer',
851
+ },
852
+ },
853
+ },
854
+ ],
855
+ },
856
+ },
857
+ },
858
+ entrance: {
859
+ type: 'string',
860
+ enum: ['door', 'letterbox', 'electrical'],
861
+ },
862
+ surroundings: {
863
+ type: 'string',
864
+ enum: ['playground', 'sidewalk', 'facade', 'roof'],
865
+ },
866
+ attic: {
867
+ type: 'string',
868
+ enum: ['floor', 'wall', 'ceiling', 'electrical', 'window', 'door'],
869
+ },
870
+ },
871
+ properties: {
872
+ mainMenu: {
873
+ $ref: '#/definitions/mainMenu',
874
+ },
875
+ },
876
+ };
877
+ var translations = {
878
+ en_US: 'Hello, how can we help you?',
879
+ 'en_US.fields.brokenDevice': 'Broken device',
880
+ 'en_US.fields.reportADamage': 'Report a damage',
881
+ 'en_US.fields.mainMenu': ' ',
882
+ 'en_US.types.manufacturer': ' ',
883
+ 'en_US.types.manufacturer.fields.manufacturer': 'Manufacturer name',
884
+ 'en_US.types.device': ' ',
885
+ 'en_US.types.device.fields.manufacturer': 'Manufacturer name',
886
+ 'en_US.types.device.fields.deviceNumber': 'Device Number',
887
+ 'en_US.types.device.fields.errorCode': 'Error Code',
888
+ 'en_US.types.mainMenu': ' ',
889
+ 'en_US.types.mainMenu.fields.section': 'Choose topic',
890
+ 'en_US.types.mainMenu.fields.section.options.damage': 'Report a damage',
891
+ 'en_US.types.mainMenu.fields.section.options.broken': 'Broken device',
892
+ 'en_US.types.deviceKitchen': ' ',
893
+ 'en_US.types.deviceKitchen.fields.whatIsBroken': 'What is broken?',
894
+ 'en_US.types.deviceKitchen.fields.whatIsBroken.options.appliance': 'Kitchen appliance',
895
+ 'en_US.types.deviceKitchen.fields.whatIsBroken.options.other': 'Other',
896
+ 'en_US.types.kitchenAppliance': ' ',
897
+ 'en_US.types.kitchenAppliance.fields.whatExact': 'What exactly is broken?',
898
+ 'en_US.types.kitchenAppliance.fields.whatExact.options.oven': 'Oven',
899
+ 'en_US.types.kitchenAppliance.fields.whatExact.options.stove': 'Stove',
900
+ 'en_US.types.kitchenAppliance.fields.whatExact.options.cooker': 'Steam Cooker',
901
+ 'en_US.types.kitchenAppliance.fields.whatExact.options.dishwasher': 'Dishwasher',
902
+ 'en_US.types.kitchenAppliance.fields.whatExact.options.extractor': 'Extractor hood',
903
+ 'en_US.types.kitchenAppliance.fields.whatExact.options.fridge': 'Fridge',
904
+ 'en_US.types.kitchenAppliance.fields.whatExact.options.freezer': 'Freezer',
905
+ 'en_US.types.brokenDevice': ' ',
906
+ 'en_US.types.brokenDevice.fields.location': 'Where is the broken device located?',
907
+ 'en_US.types.brokenDevice.fields.location.options.kitchen': 'Kitchen',
908
+ 'en_US.types.brokenDevice.fields.location.options.bathroom': 'Bathroom',
909
+ 'en_US.types.brokenDevice.fields.location.options.common': 'Common area',
910
+ 'en_US.types.deviceBathroom': ' ',
911
+ 'en_US.types.deviceBathroom.fields.whatIsBroken': 'What is broken?',
912
+ 'en_US.types.deviceBathroom.fields.whatIsBroken.options.ventilation': 'Ventilation',
913
+ 'en_US.types.deviceBathroom.fields.whatIsBroken.options.washing': 'Washing machine',
914
+ 'en_US.types.deviceBathroom.fields.whatIsBroken.options.dryer': 'Dryer',
915
+ 'en_US.types.deviceBathroom.fields.whatIsBroken.options.other': 'Other device',
916
+ 'en_US.types.deviceCommon': ' ',
917
+ 'en_US.types.deviceCommon.fields.whatIsBroken': 'What is broken?',
918
+ 'en_US.types.deviceCommon.fields.whatIsBroken.options.washing': 'Washing machine',
919
+ 'en_US.types.deviceCommon.fields.whatIsBroken.options.dryer': 'Dryer',
920
+ 'en_US.types.reportADamage': ' ',
921
+ 'en_US.types.reportADamage.fields.report.options.inApartment': 'In the apartment',
922
+ 'en_US.types.reportADamage.fields.report.options.outdoor': 'Outdoor area',
923
+ 'en_US.types.inTheApartment': ' ',
924
+ 'en_US.types.inTheApartment.fields.whereIsDamage': 'Where is the damage located?',
925
+ 'en_US.types.inTheApartment.fields.location': 'Where is the damage located?',
926
+ 'en_US.types.inTheApartment.fields.location.options.kitchen': 'Kitchen',
927
+ 'en_US.types.inTheApartment.fields.location.options.bathroom': 'Bathroom',
928
+ 'en_US.types.inTheApartment.fields.location.options.livingRoom': 'Living room',
929
+ 'en_US.types.inTheApartment.fields.location.options.corridor': 'Corridor',
930
+ 'en_US.types.inTheApartment.fields.location.options.bedroom': 'Bedroom',
931
+ 'en_US.types.inTheApartment.fields.location.options.children': "Children' room",
932
+ 'en_US.types.inTheApartment.fields.location.options.storeroom': 'Store room',
933
+ 'en_US.types.inTheApartment.fields.location.options.terrace': 'Balcony, terrace',
934
+ 'en_US.types.kitchen': 'Where is broken?',
935
+ 'en_US.types.kitchen.options.floor': 'Floor',
936
+ 'en_US.types.kitchen.options.wall': 'Wall',
937
+ 'en_US.types.kitchen.options.ceiling': 'Ceiling',
938
+ 'en_US.types.kitchen.options.electrical': 'Electrical installation',
939
+ 'en_US.types.kitchen.options.surface': 'Kitchen work surface',
940
+ 'en_US.types.kitchen.options.wasteSystem': 'Waste disposal system',
941
+ 'en_US.types.kitchen.options.sink': 'Sink',
942
+ 'en_US.types.kitchen.options.window': 'Window',
943
+ 'en_US.types.kitchen.options.sunScreen': 'Sun screen',
944
+ 'en_US.types.kitchen.options.ventilation': 'Ventilation',
945
+ 'en_US.types.kitchen.options.heating': 'Heating',
946
+ 'en_US.types.kitchen.options.furniture': 'Build-in furniture',
947
+ 'en_US.types.kitchen.options.door': 'Door',
948
+ 'en_US.types.bathroom': ' ',
949
+ 'en_US.types.bathroom.fields.whatIsBroken': 'Where is broken?',
950
+ 'en_US.types.bathroom.fields.whatIsBroken.options.floor': 'Floor',
951
+ 'en_US.types.bathroom.fields.whatIsBroken.options.wall': 'Wall',
952
+ 'en_US.types.bathroom.fields.whatIsBroken.options.ceiling': 'Ceiling',
953
+ 'en_US.types.bathroom.fields.whatIsBroken.options.electrical': 'Electrical installation',
954
+ 'en_US.types.bathroom.fields.whatIsBroken.options.ventilation': 'Ventilation',
955
+ 'en_US.types.bathroom.fields.whatIsBroken.options.sanitary': 'Sanitary installation',
956
+ 'en_US.types.bathroom.fields.whatIsBroken.options.heating': 'Heating',
957
+ 'en_US.types.bathroom.fields.whatIsBroken.options.window': 'Window',
958
+ 'en_US.types.bathroom.fields.whatIsBroken.options.sunScreen': 'Sun screen',
959
+ 'en_US.types.bathroom.fields.whatIsBroken.options.furniture': 'Bathroom furniture',
960
+ 'en_US.types.bathroom.fields.whatIsBroken.options.door': 'Door',
961
+ 'en_US.types.sanitary': 'Where is exactly broken?',
962
+ 'en_US.types.sanitary.options.fitting': 'Sink fitting',
963
+ 'en_US.types.sanitary.options.toilet': 'Toilet',
964
+ 'en_US.types.sanitary.options.sink': 'Sink',
965
+ 'en_US.types.sanitary.options.bathTap': 'Bath tap',
966
+ 'en_US.types.sanitary.options.shower': 'Shower',
967
+ 'en_US.types.livingRoom': 'Where is broken?',
968
+ 'en_US.types.livingRoom.options.floor': 'Floor',
969
+ 'en_US.types.livingRoom.options.wall': 'Wall',
970
+ 'en_US.types.livingRoom.options.ceiling': 'Ceiling',
971
+ 'en_US.types.livingRoom.options.electrical': 'Electrical installation',
972
+ 'en_US.types.livingRoom.options.ventilation': 'Ventilation',
973
+ 'en_US.types.livingRoom.options.heating': 'Heating',
974
+ 'en_US.types.livingRoom.options.window': 'Window',
975
+ 'en_US.types.livingRoom.options.sunScreen': 'Sun screen',
976
+ 'en_US.types.livingRoom.options.furniture': 'Living room furniture',
977
+ 'en_US.types.livingRoom.options.door': 'Door',
978
+ 'en_US.types.corridor': 'Where is broken?',
979
+ 'en_US.types.corridor.options.floor': 'Floor',
980
+ 'en_US.types.corridor.options.wall': 'Wall',
981
+ 'en_US.types.corridor.options.ceiling': 'Ceiling',
982
+ 'en_US.types.corridor.options.electrical': 'Electrical installation',
983
+ 'en_US.types.corridor.options.ventilation': 'Ventilation',
984
+ 'en_US.types.corridor.options.heating': 'Heating',
985
+ 'en_US.types.corridor.options.window': 'Window',
986
+ 'en_US.types.corridor.options.sunScreen': 'Sun screen',
987
+ 'en_US.types.corridor.options.furniture': 'Cabinet',
988
+ 'en_US.types.corridor.options.door': 'Door',
989
+ 'en_US.types.bedroom': 'Where is broken?',
990
+ 'en_US.types.bedroom.options.floor': 'Floor',
991
+ 'en_US.types.bedroom.options.wall': 'Wall',
992
+ 'en_US.types.bedroom.options.ceiling': 'Ceiling',
993
+ 'en_US.types.bedroom.options.electrical': 'Electrical installation',
994
+ 'en_US.types.bedroom.options.ventilation': 'Ventilation',
995
+ 'en_US.types.bedroom.options.heating': 'Heating',
996
+ 'en_US.types.bedroom.options.window': 'Window',
997
+ 'en_US.types.bedroom.options.sunScreen': 'Sun screen',
998
+ 'en_US.types.bedroom.options.furniture': 'Bedroom furniture',
999
+ 'en_US.types.bedroom.options.door': 'Door',
1000
+ 'en_US.types.children': 'Where is broken?',
1001
+ 'en_US.types.children.options.floor': 'Floor',
1002
+ 'en_US.types.children.options.wall': 'Wall',
1003
+ 'en_US.types.children.options.ceiling': 'Ceiling',
1004
+ 'en_US.types.children.options.electrical': 'Electrical installation',
1005
+ 'en_US.types.children.options.ventilation': 'Ventilation',
1006
+ 'en_US.types.children.options.heating': 'Heating',
1007
+ 'en_US.types.children.options.window': 'Window',
1008
+ 'en_US.types.children.options.sunScreen': 'Sun screen',
1009
+ 'en_US.types.children.options.furniture': 'Furniture',
1010
+ 'en_US.types.children.options.door': 'Door',
1011
+ 'en_US.types.storeroom': 'Where is broken?',
1012
+ 'en_US.types.storeroom.options.floor': 'Floor',
1013
+ 'en_US.types.storeroom.options.wall': 'Wall',
1014
+ 'en_US.types.storeroom.options.ceiling': 'Ceiling',
1015
+ 'en_US.types.storeroom.options.ventilation': 'Ventilation',
1016
+ 'en_US.types.storeroom.options.heating': 'Heating',
1017
+ 'en_US.types.storeroom.options.door': 'Door',
1018
+ 'en_US.types.terrace': 'Where is broken?',
1019
+ 'en_US.types.terrace.options.floor': 'Floor',
1020
+ 'en_US.types.terrace.options.wall': 'Wall',
1021
+ 'en_US.types.terrace.options.ceiling': 'Ceiling',
1022
+ 'en_US.types.terrace.options.electrical': 'Electrical installation',
1023
+ 'en_US.types.terrace.options.railing': 'Railing',
1024
+ 'en_US.types.terrace.options.glass': 'Glass',
1025
+ 'en_US.types.terrace.options.window': 'Window',
1026
+ 'en_US.types.terrace.options.sunScreen': 'Sun screen',
1027
+ 'en_US.types.terrace.options.screen': 'Sunscreen',
1028
+ 'en_US.types.basement': 'Where is the damage located?',
1029
+ 'en_US.types.basement.options.floor': 'Floor',
1030
+ 'en_US.types.basement.options.wall': 'Wall',
1031
+ 'en_US.types.basement.options.ceiling': 'Ceiling',
1032
+ 'en_US.types.basement.options.electrical': 'Electrical installation',
1033
+ 'en_US.types.basement.options.ventilation': 'Ventilation',
1034
+ 'en_US.types.basement.options.window': 'Window',
1035
+ 'en_US.types.basement.options.door': 'Door',
1036
+ 'en_US.types.craftRoom': 'Where is the damage located?',
1037
+ 'en_US.types.craftRoom.options.floor': 'Floor',
1038
+ 'en_US.types.craftRoom.options.wall': 'Wall',
1039
+ 'en_US.types.craftRoom.options.ceiling': 'Ceiling',
1040
+ 'en_US.types.craftRoom.options.electrical': 'Electrical installation',
1041
+ 'en_US.types.craftRoom.options.sanitary': 'Sanitary installation',
1042
+ 'en_US.types.craftRoom.options.window': 'Window',
1043
+ 'en_US.types.craftRoom.options.door': 'Door',
1044
+ 'en_US.types.parking': 'Where is the damage located?',
1045
+ 'en_US.types.parking.options.floor': 'Floor',
1046
+ 'en_US.types.parking.options.electrical': 'Electrical installation',
1047
+ 'en_US.types.parking.options.covering': 'Covering(?)',
1048
+ 'en_US.types.parking.options.cleaning': 'Cleaning spot',
1049
+ 'en_US.types.parking.options.storage': 'Tier storage',
1050
+ 'en_US.types.stairwell': ' ',
1051
+ 'en_US.types.stairwell.fields.whereIsDamage': 'Where is the damage located?',
1052
+ 'en_US.types.stairwell.fields.whereIsDamage.options.floor': 'Floor',
1053
+ 'en_US.types.stairwell.fields.whereIsDamage.options.wall': 'Wall',
1054
+ 'en_US.types.stairwell.fields.whereIsDamage.options.ceiling': 'Ceiling',
1055
+ 'en_US.types.stairwell.fields.whereIsDamage.options.electrical': 'Electrical installation',
1056
+ 'en_US.types.stairwell.fields.whereIsDamage.options.security': 'Security installation',
1057
+ 'en_US.types.stairwell.fields.whereIsDamage.options.window': 'Window',
1058
+ 'en_US.types.stairwell.fields.whereIsDamage.options.heating': 'Heating',
1059
+ 'en_US.types.security': 'Where is the damage exactly?',
1060
+ 'en_US.types.security.options.fire': 'Fire extinguisher',
1061
+ 'en_US.types.security.options.smoke': 'Smoke Detector',
1062
+ 'en_US.types.washroom': ' ',
1063
+ 'en_US.types.washroom.fields.whereIsDamage': 'Where is the damage located?',
1064
+ 'en_US.types.washroom.fields.whereIsDamage.options.floor': 'Floor',
1065
+ 'en_US.types.washroom.fields.whereIsDamage.options.wall': 'Wall',
1066
+ 'en_US.types.washroom.fields.whereIsDamage.options.ceiling': 'Ceiling',
1067
+ 'en_US.types.washroom.fields.whereIsDamage.options.electrical': 'Electrical installation',
1068
+ 'en_US.types.washroom.fields.whereIsDamage.options.sanitary': 'Sanitary installation',
1069
+ 'en_US.types.washroom.fields.whereIsDamage.options.window': 'Window',
1070
+ 'en_US.types.washroom.fields.whereIsDamage.options.device': 'Device',
1071
+ 'en_US.types.washroomDevice': ' ',
1072
+ 'en_US.types.washroomDevice.fields.whatIsBroken': 'What is exactly broken?',
1073
+ 'en_US.types.washroomDevice.fields.whatIsBroken.options.washing': 'Washing machine',
1074
+ 'en_US.types.washroomDevice.fields.whatIsBroken.options.dryer': 'Dryer',
1075
+ 'en_US.types.washroomDevice.fields.whatIsBroken.options.dehumidifier': 'Dehumidifier',
1076
+ 'en_US.types.entrance': 'Where is the damage located?',
1077
+ 'en_US.types.entrance.options.door': 'Door',
1078
+ 'en_US.types.entrance.options.letterbox': 'Letterbox',
1079
+ 'en_US.types.entrance.options.electrical': 'Electrical installation',
1080
+ 'en_US.types.attic': 'Where is the damage located?',
1081
+ 'en_US.types.attic.options.floor': 'Floor',
1082
+ 'en_US.types.attic.options.wall': 'Wall',
1083
+ 'en_US.types.attic.options.ceiling': 'Ceiling',
1084
+ 'en_US.types.attic.options.electrical': 'Electrical installation',
1085
+ 'en_US.types.attic.options.window': 'Window',
1086
+ 'en_US.types.attic.options.door': 'Door',
1087
+ 'en_US.types.surroundings': 'Where is the damage located?',
1088
+ 'en_US.types.surroundings.options.playground': 'Playground',
1089
+ 'en_US.types.surroundings.options.sidewalk': 'Sidewalk',
1090
+ 'en_US.types.surroundings.options.facade': 'Facade',
1091
+ 'en_US.types.surroundings.options.roof': 'Roof',
1092
+ 'en_US.types.outdoorArea': ' ',
1093
+ 'en_US.types.outdoorArea.fields.location': 'Where is the damage located?',
1094
+ 'en_US.types.outdoorArea.fields.location.options.basement': 'Basement',
1095
+ 'en_US.types.outdoorArea.fields.location.options.craftRoom': 'Craft room',
1096
+ 'en_US.types.outdoorArea.fields.location.options.parking': 'Parking lot',
1097
+ 'en_US.types.outdoorArea.fields.location.options.stairwell': 'Stairwell(?) (Trappenhaus)',
1098
+ 'en_US.types.outdoorArea.fields.location.options.washroom': 'Washroom',
1099
+ 'en_US.types.outdoorArea.fields.location.options.entrance': 'Entrance',
1100
+ 'en_US.types.outdoorArea.fields.location.options.surroundings': 'Surroundings',
1101
+ 'en_US.types.outdoorArea.fields.location.options.attic': 'Attic',
1102
+ 'en_US.types.reportADamage.fields.report': 'Where do repairs have to be done?',
1103
+ de_DE: 'Bitte wählen Sie Ihre Schadenart?',
1104
+ 'de_DE.fields.mainMenu': ' ',
1105
+ 'fr_FR.fields.mainMenu': '',
1106
+ 'it_IT.fields.mainMenu': '',
1107
+ 'nl_NL.fields.mainMenu': '',
1108
+ 'pt_PT.fields.mainMenu': '',
1109
+ 'de_DE.fields.brokenDevice': 'Geräteschaden',
1110
+ 'de_DE.fields.reportADamage': 'Schaden melden',
1111
+ 'de_DE.types.manufacturer': ' ',
1112
+ 'de_DE.types.manufacturer.fields.manufacturer': 'Hersteller',
1113
+ 'de_DE.types.device': ' ',
1114
+ 'de_DE.types.device.fields.manufacturer': 'Hersteller',
1115
+ 'de_DE.types.device.fields.deviceNumber': 'Gerätename',
1116
+ 'de_DE.types.device.fields.errorCode': 'Fehlercode',
1117
+ 'de_DE.types.mainMenu': ' ',
1118
+ 'de_DE.types.mainMenu.fields.section': 'Wählen Sie die kategorie',
1119
+ 'de_DE.types.mainMenu.fields.section.options.damage': 'Schaden melden',
1120
+ 'de_DE.types.mainMenu.fields.section.options.broken': 'Geräteschaden',
1121
+ 'de_DE.types.deviceKitchen': ' ',
1122
+ 'de_DE.types.deviceKitchen.fields.whatIsBroken': 'Was ist defekt?',
1123
+ 'de_DE.types.deviceKitchen.fields.whatIsBroken.options.appliance': 'Küchengeräte',
1124
+ 'de_DE.types.deviceKitchen.fields.whatIsBroken.options.other': 'Andere Geräte',
1125
+ 'de_DE.types.kitchenAppliance': ' ',
1126
+ 'de_DE.types.kitchenAppliance.fields.whatExact': 'Was genau ist defekt?',
1127
+ 'de_DE.types.kitchenAppliance.fields.whatExact.options.oven': 'Ofen',
1128
+ 'de_DE.types.kitchenAppliance.fields.whatExact.options.stove': 'Herd',
1129
+ 'de_DE.types.kitchenAppliance.fields.whatExact.options.cooker': 'Steamer',
1130
+ 'de_DE.types.kitchenAppliance.fields.whatExact.options.dishwasher': 'Geschirrspühler',
1131
+ 'de_DE.types.kitchenAppliance.fields.whatExact.options.extractor': 'Dampfabzug',
1132
+ 'de_DE.types.kitchenAppliance.fields.whatExact.options.fridge': 'Kühlschrank',
1133
+ 'de_DE.types.kitchenAppliance.fields.whatExact.options.freezer': 'Gefrierschrank',
1134
+ 'de_DE.types.brokenDevice': ' ',
1135
+ 'de_DE.types.brokenDevice.fields.location': 'Wo befindet sich das defekte Gerät?',
1136
+ 'de_DE.types.brokenDevice.fields.location.options.kitchen': 'Küche',
1137
+ 'de_DE.types.brokenDevice.fields.location.options.bathroom': 'Badezimmer',
1138
+ 'de_DE.types.brokenDevice.fields.location.options.common': 'Allgemeine Bereiche',
1139
+ 'de_DE.types.deviceBathroom': ' ',
1140
+ 'de_DE.types.deviceBathroom.fields.whatIsBroken': 'Was ist defekt?',
1141
+ 'de_DE.types.deviceBathroom.fields.whatIsBroken.options.ventilation': 'Lüftung',
1142
+ 'de_DE.types.deviceBathroom.fields.whatIsBroken.options.washing': 'Waschmaschine',
1143
+ 'de_DE.types.deviceBathroom.fields.whatIsBroken.options.dryer': 'Trockner',
1144
+ 'de_DE.types.deviceBathroom.fields.whatIsBroken.options.other': 'andere Geräte',
1145
+ 'de_DE.types.deviceCommon': ' ',
1146
+ 'de_DE.types.deviceCommon.fields.whatIsBroken': 'Was ist defekt?',
1147
+ 'de_DE.types.deviceCommon.fields.whatIsBroken.options.washing': 'Waschmaschine',
1148
+ 'de_DE.types.deviceCommon.fields.whatIsBroken.options.dryer': 'Trockner',
1149
+ 'de_DE.types.reportADamage': ' ',
1150
+ 'de_DE.types.reportADamage.fields.report.options.inApartment': 'In der Wohnung',
1151
+ 'de_DE.types.reportADamage.fields.report.options.outdoor': 'Im Aussenbereich',
1152
+ 'de_DE.types.inTheApartment': ' ',
1153
+ 'de_DE.types.inTheApartment.fields.whereIsDamage': 'Wo befindet sich der Schaden?',
1154
+ 'de_DE.types.inTheApartment.fields.location': 'In welchem Raum befindet sich der Schaden?',
1155
+ 'de_DE.types.inTheApartment.fields.location.options.kitchen': 'Küche',
1156
+ 'de_DE.types.inTheApartment.fields.location.options.bathroom': 'Badezimmer',
1157
+ 'de_DE.types.inTheApartment.fields.location.options.livingRoom': 'Wohnzimmer',
1158
+ 'de_DE.types.inTheApartment.fields.location.options.corridor': 'Korridor',
1159
+ 'de_DE.types.inTheApartment.fields.location.options.bedroom': 'Badezimmer',
1160
+ 'de_DE.types.inTheApartment.fields.location.options.children': 'Kinderzimmer',
1161
+ 'de_DE.types.inTheApartment.fields.location.options.storeroom': 'Reduit',
1162
+ 'de_DE.types.inTheApartment.fields.location.options.terrace': 'Balkon, Terrasse',
1163
+ 'de_DE.types.kitchen': 'Wo befindet sich der Schaden im Raum?',
1164
+ 'de_DE.types.kitchen.options.floor': 'Boden',
1165
+ 'de_DE.types.kitchen.options.wall': 'Wand',
1166
+ 'de_DE.types.kitchen.options.ceiling': 'Decke',
1167
+ 'de_DE.types.kitchen.options.electrical': 'Elektorinstallation',
1168
+ 'de_DE.types.kitchen.options.surface': 'Arbeitsplatte',
1169
+ 'de_DE.types.kitchen.options.wasteSystem': 'Müllsystem',
1170
+ 'de_DE.types.kitchen.options.sink': 'Spühlbecken',
1171
+ 'de_DE.types.kitchen.options.window': 'Fenster',
1172
+ 'de_DE.types.kitchen.options.sunScreen': 'Storen',
1173
+ 'de_DE.types.kitchen.options.ventilation': 'Lüftung',
1174
+ 'de_DE.types.kitchen.options.heating': 'Heizkörper',
1175
+ 'de_DE.types.kitchen.options.furniture': 'Einbauten',
1176
+ 'de_DE.types.kitchen.options.door': 'Türe',
1177
+ 'de_DE.types.bathroom': ' ',
1178
+ 'de_DE.types.bathroom.fields.whatIsBroken': 'Was ist defekt?',
1179
+ 'de_DE.types.bathroom.fields.whatIsBroken.options.floor': 'Boden',
1180
+ 'de_DE.types.bathroom.fields.whatIsBroken.options.wall': 'Wand',
1181
+ 'de_DE.types.bathroom.fields.whatIsBroken.options.ceiling': 'Decke',
1182
+ 'de_DE.types.bathroom.fields.whatIsBroken.options.electrical': 'Elektorinstallation',
1183
+ 'de_DE.types.bathroom.fields.whatIsBroken.options.ventilation': 'Lüftung',
1184
+ 'de_DE.types.bathroom.fields.whatIsBroken.options.sanitary': 'Sanitärinstallation',
1185
+ 'de_DE.types.bathroom.fields.whatIsBroken.options.heating': 'Heizung',
1186
+ 'de_DE.types.bathroom.fields.whatIsBroken.options.window': 'Fenster',
1187
+ 'de_DE.types.bathroom.fields.whatIsBroken.options.sunScreen': 'Storen',
1188
+ 'de_DE.types.bathroom.fields.whatIsBroken.options.furniture': 'Einbauten',
1189
+ 'de_DE.types.bathroom.fields.whatIsBroken.options.door': 'Türe',
1190
+ 'de_DE.types.sanitary': 'Wo befindet sich der Schaden genau?',
1191
+ 'de_DE.types.sanitary.options.fitting': 'Armaturen',
1192
+ 'de_DE.types.sanitary.options.toilet': 'WC',
1193
+ 'de_DE.types.sanitary.options.sink': 'Spühlbecken',
1194
+ 'de_DE.types.sanitary.options.bathTap': 'Badewanne',
1195
+ 'de_DE.types.sanitary.options.shower': 'Dusche',
1196
+ 'de_DE.types.livingRoom': 'Wo befindet sich der schaden?',
1197
+ 'de_DE.types.livingRoom.options.floor': 'Boden',
1198
+ 'de_DE.types.livingRoom.options.wall': 'Wand',
1199
+ 'de_DE.types.livingRoom.options.ceiling': 'Decke',
1200
+ 'de_DE.types.livingRoom.options.electrical': 'Elektorinstallation',
1201
+ 'de_DE.types.livingRoom.options.ventilation': 'Lüftung',
1202
+ 'de_DE.types.livingRoom.options.heating': 'Heizung',
1203
+ 'de_DE.types.livingRoom.options.window': 'Fenster',
1204
+ 'de_DE.types.livingRoom.options.sunScreen': 'Storen',
1205
+ 'de_DE.types.livingRoom.options.furniture': 'Einbauten',
1206
+ 'de_DE.types.livingRoom.options.door': 'Türe',
1207
+ 'de_DE.types.corridor': 'Wo ist der Schaden?',
1208
+ 'de_DE.types.corridor.options.floor': 'Boden',
1209
+ 'de_DE.types.corridor.options.wall': 'Wand',
1210
+ 'de_DE.types.corridor.options.ceiling': 'Decke',
1211
+ 'de_DE.types.corridor.options.electrical': 'Elektorinstallation',
1212
+ 'de_DE.types.corridor.options.ventilation': 'Lüftung',
1213
+ 'de_DE.types.corridor.options.heating': 'Heizung',
1214
+ 'de_DE.types.corridor.options.window': 'Fenster',
1215
+ 'de_DE.types.corridor.options.sunScreen': 'Storen',
1216
+ 'de_DE.types.corridor.options.furniture': 'Einbauschrank',
1217
+ 'de_DE.types.corridor.options.door': 'Türe',
1218
+ 'de_DE.types.bedroom': 'Wo ist der Schaden?',
1219
+ 'de_DE.types.bedroom.options.floor': 'Boden',
1220
+ 'de_DE.types.bedroom.options.wall': 'Waand',
1221
+ 'de_DE.types.bedroom.options.ceiling': 'Decke',
1222
+ 'de_DE.types.bedroom.options.electrical': 'Elektorinstallation',
1223
+ 'de_DE.types.bedroom.options.ventilation': 'Lüftung',
1224
+ 'de_DE.types.bedroom.options.heating': 'Heizung',
1225
+ 'de_DE.types.bedroom.options.window': 'Fenster',
1226
+ 'de_DE.types.bedroom.options.sunScreen': 'Storen',
1227
+ 'de_DE.types.bedroom.options.furniture': 'Einbauten',
1228
+ 'de_DE.types.bedroom.options.door': 'Tür',
1229
+ 'de_DE.types.children': 'Wo ist der Schaden?',
1230
+ 'de_DE.types.children.options.floor': 'Boden',
1231
+ 'de_DE.types.children.options.wall': 'Wand',
1232
+ 'de_DE.types.children.options.ceiling': 'Decke',
1233
+ 'de_DE.types.children.options.electrical': 'Elektorinstallation',
1234
+ 'de_DE.types.children.options.ventilation': 'Lüftung',
1235
+ 'de_DE.types.children.options.heating': 'Heizung',
1236
+ 'de_DE.types.children.options.window': 'Fenster',
1237
+ 'de_DE.types.children.options.sunScreen': 'Storen',
1238
+ 'de_DE.types.children.options.furniture': 'Einbauten',
1239
+ 'de_DE.types.children.options.door': 'Tür',
1240
+ 'de_DE.types.storeroom': 'Wo ist der Schaden?',
1241
+ 'de_DE.types.storeroom.options.floor': 'Boden',
1242
+ 'de_DE.types.storeroom.options.wall': 'Wand',
1243
+ 'de_DE.types.storeroom.options.ceiling': 'decke',
1244
+ 'de_DE.types.storeroom.options.ventilation': 'Lüftung',
1245
+ 'de_DE.types.storeroom.options.heating': 'Heizung',
1246
+ 'de_DE.types.storeroom.options.door': 'Tür',
1247
+ 'de_DE.types.terrace': 'Wo ist der Schaden?',
1248
+ 'de_DE.types.terrace.options.floor': 'Boden',
1249
+ 'de_DE.types.terrace.options.wall': 'Wand',
1250
+ 'de_DE.types.terrace.options.ceiling': 'Decke',
1251
+ 'de_DE.types.terrace.options.electrical': 'Elektorinstallation',
1252
+ 'de_DE.types.terrace.options.railing': 'Geländer/Brüstung',
1253
+ 'de_DE.types.terrace.options.glass': 'Verglasung',
1254
+ 'de_DE.types.terrace.options.window': 'Fenster',
1255
+ 'de_DE.types.terrace.options.sunScreen': 'Sonnenstoren',
1256
+ 'de_DE.types.terrace.options.screen': 'Storen',
1257
+ 'de_DE.types.basement': 'Wo befindet sich der Schaden',
1258
+ 'de_DE.types.basement.options.floor': 'Boden',
1259
+ 'de_DE.types.basement.options.wall': 'Wand',
1260
+ 'de_DE.types.basement.options.ceiling': 'Decke',
1261
+ 'de_DE.types.basement.options.electrical': 'Elektorinstallation',
1262
+ 'de_DE.types.basement.options.ventilation': 'Lüftung',
1263
+ 'de_DE.types.basement.options.window': 'Fenster',
1264
+ 'de_DE.types.basement.options.door': 'Tür',
1265
+ 'de_DE.types.craftRoom': 'Wo befindet sich der Schaden?',
1266
+ 'de_DE.types.craftRoom.options.floor': 'Boden',
1267
+ 'de_DE.types.craftRoom.options.wall': 'Wand',
1268
+ 'de_DE.types.craftRoom.options.ceiling': 'Decke',
1269
+ 'de_DE.types.craftRoom.options.electrical': 'Elektorinstallation',
1270
+ 'de_DE.types.craftRoom.options.sanitary': 'Sanitärinstallation',
1271
+ 'de_DE.types.craftRoom.options.window': 'Fenster',
1272
+ 'de_DE.types.craftRoom.options.door': 'Tür',
1273
+ 'de_DE.types.parking': 'Wo befindet sich der Schaden?',
1274
+ 'de_DE.types.parking.options.floor': 'Belag',
1275
+ 'de_DE.types.parking.options.electrical': 'Elektorinstallation',
1276
+ 'de_DE.types.parking.options.covering': 'Garagentoor',
1277
+ 'de_DE.types.parking.options.cleaning': 'Waschplatz',
1278
+ 'de_DE.types.parking.options.storage': 'Pneukasten',
1279
+ 'de_DE.types.stairwell': ' ',
1280
+ 'de_DE.types.stairwell.fields.whereIsDamage': 'Wo befindet sich der Schaden?',
1281
+ 'de_DE.types.stairwell.fields.whereIsDamage.options.floor': 'Boden',
1282
+ 'de_DE.types.stairwell.fields.whereIsDamage.options.wall': 'Wand',
1283
+ 'de_DE.types.stairwell.fields.whereIsDamage.options.ceiling': 'Decke',
1284
+ 'de_DE.types.stairwell.fields.whereIsDamage.options.electrical': 'Elektorinstallation',
1285
+ 'de_DE.types.stairwell.fields.whereIsDamage.options.security': 'Sicherheitsinstallationen',
1286
+ 'de_DE.types.stairwell.fields.whereIsDamage.options.window': 'Fenster',
1287
+ 'de_DE.types.stairwell.fields.whereIsDamage.options.heating': 'Heizung',
1288
+ 'de_DE.types.security': 'Wo befindet sich der Schaden genau?',
1289
+ 'de_DE.types.security.options.fire': 'Feuerlöscher',
1290
+ 'de_DE.types.security.options.smoke': 'Rauchmelder',
1291
+ 'de_DE.types.washroom': ' ',
1292
+ 'de_DE.types.washroom.fields.whereIsDamage': 'Wo befindet sich der Schaden?',
1293
+ 'de_DE.types.washroom.fields.whereIsDamage.options.floor': 'Boden',
1294
+ 'de_DE.types.washroom.fields.whereIsDamage.options.wall': 'Wand',
1295
+ 'de_DE.types.washroom.fields.whereIsDamage.options.ceiling': 'Decke',
1296
+ 'de_DE.types.washroom.fields.whereIsDamage.options.electrical': 'Elektorinstallation',
1297
+ 'de_DE.types.washroom.fields.whereIsDamage.options.sanitary': 'Sanitärinstallation',
1298
+ 'de_DE.types.washroom.fields.whereIsDamage.options.window': 'Fenster',
1299
+ 'de_DE.types.washroom.fields.whereIsDamage.options.device': 'Gerät',
1300
+ 'de_DE.types.washroomDevice': ' ',
1301
+ 'de_DE.types.washroomDevice.fields.whatIsBroken': 'Was ist genau defekt?',
1302
+ 'de_DE.types.washroomDevice.fields.whatIsBroken.options.washing': 'Waschmaschine',
1303
+ 'de_DE.types.washroomDevice.fields.whatIsBroken.options.dryer': 'Trockner',
1304
+ 'de_DE.types.washroomDevice.fields.whatIsBroken.options.dehumidifier': 'Entfeuchter',
1305
+ 'de_DE.types.entrance': 'Wo befindet sich der Schaden?',
1306
+ 'de_DE.types.entrance.options.door': 'Tür',
1307
+ 'de_DE.types.entrance.options.letterbox': 'Briefkasten',
1308
+ 'de_DE.types.entrance.options.electrical': 'Elektorinstallation',
1309
+ 'de_DE.types.attic': 'Wo befindet sich der Schaden?',
1310
+ 'de_DE.types.attic.options.floor': 'Boden',
1311
+ 'de_DE.types.attic.options.wall': 'Wand',
1312
+ 'de_DE.types.attic.options.ceiling': 'Decke',
1313
+ 'de_DE.types.attic.options.electrical': 'Elektorinstallation',
1314
+ 'de_DE.types.attic.options.window': 'Fenster',
1315
+ 'de_DE.types.attic.options.door': 'Tür',
1316
+ 'de_DE.types.surroundings': 'Wo befindet sich der Schaden?',
1317
+ 'de_DE.types.surroundings.options.playground': 'Spielplatz',
1318
+ 'de_DE.types.surroundings.options.sidewalk': 'Gehweg',
1319
+ 'de_DE.types.surroundings.options.facade': 'Fassade',
1320
+ 'de_DE.types.surroundings.options.roof': 'Dach',
1321
+ 'de_DE.types.outdoorArea': ' ',
1322
+ 'de_DE.types.outdoorArea.fields.location': 'Wo befindet sich der Schaden?',
1323
+ 'de_DE.types.outdoorArea.fields.location.options.basement': 'Keller',
1324
+ 'de_DE.types.outdoorArea.fields.location.options.craftRoom': 'Bastelraum',
1325
+ 'de_DE.types.outdoorArea.fields.location.options.parking': 'Parkplatz/Einstellhalle',
1326
+ 'de_DE.types.outdoorArea.fields.location.options.stairwell': 'Trappenhaus',
1327
+ 'de_DE.types.outdoorArea.fields.location.options.washroom': 'Waschküche',
1328
+ 'de_DE.types.outdoorArea.fields.location.options.entrance': 'Eingangsbereich',
1329
+ 'de_DE.types.outdoorArea.fields.location.options.surroundings': 'Umgebung',
1330
+ 'de_DE.types.outdoorArea.fields.location.options.attic': 'Estrich',
1331
+ 'de_DE.types.reportADamage.fields.report': 'Wo müssen die Reperaturen stattfinden?',
1332
+ };
1333
+ describe('getAnswers', function () {
1334
+ it('should return en_US translated response', function () {
1335
+ var expected = [
1336
+ {
1337
+ key: 'mainMenu.reportADamage.whereIsDamage.location',
1338
+ responseContent: 'Craft room',
1339
+ titleContent: 'Where is the damage located?',
1340
+ },
1341
+ {
1342
+ key: 'mainMenu.reportADamage.whereIsDamage.whereIsDamage',
1343
+ responseContent: 'Wall',
1344
+ titleContent: 'Where is the damage located?',
1345
+ },
1346
+ {
1347
+ key: 'mainMenu.reportADamage.report',
1348
+ responseContent: 'Outdoor area',
1349
+ titleContent: 'Where do repairs have to be done?',
1350
+ },
1351
+ {
1352
+ key: 'mainMenu.section',
1353
+ responseContent: 'Report a damage',
1354
+ titleContent: 'Choose topic',
1355
+ },
1356
+ ];
1357
+ var lang = 'en_US';
1358
+ var trschema = (0, translator_1.translateSchema)(schema, lang, translations);
1359
+ var result = (0, jsonFormUtils_1.getAnswers)(formData, trschema, lang);
1360
+ expect(result).toEqual(expected);
1361
+ });
1362
+ it('should return de_DE translated response', function () {
1363
+ var expected = [
1364
+ {
1365
+ key: 'mainMenu.reportADamage.whereIsDamage.location',
1366
+ responseContent: 'Bastelraum',
1367
+ titleContent: 'Wo befindet sich der Schaden?',
1368
+ },
1369
+ {
1370
+ key: 'mainMenu.reportADamage.whereIsDamage.whereIsDamage',
1371
+ responseContent: 'Wand',
1372
+ titleContent: 'Wo befindet sich der Schaden?',
1373
+ },
1374
+ {
1375
+ key: 'mainMenu.reportADamage.report',
1376
+ responseContent: 'Im Aussenbereich',
1377
+ titleContent: 'Wo müssen die Reperaturen stattfinden?',
1378
+ },
1379
+ {
1380
+ key: 'mainMenu.section',
1381
+ responseContent: 'Schaden melden',
1382
+ titleContent: 'Wählen Sie die kategorie',
1383
+ },
1384
+ ];
1385
+ var lang = 'de_DE';
1386
+ var trschema = (0, translator_1.translateSchema)(schema, lang, translations);
1387
+ var result = (0, jsonFormUtils_1.getAnswers)(formData, trschema, lang);
1388
+ expect(result).toEqual(expected);
1389
+ });
1390
+ });
1391
+ //# sourceMappingURL=jsonFormUtils.test.js.map