@pdtf/schemas 2.0.0-14 → 2.0.0-16

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.
@@ -56,7 +56,6 @@
56
56
  "fixturesAndFittings",
57
57
  "waterAndDrainage",
58
58
  "connectedUtilities",
59
- "greenDealLoan",
60
59
  "centralHeating",
61
60
  "insurance",
62
61
  "boundaries",
@@ -867,7 +866,7 @@
867
866
  },
868
867
  "annualGroundRent": {
869
868
  "baspiRef": "A1.4.2.2",
870
- "title": "What is the annual ground rent payable?"
869
+ "title": "What is the annual ground rent payable? (£)"
871
870
  },
872
871
  "rentSubjectToIncrease": {
873
872
  "baspiRef": "A1.4.2.3",
@@ -1666,7 +1665,8 @@
1666
1665
  "baspiRef": "A1.8.3",
1667
1666
  "title": "Energy Efficiency",
1668
1667
  "required": [
1669
- "certificate"
1668
+ "certificate",
1669
+ "greenDealLoan"
1670
1670
  ],
1671
1671
  "properties": {
1672
1672
  "certificate": {
@@ -1693,6 +1693,70 @@
1693
1693
  ]
1694
1694
  }
1695
1695
  }
1696
+ },
1697
+ "greenDealLoan": {
1698
+ "baspiRef": "A7.3",
1699
+ "title": "Green Deal Loan",
1700
+ "required": [
1701
+ "hasGreenDealLoan"
1702
+ ],
1703
+ "properties": {
1704
+ "hasGreenDealLoan": {
1705
+ "baspiRef": "A7.3",
1706
+ "title": "Is this property subject to a Green Deal loan or other financed home improvement scheme?",
1707
+ "discriminator": {
1708
+ "propertyName": "yesNo"
1709
+ },
1710
+ "oneOf": [
1711
+ {
1712
+ "properties": {
1713
+ "yesNo": {
1714
+ "enum": [
1715
+ "No"
1716
+ ]
1717
+ }
1718
+ }
1719
+ },
1720
+ {
1721
+ "properties": {
1722
+ "yesNo": {
1723
+ "enum": [
1724
+ "Yes"
1725
+ ]
1726
+ },
1727
+ "details": {
1728
+ "baspiRef": "A7.3.2",
1729
+ "title": "Please provide details below including any outstanding payments for the renewable devices and any feed-in tariffs and a copy of your last electricity bill"
1730
+ },
1731
+ "attachments": {
1732
+ "baspiRef": "A7.3.3",
1733
+ "title": "Attachments",
1734
+ "enum": [
1735
+ "Attached",
1736
+ "To follow"
1737
+ ]
1738
+ }
1739
+ },
1740
+ "required": [
1741
+ "details",
1742
+ "attachments"
1743
+ ]
1744
+ }
1745
+ ],
1746
+ "required": [
1747
+ "yesNo"
1748
+ ],
1749
+ "properties": {
1750
+ "yesNo": {
1751
+ "baspiRef": "A7.3.1",
1752
+ "enum": [
1753
+ "Yes",
1754
+ "No"
1755
+ ]
1756
+ }
1757
+ }
1758
+ }
1759
+ }
1696
1760
  }
1697
1761
  }
1698
1762
  },
@@ -5378,70 +5442,6 @@
5378
5442
  }
5379
5443
  }
5380
5444
  },
5381
- "greenDealLoan": {
5382
- "baspiRef": "A7.3",
5383
- "title": "Green Deal Loan",
5384
- "required": [
5385
- "hasGreenDealLoan"
5386
- ],
5387
- "properties": {
5388
- "hasGreenDealLoan": {
5389
- "baspiRef": "A7.3",
5390
- "title": "Is this property subject to a Green Deal loan or other financed home improvement scheme?",
5391
- "discriminator": {
5392
- "propertyName": "yesNo"
5393
- },
5394
- "oneOf": [
5395
- {
5396
- "properties": {
5397
- "yesNo": {
5398
- "enum": [
5399
- "No"
5400
- ]
5401
- }
5402
- }
5403
- },
5404
- {
5405
- "properties": {
5406
- "yesNo": {
5407
- "enum": [
5408
- "Yes"
5409
- ]
5410
- },
5411
- "details": {
5412
- "baspiRef": "A7.3.2",
5413
- "title": "Please provide details below including any outstanding payments for the renewable devices and any feed-in tariffs and a copy of your last electricity bill"
5414
- },
5415
- "attachments": {
5416
- "baspiRef": "A7.3.3",
5417
- "title": "Attachments",
5418
- "enum": [
5419
- "Attached",
5420
- "To follow"
5421
- ]
5422
- }
5423
- },
5424
- "required": [
5425
- "details",
5426
- "attachments"
5427
- ]
5428
- }
5429
- ],
5430
- "required": [
5431
- "yesNo"
5432
- ],
5433
- "properties": {
5434
- "yesNo": {
5435
- "baspiRef": "A7.3.1",
5436
- "enum": [
5437
- "Yes",
5438
- "No"
5439
- ]
5440
- }
5441
- }
5442
- }
5443
- }
5444
- },
5445
5445
  "centralHeating": {
5446
5446
  "baspiRef": "A7.4",
5447
5447
  "title": "Central Heating",
@@ -8931,7 +8931,16 @@
8931
8931
  "title": "Have all occupiers aged 17 or over agreed to leave prior to completion?",
8932
8932
  "required": [
8933
8933
  "yesNo"
8934
- ]
8934
+ ],
8935
+ "properties": {
8936
+ "yesNo": {
8937
+ "baspiRef": "B6.3.1.1",
8938
+ "enum": [
8939
+ "Yes",
8940
+ "No"
8941
+ ]
8942
+ }
8943
+ }
8935
8944
  },
8936
8945
  "aged17OrOverWillSignToConfirmWillVacate": {
8937
8946
  "baspiRef": "B6.3.2",
@@ -9039,7 +9048,8 @@
9039
9048
  "willRemoveAllRubbish",
9040
9049
  "otherPropertyInChain",
9041
9050
  "moveRestrictionDates",
9042
- "digitalPropertyLogbook"
9051
+ "digitalPropertyLogbook",
9052
+ "sufficientToRepayAllMortgages"
9043
9053
  ],
9044
9054
  "properties": {
9045
9055
  "willRemoveAllRubbish": {
@@ -9154,6 +9164,7 @@
9154
9164
  },
9155
9165
  "restrictedDates": {
9156
9166
  "baspiRef": "B7.3.2",
9167
+ "minItems": 1,
9157
9168
  "items": {
9158
9169
  "baspiRef": "B7.3.2.1"
9159
9170
  }