@pdtf/schemas 3.6.0-dev.3 → 3.6.0-dev.30

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.
Files changed (192) hide show
  1. package/docs/ta6-certificate-permit-contract.md +51 -0
  2. package/docs/v4-mapping-and-recomposition.md +419 -0
  3. package/index.js +210 -0
  4. package/package.json +10 -1
  5. package/src/schemas/v3/combined.json +2261 -657
  6. package/src/schemas/v3/compactSkeleton.txt +120 -51
  7. package/src/schemas/v3/overlays/baspi4.json +54 -74
  8. package/src/schemas/v3/overlays/baspi5.json +54 -74
  9. package/src/schemas/v3/overlays/extensions/ac.json +2 -1
  10. package/src/schemas/v3/overlays/extensions/dk.json +3 -2
  11. package/src/schemas/v3/overlays/extensions/fd.json +2 -1
  12. package/src/schemas/v3/overlays/extensions/ic.json +44 -9
  13. package/src/schemas/v3/overlays/extensions/lc.json +3 -2
  14. package/src/schemas/v3/overlays/extensions/mi.json +2 -1
  15. package/src/schemas/v3/overlays/extensions/nd.json +3 -2
  16. package/src/schemas/v3/overlays/extensions/pc.json +3 -2
  17. package/src/schemas/v3/overlays/extensions/ph.json +2 -1
  18. package/src/schemas/v3/overlays/extensions/rw.json +4 -3
  19. package/src/schemas/v3/overlays/extensions/sc.json +8 -4
  20. package/src/schemas/v3/overlays/extensions/sd.json +3 -2
  21. package/src/schemas/v3/overlays/extensions/tr.json +3 -2
  22. package/src/schemas/v3/overlays/extensions/wg.json +2 -1
  23. package/src/schemas/v3/overlays/llc1.json +1 -2
  24. package/src/schemas/v3/overlays/lpe1.json +3 -2
  25. package/src/schemas/v3/overlays/nts.json +7 -3
  26. package/src/schemas/v3/overlays/nts2.json +9 -4
  27. package/src/schemas/v3/overlays/ntsl.json +5 -2
  28. package/src/schemas/v3/overlays/ntsl2.json +7 -3
  29. package/src/schemas/v3/overlays/piq.json +34 -25
  30. package/src/schemas/v3/overlays/rds.json +24 -50
  31. package/src/schemas/v3/overlays/sef25.json +16 -2
  32. package/src/schemas/v3/overlays/ta10.json +0 -9
  33. package/src/schemas/v3/overlays/ta6.json +39 -70
  34. package/src/schemas/v3/overlays/ta6ed6.json +331 -307
  35. package/{pensive-tesla-d0d355/src/schemas/v3/overlays/ta6.json → src/schemas/v3/overlays/ta6ed6v2.json} +1574 -1464
  36. package/src/schemas/v3/overlays/ta7.json +2 -1
  37. package/src/schemas/v3/overlays/ta7ed5.json +68 -21
  38. package/src/schemas/v3/pdtf-transaction.json +1030 -492
  39. package/src/schemas/v3/skeleton.json +163 -57
  40. package/src/schemas/v4/Gift.json +88 -0
  41. package/src/schemas/v4/Offer.json +425 -0
  42. package/src/schemas/v4/Organisation.json +167 -0
  43. package/src/schemas/v4/Person.json +321 -0
  44. package/src/schemas/v4/Property.json +27813 -0
  45. package/src/schemas/v4/Representation.json +67 -0
  46. package/src/schemas/v4/SellerCapacity.json +193 -0
  47. package/src/schemas/v4/Title.json +14660 -0
  48. package/src/schemas/v4/Transaction.json +1612 -0
  49. package/src/schemas/v4/TransactionRole.json +59 -0
  50. package/src/schemas/v4/mapping.json +1161 -0
  51. package/src/utils/checkTa6OmissionCompatibility.js +146 -0
  52. package/src/utils/extractExtensionOverlays.js +11 -2
  53. package/src/utils/extractOverlay.js +21 -0
  54. package/src/utils/generateV4Schemas.js +1358 -0
  55. package/src/utils/syncTa6ed6v2Markers.js +92 -0
  56. package/src/utils/v4.js +838 -0
  57. package/CLAUDE.md +0 -101
  58. package/pensive-tesla-d0d355/CLAUDE.md +0 -101
  59. package/pensive-tesla-d0d355/LICENSE +0 -21
  60. package/pensive-tesla-d0d355/README.md +0 -435
  61. package/pensive-tesla-d0d355/docs/branch-release-workflow.md +0 -138
  62. package/pensive-tesla-d0d355/docs/sef25-extensions-ui-spec.md +0 -355
  63. package/pensive-tesla-d0d355/index.js +0 -654
  64. package/pensive-tesla-d0d355/package-lock.json +0 -7297
  65. package/pensive-tesla-d0d355/package.json +0 -44
  66. package/pensive-tesla-d0d355/src/examples/v1/exampleAddParticipantVouch.json +0 -32
  67. package/pensive-tesla-d0d355/src/examples/v1/exampleDocumentedVouch.json +0 -40
  68. package/pensive-tesla-d0d355/src/examples/v1/exampleElectronicRecord.json +0 -30
  69. package/pensive-tesla-d0d355/src/examples/v1/exampleTransaction.json +0 -878
  70. package/pensive-tesla-d0d355/src/examples/v1/exampleVouch.json +0 -25
  71. package/pensive-tesla-d0d355/src/examples/v2/exampleTransaction.json +0 -901
  72. package/pensive-tesla-d0d355/src/examples/v3/exampleAddParticipantVouch.json +0 -38
  73. package/pensive-tesla-d0d355/src/examples/v3/exampleCustomOverlay.json +0 -55
  74. package/pensive-tesla-d0d355/src/examples/v3/exampleCustomOverlay2.json +0 -93
  75. package/pensive-tesla-d0d355/src/examples/v3/exampleDocumentedVouch.json +0 -47
  76. package/pensive-tesla-d0d355/src/examples/v3/exampleElectronicRecord.json +0 -36
  77. package/pensive-tesla-d0d355/src/examples/v3/exampleTransaction.json +0 -1038
  78. package/pensive-tesla-d0d355/src/examples/v3/exampleVouch.json +0 -32
  79. package/pensive-tesla-d0d355/src/mappings/SendPropertyDetailsRequestSchema.json +0 -1588
  80. package/pensive-tesla-d0d355/src/mappings/adf.js +0 -198
  81. package/pensive-tesla-d0d355/src/schemas/v1/GeoJSON.json +0 -1279
  82. package/pensive-tesla-d0d355/src/schemas/v1/baspiNotes.html +0 -102
  83. package/pensive-tesla-d0d355/src/schemas/v1/energy-performance-certificate.json +0 -124
  84. package/pensive-tesla-d0d355/src/schemas/v1/freehold-information.json +0 -2051
  85. package/pensive-tesla-d0d355/src/schemas/v1/leasehold-information.json +0 -2064
  86. package/pensive-tesla-d0d355/src/schemas/v1/legal-information.json +0 -1045
  87. package/pensive-tesla-d0d355/src/schemas/v1/material-facts.json +0 -2109
  88. package/pensive-tesla-d0d355/src/schemas/v1/pdtf-transaction-search-results.json +0 -40
  89. package/pensive-tesla-d0d355/src/schemas/v1/pdtf-transaction.json +0 -191
  90. package/pensive-tesla-d0d355/src/schemas/v1/searches/drainage-and-water.json +0 -261
  91. package/pensive-tesla-d0d355/src/schemas/v1/searches/local-land-charges.json +0 -69
  92. package/pensive-tesla-d0d355/src/schemas/v1/searches/local-searches-required.json +0 -857
  93. package/pensive-tesla-d0d355/src/schemas/v1/searches.json +0 -237
  94. package/pensive-tesla-d0d355/src/schemas/v1/title-deed.json +0 -841
  95. package/pensive-tesla-d0d355/src/schemas/v2/baspiNotes.html +0 -102
  96. package/pensive-tesla-d0d355/src/schemas/v2/combined.json +0 -37731
  97. package/pensive-tesla-d0d355/src/schemas/v2/overlays/baspi.json +0 -8132
  98. package/pensive-tesla-d0d355/src/schemas/v2/overlays/con29DW.json +0 -705
  99. package/pensive-tesla-d0d355/src/schemas/v2/overlays/con29R.json +0 -2956
  100. package/pensive-tesla-d0d355/src/schemas/v2/overlays/fme1.json +0 -1259
  101. package/pensive-tesla-d0d355/src/schemas/v2/overlays/llc1.json +0 -25
  102. package/pensive-tesla-d0d355/src/schemas/v2/overlays/lpe1.json +0 -2171
  103. package/pensive-tesla-d0d355/src/schemas/v2/overlays/nts.json +0 -326
  104. package/pensive-tesla-d0d355/src/schemas/v2/overlays/oc1.json +0 -2799
  105. package/pensive-tesla-d0d355/src/schemas/v2/overlays/piq.json +0 -3419
  106. package/pensive-tesla-d0d355/src/schemas/v2/overlays/rds.json +0 -3736
  107. package/pensive-tesla-d0d355/src/schemas/v2/overlays/ta10.json +0 -5306
  108. package/pensive-tesla-d0d355/src/schemas/v2/overlays/ta6.json +0 -4533
  109. package/pensive-tesla-d0d355/src/schemas/v2/overlays/ta7.json +0 -1045
  110. package/pensive-tesla-d0d355/src/schemas/v2/pdtf-transaction.json +0 -34351
  111. package/pensive-tesla-d0d355/src/schemas/v2/skeleton.json +0 -3973
  112. package/pensive-tesla-d0d355/src/schemas/v3/combined.json +0 -48469
  113. package/pensive-tesla-d0d355/src/schemas/v3/compactSkeleton.txt +0 -4519
  114. package/pensive-tesla-d0d355/src/schemas/v3/overlays/README.md +0 -299
  115. package/pensive-tesla-d0d355/src/schemas/v3/overlays/baspi4.json +0 -8025
  116. package/pensive-tesla-d0d355/src/schemas/v3/overlays/baspi5.json +0 -8175
  117. package/pensive-tesla-d0d355/src/schemas/v3/overlays/con29DW.json +0 -716
  118. package/pensive-tesla-d0d355/src/schemas/v3/overlays/con29R.json +0 -2981
  119. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/ac.json +0 -333
  120. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/as.json +0 -74
  121. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/dk.json +0 -32
  122. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/dr.json +0 -73
  123. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/er.json +0 -85
  124. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/fd.json +0 -75
  125. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/hi.json +0 -51
  126. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/hs.json +0 -73
  127. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/ic.json +0 -59
  128. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/jk.json +0 -96
  129. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/la.json +0 -85
  130. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/lc.json +0 -75
  131. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/ma.json +0 -90
  132. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/mc.json +0 -38
  133. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/mi.json +0 -69
  134. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/nd.json +0 -43
  135. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/oa.json +0 -24
  136. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/oc.json +0 -57
  137. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/pc.json +0 -37
  138. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/ph.json +0 -194
  139. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/rw.json +0 -68
  140. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/sb.json +0 -73
  141. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/sc.json +0 -129
  142. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/sd.json +0 -63
  143. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/sf.json +0 -74
  144. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/sl.json +0 -68
  145. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/ta.json +0 -252
  146. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/tf.json +0 -103
  147. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/tr.json +0 -73
  148. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/wg.json +0 -350
  149. package/pensive-tesla-d0d355/src/schemas/v3/overlays/fme1.json +0 -1266
  150. package/pensive-tesla-d0d355/src/schemas/v3/overlays/llc1.json +0 -25
  151. package/pensive-tesla-d0d355/src/schemas/v3/overlays/lpe1.json +0 -2199
  152. package/pensive-tesla-d0d355/src/schemas/v3/overlays/nts.json +0 -2157
  153. package/pensive-tesla-d0d355/src/schemas/v3/overlays/nts2.json +0 -2742
  154. package/pensive-tesla-d0d355/src/schemas/v3/overlays/ntsl.json +0 -1813
  155. package/pensive-tesla-d0d355/src/schemas/v3/overlays/ntsl2.json +0 -2217
  156. package/pensive-tesla-d0d355/src/schemas/v3/overlays/oc1.json +0 -2817
  157. package/pensive-tesla-d0d355/src/schemas/v3/overlays/piq.json +0 -3322
  158. package/pensive-tesla-d0d355/src/schemas/v3/overlays/rds.json +0 -3665
  159. package/pensive-tesla-d0d355/src/schemas/v3/overlays/sef25.json +0 -1639
  160. package/pensive-tesla-d0d355/src/schemas/v3/overlays/sr24.json +0 -38
  161. package/pensive-tesla-d0d355/src/schemas/v3/overlays/ta10.json +0 -4654
  162. package/pensive-tesla-d0d355/src/schemas/v3/overlays/ta6ed6.json +0 -6534
  163. package/pensive-tesla-d0d355/src/schemas/v3/overlays/ta7.json +0 -1537
  164. package/pensive-tesla-d0d355/src/schemas/v3/overlays/ta7ed5.json +0 -1551
  165. package/pensive-tesla-d0d355/src/schemas/v3/pdtf-transaction.json +0 -41573
  166. package/pensive-tesla-d0d355/src/schemas/v3/skeleton.json +0 -5767
  167. package/pensive-tesla-d0d355/src/schemas/verifiedClaims/README.md +0 -21
  168. package/pensive-tesla-d0d355/src/schemas/verifiedClaims/pdtf-verified-claims.json +0 -447
  169. package/pensive-tesla-d0d355/src/utils/compactSkeleton.js +0 -84
  170. package/pensive-tesla-d0d355/src/utils/countTokens.js +0 -67
  171. package/pensive-tesla-d0d355/src/utils/extractExtensionOverlays.js +0 -624
  172. package/pensive-tesla-d0d355/src/utils/extractOverlay.js +0 -381
  173. package/pensive-tesla-d0d355/src/utils/extractProperties.js +0 -44
  174. package/pensive-tesla-d0d355/src/utils/listPathTitles.js +0 -36
  175. package/pensive-tesla-d0d355/src/utils/minimalSkeleton.js +0 -85
  176. package/pensive-tesla-d0d355/src/utils/pathList.csv +0 -903
  177. package/pensive-tesla-d0d355/src/utils/pathSkeleton.js +0 -181
  178. package/src/examples/v1/exampleAddParticipantVouch.json +0 -32
  179. package/src/examples/v1/exampleDocumentedVouch.json +0 -40
  180. package/src/examples/v1/exampleElectronicRecord.json +0 -30
  181. package/src/examples/v1/exampleTransaction.json +0 -878
  182. package/src/examples/v1/exampleVouch.json +0 -25
  183. package/src/examples/v2/exampleTransaction.json +0 -901
  184. package/src/examples/v3/exampleAddParticipantVouch.json +0 -38
  185. package/src/examples/v3/exampleCustomOverlay.json +0 -55
  186. package/src/examples/v3/exampleCustomOverlay2.json +0 -93
  187. package/src/examples/v3/exampleDocumentedVouch.json +0 -47
  188. package/src/examples/v3/exampleElectronicRecord.json +0 -36
  189. package/src/examples/v3/exampleTransaction.json +0 -1038
  190. package/src/examples/v3/exampleVouch.json +0 -32
  191. package/src/mappings/SendPropertyDetailsRequestSchema.json +0 -1588
  192. package/src/mappings/adf.js +0 -198
