@pdtf/schemas 3.6.0-18 → 3.6.0-19

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,191 @@
1
+ {
2
+ "properties": {
3
+ "propertyPack": {
4
+ "properties": {
5
+ "specialistIssues": {
6
+ "properties": {
7
+ "wellsDitchesShaft": {
8
+ "sef25Ref": "H1.1",
9
+ "required": [
10
+ "yesNo"
11
+ ],
12
+ "discriminator": {
13
+ "propertyName": "yesNo"
14
+ },
15
+ "properties": {
16
+ "yesNo": {
17
+ "sef25Ref": "H1.1.1",
18
+ "type": "string"
19
+ }
20
+ },
21
+ "oneOf": [
22
+ {
23
+ "properties": {
24
+ "yesNo": {
25
+ "enum": [
26
+ "No"
27
+ ]
28
+ }
29
+ }
30
+ },
31
+ {
32
+ "required": [
33
+ "details"
34
+ ],
35
+ "properties": {
36
+ "details": {
37
+ "sef25Ref": "H1.1.2",
38
+ "type": "string",
39
+ "minLength": 1
40
+ },
41
+ "yesNo": {
42
+ "enum": [
43
+ "Yes"
44
+ ]
45
+ }
46
+ }
47
+ }
48
+ ],
49
+ "type": "object"
50
+ },
51
+ "damagedOrExposedElectrics": {
52
+ "sef25Ref": "H1.2",
53
+ "required": [
54
+ "yesNo"
55
+ ],
56
+ "discriminator": {
57
+ "propertyName": "yesNo"
58
+ },
59
+ "properties": {
60
+ "yesNo": {
61
+ "sef25Ref": "H1.2.1",
62
+ "type": "string"
63
+ }
64
+ },
65
+ "oneOf": [
66
+ {
67
+ "properties": {
68
+ "yesNo": {
69
+ "enum": [
70
+ "No"
71
+ ]
72
+ }
73
+ }
74
+ },
75
+ {
76
+ "required": [
77
+ "details"
78
+ ],
79
+ "properties": {
80
+ "details": {
81
+ "sef25Ref": "H1.2.2",
82
+ "type": "string",
83
+ "minLength": 1
84
+ },
85
+ "yesNo": {
86
+ "enum": [
87
+ "Yes"
88
+ ]
89
+ }
90
+ }
91
+ }
92
+ ],
93
+ "type": "object"
94
+ },
95
+ "damageToFlooringOrStaircases": {
96
+ "sef25Ref": "H1.3",
97
+ "required": [
98
+ "yesNo"
99
+ ],
100
+ "discriminator": {
101
+ "propertyName": "yesNo"
102
+ },
103
+ "properties": {
104
+ "yesNo": {
105
+ "sef25Ref": "H1.3.1",
106
+ "type": "string"
107
+ }
108
+ },
109
+ "oneOf": [
110
+ {
111
+ "properties": {
112
+ "yesNo": {
113
+ "enum": [
114
+ "No"
115
+ ]
116
+ }
117
+ }
118
+ },
119
+ {
120
+ "required": [
121
+ "details"
122
+ ],
123
+ "properties": {
124
+ "details": {
125
+ "sef25Ref": "H1.3.2",
126
+ "type": "string",
127
+ "minLength": 1
128
+ },
129
+ "yesNo": {
130
+ "enum": [
131
+ "Yes"
132
+ ]
133
+ }
134
+ }
135
+ }
136
+ ],
137
+ "type": "object"
138
+ },
139
+ "knownAreasInPoorCondition": {
140
+ "sef25Ref": "H1.4",
141
+ "required": [
142
+ "yesNo"
143
+ ],
144
+ "discriminator": {
145
+ "propertyName": "yesNo"
146
+ },
147
+ "properties": {
148
+ "yesNo": {
149
+ "sef25Ref": "H1.4.1",
150
+ "type": "string"
151
+ }
152
+ },
153
+ "oneOf": [
154
+ {
155
+ "properties": {
156
+ "yesNo": {
157
+ "enum": [
158
+ "No"
159
+ ]
160
+ }
161
+ }
162
+ },
163
+ {
164
+ "required": [
165
+ "details"
166
+ ],
167
+ "properties": {
168
+ "details": {
169
+ "sef25Ref": "H1.4.2",
170
+ "type": "string",
171
+ "minLength": 1
172
+ },
173
+ "yesNo": {
174
+ "enum": [
175
+ "Yes"
176
+ ]
177
+ }
178
+ }
179
+ }
180
+ ],
181
+ "type": "object"
182
+ }
183
+ }
184
+ }
185
+ }
186
+ }
187
+ },
188
+ "$schema": "http://json-schema.org/draft-07/schema#",
189
+ "$id": "https://trust.propdata.org.uk/schemas/v3/overlays/extensions/ph.json",
190
+ "$comment": "Property hazards and known issues"
191
+ }
@@ -0,0 +1,77 @@
1
+ {
2
+ "properties": {
3
+ "propertyPack": {
4
+ "properties": {
5
+ "waterAndDrainage": {
6
+ "properties": {
7
+ "water": {
8
+ "properties": {
9
+ "mainsWater": {
10
+ "oneOf": [
11
+ {
12
+ "properties": {
13
+ "associatedCost": {
14
+ "sef25Ref": "U1.1",
15
+ "required": [
16
+ "amount",
17
+ "frequency"
18
+ ],
19
+ "properties": {
20
+ "amount": {
21
+ "sef25Ref": "U1.1.1",
22
+ "type": "number"
23
+ },
24
+ "frequency": {
25
+ "sef25Ref": "U1.1.2",
26
+ "type": "string"
27
+ }
28
+ },
29
+ "type": "object"
30
+ }
31
+ }
32
+ }
33
+ ]
34
+ }
35
+ }
36
+ },
37
+ "drainage": {
38
+ "properties": {
39
+ "mainsFoulDrainage": {
40
+ "oneOf": [
41
+ null,
42
+ null,
43
+ {
44
+ "properties": {
45
+ "associatedCost": {
46
+ "sef25Ref": "U1.2",
47
+ "required": [
48
+ "amount",
49
+ "frequency"
50
+ ],
51
+ "properties": {
52
+ "amount": {
53
+ "sef25Ref": "U1.2.1",
54
+ "type": "number"
55
+ },
56
+ "frequency": {
57
+ "sef25Ref": "U1.2.2",
58
+ "type": "string"
59
+ }
60
+ },
61
+ "type": "object"
62
+ }
63
+ }
64
+ }
65
+ ]
66
+ }
67
+ }
68
+ }
69
+ }
70
+ }
71
+ }
72
+ }
73
+ },
74
+ "$schema": "http://json-schema.org/draft-07/schema#",
75
+ "$id": "https://trust.propdata.org.uk/schemas/v3/overlays/extensions/sc.json",
76
+ "$comment": "Associated costs for private water and sewerage supply"
77
+ }
@@ -8371,8 +8371,17 @@
8371
8371
  ]
