@pdtf/schemas 3.4.0-3 → 3.4.0-5

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pdtf/schemas",
3
- "version": "3.4.0-3",
3
+ "version": "3.4.0-5",
4
4
  "description": "Property Data Trust Framework Schemas and Utilities",
5
5
  "main": "index.js",
6
6
  "directories": {
@@ -444,7 +444,8 @@
444
444
  "listingAndConservation",
445
445
  "rightsAndInformalArrangements",
446
446
  "environmentalIssues",
447
- "notices"
447
+ "notices",
448
+ "specialistIssues"
448
449
  ],
449
450
  "ntslRequired": [
450
451
  "lettingInformation",
@@ -460,8 +461,7 @@
460
461
  "listingAndConservation",
461
462
  "rightsAndInformalArrangements",
462
463
  "environmentalIssues",
463
- "notices",
464
- "specialistIssues"
464
+ "notices"
465
465
  ],
466
466
  "ntsl2Required": [
467
467
  "lettingInformation",
@@ -4758,7 +4758,6 @@
4758
4758
  ],
4759
4759
  "nts2Required": [
4760
4760
  "nameOrOrganisation",
4761
- "address",
4762
4761
  "emailAddress"
4763
4762
  ],
4764
4763
  "properties": {
@@ -4775,7 +4774,6 @@
4775
4774
  "baspi4Ref": "A1.5.5.1.2",
4776
4775
  "baspi5Ref": "A1.5.6.1.2",
4777
4776
  "ta7Ref": "4.1c.0",
4778
- "nts2Ref": "A1.5.6.1.2",
4779
4777
  "title": "Address",
4780
4778
  "type": "object",
4781
4779
  "properties": {
@@ -4783,7 +4781,6 @@
4783
4781
  "baspi4Ref": "A1.5.5.1.2.1",
4784
4782
  "baspi5Ref": "A1.5.6.1.2.1",
4785
4783
  "ta7Ref": "4.1c.2",
4786
- "nts2Ref": "A1.5.6.1.2.1",
4787
4784
  "title": "Address line 1",
4788
4785
  "type": "string",
4789
4786
  "minLength": 1
@@ -4792,7 +4789,6 @@
4792
4789
  "baspi4Ref": "A1.5.5.1.2.2",
4793
4790
  "baspi5Ref": "A1.5.6.1.2.2",
4794
4791
  "ta7Ref": "4.1c.3",
4795
- "nts2Ref": "A1.5.6.1.2.2",
4796
4792
  "title": "Address line 2",
4797
4793
  "type": "string"
4798
4794
  },
@@ -4800,7 +4796,6 @@
4800
4796
  "baspi4Ref": "A1.5.5.1.2.3",
4801
4797
  "baspi5Ref": "A1.5.6.1.2.3",
4802
4798
  "ta7Ref": "4.1c.4",
4803
- "nts2Ref": "A1.5.6.1.2.3",
4804
4799
  "title": "Address line 3",
4805
4800
  "type": "string"
4806
4801
  },
@@ -4808,7 +4803,6 @@
4808
4803
  "baspi4Ref": "A1.5.5.1.2.4",
4809
4804
  "baspi5Ref": "A1.5.6.1.2.4",
4810
4805
  "ta7Ref": "4.1c.5",
4811
- "nts2Ref": "A1.5.6.1.2.4",
4812
4806
  "title": "Town",
4813
4807
  "type": "string"
4814
4808
  },
@@ -4816,7 +4810,6 @@
4816
4810
  "baspi4Ref": "A1.5.5.1.2.5",
4817
4811
  "baspi5Ref": "A1.5.6.1.2.5",
4818
4812
  "ta7Ref": "4.1c.6",
4819
- "nts2Ref": "A1.5.6.1.2.5",
4820
4813
  "title": "Postcode",
4821
4814
  "type": "string",
4822
4815
  "minLength": 1
@@ -4833,10 +4826,6 @@
4833
4826
  "baspi5Required": [
4834
4827
  "line1",
4835
4828
  "postcode"
4836
- ],
4837
- "nts2Required": [
4838
- "line1",
4839
- "postcode"
4840
4829
  ]
4841
4830
  },
4842
4831
  "telephone": {
@@ -4849,7 +4838,7 @@
4849
4838
  "baspi4Ref": "A1.5.5.1.3",
4850
4839
  "baspi5Ref": "A1.5.6.1.3",
4851
4840
  "ta7Ref": "4.1c.8",
4852
- "nts2Ref": "A1.5.6.1.3",
4841
+ "nts2Ref": "A1.5.6.1.2",
4853
4842
  "title": "Email address",
4854
4843
  "type": "string",
4855
4844
  "format": "email"
@@ -13095,6 +13084,8 @@
13095
13084
  "baspi4Ref": "A5.3.2",
13096
13085
  "baspi5Ref": "A5.3.2",
13097
13086
  "ta6Ref": "7.8.2",
13087
+ "nts2Ref": "A5.3.2",
13088
+ "ntsl2Ref": "A5.3.2",
13098
13089
  "title": "Is there a Japanese Knotweed management and treatment plan in place?",
13099
13090
  "type": "string",
13100
13091
  "enum": ["Yes", "No", "Not known"]
@@ -13110,6 +13101,8 @@
13110
13101
  },