@@ -127,6 +127,15 @@
127
127
  "required": [
128
128
  "sellersCapacity"
129
129
  ]
130
+ },
131
+ {
132
+ "properties": {
133
+ "role": {
134
+ "enum": [
135
+ "Giftor"
136
+ ]
137
+ }
138
+ }
130
139
  }
131
140
  ],
132
141
  "required": [
@@ -854,7 +863,8 @@
854
863
  "properties": {
855
864
  "isGroundRentPayable": {
856
865
  "enum": [
857
- "No"
866
+ "No",
867
+ "Not applicable"
858
868
  ]
859
869
  }
860
870
  }
@@ -1350,7 +1360,8 @@
1350
1360
  "properties": {
1351
1361
  "yesNo": {
1352
1362
  "enum": [
1353
- "No"
1363
+ "No",
1364
+ "Not known"
1354
1365
  ]
1355
1366
  }
1356
1367
  }
@@ -1458,7 +1469,9 @@
1458
1469
  "properties": {
1459
1470
  "yesNo": {
1460
1471
  "enum": [
1461
- "No"
1472
+ "No",
1473
+ "Not applicable",
1474
+ "Not known"
1462
1475
  ]
1463
1476
  }
1464
1477
  }
@@ -4736,7 +4749,8 @@
4736
4749
  "properties": {
4737
4750
  "yesNo": {
4738
4751
  "enum": [
4739
- "Yes"
4752
+ "Yes",
4753
+ "Not known"
4740
4754
  ]
4741
4755
  }
4742
4756
  }
@@ -5266,7 +5280,8 @@
5266
5280
  "properties": {
5267
5281
  "yesNo": {
5268
5282
  "enum": [
5269
- "No"
5283
+ "No",
5284
+ "Not applicable"
5270
5285
  ]
5271
5286
  }
5272
5287
  }
@@ -5350,7 +5365,8 @@
5350
5365
  "properties": {
5351
5366
  "yesNo": {
5352
5367
  "enum": [
5353
- "No"
5368
+ "No",
5369
+ "Not known"
5354
5370
  ]
5355
5371
  }
5356
5372
  }
@@ -5865,8 +5881,7 @@
5865
5881
  "properties": {
5866
5882
  "riskIndicator": {
5867
5883
  "enum": [
5868
- "No",
5869
- "Not known"
5884
+ "No"
5870
5885
  ]
5871
5886
  }
5872
5887
  }
@@ -6471,77 +6486,41 @@
6471
6486
  },
