@pdtf/schemas 3.2.0-2 → 3.2.0-4

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.
@@ -4,43 +4,48 @@
4
4
  "properties": {
5
5
  "participants": {
6
6
  "items": {
7
- "properties": {
8
- "sellersCapacity": {
9
- "rdsRef": "Participants/description=?,Participants/ActingFor/Participants/Role",
10
- "discriminator": {
11
- "propertyName": "capacity"
12
- },
13
- "oneOf": [
14
- {
15
- "properties": {
16
- "capacity": {
17
- "enum": [
18
- "Legal Owner",
19
- "Mortgagee in Possession"
20
- ]
21
- },
22
- "sellersCapacityDetails": {
23
- "rdsRef": "Participants/OtherDocumentation"
24
- }
25
- }
26
- },
27
- {
28
- "properties": {
29
- "capacity": {
30
- "enum": [
31
- "Personal Representative for a Deceased Owner",
32
- "Under Power of Attorney",
33
- "Other"
34
- ]
7
+ "oneOf": [
8
+ null,
9
+ {
10
+ "properties": {
11
+ "sellersCapacity": {
12
+ "rdsRef": "Participants/description=?,Participants/ActingFor/Participants/Role",
13
+ "discriminator": {
14
+ "propertyName": "capacity"
15
+ },
16
+ "oneOf": [
17
+ {
18
+ "properties": {
19
+ "capacity": {
20
+ "enum": [
21
+ "Legal Owner",
22
+ "Mortgagee in Possession"
23
+ ]
24
+ },
25
+ "sellersCapacityDetails": {
26
+ "rdsRef": "Participants/OtherDocumentation"
27
+ }
28
+ }
35
29
  },
36
- "sellersCapacityDetails": {
37
- "rdsRef": "Participants/OtherDocumentation"
30
+ {
31
+ "properties": {
32
+ "capacity": {
33
+ "enum": [
34
+ "Personal Representative for a Deceased Owner",
35
+ "Under Power of Attorney",
36
+ "Other"
37
+ ]
38
+ },
39
+ "sellersCapacityDetails": {
40
+ "rdsRef": "Participants/OtherDocumentation"
41
+ }
42
+ }
38
43
  }
39
- }
44
+ ]
40
45
  }
41
- ]
46
+ }
42
47
  }
43
- }
48
+ ]
44
49
  }
45
50
  },
46
51
  "propertyPack": {
@@ -1982,6 +1987,9 @@
1982
1987
  },
1983
1988
  "insurance": {
1984
1989
  "properties": {
1990
+ "difficultiesObtainingInsurance": {
1991
+ "rdsRef": "Insurance/Flags,Insurance/refusalReason=?"
1992
+ },
1985
1993
  "isInsured": {
1986
1994
  "rdsRef": "Insurance/isInsured=no|yes|true|false"
1987
1995
  }
@@ -1990,9 +1998,6 @@
1990
1998
  null,
1991
1999
  {
1992
2000
  "properties": {
1993
- "difficultiesObtainingInsurance": {
1994
- "rdsRef": "Insurance/Flags,Insurance/refusalReason=?"
1995
- },
1996
2001
  "insuranceClaims": {
1997
2002
  "rdsRef": "Insurance/Claims",
1998
2003
  "discriminator": {
@@ -69,6 +69,30 @@
69
69
  },
70
70
  "controlledParking": {
71
71
  "ta6Ref": "9.2",
72
+ "discriminator": {
73
+ "propertyName": "yesNo"
74
+ },
75
+ "oneOf": [
76
+ {
77
+ "properties": {
78
+ "yesNo": {
79
+ "enum": [
80
+ "No",
81
+ "Not known"
82
+ ]
83
+ }
84
+ }
85
+ },
86
+ {
87
+ "properties": {
88
+ "yesNo": {
89
+ "enum": [
90
+ "Yes"
91
+ ]
92
+ }
93
+ }
94
+ }
95
+ ],
72
96
  "required": [
73
97
  "yesNo"
74
98
  ],
@@ -2431,180 +2455,189 @@
2431
2455
  "Yes"
2432
2456
  ]
2433
2457
  },
2434
- "difficultiesObtainingInsurance": {
2435
- "ta6Ref": "6.4",
2436
- "required": [
2437
- "abnormalRiseInPremiums",
2438
- "subjectToHighExcesses",
2439
- "subjectToUnusualConditions",
2440
- "refused"
2441
- ],
2442
- "title": "Has any buildings insurance taken out by the seller ever been:",
2443
- "properties": {
2444
- "abnormalRiseInPremiums": {
2445
- "ta6Ref": "6.4a",
2446
- "discriminator": {
2447
- "propertyName": "yesNo"
2448
- },
2449
- "oneOf": [
2450
- {
2451
- "properties": {
2452
- "yesNo": {
2453
- "enum": [
2454
- "No"
2455
- ]
2456
- }
2457
- }
2458
- },
2459
- {
2460
- "properties": {
2461
- "yesNo": {
2462
- "enum": [
2463
- "Yes"
2464
- ]
2465
- },
2466
- "details": {
2467
- "ta6Ref": "6.4.2"
2468
- }
2469
- },
2470
- "required": [
2471
- "details"
2472
- ]
2473
- }
2474
- ],
2475
- "required": [
2476
- "yesNo"
2477
- ],
2458
+ "insuranceClaims": {
2459
+ "ta6Ref": "6.5",
2460
+ "discriminator": {
2461
+ "propertyName": "yesNo"
2462
+ },
2463
+ "oneOf": [
2464
+ {
2478
2465
  "properties": {
2479
2466
  "yesNo": {
2480
- "ta6Ref": "6.4a1"
2467
+ "enum": [
2468
+ "No"
2469
+ ]
2481
2470
  }
2482
2471
  }
2483
2472
  },
2484
- "subjectToHighExcesses": {
2485
- "ta6Ref": "6.4b",
2486
- "discriminator": {
2487
- "propertyName": "yesNo"
2488
- },
2489
- "oneOf": [
2490
- {
2491
- "properties": {
2492
- "yesNo": {
2493
- "enum": [
2494
- "No"
2495
- ]
2496
- }
2497
- }
2498
- },
2499
- {
2500
- "properties": {
2501
- "yesNo": {
2502
- "enum": [
2503
- "Yes"
2504
- ]
2505
- },
2506
- "details": {
2507
- "ta6Ref": "6.4.2"
2508
- }
2509
- },
2510
- "required": [
2511
- "details"
2473
+ {
2474
+ "properties": {
2475
+ "yesNo": {
2476
+ "enum": [
2477
+ "Yes"
2512
2478
  ]
2479
+ },
2480
+ "details": {
2481
+ "ta6Ref": "6.5.2"
2513
2482
  }
2514
- ],
2483
+ },
2515
2484
  "required": [
2516
- "yesNo"
2517
- ],
2485
+ "details"
2486
+ ]
2487
+ }
2488
+ ],
2489
+ "required": [
2490
+ "yesNo"
2491
+ ],
2492
+ "properties": {
2493
+ "yesNo": {
2494
+ "ta6Ref": "6.5.1"
2495
+ }
2496
+ }
2497
+ }
2498
+ },
2499
+ "required": [
2500
+ "insuranceClaims"
2501
+ ]
2502
+ }
2503
+ ],
2504
+ "required": [
2505
+ "difficultiesObtainingInsurance",
2506
+ "isInsured"
2507
+ ],
2508
+ "properties": {
2509
+ "difficultiesObtainingInsurance": {
2510
+ "ta6Ref": "6.4",
2511
+ "required": [
2512
+ "abnormalRiseInPremiums",
2513
+ "subjectToHighExcesses",
2514
+ "subjectToUnusualConditions",
2515
+ "refused"
2516
+ ],
2517
+ "title": "Has any buildings insurance taken out by the seller ever been:",
2518
+ "properties": {
2519
+ "abnormalRiseInPremiums": {
2520
+ "ta6Ref": "6.4a",
2521
+ "discriminator": {
2522
+ "propertyName": "yesNo"
2523
+ },
2524
+ "oneOf": [
2525
+ {
2518
2526
  "properties": {
2519
2527
  "yesNo": {
2520
- "ta6Ref": "6.4b1"
2528
+ "enum": [
2529
+ "No"
2530
+ ]
2521
2531
  }
2522
2532
  }
2523
2533
  },
2524
- "subjectToUnusualConditions": {
2525
- "ta6Ref": "6.4c",
2526
- "discriminator": {
2527
- "propertyName": "yesNo"
2528
- },
2529
- "oneOf": [
2530
- {
2531
- "properties": {
2532
- "yesNo": {
2533
- "enum": [
2534
- "No"
2535
- ]
2536
- }
2537
- }
2538
- },
2539
- {
2540
- "properties": {
2541
- "yesNo": {
2542
- "enum": [
2543
- "Yes"
2544
- ]
2545
- },
2546
- "details": {
2547
- "ta6Ref": "6.4.2"
2548
- }
2549
- },
2550
- "required": [
2551
- "details"
2534
+ {
2535
+ "properties": {
2536
+ "yesNo": {
2537
+ "enum": [
2538
+ "Yes"
2552
2539
  ]
2540
+ },
2541
+ "details": {
2542
+ "ta6Ref": "6.4.2"
2553
2543
  }
2554
- ],
2544
+ },
2555
2545
  "required": [
2556
- "yesNo"
2557
- ],
2546
+ "details"
2547
+ ]
2548
+ }
2549
+ ],
2550
+ "required": [
2551
+ "yesNo"
2552
+ ],
2553
+ "properties": {
2554
+ "yesNo": {
2555
+ "ta6Ref": "6.4a1"
2556
+ }
2557
+ }
2558
+ },
2559
+ "subjectToHighExcesses": {
2560
+ "ta6Ref": "6.4b",
2561
+ "discriminator": {
2562
+ "propertyName": "yesNo"
2563
+ },
2564
+ "oneOf": [
2565
+ {
2558
2566
  "properties": {
2559
2567
  "yesNo": {
2560
- "ta6Ref": "6.4c1"
2568
+ "enum": [
2569
+ "No"
2570
+ ]
2561
2571
  }
2562
2572
  }
2563
2573
  },
2564
- "refused": {
2565
- "ta6Ref": "6.4d",
2566
- "discriminator": {
2567
- "propertyName": "yesNo"
2568
- },
2569
- "oneOf": [
2570
- {
2571
- "properties": {
2572
- "yesNo": {
2573
- "enum": [
2574
- "No"
2575
- ]
2576
- }
2577
- }
2578
- },
2579
- {
2580
- "properties": {
2581
- "yesNo": {
2582
- "enum": [
2583
- "Yes"
2584
- ]
2585
- },
2586
- "details": {
2587
- "ta6Ref": "6.4.2"
2588
- }
2589
- },
2590
- "required": [
2591
- "details"
2574
+ {
2575
+ "properties": {
2576
+ "yesNo": {
2577
+ "enum": [
2578
+ "Yes"
2592
2579
  ]
2580
+ },
2581
+ "details": {
2582
+ "ta6Ref": "6.4.2"
2593
2583
  }
2594
- ],
2584
+ },
2595
2585
  "required": [
2596
- "yesNo"
2597
- ],
2586
+ "details"
2587
+ ]
2588
+ }
2589
+ ],
2590
+ "required": [
2591
+ "yesNo"
2592
+ ],
2593
+ "properties": {
2594
+ "yesNo": {
2595
+ "ta6Ref": "6.4b1"
2596
+ }
2597
+ }
2598
+ },
2599
+ "subjectToUnusualConditions": {
2600
+ "ta6Ref": "6.4c",
2601
+ "discriminator": {
2602
+ "propertyName": "yesNo"
2603
+ },
2604
+ "oneOf": [
2605
+ {
2598
2606
  "properties": {
2599
2607
  "yesNo": {
2600
- "ta6Ref": "6.4d1"
2608
+ "enum": [
2609
+ "No"
2610
+ ]
2601
2611
  }
2602
2612
  }
2613
+ },
2614
+ {
2615
+ "properties": {
2616
+ "yesNo": {
2617
+ "enum": [
2618
+ "Yes"
2619
+ ]
2620
+ },
2621
+ "details": {
2622
+ "ta6Ref": "6.4.2"
2623
+ }
2624
+ },
2625
+ "required": [
2626
+ "details"
2627
+ ]
2628
+ }
2629
+ ],
2630
+ "required": [
2631
+ "yesNo"
2632
+ ],
2633
+ "properties": {
2634
+ "yesNo": {
2635
+ "ta6Ref": "6.4c1"
2603
2636
  }
2604
2637
  }
2605
2638
  },
2606
- "insuranceClaims": {
2607
- "ta6Ref": "6.5",
2639
+ "refused": {
2640
+ "ta6Ref": "6.4d",
2608
2641
  "discriminator": {
2609
2642
  "propertyName": "yesNo"
2610
2643
  },
@@ -2626,7 +2659,7 @@
2626
2659
  ]
2627
2660
  },
2628
2661
  "details": {
2629
- "ta6Ref": "6.5.2"
2662
+ "ta6Ref": "6.4.2"
2630
2663
  }
2631
2664
  },
2632
2665
  "required": [
@@ -2639,21 +2672,12 @@
2639
2672
  ],
2640
2673
  "properties": {
2641
2674
  "yesNo": {
2642
- "ta6Ref": "6.5.1"
2675
+ "ta6Ref": "6.4d1"
2643
2676
  }
2644
2677
  }
2645
2678
  }
2646
- },
2647
- "required": [
2648
- "difficultiesObtainingInsurance",
2649
- "insuranceClaims"
2650
- ]
2651
- }
2652
- ],
2653
- "required": [
2654
- "isInsured"
2655
- ],
2656
- "properties": {
2679
+ }
2680
+ },
2657
2681
  "isInsured": {
2658
2682
  "ta6Ref": "6.1",
2659
2683
  "title": "Does the seller insure the property?"