13111
13102
  "baspi4Required": ["managementPlanInPlace"],
13112
13103
  "baspi5Required": ["managementPlanInPlace"],
13104
+ "nts2Required": ["managementPlanInPlace"],
13105
+ "ntsl2Required": ["managementPlanInPlace"],
13113
13106
  "ta6Required": ["managementPlanInPlace", "attachments"]
13114
13107
  }
13115
13108
  ],
@@ -20781,7 +20774,14 @@
20781
20774
  "piqRef": "A7.5.1",
20782
20775
  "title": "When was the heating system last serviced or maintained?",
20783
20776
  "type": "string",
20784
- "format": "date"
20777
+ "oneOf": [
20778
+ {
20779
+ "format": "date"
20780
+ },
20781
+ {
20782
+ "enum": ["Not known"]
20783
+ }
20784
+ ]
20785
20785
  },
20786
20786
  "heatingLastServicedReport": {
20787
20787
  "baspi4Ref": "A7.4.2.2",
@@ -22,7 +22,8 @@
22
22
  "listingAndConservation",
23
23
  "rightsAndInformalArrangements",
24
24
  "environmentalIssues",
25
- "notices"
25
+ "notices",
26
+ "specialistIssues"
26
27
  ],
27
28
  "properties": {
28
29
  "priceInformation": {
@@ -452,39 +453,14 @@
452
453
  "nts2Ref": "A1.5.6.1",
453
454
  "required": [
454
455
  "nameOrOrganisation",
455
- "address",
456
456
  "emailAddress"
457
457
  ],
458
458
  "properties": {
459
459
  "nameOrOrganisation": {
460
460
  "nts2Ref": "A1.5.6.1.1"
461
461
  },
462
- "address": {
463
- "nts2Ref": "A1.5.6.1.2",
464
- "required": [
465
- "line1",
466
- "postcode"
467
- ],
468
- "properties": {
469
- "line1": {
470
- "nts2Ref": "A1.5.6.1.2.1"
471
- },
472
- "line2": {
473
- "nts2Ref": "A1.5.6.1.2.2"
474
- },
475
- "line3": {
476
- "nts2Ref": "A1.5.6.1.2.3"
477
- },
478
- "town": {
479
- "nts2Ref": "A1.5.6.1.2.4"
480
- },
481
- "postcode": {
482
- "nts2Ref": "A1.5.6.1.2.5"
483
- }
484
- }
485
- },
486
462
  "emailAddress": {
487
- "nts2Ref": "A1.5.6.1.3"
463
+ "nts2Ref": "A1.5.6.1.2"
488
464
  }
489
465
  }
490
466
  }
@@ -1492,8 +1468,14 @@
1492
1468
  "enum": [
1493
1469
  "Yes"
1494
1470
  ]
1471
+ },
1472
+ "managementPlanInPlace": {
1473
+ "nts2Ref": "A5.3.2"
1495
1474
  }
1496
- }
1475
+ },
1476
+ "required": [
1477
+ "managementPlanInPlace"
1478
+ ]
1497
1479
  }
1498
1480
  ],
1499
1481
  "required": [
@@ -21,8 +21,7 @@
21
21
  "listingAndConservation",
22
22
  "rightsAndInformalArrangements",
23
23
  "environmentalIssues",
24
- "notices",
25
- "specialistIssues"
24
+ "notices"
26
25
  ],
27
26
  "properties": {
28
27
  "lettingInformation": {
@@ -973,8 +973,14 @@
973
973
  "enum": [
974
974
  "Yes"
975
975
  ]
976
+ },
977
+ "managementPlanInPlace": {
978
+ "ntsl2Ref": "A5.3.2"
976
979
  }
977
- }
980
+ },
981
+ "required": [
982
+ "managementPlanInPlace"
983
+ ]
978
984
  }
979
985
  ],
980
986
  "required": [
@@ -17091,7 +17091,16 @@
17091
17091
  "heatingLastServicedDate": {
17092
17092
  "title": "When was the heating system last serviced or maintained?",
17093
17093
  "type": "string",
17094
- "format": "date"
17094
+ "oneOf": [
17095
+ {
17096
+ "format": "date"
17097
+ },
17098
+ {
17099
+ "enum": [
17100
+ "Not known"
17101
+ ]
17102
+ }
17103
+ ]
17095
17104
  },
17096
17105
  "heatingLastServicedReport": {
17097
17106
  "title": "Please provide a copy of the service or maintenance works report.",