6472
6487
  "ownership": {
6473
6488
  "baspi4Ref": "B2.1.0",
6474
- "discriminator": {
6475
- "propertyName": "areBoundariesUniform"
6476
- },
6477
- "oneOf": [
6478
- {
6479
- "properties": {
6480
- "areBoundariesUniform": {
6481
- "enum": [
6482
- "Yes"
6483
- ]
6484
- },
6485
- "uniformBoundaries": {
6486
- "baspi4Ref": "B2.1.0.2",
6487
- "required": [
6488
- "left",
6489
- "right",
6490
- "rear",
6491
- "front"
6492
- ],
6493
- "properties": {
6494
- "left": {
6495
- "baspi4Ref": "B2.1.1"
6496
- },
6497
- "right": {
6498
- "baspi4Ref": "B2.1.2"
6499
- },
6500
- "rear": {
6501
- "baspi4Ref": "B2.1.3"
6502
- },
6503
- "front": {
6504
- "baspi4Ref": "B2.1.4"
6505
- }
6506
- }
6507
- }
6508
- }
6509
- },
6510
- {
6511
- "properties": {
6512
- "areBoundariesUniform": {
6513
- "enum": [
6514
- "No"
6515
- ]
6516
- },
6517
- "details": {
6518
- "baspi4Ref": "B2.1.5"
6519
- },
6520
- "attachments": {
6521
- "baspi4Ref": "B2.1.6"
6522
- }
6523
- },
6524
- "required": [
6525
- "details",
6526
- "attachments"
6527
- ]
6528
- },
6529
- {
6530
- "properties": {
6531
- "areBoundariesUniform": {
6532
- "enum": [
6533
- "Not applicable"
6534
- ]
6535
- }
6536
- }
6537
- }
6538
- ],
6539
6489
  "required": [
6540
6490
  "areBoundariesUniform"
6541
6491
  ],
6542
6492
  "properties": {
6543
6493
  "areBoundariesUniform": {
6544
6494
  "baspi4Ref": "B2.1.0.1"
6495
+ },
6496
+ "uniformBoundaries": {
6497
+ "baspi4Ref": "B2.1.0.2",
6498
+ "required": [
6499
+ "left",
6500
+ "right",
6501
+ "rear",
6502
+ "front"
6503
+ ],
6504
+ "properties": {
6505
+ "left": {
6506
+ "baspi4Ref": "B2.1.1"
6507
+ },
6508
+ "right": {
6509
+ "baspi4Ref": "B2.1.2"
6510
+ },
6511
+ "rear": {
6512
+ "baspi4Ref": "B2.1.3"
6513
+ },
6514
+ "front": {
6515
+ "baspi4Ref": "B2.1.4"
6516
+ }
6517
+ }
6518
+ },
6519
+ "details": {
6520
+ "baspi4Ref": "B2.1.5"
6521
+ },
6522
+ "attachments": {
6523
+ "baspi4Ref": "B2.1.6"
6545
6524
  }
6546
6525
  }
6547
6526
  },
