@pdtf/schemas 3.0.0-10 → 3.0.0-11

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.
@@ -99,6 +99,15 @@
99
99
  ]
100
100
  }
101
101
  },
102
+ "buildInformation": {
103
+ "properties": {
104
+ "roomDimensions": {
105
+ "required": [
106
+ "hasFloorplan"
107
+ ]
108
+ }
109
+ }
110
+ },
102
111
  "delayFactors": {
103
112
  "baspiRef": "A1.2",
104
113
  "required": [
@@ -4023,6 +4032,15 @@
4023
4032
  }
4024
4033
  }
4025
4034
  },
4035
+ {
4036
+ "properties": {
4037
+ "yesNo": {
4038
+ "enum": [
4039
+ "Not known"
4040
+ ]
4041
+ }
4042
+ }
4043
+ },
4026
4044
  {
4027
4045
  "properties": {
4028
4046
  "yesNo": {
@@ -4045,85 +4063,29 @@
4045
4063
  "properties": {
4046
4064
  "yesNo": {
4047
4065
  "enum": [
4048
- "No",
4049
- "Not known"
4066
+ "No"
4050
4067
  ]
4051
4068
  },
4052
- "sustainableDrainageSystem": {
4053
- "baspiRef": "A7.1.0.13",
4069
+ "offMainsDrainageSystem": {
4070
+ "baspiRef": "A7.1.10.13",
4054
4071
  "discriminator": {
4055
- "propertyName": "yesNo"
4072
+ "propertyName": "offMainsDrainageSystemType"
4056
4073
  },
4057
4074
  "oneOf": [
4058
4075
  {
4059
4076
  "properties": {
4060
- "yesNo": {
4077
+ "offMainsDrainageSystemType": {
4061
4078
  "enum": [
4062
- "No"
4079
+ "Sustainable Drainage System"
4063
4080
  ]
4064
4081
  }
4065
4082
  }
4066
4083
  },
4067
4084
  {
4068
4085
  "properties": {
4069
- "yesNo": {
4086
+ "offMainsDrainageSystemType": {
4070
4087
  "enum": [
4071
- "Yes"
4072
- ]
4073
- },
4074
- "supplier": {
4075
- "baspiRef": "A7.1.0.13.3"
4076
- }
4077
- }
4078
- },
4079
- {
4080
- "properties": {
4081
- "yesNo": {
4082
- "enum": [
4083
- "To be connected"
4084
- ]
4085
- },
4086
- "dateToBeConnected": {
4087
- "baspiRef": "A7.1.0.13.2"
4088
- },
4089
- "supplier": {
4090
- "baspiRef": "A7.1.0.13.3"
4091
- }
4092
- },
4093
- "required": [
4094
- "dateToBeConnected"
4095
- ]
4096
- }
4097
- ],
4098
- "required": [
4099
- "yesNo"
4100
- ],
4101
- "properties": {
4102
- "yesNo": {
4103
- "baspiRef": "A7.1.0.13.1"
4104
- }
4105
- }
4106
- },
4107
- "septicTank": {
4108
- "baspiRef": "A7.1.0.14",
4109
- "discriminator": {
4110
- "propertyName": "yesNo"
4111
- },
4112
- "oneOf": [
4113
- {
4114
- "properties": {
4115
- "yesNo": {
4116
- "enum": [
4117
- "No"
4118
- ]
4119
- }
4120
- }
4121
- },
4122
- {
4123
- "properties": {
4124
- "yesNo": {
4125
- "enum": [
4126
- "Yes"
4088
+ "Septic tank"
4127
4089
  ]
4128
4090
  },
4129
4091
  "dateReplaced": {
@@ -4137,37 +4099,12 @@
4137
4099
  "dateReplaced",
4138
4100
  "dateLastEmptied"
4139
4101
  ]
4140
- }
4141
- ],
4142
- "required": [
4143
- "yesNo"
4144
- ],
4145
- "properties": {
4146
- "yesNo": {
4147
- "baspiRef": "A7.1.0.14.1"
4148
- }
4149
- }
4150
- },
4151
- "cesspit": {
4152
- "baspiRef": "A7.1.0.15",
4153
- "discriminator": {
4154
- "propertyName": "yesNo"
4155
- },
4156
- "oneOf": [
4157
- {
4158
- "properties": {
4159
- "yesNo": {
4160
- "enum": [
4161
- "No"
4162
- ]
4163
- }
4164
- }
4165
4102
  },
4166
4103
  {
4167
4104
  "properties": {
4168
- "yesNo": {
4105
+ "offMainsDrainageSystemType": {
4169
4106
  "enum": [
4170
- "Yes"
4107
+ "Cesspit"
4171
4108
  ]
4172
4109
  },
4173
4110
  "dateLastEmptied": {
@@ -4177,37 +4114,12 @@
4177
4114
  "required": [
4178
4115
  "dateLastEmptied"
4179
4116
  ]
4180
- }
4181
- ],
4182
- "required": [
4183
- "yesNo"
4184
- ],
4185
- "properties": {
4186
- "yesNo": {
4187
- "baspiRef": "A7.1.0.15.1"
4188
- }
4189
- }
4190
- },
4191
- "sewerageTreatmentPlant": {
4192
- "baspiRef": "A7.1.0.16",
4193
- "discriminator": {
4194
- "propertyName": "yesNo"
4195
- },
4196
- "oneOf": [
4197
- {
4198
- "properties": {
4199
- "yesNo": {
4200
- "enum": [
4201
- "No"
4202
- ]
4203
- }
4204
- }
4205
4117
  },
4206
4118
  {
4207
4119
  "properties": {
4208
- "yesNo": {
4120
+ "offMainsDrainageSystemType": {
4209
4121
  "enum": [
4210
- "Yes"
4122
+ "Sewerage treatment plant"
4211
4123
  ]
4212
4124
  },
4213
4125
  "dateInstalled": {
@@ -4228,189 +4140,183 @@
4228
4140
  }
4229
4141
  ],
4230
4142
  "required": [
4231
- "yesNo"
4143
+ "offMainsDrainageSystemType",
4144
+ "otherConnectedProperties",
4145
+ "plantOnOtherLand",
4146
+ "plantRegistered",
4147
+ "plantDrainsIntoWaterway"
4232
4148
  ],
4233
4149
  "properties": {
4234
- "yesNo": {
4235
- "baspiRef": "A7.1.0.16.1"
4236
- }
4237
- }
4238
- },
4239
- "otherConnectedProperties": {
4240
- "baspiRef": "A7.1.1",
4241
- "discriminator": {
4242
- "propertyName": "yesNo"
4243
- },
4244
- "oneOf": [
4245
- {
4246
- "properties": {
4247
- "yesNo": {
4248
- "enum": [
4249
- "No"
4250
- ]
4251
- }
4252
- }
4150
+ "offMainsDrainageSystemType": {
4151
+ "baspiRef": "A7."
4253
4152
  },
4254
- {
4255
- "properties": {
4256
- "yesNo": {
4257
- "enum": [
4258
- "Yes"
4259
- ]
4260
- },
4261
- "numberOfPropertiesSharing": {
4262
- "baspiRef": "A7.1.1.1"
4153
+ "otherConnectedProperties": {
4154
+ "baspiRef": "A7.1.1",
4155
+ "discriminator": {
4156
+ "propertyName": "yesNo"
4157
+ },
4158
+ "oneOf": [
4159
+ {
4160
+ "properties": {
4161
+ "yesNo": {
4162
+ "enum": [
4163
+ "No"
4164
+ ]
4165
+ }
4166
+ }
4263
4167
  },
4264
- "details": {
4265
- "baspiRef": "A7.1.1.2"
4168
+ {
4169
+ "properties": {
4170
+ "yesNo": {
4171
+ "enum": [
4172
+ "Yes"
4173
+ ]
4174
+ },
4175
+ "numberOfPropertiesSharing": {
4176
+ "baspiRef": "A7.1.1.1"
4177
+ },
4178
+ "details": {
4179
+ "baspiRef": "A7.1.1.2"
4180
+ }
4181
+ },
4182
+ "required": [
4183
+ "numberOfPropertiesSharing",
4184
+ "details"
4185
+ ]
4266
4186
  }
4267
- },
4187
+ ],
4268
4188
  "required": [
4269
- "numberOfPropertiesSharing",
4270
- "details"
4271
- ]
4272
- }
4273
- ],
4274
- "required": [
4275
- "yesNo"
4276
- ],
4277
- "properties": {
4278
- "yesNo": {
4279
- "baspiRef": "A7.1.1.1"
4280
- }
4281
- }
4282
- },
4283
- "plantOnOtherLand": {
4284
- "baspiRef": "A7.1.2",
4285
- "discriminator": {
4286
- "propertyName": "yesNo"
4287
- },
4288
- "oneOf": [
4289
- {
4189
+ "yesNo"
4190
+ ],
4290
4191
  "properties": {
4291
4192
  "yesNo": {
4292
- "enum": [
4293
- "No"
4294
- ]
4193
+ "baspiRef": "A7.1.1.1"
4295
4194
  }
4296
4195
  }
4297
4196
  },
4298
- {
4299
- "properties": {
4300
- "yesNo": {
4301
- "enum": [
4302
- "Yes"
4303
- ]
4197
+ "plantOnOtherLand": {
4198
+ "baspiRef": "A7.1.2",
4199
+ "discriminator": {
4200
+ "propertyName": "yesNo"
4201
+ },
4202
+ "oneOf": [
4203
+ {
4204
+ "properties": {
4205
+ "yesNo": {
4206
+ "enum": [
4207
+ "No"
4208
+ ]
4209
+ }
4210
+ }
4304
4211
  },
4305
- "attachments": {
4306
- "baspiRef": "7.1.2.2"
4212
+ {
4213
+ "properties": {
4214
+ "yesNo": {
4215
+ "enum": [
4216
+ "Yes"
4217
+ ]
4218
+ },
4219
+ "attachments": {
4220
+ "baspiRef": "7.1.2.2"
4221
+ }
4222
+ },
4223
+ "required": [
4224
+ "attachments"
4225
+ ]
4307
4226
  }
4308
- },
4227
+ ],
4309
4228
  "required": [
4310
- "attachments"
4311
- ]
4312
- }
4313
- ],
4314
- "required": [
4315
- "yesNo"
4316
- ],
4317
- "properties": {
4318
- "yesNo": {
4319
- "baspiRef": "7.1.2.1"
4320
- }
4321
- }
4322
- },
4323
- "plantRegistered": {
4324
- "baspiRef": "A7.1.3",
4325
- "discriminator": {
4326
- "propertyName": "yesNo"
4327
- },
4328
- "oneOf": [
4329
- {
4229
+ "yesNo"
4230
+ ],
4330
4231
  "properties": {
4331
4232
  "yesNo": {
4332
- "enum": [
4333
- "No"
4334
- ]
4233
+ "baspiRef": "7.1.2.1"
4335
4234
  }
4336
4235
  }
4337
4236
  },
4338
- {
4339
- "properties": {
4340
- "yesNo": {
4341
- "enum": [
4342
- "Yes"
4343
- ]
4237
+ "plantRegistered": {
4238
+ "baspiRef": "A7.1.3",
4239
+ "discriminator": {
4240
+ "propertyName": "yesNo"
4241
+ },
4242
+ "oneOf": [
4243
+ {
4244
+ "properties": {
4245
+ "yesNo": {
4246
+ "enum": [
4247
+ "No"
4248
+ ]
4249
+ }
4250
+ }
4344
4251
  },
4345
- "attachments": {
4346
- "baspiRef": "A7.1.3.2"
4252
+ {
4253
+ "properties": {
4254
+ "yesNo": {
4255
+ "enum": [
4256
+ "Yes"
4257
+ ]
4258
+ },
4259
+ "attachments": {
4260
+ "baspiRef": "A7.1.3.2"
4261
+ }
4262
+ },
4263
+ "required": [
4264
+ "attachments"
4265
+ ]
4347
4266
  }
4348
- },
4267
+ ],
4349
4268
  "required": [
4350
- "attachments"
4351
- ]
4352
- }
4353
- ],
4354
- "required": [
4355
- "yesNo"
4356
- ],
4357
- "properties": {
4358
- "yesNo": {
4359
- "baspiRef": "A7.1.3.1"
4360
- }
4361
- }
4362
- },
4363
- "plantDrainsIntoWaterway": {
4364
- "baspiRef": "A7.1.4",
4365
- "discriminator": {
4366
- "propertyName": "yesNo"
4367
- },
4368
- "oneOf": [
4369
- {
4269
+ "yesNo"
4270
+ ],
4370
4271
  "properties": {
4371
4272
  "yesNo": {
4372
- "enum": [
4373
- "No, the effluent is discharged through a soakaway system."
4374
- ]
4273
+ "baspiRef": "A7.1.3.1"
4375
4274
  }
4376
4275
  }
4377
4276
  },
4378
- {
4277
+ "plantDrainsIntoWaterway": {
4278
+ "baspiRef": "A7.1.4",
4279
+ "discriminator": {
4280
+ "propertyName": "yesNo"
4281
+ },
4282
+ "oneOf": [
4283
+ {
4284
+ "properties": {
4285
+ "yesNo": {
4286
+ "enum": [
4287
+ "No, the effluent is discharged through a soakaway system."
4288
+ ]
4289
+ }
4290
+ }
4291
+ },
4292
+ {
4293
+ "properties": {
4294
+ "yesNo": {
4295
+ "enum": [
4296
+ "Yes"
4297
+ ]
4298
+ },
4299
+ "dischargeCompliesWithGBR": {
4300
+ "baspiRef": "A7.1.4.1"
4301
+ }
4302
+ },
4303
+ "required": [
4304
+ "dischargeCompliesWithGBR"
4305
+ ]
4306
+ }
4307
+ ],
4308
+ "required": [
4309
+ "yesNo"
4310
+ ],
4379
4311
  "properties": {
4380
4312
  "yesNo": {
4381
- "enum": [
4382
- "Yes"
4383
- ]
4384
- },
4385
- "dischargeCompliesWithGBR": {
4386
4313
  "baspiRef": "A7.1.4.1"
4387
4314
  }
4388
- },
4389
- "required": [
4390
- "dischargeCompliesWithGBR"
4391
- ]
4392
- }
4393
- ],
4394
- "required": [
4395
- "yesNo"
4396
- ],
4397
- "properties": {
4398
- "yesNo": {
4399
- "baspiRef": "A7.1.4.1"
4315
+ }
4400
4316
  }
4401
4317
  }
4402
4318
  }
4403
- },
4404
- "required": [
4405
- "sustainableDrainageSystem",
4406
- "septicTank",
4407
- "cesspit",
4408
- "sewerageTreatmentPlant",
4409
- "otherConnectedProperties",
4410
- "plantOnOtherLand",
4411
- "plantRegistered",
4412
- "plantDrainsIntoWaterway"
4413
- ]
4319
+ }
4414
4320
  }
4415
4321
  ],
4416
4322
  "required": [
@@ -5614,35 +5520,10 @@
5614
5520
  }
5615
5521
  ],
5616
5522
  "required": [
5617
- "floodRisk",
5618
5523
  "hasBeenFlooded"
5619
5524
  ],
5620
5525
  "properties": {
5621
5526
  "floodRisk": {
5622
- "baspiRef": "A11.1.1",
5623
- "discriminator": {
5624
- "propertyName": "riskIndicator"
5625
- },
5626
- "oneOf": [
5627
- {
5628
- "properties": {
5629
- "riskIndicator": {
5630
- "enum": [
5631
- "No"
5632
- ]
5633
- }
5634
- }
5635
- },
5636
- {
5637
- "properties": {
5638
- "riskIndicator": {
5639
- "enum": [
5640
- "Yes"
5641
- ]
5642
- }
5643
- }
5644
- }
5645
- ],
5646
5527
  "required": [
5647
5528
  "riskIndicator"
5648
5529
  ],
@@ -310,6 +310,15 @@
310
310
  "details"
311
311
  ]
312
312
  },
313
+ {
314
+ "properties": {
315
+ "yesNo": {
316
+ "enum": [
317
+ "Not known"
318
+ ]
319
+ }
320
+ }
321
+ },
313
322
  {
314
323
  "properties": {
315
324
  "yesNo": {
@@ -323,8 +332,7 @@
323
332
  "properties": {
324
333
  "yesNo": {
325
334
  "enum": [
326
- "No",
327
- "Not known"
335
+ "No"
328
336
  ]
329
337
  }
330
338
  }