@pdtf/schemas 2.0.0-8 → 2.0.0-9

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": "2.0.0-8",
3
+ "version": "2.0.0-9",
4
4
  "description": "Property Data Trust Framework Schemas and Utilities",
5
5
  "main": "index.js",
6
6
  "directories": {
@@ -324,7 +324,7 @@
324
324
  },
325
325
  "delayFactors": {
326
326
  "baspiRef": "A1.2",
327
- "title": "Delay Factors",
327
+ "title": "Delay factors",
328
328
  "type": "object",
329
329
  "baspiRequired": ["hasDelayFactors"],
330
330
  "properties": {
@@ -4310,6 +4310,7 @@
4310
4310
  "type": "object",
4311
4311
  "properties": {
4312
4312
  "yesNoNotApplicable": {
4313
+ "baspiRef": "A1.5.6.1",
4313
4314
  "type": "string",
4314
4315
  "title": "",
4315
4316
  "enum": ["Yes", "No", "N/A"]
@@ -4406,6 +4407,7 @@
4406
4407
  "title": "Is the ground rent subject to increase?",
4407
4408
  "properties": {
4408
4409
  "yesNo": {
4410
+ "baspiRef": "A1.4.2.3.1",
4409
4411
  "type": "string",
4410
4412
  "title": "",
4411
4413
  "enum": ["Yes", "No"]
@@ -4430,13 +4432,13 @@
4430
4432
  "enum": ["Yes"]
4431
4433
  },
4432
4434
  "rentReviewFrequency": {
4433
- "baspiRef": "A1.4.2.3.1",
4435
+ "baspiRef": "A1.4.2.3.2",
4434
4436
  "ta7Ref": "1.2d",
4435
4437
  "title": "How often is the rent reviewed?",
4436
4438
  "type": "string"
4437
4439
  },
4438
4440
  "rentIncreaseCalculated": {
4439
- "baspiRef": "A1.4.2.3.2",
4441
+ "baspiRef": "A1.4.2.3.3",
4440
4442
  "ta7Ref": "1.2e",
4441
4443
  "title": "How is the increase calculated?",
4442
4444
  "description": "eg set figure, doubling, in line with Retail Price Index, Consumer Price Index, etc",
@@ -4723,7 +4725,8 @@
4723
4725
  "type": "string"
4724
4726
  }
4725
4727
  },
4726
- "lpe1Required": ["details"]
4728
+ "lpe1Required": ["details"],
4729
+ "baspiRequired": ["details"]
4727
4730
  }
4728
4731
  ]
4729
4732
  },
@@ -5057,7 +5060,6 @@
5057
5060
  "enum": ["Yes"]
5058
5061
  },
5059
5062
  "details": {
5060
- "baspiRef": "1.5.2.1.2",
5061
5063
  "lpe1Ref": "4.6.1",
5062
5064
  "title": "Provide details",
5063
5065
  "type": "string",
@@ -5103,8 +5105,7 @@
5103
5105
  ]
5104
5106
  }
5105
5107
  },
5106
- "lpe1Required": ["details"],
5107
- "baspiRequired": ["details"]
5108
+ "lpe1Required": ["details"]
5108
5109
  }
5109
5110
  ]
5110
5111
  },
@@ -110,7 +110,7 @@
110
110
  },
111
111
  "delayFactors": {
112
112
  "baspiRef": "A1.2",
113
- "title": "Delay Factors",
113
+ "title": "Delay factors",
114
114
  "required": [
115
115
  "hasDelayFactors"
116
116
  ],
@@ -631,7 +631,17 @@
631
631
  ],
632
632
  "required": [
633
633
  "yesNoNotApplicable"
634
- ]
634
+ ],
635
+ "properties": {
636
+ "yesNoNotApplicable": {
637
+ "baspiRef": "A1.5.6.1",
638
+ "enum": [
639
+ "Yes",
640
+ "No",
641
+ "N/A"
642
+ ]
643
+ }
644
+ }
635
645
  }
636
646
  }
637
647
  },
@@ -686,11 +696,11 @@
686
696
  ]
687
697
  },
688
698
  "rentReviewFrequency": {
689
- "baspiRef": "A1.4.2.3.1",
699
+ "baspiRef": "A1.4.2.3.2",
690
700
  "title": "How often is the rent reviewed?"
691
701
  },
692
702
  "rentIncreaseCalculated": {
693
- "baspiRef": "A1.4.2.3.2",
703
+ "baspiRef": "A1.4.2.3.3",
694
704
  "title": "How is the increase calculated?",
695
705
  "description": "eg set figure, doubling, in line with Retail Price Index, Consumer Price Index, etc"
696
706
  }
@@ -703,7 +713,16 @@
703
713
  ],
704
714
  "required": [
705
715
  "yesNo"
706
- ]
716
+ ],
717
+ "properties": {
718
+ "yesNo": {
719
+ "baspiRef": "A1.4.2.3.1",
720
+ "enum": [
721
+ "Yes",
722
+ "No"
723
+ ]
724
+ }
725
+ }
707
726
  }
708
727
  },
709
728
  "required": [
@@ -780,7 +799,10 @@
780
799
  "baspiRef": "A1.5.2.3",
781
800
  "title": "Details"
782
801
  }
783
- }
802
+ },
803
+ "required": [
804
+ "details"
805
+ ]
784
806
  }
785
807
  ],
786
808
  "required": [
@@ -818,15 +840,8 @@
818
840
  "enum": [
819
841
  "Yes"
820
842
  ]
821
- },
822
- "details": {
823
- "baspiRef": "1.5.2.1.2",
824
- "title": "Provide details"
825
843
  }
826
- },
827
- "required": [
828
- "details"
829
- ]
844
+ }
830
845
  }
831
846
  ],
832
847
  "required": [
@@ -277,7 +277,7 @@
277
277
  }
278
278
  },
279
279
  "delayFactors": {
280
- "title": "Delay Factors",
280
+ "title": "Delay factors",
281
281
  "type": "object",
282
282
  "properties": {
283
283
  "hasDelayFactors": {