@@ -6638,7 +6617,8 @@
6638
6617
  "yesNo": {
6639
6618
  "enum": [
6640
6619
  "No",
6641
- "Not applicable"
6620
+ "Not applicable",
6621
+ "Not known"
6642
6622
  ]
6643
6623
  }
6644
6624
  }
@@ -127,6 +127,15 @@
127
127
  "required": [
128
128
  "sellersCapacity"
129
129
  ]
130
+ },
131
+ {
132
+ "properties": {
133
+ "role": {
134
+ "enum": [
135
+ "Giftor"
136
+ ]
137
+ }
138
+ }
130
139
  }
131
140
  ],
132
141
  "required": [
@@ -953,7 +962,8 @@
953
962
  "properties": {
954
963
  "isGroundRentPayable": {
955
964
  "enum": [
956
- "No"
965
+ "No",
966
+ "Not applicable"
957
967
  ]
958
968
  }
959
969
  }
@@ -1498,7 +1508,8 @@
1498
1508
  "properties": {
1499
1509
  "yesNo": {
1500
1510
  "enum": [
1501
- "No"
1511
+ "No",
1512
+ "Not known"
1502
1513
  ]
1503
1514
  }
1504
1515
  }
@@ -1606,7 +1617,9 @@
1606
1617
  "properties": {
1607
1618
  "yesNo": {
1608
1619
  "enum": [
1609
- "No"
1620
+ "No",
1621
+ "Not applicable",
1622
+ "Not known"
1610
1623
  ]
1611
1624
  }
1612
1625
  }
@@ -4887,7 +4900,8 @@
4887
4900
  "properties": {
4888
4901
  "yesNo": {
4889
4902
  "enum": [
4890
- "Yes"
4903
+ "Yes",
4904
+ "Not known"
4891
4905
  ]
4892
4906
  }
4893
4907
  }
@@ -5417,7 +5431,8 @@
5417
5431
  "properties": {
5418
5432
  "yesNo": {
5419
5433
  "enum": [
5420
- "No"
5434
+ "No",
5435
+ "Not applicable"
5421
5436
  ]
5422
5437
  }
5423
5438
  }
@@ -5501,7 +5516,8 @@
5501
5516
  "properties": {
5502
5517
  "yesNo": {
5503
5518
  "enum": [
5504
- "No"
5519
+ "No",
5520
+ "Not known"
5505
5521
  ]
5506
5522
  }
5507
5523
  }
@@ -6046,8 +6062,7 @@
6046
6062
  "properties": {
6047
6063
  "riskIndicator": {
6048
6064
  "enum": [
6049
- "No",
6050
- "Not known"
6065
+ "No"
6051
6066
  ]
6052
6067
  }
6053
6068
  }
@@ -6621,77 +6636,41 @@
6621
6636
  },
