@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.
@@ -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",
@@ -510,57 +497,110 @@
510
497
  "title": "Year the property was built",
511
498
  "type": "integer"
512
499
  },
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": {
500
+ "isNewBuild": {
501
+ "title": "Is the property a New Build?",
502
+ "type": "object",
503
+ "properties": {
504
+ "yesNo": {
505
+ "type": "string",
506
+ "enum": [
507
+ "Yes",
508
+ "No"
509
+ ]
510
+ }
511
+ }
512
+ },
513
+ "roomDimensions": {
514
+ "title": "Room dimensions",
515
+ "type": "object",
516
+ "properties": {
517
+ "hasFloorplan": {
518
+ "title": "Is a floorplan available which includes the dimensions of all the rooms?",
519
+ "type": "object",
520
+ "properties": {
521
+ "yesNo": {
560
522
  "type": "string",
561
- "format": "uri"
523
+ "title": "",
524
+ "enum": [
525
+ "Yes",
526
+ "No"
527
+ ]
562
528
  }
563
- }
529
+ },
530
+ "oneOf": [
531
+ {
532
+ "properties": {
533
+ "yesNo": {
534
+ "enum": [
535
+ "Yes"
536
+ ]
537
+ }
538
+ }
539
+ },
540
+ {
541
+ "properties": {
542
+ "yesNo": {
543
+ "enum": [
544
+ "No"
545
+ ]
546
+ },
547
+ "rooms": {
548
+ "title": "Rooms",
549
+ "description": "Please supply dimensions for each of the rooms.",
550
+ "type": "array",
551
+ "items": {
552
+ "type": "object",
553
+ "properties": {
554
+ "roomName": {
555
+ "type": "string",
556
+ "title": "The name of the room",
557
+ "minLength": 1
558
+ },
559
+ "description": {
560
+ "type": "string",
561
+ "minLength": 1,
562
+ "title": "Description of the room"
563
+ },
564
+ "length": {
565
+ "type": "number",
566
+ "minimum": 0,
567
+ "title": "The length of the room"
568
+ },
569
+ "width": {
570
+ "type": "number",
571
+ "minimum": 0,
572
+ "title": "The width of the room"
573
+ },
574
+ "units": {
575
+ "title": "The units which the length and width of the room have been provided in",
576
+ "type": "string",
577
+ "enum": [
578
+ "meters",
579
+ "centimetres",
580
+ "millimetres",
581
+ "feet",
582
+ "inches"
583
+ ]
584
+ },
585
+ "dimensionDetails": {
586
+ "title": "Any additional description or clarification of the room dimensions",
587
+ "type": "string",
588
+ "minLength": 1
589
+ },
590
+ "photoUrls": {
591
+ "title": "The URLs of images which should be associated with this room",
592
+ "type": "array",
593
+ "items": {
594
+ "type": "string",
595
+ "format": "uri"
596
+ }
597
+ }
598
+ }
599
+ }
600
+ }
601
+ }
602
+ }
603
+ ]
564
604
  }
565
605
  }
566
606
  }
@@ -16684,6 +16724,15 @@
16684
16724
  }
16685
16725
  }
16686
16726
  },