8372
8372
  },
8373
8373
  "annualCostOfPermit": {
8374
- "title": "Annual cost of permit (£)",
8374
+ "title": "Cost of permit (£)",
8375
8375
  "type": "number"
8376
+ },
8377
+ "costOfPermitFrequency": {
8378
+ "sef25Ref": "P1.1",
8379
+ "title": "Payment frequency",
8380
+ "type": "string",
8381
+ "enum": [
8382
+ "Per month",
8383
+ "Per year"
8384
+ ]
8376
8385
  }
8377
8386
  }
8378
8387
  }
@@ -12726,6 +12735,198 @@
12726
12735
  }
12727
12736
  }
12728
12737
  ]
12738
+ },
12739
+ "wellsDitchesShaft": {
12740
+ "sef25Ref": "H1.1",
12741
+ "title": "Are there any wells, ditches, or shafts at the property?",
12742
+ "type": "object",
12743
+ "sef25Required": [
12744
+ "yesNo"
12745
+ ],
12746
+ "properties": {
12747
+ "yesNo": {
12748
+ "sef25Ref": "H1.1.1",
12749
+ "type": "string",
12750
+ "title": "",
12751
+ "enum": [
12752
+ "Yes",
12753
+ "No"
12754
+ ]
12755
+ }
12756
+ },
12757
+ "oneOf": [
12758
+ {
12759
+ "properties": {
12760
+ "yesNo": {
12761
+ "enum": [
12762
+ "No"
12763
+ ]
12764
+ }
12765
+ }
12766
+ },
12767
+ {
12768
+ "sef25Required": [
12769
+ "details"
12770
+ ],
12771
+ "properties": {
12772
+ "yesNo": {
12773
+ "enum": [
12774
+ "Yes"
12775
+ ]
12776
+ },
12777
+ "details": {
12778
+ "sef25Ref": "H1.1.2",
12779
+ "title": "Give details",
12780
+ "type": "string",
12781
+ "minLength": 1
12782
+ }
12783
+ }
12784
+ }
12785
+ ]
12786
+ },
12787
+ "damagedOrExposedElectrics": {
12788
+ "sef25Ref": "H1.2",
12789
+ "title": "Are there any damaged or exposed electrics at the property?",
12790
+ "type": "object",
12791
+ "sef25Required": [
12792
+ "yesNo"
12793
+ ],
12794
+ "properties": {
12795
+ "yesNo": {
12796
+ "sef25Ref": "H1.2.1",
12797
+ "type": "string",
12798
+ "title": "",
12799
+ "enum": [
12800
+ "Yes",
12801
+ "No"
12802
+ ]
12803
+ }
12804
+ },
12805
+ "oneOf": [
12806
+ {
12807
+ "properties": {
12808
+ "yesNo": {
12809
+ "enum": [
12810
+ "No"
12811
+ ]
12812
+ }
12813
+ }
12814
+ },
12815
+ {
12816
+ "sef25Required": [
12817
+ "details"
12818
+ ],
12819
+ "properties": {
12820
+ "yesNo": {
12821
+ "enum": [
12822
+ "Yes"
12823
+ ]
12824
+ },
12825
+ "details": {
12826
+ "sef25Ref": "H1.2.2",
12827
+ "title": "Give details",
12828
+ "type": "string",
12829
+ "minLength": 1
12830
+ }
12831
+ }
12832
+ }
12833
+ ]
12834
+ },
12835
+ "damageToFlooringOrStaircases": {
12836
+ "sef25Ref": "H1.3",
12837
+ "title": "Is there any damage to flooring and/or staircases?",
12838
+ "type": "object",
12839
+ "sef25Required": [
12840
+ "yesNo"
12841
+ ],
12842
+ "properties": {
12843
+ "yesNo": {
12844
+ "sef25Ref": "H1.3.1",
12845
+ "type": "string",
12846
+ "title": "",
12847
+ "enum": [
12848
+ "Yes",
12849
+ "No"
12850
+ ]
12851
+ }
12852
+ },
12853
+ "oneOf": [
12854
+ {
12855
+ "properties": {
12856
+ "yesNo": {
12857
+ "enum": [
12858
+ "No"
12859
+ ]
12860
+ }
12861
+ }
12862
+ },
12863
+ {
12864
+ "sef25Required": [
12865
+ "details"
12866
+ ],
12867
+ "properties": {
12868
+ "yesNo": {
12869
+ "enum": [
12870
+ "Yes"
12871
+ ]
12872
+ },
12873
+ "details": {
12874
+ "sef25Ref": "H1.3.2",
12875
+ "title": "Give details",
12876
+ "type": "string",
12877
+ "minLength": 1
12878
+ }
12879
+ }
12880
+ }
12881
+ ]
12882
+ },
12883
+ "knownAreasInPoorCondition": {
12884
+ "sef25Ref": "H1.4",
12885
+ "title": "Are there any known areas in poor condition (internal or external)?",
12886
+ "type": "object",
12887
+ "sef25Required": [
12888
+ "yesNo"
12889
+ ],
12890
+ "properties": {
12891
+ "yesNo": {
12892
+ "sef25Ref": "H1.4.1",
12893
+ "type": "string",
12894
+ "title": "",
12895
+ "enum": [
12896
+ "Yes",
12897
+ "No"
12898
+ ]
12899
+ }
12900
+ },
12901
+ "oneOf": [
12902
+ {
12903
+ "properties": {
12904
+ "yesNo": {
12905
+ "enum": [
12906
+ "No"
12907
+ ]
12908
+ }
12909
+ }
12910
+ },
12911
+ {
12912
+ "sef25Required": [
12913
+ "details"
12914
+ ],
12915
+ "properties": {
12916
+ "yesNo": {
12917
+ "enum": [
12918
+ "Yes"
12919
+ ]
12920
+ },
12921
+ "details": {
12922
+ "sef25Ref": "H1.4.2",
12923
+ "title": "Give details",
12924
+ "type": "string",
12925
+ "minLength": 1
12926
+ }
12927
+ }
12928
+ }
12929
+ ]
12729
12930
  }