6622
6637
  "ownership": {
6623
6638
  "baspi5Ref": "B2.1.0",
6624
- "discriminator": {
6625
- "propertyName": "areBoundariesUniform"
6626
- },
6627
- "oneOf": [
6628
- {
6629
- "properties": {
6630
- "areBoundariesUniform": {
6631
- "enum": [
6632
- "Yes"
6633
- ]
6634
- },
6635
- "uniformBoundaries": {
6636
- "baspi5Ref": "B2.1.0.2",
6637
- "required": [
6638
- "left",
6639
- "right",
6640
- "rear",
6641
- "front"
6642
- ],
6643
- "properties": {
6644
- "left": {
6645
- "baspi5Ref": "B2.1.1"
6646
- },
6647
- "right": {
6648
- "baspi5Ref": "B2.1.2"
6649
- },
6650
- "rear": {
6651
- "baspi5Ref": "B2.1.3"
6652
- },
6653
- "front": {
6654
- "baspi5Ref": "B2.1.4"
6655
- }
6656
- }
6657
- }
6658
- }
6659
- },
6660
- {
6661
- "properties": {
6662
- "areBoundariesUniform": {
6663
- "enum": [
6664
- "No"
6665
- ]
6666
- },
6667
- "details": {
6668
- "baspi5Ref": "B2.1.5"
6669
- },
6670
- "attachments": {
6671
- "baspi5Ref": "B2.1.6"
6672
- }
6673
- },
6674
- "required": [
6675
- "details",
6676
- "attachments"
6677
- ]
6678
- },
6679
- {
6680
- "properties": {
6681
- "areBoundariesUniform": {
6682
- "enum": [
6683
- "Not applicable"
6684
- ]
6685
- }
6686
- }
6687
- }
6688
- ],
6689
6639
  "required": [
6690
6640
  "areBoundariesUniform"
6691
6641
  ],
6692
6642
  "properties": {
6693
6643
  "areBoundariesUniform": {
6694
6644
  "baspi5Ref": "B2.1.0.1"
6645
+ },
6646
+ "uniformBoundaries": {
6647
+ "baspi5Ref": "B2.1.0.2",
6648
+ "required": [
6649
+ "left",
6650
+ "right",
6651
+ "rear",
6652
+ "front"
6653
+ ],
6654
+ "properties": {
6655
+ "left": {
6656
+ "baspi5Ref": "B2.1.1"
6657
+ },
6658
+ "right": {
6659
+ "baspi5Ref": "B2.1.2"
6660
+ },
6661
+ "rear": {
6662
+ "baspi5Ref": "B2.1.3"
6663
+ },
6664
+ "front": {
6665
+ "baspi5Ref": "B2.1.4"
6666
+ }
6667
+ }
6668
+ },
6669
+ "details": {
6670
+ "baspi5Ref": "B2.1.5"
6671
+ },
6672
+ "attachments": {
6673
+ "baspi5Ref": "B2.1.6"
6695
6674
  }
6696
6675
  }
6697
6676
  },
