@pdtf/schemas 3.0.0-10 → 3.0.0-12

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.
@@ -164,19 +164,6 @@
164
164
  "title": "Unique Property Reference Number ",
165
165
  "type": "integer"
166
166
  },
167
- "isNewBuild": {
168
- "title": "Is the property a New Build?",
169
- "type": "object",
170
- "properties": {
171
- "yesNo": {
172
- "type": "string",
173
- "enum": [
174
- "Yes",
175
- "No"
176
- ]
177
- }
178
- }
179
- },
180
167
  "location": {
181
168
  "title": "Geographical location",
182
169
  "type": "object",
@@ -355,6 +342,17 @@
355
342
  "title": "Building informatiom",
356
343
  "type": "object",
357
344
  "properties": {
345
+ "builtForm": {
346
+ "title": "Built form",
347
+ "type": "string",
348
+ "enum": [
349
+ "Detached",
350
+ "Semi-detached",
351
+ "Terraced",
352
+ "End of terrace",
353
+ "Other"
354
+ ]
355
+ },
358
356
  "propertyType": {
359
357
  "title": "Property type",
360
358
  "type": "string",
@@ -390,17 +388,6 @@
390
388
  "House",
391
389
  "Bungalow"
392
390
  ]
393
- },
394
- "builtForm": {
395
- "title": "Built form",
396
- "type": "string",
397
- "enum": [
398
- "Detached",
399
- "Semi-detached",
400
- "Terraced",
401
- "End of terrace",
402
- "Other"
403
- ]
404
391
  }
405
392
  }
406
393
  },
@@ -412,17 +399,6 @@
412
399
  "Flat"
413
400
  ]
414
401
  },
415
- "builtForm": {
416
- "title": "Built form",
417
- "type": "string",
418
- "enum": [
419
- "Detached",
420
- "Semi-detached",
421
- "Terraced",
422
- "End of terrace",
423
- "Other"
424
- ]
425
- },
426
402
  "numberOfFloors": {
427
403
  "title": "Number of floors in the building",
428
404
  "type": "integer"
@@ -510,59 +486,106 @@
510
486
  "title": "Year the property was built",
511
487
  "type": "integer"
512
488
  },