12730
12931
  }
12731
12932
  },
@@ -18384,6 +18585,31 @@
18384
18585
  "description": "e.g. Private well, borehole, springs etc.",
18385
18586
  "type": "string",
18386
18587
  "minLength": 1
18588
+ },
18589
+ "associatedCost": {
18590
+ "sef25Ref": "U1.1",
18591
+ "title": "Associated costs for water",
18592
+ "type": "object",
18593
+ "sef25Required": [
18594
+ "amount",
18595
+ "frequency"
18596
+ ],
18597
+ "properties": {
18598
+ "amount": {
18599
+ "sef25Ref": "U1.1.1",
18600
+ "title": "Cost (£)",
18601
+ "type": "number"
18602
+ },
18603
+ "frequency": {
18604
+ "sef25Ref": "U1.1.2",
18605
+ "title": "Payment frequency",
18606
+ "type": "string",
18607
+ "enum": [
18608
+ "Per month",
18609
+ "Per year"
18610
+ ]
18611
+ }
18612
+ }
18387
18613
  }
18388
18614
  }
18389
18615
  },
@@ -19035,6 +19261,31 @@
19035
19261
  }
19036
19262
  }
19037
19263
  ]
19264
+ },
19265
+ "associatedCost": {
19266
+ "sef25Ref": "U1.2",
19267
+ "title": "Associated costs for sewerage",
19268
+ "type": "object",
19269
+ "sef25Required": [
19270
+ "amount",
19271
+ "frequency"
19272
+ ],
19273
+ "properties": {
19274
+ "amount": {
19275
+ "sef25Ref": "U1.2.1",
19276
+ "title": "Cost (£)",
19277
+ "type": "number"
19278
+ },
19279
+ "frequency": {
19280
+ "sef25Ref": "U1.2.2",
19281
+ "title": "Payment frequency",
19282
+ "type": "string",
19283
+ "enum": [
19284
+ "Per month",
19285
+ "Per year"
19286
+ ]
19287
+ }
19288
+ }
19038
19289
  }