@@ -6788,7 +6767,8 @@
6788
6767
  "yesNo": {
6789
6768
  "enum": [
6790
6769
  "No",
6791
- "Not applicable"
6770
+ "Not applicable",
6771
+ "Not known"
6792
6772
  ]
6793
6773
  }
6794
6774
  }
@@ -324,7 +324,8 @@
324
324
  ],
325
325
  "ntsRef": "A1"
326
326
  }
327
- }
327
+ },
328
+ "ntsRef": "0"
328
329
  }
329
330
  },
330
331
  "$schema": "http://json-schema.org/draft-07/schema#",
@@ -21,9 +21,10 @@
21
21
  "required": [
22
22
  "droppedKerbAccess"
23
23
  ],
24
- "ntsRef": "K1"
24
+ "ntsRef": "B4"
25
25
  }
26
- }
26
+ },
27
+ "ntsRef": "0"
27
28
  }
28
29
  },
29
30
  "$schema": "http://json-schema.org/draft-07/schema#",
@@ -25,7 +25,8 @@
25
25
  "properties": {
26
26
  "hasFloodDefences": {
27
27
  "enum": [
28
- "No"
28
+ "No",
29
+ "Not known"
29
30
  ]
30
31
  }
31
32
  }
@@ -3,9 +3,33 @@
3
3
  "propertyPack": {
4
4
  "properties": {
5
5
  "insurance": {
6
+ "ntsRef": "I1",
7
+ "required": [
8
+ "isInsured"
9
+ ],
10
+ "discriminator": {
11
+ "propertyName": "isInsured"
12
+ },
13
+ "properties": {
14
+ "isInsured": {
15
+ "ntsRef": "I1.2",
16
+ "type": "string"
17
+ }
18
+ },
6
19
  "oneOf": [
7
- null,
8
20
  {
21
+ "properties": {
22
+ "isInsured": {
23
+ "enum": [
24
+ "No"
25
+ ]
26
+ }
27
+ }
28
+ },
29
+ {
30
+ "required": [
31
+ "insuranceClaims"
32
+ ],
9
33
  "properties": {
10
34
  "insuranceClaims": {
11
35
  "ntsRef": "I1.1",
@@ -32,7 +56,15 @@
32
56
  }
33
57
  },
34
58
  {
59
+ "required": [
60
+ "details"
61
+ ],
35
62
  "properties": {
63
+ "details": {
64
+ "ntsRef": "I1.1.2",
65
+ "type": "string",
66
+ "minLength": 1
67
+ },
36
68
  "yesNo": {
37
69
  "enum": [
38
70
  "Yes"
@@ -40,17 +72,20 @@
40
72
  }
41
73
  }
42
74
  }
43
- ],
44
- "type": "object"
75
+ ]
76
+ },
77
+ "isInsured": {
78
+ "enum": [
79
+ "Yes"
80
+ ]
45
81
  }
46
- },
47
- "required": [
48
- "insuranceClaims"
49
- ]
82
+ }
50
83
  }