513
- "rooms": {
514
- "title": "Rooms",
515
- "description": "Information about the property's rooms",
516
- "type": "array",
517
- "items": {
518
- "type": "object",
519
- "properties": {
520
- "roomName": {
521
- "type": "string",
522
- "title": "The name of the room",
523
- "minLength": 1
524
- },
525
- "description": {
526
- "type": "string",
527
- "minLength": 1,
528
- "title": "The specific description of the room"
529
- },
530
- "length": {
531
- "type": "number",
532
- "minimum": 0,
533
- "title": "The length of the room"
534
- },
535
- "width": {
536
- "type": "number",
537
- "minimum": 0,
538
- "title": "The width of the room"
539
- },
540
- "units": {
541
- "title": "The units which the length and width of the room have been provided in",
542
- "type": "string",
543
- "enum": [
544
- "meters",
545
- "centimetres",
546
- "millimetres",
547
- "feet",
548
- "inches"
549
- ]
550
- },
551
- "dimensionDetails": {
552
- "title": "Any additional description or clarification of the room dimensions",
553
- "type": "string",
554
- "minLength": 1
555
- },
556
- "photoUrls": {
557
- "title": "The URLs of images which should be associated with this room",
558
- "type": "array",
559
- "items": {
560
- "type": "string",
561
- "format": "uri"
489
+ "isNewBuild": {
490
+ "title": "Is the property a New Build?",
491
+ "type": "object",
492
+ "properties": {
493
+ "yesNo": {
494
+ "type": "string",
495
+ "enum": [
496
+ "Yes",
497
+ "No"
498
+ ]
499
+ }
500
+ }
501
+ },
502
+ "roomDimensions": {
503
+ "title": "Room dimensions",
504
+ "type": "object",
505
+ "properties": {
506
+ "hasFloorplan": {
507
+ "title": "Is a floorplan available which includes the dimensions of all the rooms?",
508
+ "type": "string",
509
+ "enum": [
510
+ "Yes",
511
+ "No"
512
+ ]
513
+ }
514
+ },
515
+ "oneOf": [
516
+ {
517
+ "properties": {
518
+ "hasFloorplan": {
519
+ "enum": [
520
+ "Yes"
521
+ ]
522
+ }
523
+ }
524
+ },
525
+ {
526
+ "properties": {
527
+ "hasFloorplan": {
528
+ "enum": [
529
+ "No"
530
+ ]
531
+ },
532
+ "rooms": {
533
+ "title": "Rooms",
534
+ "description": "Please supply dimensions for each of the rooms.",
535
+ "type": "array",
536
+ "items": {
537
+ "type": "object",
538
+ "properties": {
539
+ "roomName": {
540
+ "type": "string",
541
+ "title": "The name of the room",
542
+ "minLength": 1
543
+ },
544
+ "description": {
545
+ "type": "string",
546
+ "minLength": 1,
547
+ "title": "Description of the room"
548
+ },
549
+ "length": {
550
+ "type": "number",
551
+ "minimum": 0,
552
+ "title": "The length of the room"
553
+ },
554
+ "width": {
555
+ "type": "number",
556
+ "minimum": 0,
557
+ "title": "The width of the room"
558
+ },
559
+ "units": {
560
+ "title": "The units which the length and width of the room have been provided in",
561
+ "type": "string",
562
+ "enum": [
563
+ "meters",
564
+ "centimetres",
565
+ "millimetres",
566
+ "feet",
567
+ "inches"
568
+ ]
569
+ },
570
+ "dimensionDetails": {
571
+ "title": "Any additional description or clarification of the room dimensions",
572
+ "type": "string",
573
+ "minLength": 1
574
+ },
575
+ "photoUrls": {
576
+ "title": "The URLs of images which should be associated with this room",
577
+ "type": "array",
578
+ "items": {
579
+ "type": "string",
580
+ "format": "uri"
581
+ }
582
+ }
583
+ }
584
+ }
562
585
  }
563
586
  }
564
587
  }
565
- }
588
+ ]
566
589
  }
567
590
  }
568
591
  },
@@ -16684,6 +16707,15 @@
16684
16707
  }
16685
16708
  }
16686
16709
  },