19039
19290
  }
19040
19291
  }
@@ -1222,7 +1222,8 @@
1222
1222
  },
1223
1223
  "controlledParking": {
1224
1224
  "yesNo": "variant",
1225
- "annualCostOfPermit": "number"
1225
+ "annualCostOfPermit": "number",
1226
+ "costOfPermitFrequency": "string"
1226
1227
  },
1227
1228
  "vehicleTypeRestriction": {
1228
1229
  "yesNo": "variant",
@@ -1759,6 +1760,22 @@
1759
1760
  "yesNo": "variant",
1760
1761
  "details": "string",
1761
1762
  "attachments": "string"
1763
+ },
1764
+ "wellsDitchesShaft": {
1765
+ "yesNo": "variant",
1766
+ "details": "string"
1767
+ },
1768
+ "damagedOrExposedElectrics": {
1769
+ "yesNo": "variant",
1770
+ "details": "string"
1771
+ },
1772
+ "damageToFlooringOrStaircases": {
1773
+ "yesNo": "variant",
1774
+ "details": "string"
1775
+ },
1776
+ "knownAreasInPoorCondition": {
1777
+ "yesNo": "variant",
1778
+ "details": "string"
1762
1779
  }
1763
1780
  },
1764
1781
  "fixturesAndFittings": {
@@ -2431,6 +2448,10 @@
2431
2448
  "mainsWater": {
2432
2449
  "yesNo": "variant",
2433
2450
  "details": "string",
2451
+ "associatedCost": {
2452
+ "amount": "number",
2453
+ "frequency": "string"
2454
+ },
2434
2455
  "supplier": "string",
2435
2456
  "stopcock": {
2436
2457
  "location": "string",
@@ -2499,6 +2520,10 @@
2499
2520
  "dateLastServiced": "string",
2500
2521
  "attachments": "string",
2501
2522
  "details": "string"
2523
+ },
2524
+ "associatedCost": {
2525
+ "amount": "number",
2526
+ "frequency": "string"
2502
2527
  }
2503
2528
  },
2504
2529
  "surfaceDrainageCharge": {