51
- ]
84
+ ],
85
+ "type": "object"
52
86
  }
53
- }
87
+ },
88
+ "ntsRef": "0"
54
89
  }
55
90
  },
56
91
  "$schema": "http://json-schema.org/draft-07/schema#",
@@ -64,9 +64,10 @@
64
64
  ]
65
65
  }
66
66
  },
67
- "ntsRef": "S1"
67
+ "ntsRef": "B3.1"
68
68
  }
69
- }
69
+ },
70
+ "ntsRef": "0"
70
71
  }
71
72
  },
72
73
  "$schema": "http://json-schema.org/draft-07/schema#",
@@ -60,7 +60,8 @@
60
60
  ],
61
61
  "ntsRef": "M1"
62
62
  }
63
- }
63
+ },
64
+ "ntsRef": "0"
64
65
  }
65
66
  },
66
67
  "$schema": "http://json-schema.org/draft-07/schema#",
@@ -32,9 +32,10 @@
32
32
  "type": "object"
33
33
  }
34
34
  },
35
- "ntsRef": "N1"
35
+ "ntsRef": "C4"
36
36
  }
37
- }
37
+ },
38
+ "ntsRef": "0"
38
39
  }
39
40
  },
40
41
  "$schema": "http://json-schema.org/draft-07/schema#",