16710
+ {
16711
+ "properties": {
16712
+ "yesNo": {
16713
+ "enum": [
16714
+ "Not known"
16715
+ ]
16716
+ }
16717
+ }
16718
+ },
16687
16719
  {
16688
16720
  "properties": {
16689
16721
  "yesNo": {
@@ -16706,95 +16738,206 @@
16706
16738
  "properties": {
16707
16739
  "yesNo": {
16708
16740
  "enum": [
16709
- "No",
16710
- "Not known"
16741
+ "No"
16711
16742
  ]
16712
16743
  },
16713
- "sustainableDrainageSystem": {
16714
- "title": "Sustainable Drainage System",
16744
+ "offMainsDrainageSystem": {
16715
16745
  "type": "object",
16716
16746
  "properties": {
16717
- "yesNo": {
16747
+ "offMainsDrainageSystemType": {
16718
16748
  "type": "string",
16719
- "title": "",
16720
16749
  "enum": [
16721
- "Yes",
16722
- "To be connected",
16723
- "No"
16750
+ "Sustainable Drainage System",
16751
+ "Septic tank",
16752
+ "Cesspit",
16753
+ "Sewerage treatment plant"
16724
16754
  ]
16725
- }
16726
- },
16727
- "oneOf": [
16728
- {
16755
+ },
16756
+ "otherConnectedProperties": {
16757
+ "title": "Do other properties connect to the septic tank, cesspit or sewerage treatment plant?",
16758
+ "type": "object",
16729
16759
  "properties": {
16730
16760
  "yesNo": {
16761
+ "type": "string",
16762
+ "title": "",
16731
16763
  "enum": [
16764
+ "Yes",
16732
16765
  "No"
16733
16766
  ]
16734
16767
  }
16735
- }
16768
+ },
16769
+ "oneOf": [
16770
+ {
16771
+ "properties": {
16772
+ "yesNo": {
16773
+ "enum": [
16774
+ "No"
16775
+ ]
16776
+ }
16777
+ }
16778
+ },
16779
+ {
16780
+ "properties": {
16781
+ "yesNo": {
16782
+ "enum": [
16783
+ "Yes"
16784
+ ]
16785
+ },
16786
+ "numberOfPropertiesSharing": {
16787
+ "title": "How many other properties?",
16788
+ "type": "integer"
16789
+ },
16790
+ "details": {
16791
+ "title": "Provide details of the properties sharing the system and explain how maintenance of the system is arranged and paid for",
16792
+ "type": "string",
16793
+ "minLength": 1
16794
+ }
16795
+ }
16796
+ }
16797
+ ]
16736
16798
  },
16737
- {
16799
+ "plantOnOtherLand": {
16800
+ "title": "Is any part of the septic tank, cesspit or sewerage treatment plant located on someone else’s land?",
16801
+ "type": "object",
16738
16802
  "properties": {
16739
16803
  "yesNo": {
16804
+ "type": "string",
16805
+ "title": "",
16740
16806
  "enum": [
16741
- "Yes"
16807
+ "Yes",
16808
+ "No"
16742
16809
  ]
16810
+ }
16811
+ },
16812
+ "oneOf": [
16813
+ {
16814
+ "properties": {
16815
+ "yesNo": {
16816
+ "enum": [
16817
+ "No"
16818
+ ]
16819
+ }
16820
+ }
16743
16821
  },
16744
- "supplier": {
16745
- "title": "Supplier",
16746
- "type": "string"
16822
+ {
16823
+ "properties": {
16824
+ "yesNo": {
16825
+ "enum": [
16826
+ "Yes"
16827
+ ]
16828
+ },
16829
+ "attachments": {
16830
+ "title": "Please supply a plan showing the location of the system and how access is obtained.",
16831
+ "type": "string",
16832
+ "enum": [
16833
+ "Attached",
16834
+ "To follow"
16835
+ ]
16836
+ }
16837
+ }
16747
16838
  }
16748
- }
16839
+ ]
16749
16840
  },
16750
- {
16841
+ "plantRegistered": {
16842
+ "title": "Is the septic tank, cesspit or sewerage treatment plant registered with the Environment Agency or exempted?",
16843
+ "type": "object",
16751
16844
  "properties": {
16752
16845
  "yesNo": {
16846
+ "type": "string",
16847
+ "title": "",
16753
16848
  "enum": [
16754
- "To be connected"
16849
+ "Yes",
16850
+ "No"
16755
16851
  ]
16852
+ }
16853
+ },
16854
+ "oneOf": [
16855
+ {
16856
+ "properties": {
16857
+ "yesNo": {
16858
+ "enum": [
16859
+ "No"
16860
+ ]
16861
+ }
16862
+ }
16756
16863
  },
16757
- "dateToBeConnected": {
16758
- "title": "Date to be connected",
16864
+ {
16865
+ "properties": {
16866
+ "yesNo": {
16867
+ "enum": [
16868
+ "Yes"
16869
+ ]
16870
+ },
16871
+ "attachments": {
16872
+ "title": "Please supply the appropriate permit to discharge or exemption certificate",
16873
+ "type": "string",
16874
+ "enum": [
16875
+ "Attached",
16876
+ "To follow"
16877
+ ]
16878
+ }
16879
+ }
16880
+ }
16881
+ ]
16882
+ },
16883
+ "plantDrainsIntoWaterway": {
16884
+ "title": "Does the septic tank, cesspit or sewerage treatment plant drain into a waterway (lake, river, stream etc)",
16885
+ "type": "object",
16886
+ "properties": {
16887
+ "yesNo": {
16759
16888
  "type": "string",
16760
- "format": "date"
16889
+ "title": "",
16890
+ "enum": [
16891
+ "Yes",
16892
+ "No, the effluent is discharged through a soakaway system."
16893
+ ]
16894
+ }
16895
+ },
16896
+ "oneOf": [
16897
+ {
16898
+ "properties": {
16899
+ "yesNo": {
16900
+ "enum": [
16901
+ "No, the effluent is discharged through a soakaway system."
16902
+ ]
16903
+ }
16904
+ }
16761
16905
  },
16762
- "supplier": {
16763
- "title": "Supplier",
16764
- "type": "string"
16906
+ {
16907
+ "properties": {
16908
+ "yesNo": {
16909
+ "enum": [
16910
+ "Yes"
16911
+ ]
16912
+ },
16913
+ "dischargeCompliesWithGBR": {
16914
+ "title": "Does it comply with the General Binding Rules for discharge into a waterway?",
16915
+ "type": "string",
16916
+ "enum": [
16917
+ "Yes",
16918
+ "No, it does not comply with the rules for discharge into a waterway."
16919
+ ]
16920
+ }
16921
+ }
16765
16922
  }
16766
- }
16767
- }
16768
- ]
16769
- },
16770
- "septicTank": {
16771
- "title": "Septic tank",
16772
- "type": "object",
16773
- "properties": {
16774
- "yesNo": {
16775
- "type": "string",
16776
- "title": "",
16777
- "enum": [
16778
- "Yes",
16779
- "No"
16780
16923
  ]
16781
16924
  }
16782
16925
  },
16783
16926
  "oneOf": [
16784
16927
  {
16785
16928
  "properties": {
16786
- "yesNo": {
16929
+ "offMainsDrainageSystemType": {
16787
16930
  "enum": [
16788
- "No"
16931
+ "Sustainable Drainage System"
16789
16932
  ]
16790
16933
  }
16791
16934
  }
16792
16935
  },
16793
16936
  {
16794
16937
  "properties": {
16795
- "yesNo": {
16938
+ "offMainsDrainageSystemType": {
16796
16939
  "enum": [
16797
- "Yes"
16940
+ "Septic tank"
16798
16941
  ]
16799
16942
  },
16800
16943
  "dateReplaced": {
@@ -16808,37 +16951,12 @@
16808
16951
  "format": "date"
16809
16952
  }
16810
16953
  }
16811
- }
16812
- ]
16813
- },
16814
- "cesspit": {
16815
- "title": "Cesspit",
16816
- "type": "object",
16817
- "properties": {
16818
- "yesNo": {
16819
- "type": "string",
16820
- "title": "",
16821
- "enum": [
16822
- "Yes",
16823
- "No"
16824
- ]
16825
- }
16826
- },
16827
- "oneOf": [
16828
- {
16829
- "properties": {
16830
- "yesNo": {
16831
- "enum": [
16832
- "No"
16833
- ]
16834
- }
16835
- }
16836
16954
  },
16837
16955
  {
16838
16956
  "properties": {
16839
- "yesNo": {
16957
+ "offMainsDrainageSystemType": {
16840
16958
  "enum": [
16841
- "Yes"
16959
+ "Cesspit"
16842
16960
  ]
16843
16961
  },
16844
16962
  "dateLastEmptied": {
@@ -16847,37 +16965,12 @@
16847
16965
  "format": "date"
16848
16966
  }
16849
16967
  }
16850
- }
16851
- ]
16852
- },
16853
- "sewerageTreatmentPlant": {
16854
- "title": "Sewerage treatment plant",
16855
- "type": "object",
16856
- "properties": {
16857
- "yesNo": {
16858
- "type": "string",
16859
- "title": "",
16860
- "enum": [
16861
- "Yes",
16862
- "No"
16863
- ]
16864
- }
16865
- },
16866
- "oneOf": [
16867
- {
16868
- "properties": {
16869
- "yesNo": {
16870
- "enum": [
16871
- "No"
16872
- ]
16873
- }
16874
- }
16875
16968
  },
16876
16969
  {
16877
16970
  "properties": {
16878
- "yesNo": {
16971
+ "offMainsDrainageSystemType": {
16879
16972
  "enum": [
16880
- "Yes"
16973
+ "Sewerage treatment plant"
16881
16974
  ]
16882
16975
  },
16883
16976
  "dateInstalled": {
@@ -16902,175 +16995,6 @@
16902
16995
  }
16903
16996
  }
16904
16997
  ]
16905
- },
16906
- "otherConnectedProperties": {
16907
- "title": "Do other properties connect to the septic tank, cesspit or sewerage treatment plant?",
16908
- "type": "object",
16909
- "properties": {
16910
- "yesNo": {
16911
- "type": "string",
16912
- "title": "",
16913
- "enum": [
16914
- "Yes",
16915
- "No"
16916
- ]
16917
- }
16918
- },
16919
- "oneOf": [
16920
- {
16921
- "properties": {
16922
- "yesNo": {
16923
- "enum": [
16924
- "No"
16925
- ]
16926
- }
16927
- }
16928
- },
16929
- {
16930
- "properties": {
16931
- "yesNo": {
16932
- "enum": [
16933
- "Yes"
16934
- ]
16935
- },
16936
- "numberOfPropertiesSharing": {
16937
- "title": "How many other properties?",
16938
- "type": "integer"
16939
- },
16940
- "details": {
16941
- "title": "Provide details of the properties sharing the system and explain how maintenance of the system is arranged and paid for",
16942
- "type": "string",
16943
- "minLength": 1
16944
- }
16945
- }
16946
- }
16947
- ]
16948
- },
16949
- "plantOnOtherLand": {
16950
- "title": "Is any part of the septic tank, cesspit or sewerage treatment plant located on someone else’s land?",
16951
- "type": "object",
16952
- "properties": {
16953
- "yesNo": {
16954
- "type": "string",
16955
- "title": "",
16956
- "enum": [
16957
- "Yes",
16958
- "No"
16959
- ]
16960
- }
16961
- },
16962
- "oneOf": [
16963
- {
16964
- "properties": {
16965
- "yesNo": {
16966
- "enum": [
16967
- "No"
16968
- ]
16969
- }
16970
- }
16971
- },
16972
- {
16973
- "properties": {
16974
- "yesNo": {
16975
- "enum": [
16976
- "Yes"
16977
- ]
16978
- },
16979
- "attachments": {
16980
- "title": "Please supply a plan showing the location of the system and how access is obtained.",
16981
- "type": "string",
16982
- "enum": [
16983
- "Attached",
16984
- "To follow"
16985
- ]
16986
- }
16987
- }
16988
- }
16989
- ]
16990
- },
16991
- "plantRegistered": {
16992
- "title": "Is the septic tank, cesspit or sewerage treatment plant registered with the Environment Agency or exempted?",
16993
- "type": "object",
16994
- "properties": {
16995
- "yesNo": {
16996
- "type": "string",
16997
- "title": "",
16998
- "enum": [
16999
- "Yes",
17000
- "No"
17001
- ]
17002
- }
17003
- },
17004
- "oneOf": [
17005
- {
17006
- "properties": {
17007
- "yesNo": {
17008
- "enum": [
17009
- "No"
17010
- ]
17011
- }
17012
- }
17013
- },
17014
- {
17015
- "properties": {
17016
- "yesNo": {
17017
- "enum": [
17018
- "Yes"
17019
- ]
17020
- },
17021
- "attachments": {
17022
- "title": "Please supply the appropriate permit to discharge or exemption certificate",
17023
- "type": "string",
17024
- "enum": [
17025
- "Attached",
17026
- "To follow"
17027
- ]
17028
- }
17029
- }
17030
- }
17031
- ]
17032
- },
17033
- "plantDrainsIntoWaterway": {
17034
- "title": "Does the septic tank, cesspit or sewerage treatment plant drain into a waterway (lake, river, stream etc)",
17035
- "type": "object",
17036
- "properties": {
17037
- "yesNo": {
17038
- "type": "string",
17039
- "title": "",
17040
- "enum": [
17041
- "Yes",
17042
- "No, the effluent is discharged through a soakaway system."
17043
- ]
17044
- }
17045
- },
17046
- "oneOf": [
17047
- {
17048
- "properties": {
17049
- "yesNo": {
17050
- "enum": [
17051
- "No, the effluent is discharged through a soakaway system."
17052
- ]
17053
- }
17054
- }
17055
- },
17056
- {
17057
- "properties": {
17058
- "yesNo": {
17059
- "enum": [
17060
- "Yes"
17061
- ]
17062
- },
17063
- "dischargeCompliesWithGBR": {
17064
- "title": "Does it comply with the General Binding Rules for discharge into a waterway?",
17065
- "type": "string",
17066
- "enum": [
17067
- "Yes",
17068
- "No, it does not comply with the rules for discharge into a waterway."
17069
- ]
17070
- }
17071
- }
17072
- }
17073
- ]
17074
16998
  }
17075
16999
  }
17076
17000
  }