@pdtf/schemas 3.0.0-24 → 3.0.0-25

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.
@@ -2104,14 +2104,14 @@
2104
2104
  "broadband": {
2105
2105
  "typeOfConnection": {},
2106
2106
  "predictedSpeed": {
2107
- "MaxBbPredictedDown": {},
2108
- "MaxBbPredictedUp": {},
2109
- "MaxSfbbPredictedDown": {},
2110
- "MaxSfbbPredictedUp": {},
2111
- "MaxUfbbPredictedDown": {},
2112
- "MaxUfbbPredictedUp": {},
2113
- "MaxPredictedDown": {},
2114
- "MaxPredictedUp": {}
2107
+ "maxBbPredictedDown": {},
2108
+ "maxBbPredictedUp": {},
2109
+ "maxSfbbPredictedDown": {},
2110
+ "maxSfbbPredictedUp": {},
2111
+ "maxUfbbPredictedDown": {},
2112
+ "maxUfbbPredictedUp": {},
2113
+ "maxPredictedDown": {},
2114
+ "maxPredictedUp": {}
2115
2115
  }
2116
2116
  },
2117
2117
  "mobilePhone": {
@@ -2182,25 +2182,6 @@
2182
2182
  "details": {}
2183
2183
  }
2184
2184
  },
2185
- "boundaries": {
2186
- "partOutsideLegalOwnership": {
2187
- "yesNo": {},
2188
- "details": {}
2189
- },
2190
- "partOnSeparateSiteOrDeed": {
2191
- "yesNo": {},
2192
- "details": {}
2193
- },
2194
- "boundariesDifferFromTitlePlan": {
2195
- "yesNo": {},
2196
- "details": {},
2197
- "attachments": {}
2198
- },
2199
- "boundaryAlterationProposal": {
2200
- "yesNo": {},
2201
- "details": {}
2202
- }
2203
- },
2204
2185
  "rightsAndInformalArrangements": {
2205
2186
  "sharedContributions": {
2206
2187
  "yesNo": {},
@@ -2548,6 +2529,23 @@
2548
2529
  "attachments": {}
2549
2530
  },
2550
2531
  "legalBoundaries": {
2532
+ "partOutsideLegalOwnership": {
2533
+ "yesNo": {},
2534
+ "details": {}
2535
+ },
2536
+ "partOnSeparateSiteOrDeed": {
2537
+ "yesNo": {},
2538
+ "details": {}
2539
+ },
2540
+ "boundariesDifferFromTitlePlan": {
2541
+ "yesNo": {},
2542
+ "details": {},
2543
+ "attachments": {}
2544
+ },
2545
+ "boundaryAlterationProposal": {
2546
+ "yesNo": {},
2547
+ "details": {}
2548
+ },
2551
2549
  "ownership": {
2552
2550
  "areBoundariesUniform": {},
2553
2551
  "uniformBoundaries": {
@@ -30,7 +30,7 @@ test("exports a property pack schema, v3 with no overlay by default", () => {
30
30
  test("sample is valid BASPI", () => {
31
31
  const testSchema = getTransactionSchema(schemaId, ["baspiV4"]);
32
32
  expect(testSchema.properties.propertyPack.baspiRef).toEqual("0");
33
- const validator = getValidator(schemaId);
33
+ const validator = getValidator(schemaId, ["baspiV4"]);
34
34
  const isValid = validator(exampleTransaction);
35
35
  if (!isValid) console.log(validator.errors);
36
36
  expect(isValid).toBe(true);