@@ -26,9 +26,10 @@
26
26
  ]
27
27
  }
28
28
  },
29
- "ntsRef": "K1"
29
+ "ntsRef": "B4"
30
30
  }
31
- }
31
+ },
32
+ "ntsRef": "0"
32
33
  }
33
34
  },
34
35
  "$schema": "http://json-schema.org/draft-07/schema#",
@@ -185,7 +185,8 @@
185
185
  },
186
186
  "type": "object"
187
187
  }
188
- }
188
+ },
189
+ "ntsRef": "0"
189
190
  }
190
191
  },
191
192
  "$schema": "http://json-schema.org/draft-07/schema#",
@@ -54,12 +54,13 @@
54
54
  "required": [
55
55
  "privateRightOfWay"
56
56
  ],
57
- "ntsRef": "R1"
57
+ "ntsRef": "C2.2.1"
58
58
  }
59
59
  },
60
- "ntsRef": "R1"
60
+ "ntsRef": "C2.2"
61
61
  }
62
- }
62
+ },
63
+ "ntsRef": "0"
63
64
  }
64
65
  },
65
66
  "$schema": "http://json-schema.org/draft-07/schema#",
@@ -58,7 +58,8 @@
58
58
  }
59
59
  ]
60
60
  }
61
- }
61
+ },
62
+ "ntsRef": "B3.2"
62
63
  },
63
64
  "drainage": {
64
65
  "properties": {
@@ -116,11 +117,14 @@
116
117
  }
117
118
  ]
118
119
  }
119
- }
120
+ },
121
+ "ntsRef": "B3.3"
120
122
  }
121
- }
123
+ },
124
+ "ntsRef": "B3.2"
122
125
  }
123
- }
126
+ },
127
+ "ntsRef": "0"
124
128
  }
125
129
  },
126
130
  "$schema": "http://json-schema.org/draft-07/schema#",
@@ -52,9 +52,10 @@
52
52
  "required": [
53
53
  "stormFireFloodDamage"
54
54
  ],
55
- "ntsRef": "E1"
55
+ "ntsRef": "C3.1"
56
56
  }
57
- }
57
+ },
58
+ "ntsRef": "0"
58
59
  }
59
60
  },
60
61
  "$schema": "http://json-schema.org/draft-07/schema#",
@@ -62,9 +62,10 @@
62
62
  }
63
63
  }
64
64
  },
65
- "ntsRef": "T1"
65
+ "ntsRef": "A3"
66
66
  }
67
- }
67
+ },
68
+ "ntsRef": "0"
68
69
  }
69
70
  },
70
71
  "$schema": "http://json-schema.org/draft-07/schema#",
@@ -341,7 +341,8 @@
341
341
  ],
342
342
  "type": "object"
343
343
  }
344
- }
344
+ },
345
+ "ntsRef": "0"
345
346
  }
346
347
  },
347
348
  "$schema": "http://json-schema.org/draft-07/schema#",
@@ -12,8 +12,7 @@
12
12
  "hmlrReference",
13
13
  "registrationDate",
14
14
  "category",
15
- "location",
16
- "locationDominantBuilding"
15
+ "location"
17
16
  ]
18
17
  }
19
18
  }