16727
+ {
16728
+ "properties": {
16729
+ "yesNo": {
16730
+ "enum": [
16731
+ "Not known"
16732
+ ]
16733
+ }
16734
+ }
16735
+ },
16687
16736
  {
16688
16737
  "properties": {
16689
16738
  "yesNo": {
@@ -16706,95 +16755,206 @@
16706
16755
  "properties": {
16707
16756
  "yesNo": {
16708
16757
  "enum": [
16709
- "No",
16710
- "Not known"
16758
+ "No"
16711
16759
  ]
16712
16760
  },
16713
- "sustainableDrainageSystem": {
16714
- "title": "Sustainable Drainage System",
16761
+ "offMainsDrainageSystem": {
16715
16762
  "type": "object",
16716
16763
  "properties": {
16717
- "yesNo": {
16764
+ "offMainsDrainageSystemType": {
16718
16765
  "type": "string",
16719
- "title": "",
16720
16766
  "enum": [
16721
- "Yes",
16722
- "To be connected",
16723
- "No"
16767
+ "Sustainable Drainage System",
16768
+ "Septic tank",
16769
+ "Cesspit",
16770
+ "Sewerage treatment plant"
16724
16771
  ]
16725
- }
16726
- },
16727
- "oneOf": [
16728
- {
16772
+ },
16773
+ "otherConnectedProperties": {
16774
+ "title": "Do other properties connect to the septic tank, cesspit or sewerage treatment plant?",
16775
+ "type": "object",
16729
16776
  "properties": {
16730
16777
  "yesNo": {
16778
+ "type": "string",
16779
+ "title": "",
16731
16780
  "enum": [
16781
+ "Yes",
16732
16782
  "No"
16733
16783
  ]
16734
16784
  }
16735
- }
16785
+ },
16786
+ "oneOf": [
16787
+ {
16788
+ "properties": {
16789
+ "yesNo": {
16790
+ "enum": [
16791
+ "No"
16792
+ ]
16793
+ }
16794
+ }
16795
+ },
16796
+ {
16797
+ "properties": {
16798
+ "yesNo": {
16799
+ "enum": [
16800
+ "Yes"
16801
+ ]
16802
+ },
16803
+ "numberOfPropertiesSharing": {
16804
+ "title": "How many other properties?",
16805
+ "type": "integer"
16806
+ },
16807
+ "details": {
16808
+ "title": "Provide details of the properties sharing the system and explain how maintenance of the system is arranged and paid for",
16809
+ "type": "string",
16810
+ "minLength": 1
16811
+ }
16812
+ }
16813
+ }
16814
+ ]
16736
16815
  },
16737
- {
16816
+ "plantOnOtherLand": {
16817
+ "title": "Is any part of the septic tank, cesspit or sewerage treatment plant located on someone else’s land?",
16818
+ "type": "object",
16738
16819
  "properties": {
16739
16820
  "yesNo": {
16821
+ "type": "string",
16822
+ "title": "",
16740
16823
  "enum": [
16741
- "Yes"
16824
+ "Yes",
16825
+ "No"
16742
16826
  ]
16827
+ }
16828
+ },
16829
+ "oneOf": [
16830
+ {
16831
+ "properties": {
16832
+ "yesNo": {
16833
+ "enum": [
16834
+ "No"
16835
+ ]
16836
+ }
16837
+ }
16743
16838
  },
16744
- "supplier": {
16745
- "title": "Supplier",
16746
- "type": "string"
16839
+ {
16840
+ "properties": {
16841
+ "yesNo": {
16842
+ "enum": [
16843
+ "Yes"
16844
+ ]
16845
+ },
16846
+ "attachments": {
16847
+ "title": "Please supply a plan showing the location of the system and how access is obtained.",
16848
+ "type": "string",
16849
+ "enum": [
16850
+ "Attached",
16851
+ "To follow"
16852
+ ]
16853
+ }
16854
+ }
16747
16855
  }
16748
- }
16856
+ ]
16749
16857
  },
16750
- {
16858
+ "plantRegistered": {
16859
+ "title": "Is the septic tank, cesspit or sewerage treatment plant registered with the Environment Agency or exempted?",
16860
+ "type": "object",
16751
16861
  "properties": {
16752
16862
  "yesNo": {
16863
+ "type": "string",
16864
+ "title": "",
16753
16865
  "enum": [
16754
- "To be connected"
16866
+ "Yes",
16867
+ "No"
16755
16868
  ]
16869
+ }
16870
+ },
16871
+ "oneOf": [
16872
+ {
16873
+ "properties": {
16874
+ "yesNo": {
16875
+ "enum": [
16876
+ "No"
16877
+ ]
16878
+ }
16879
+ }
16756
16880
  },
16757
- "dateToBeConnected": {
16758
- "title": "Date to be connected",
16881
+ {
16882
+ "properties": {
16883
+ "yesNo": {
16884
+ "enum": [
16885
+ "Yes"
16886
+ ]
16887
+ },
16888
+ "attachments": {
16889
+ "title": "Please supply the appropriate permit to discharge or exemption certificate",
16890
+ "type": "string",
16891
+ "enum": [
16892
+ "Attached",
16893
+ "To follow"
16894
+ ]
16895
+ }
16896
+ }
16897
+ }
16898
+ ]
16899
+ },
16900
+ "plantDrainsIntoWaterway": {
16901
+ "title": "Does the septic tank, cesspit or sewerage treatment plant drain into a waterway (lake, river, stream etc)",
16902
+ "type": "object",
16903
+ "properties": {
16904
+ "yesNo": {
16759
16905
  "type": "string",
16760
- "format": "date"
16906
+ "title": "",
16907
+ "enum": [
16908
+ "Yes",
16909
+ "No, the effluent is discharged through a soakaway system."
16910
+ ]
16911
+ }
16912
+ },
16913
+ "oneOf": [
16914
+ {
16915
+ "properties": {
16916
+ "yesNo": {
16917
+ "enum": [
16918
+ "No, the effluent is discharged through a soakaway system."
16919
+ ]
16920
+ }
16921
+ }
16761
16922
  },
16762
- "supplier": {
16763
- "title": "Supplier",
16764
- "type": "string"
16923
+ {
16924
+ "properties": {
16925
+ "yesNo": {
16926
+ "enum": [
16927
+ "Yes"
16928
+ ]
16929
+ },
16930
+ "dischargeCompliesWithGBR": {
16931
+ "title": "Does it comply with the General Binding Rules for discharge into a waterway?",
16932
+ "type": "string",
16933
+ "enum": [
16934
+ "Yes",
16935
+ "No, it does not comply with the rules for discharge into a waterway."
16936
+ ]
16937
+ }
16938
+ }
16765
16939
  }
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
16940
  ]
16781
16941
  }
16782
16942
  },
16783
16943
  "oneOf": [
16784
16944
  {
16785
16945
  "properties": {
16786
- "yesNo": {
16946
+ "offMainsDrainageSystemType": {
16787
16947
  "enum": [
16788
- "No"
16948
+ "Sustainable Drainage System"
16789
16949
  ]
16790
16950
  }
16791
16951
  }
16792
16952
  },
16793
16953
  {
16794
16954
  "properties": {
16795
- "yesNo": {
16955
+ "offMainsDrainageSystemType": {
16796
16956
  "enum": [
16797
- "Yes"
16957
+ "Septic tank"
16798
16958
  ]
16799
16959
  },
16800
16960
  "dateReplaced": {
@@ -16808,37 +16968,12 @@
16808
16968
  "format": "date"
16809
16969
  }
16810
16970
  }
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
16971
  },
16837
16972
  {
16838
16973
  "properties": {
16839
- "yesNo": {
16974
+ "offMainsDrainageSystemType": {
16840
16975
  "enum": [
16841
- "Yes"
16976
+ "Cesspit"
16842
16977
  ]
16843
16978
  },
16844
16979
  "dateLastEmptied": {
@@ -16847,37 +16982,12 @@
16847
16982
  "format": "date"
16848
16983
  }
16849
16984
  }
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
16985
  },
16876
16986
  {
16877
16987
  "properties": {
16878
- "yesNo": {
16988
+ "offMainsDrainageSystemType": {
16879
16989
  "enum": [
16880
- "Yes"
16990
+ "Sewerage treatment plant"
16881
16991
  ]
16882
16992
  },
16883
16993
  "dateInstalled": {
@@ -16902,175 +17012,6 @@
16902
17012
  }
16903
17013
  }
16904
17014
  ]
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
17015
  }
17075
17016
  }
17076
17017
  }