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

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 (263) hide show
  1. package/charming-napier-57a77c/LICENSE +21 -0
  2. package/charming-napier-57a77c/README.md +430 -0
  3. package/charming-napier-57a77c/docs/sef25-extensions-ui-spec.md +355 -0
  4. package/charming-napier-57a77c/index.js +654 -0
  5. package/charming-napier-57a77c/package-lock.json +7297 -0
  6. package/charming-napier-57a77c/package.json +41 -0
  7. package/charming-napier-57a77c/src/examples/v1/exampleAddParticipantVouch.json +32 -0
  8. package/charming-napier-57a77c/src/examples/v1/exampleDocumentedVouch.json +40 -0
  9. package/charming-napier-57a77c/src/examples/v1/exampleElectronicRecord.json +30 -0
  10. package/charming-napier-57a77c/src/examples/v1/exampleTransaction.json +878 -0
  11. package/charming-napier-57a77c/src/examples/v1/exampleVouch.json +25 -0
  12. package/charming-napier-57a77c/src/examples/v2/exampleTransaction.json +901 -0
  13. package/charming-napier-57a77c/src/examples/v3/exampleAddParticipantVouch.json +38 -0
  14. package/charming-napier-57a77c/src/examples/v3/exampleCustomOverlay.json +55 -0
  15. package/charming-napier-57a77c/src/examples/v3/exampleCustomOverlay2.json +93 -0
  16. package/charming-napier-57a77c/src/examples/v3/exampleDocumentedVouch.json +47 -0
  17. package/charming-napier-57a77c/src/examples/v3/exampleElectronicRecord.json +36 -0
  18. package/charming-napier-57a77c/src/examples/v3/exampleTransaction.json +1038 -0
  19. package/charming-napier-57a77c/src/examples/v3/exampleVouch.json +32 -0
  20. package/charming-napier-57a77c/src/mappings/SendPropertyDetailsRequestSchema.json +1588 -0
  21. package/charming-napier-57a77c/src/mappings/adf.js +198 -0
  22. package/charming-napier-57a77c/src/schemas/v1/GeoJSON.json +1279 -0
  23. package/charming-napier-57a77c/src/schemas/v1/baspiNotes.html +102 -0
  24. package/charming-napier-57a77c/src/schemas/v1/energy-performance-certificate.json +124 -0
  25. package/charming-napier-57a77c/src/schemas/v1/freehold-information.json +2051 -0
  26. package/charming-napier-57a77c/src/schemas/v1/leasehold-information.json +2064 -0
  27. package/charming-napier-57a77c/src/schemas/v1/legal-information.json +1045 -0
  28. package/charming-napier-57a77c/src/schemas/v1/material-facts.json +2109 -0
  29. package/charming-napier-57a77c/src/schemas/v1/pdtf-transaction-search-results.json +40 -0
  30. package/charming-napier-57a77c/src/schemas/v1/pdtf-transaction.json +191 -0
  31. package/charming-napier-57a77c/src/schemas/v1/searches/drainage-and-water.json +261 -0
  32. package/charming-napier-57a77c/src/schemas/v1/searches/local-land-charges.json +69 -0
  33. package/charming-napier-57a77c/src/schemas/v1/searches/local-searches-required.json +857 -0
  34. package/charming-napier-57a77c/src/schemas/v1/searches.json +237 -0
  35. package/charming-napier-57a77c/src/schemas/v1/title-deed.json +841 -0
  36. package/charming-napier-57a77c/src/schemas/v2/baspiNotes.html +102 -0
  37. package/charming-napier-57a77c/src/schemas/v2/combined.json +37731 -0
  38. package/charming-napier-57a77c/src/schemas/v2/overlays/baspi.json +8132 -0
  39. package/charming-napier-57a77c/src/schemas/v2/overlays/con29DW.json +705 -0
  40. package/charming-napier-57a77c/src/schemas/v2/overlays/con29R.json +2956 -0
  41. package/charming-napier-57a77c/src/schemas/v2/overlays/fme1.json +1259 -0
  42. package/charming-napier-57a77c/src/schemas/v2/overlays/llc1.json +25 -0
  43. package/charming-napier-57a77c/src/schemas/v2/overlays/lpe1.json +2171 -0
  44. package/charming-napier-57a77c/src/schemas/v2/overlays/nts.json +326 -0
  45. package/charming-napier-57a77c/src/schemas/v2/overlays/oc1.json +2799 -0
  46. package/charming-napier-57a77c/src/schemas/v2/overlays/piq.json +3419 -0
  47. package/charming-napier-57a77c/src/schemas/v2/overlays/rds.json +3736 -0
  48. package/charming-napier-57a77c/src/schemas/v2/overlays/ta10.json +5306 -0
  49. package/charming-napier-57a77c/src/schemas/v2/overlays/ta6.json +4533 -0
  50. package/charming-napier-57a77c/src/schemas/v2/overlays/ta7.json +1045 -0
  51. package/charming-napier-57a77c/src/schemas/v2/pdtf-transaction.json +34351 -0
  52. package/charming-napier-57a77c/src/schemas/v2/skeleton.json +3973 -0
  53. package/charming-napier-57a77c/src/schemas/v3/combined.json +48153 -0
  54. package/charming-napier-57a77c/src/schemas/v3/compactSkeleton.txt +4457 -0
  55. package/charming-napier-57a77c/src/schemas/v3/overlays/README.md +299 -0
  56. package/charming-napier-57a77c/src/schemas/v3/overlays/baspi4.json +8027 -0
  57. package/charming-napier-57a77c/src/schemas/v3/overlays/baspi5.json +8177 -0
  58. package/charming-napier-57a77c/src/schemas/v3/overlays/con29DW.json +716 -0
  59. package/charming-napier-57a77c/src/schemas/v3/overlays/con29R.json +2981 -0
  60. package/charming-napier-57a77c/src/schemas/v3/overlays/extensions/ac.json +333 -0
  61. package/charming-napier-57a77c/src/schemas/v3/overlays/extensions/as.json +74 -0
  62. package/charming-napier-57a77c/src/schemas/v3/overlays/extensions/dk.json +32 -0
  63. package/charming-napier-57a77c/src/schemas/v3/overlays/extensions/dr.json +73 -0
  64. package/charming-napier-57a77c/src/schemas/v3/overlays/extensions/er.json +85 -0
  65. package/charming-napier-57a77c/src/schemas/v3/overlays/extensions/fd.json +75 -0
  66. package/charming-napier-57a77c/src/schemas/v3/overlays/extensions/hi.json +51 -0
  67. package/charming-napier-57a77c/src/schemas/v3/overlays/extensions/hs.json +73 -0
  68. package/charming-napier-57a77c/src/schemas/v3/overlays/extensions/ic.json +59 -0
  69. package/charming-napier-57a77c/src/schemas/v3/overlays/extensions/jk.json +96 -0
  70. package/charming-napier-57a77c/src/schemas/v3/overlays/extensions/la.json +85 -0
  71. package/charming-napier-57a77c/src/schemas/v3/overlays/extensions/lc.json +75 -0
  72. package/charming-napier-57a77c/src/schemas/v3/overlays/extensions/ma.json +90 -0
  73. package/charming-napier-57a77c/src/schemas/v3/overlays/extensions/mc.json +38 -0
  74. package/charming-napier-57a77c/src/schemas/v3/overlays/extensions/mi.json +69 -0
  75. package/charming-napier-57a77c/src/schemas/v3/overlays/extensions/nd.json +43 -0
  76. package/charming-napier-57a77c/src/schemas/v3/overlays/extensions/oa.json +24 -0
  77. package/charming-napier-57a77c/src/schemas/v3/overlays/extensions/oc.json +57 -0
  78. package/charming-napier-57a77c/src/schemas/v3/overlays/extensions/pc.json +37 -0
  79. package/charming-napier-57a77c/src/schemas/v3/overlays/extensions/ph.json +194 -0
  80. package/charming-napier-57a77c/src/schemas/v3/overlays/extensions/rw.json +68 -0
  81. package/charming-napier-57a77c/src/schemas/v3/overlays/extensions/sb.json +73 -0
  82. package/charming-napier-57a77c/src/schemas/v3/overlays/extensions/sc.json +129 -0
  83. package/charming-napier-57a77c/src/schemas/v3/overlays/extensions/sd.json +63 -0
  84. package/charming-napier-57a77c/src/schemas/v3/overlays/extensions/sf.json +74 -0
  85. package/charming-napier-57a77c/src/schemas/v3/overlays/extensions/sl.json +68 -0
  86. package/charming-napier-57a77c/src/schemas/v3/overlays/extensions/ta.json +240 -0
  87. package/charming-napier-57a77c/src/schemas/v3/overlays/extensions/tf.json +103 -0
  88. package/charming-napier-57a77c/src/schemas/v3/overlays/extensions/tr.json +73 -0
  89. package/charming-napier-57a77c/src/schemas/v3/overlays/extensions/wg.json +350 -0
  90. package/charming-napier-57a77c/src/schemas/v3/overlays/fme1.json +1266 -0
  91. package/charming-napier-57a77c/src/schemas/v3/overlays/llc1.json +25 -0
  92. package/charming-napier-57a77c/src/schemas/v3/overlays/lpe1.json +2199 -0
  93. package/charming-napier-57a77c/src/schemas/v3/overlays/nts.json +2157 -0
  94. package/charming-napier-57a77c/src/schemas/v3/overlays/nts2.json +2742 -0
  95. package/charming-napier-57a77c/src/schemas/v3/overlays/ntsl.json +1813 -0
  96. package/charming-napier-57a77c/src/schemas/v3/overlays/ntsl2.json +2217 -0
  97. package/charming-napier-57a77c/src/schemas/v3/overlays/oc1.json +2817 -0
  98. package/charming-napier-57a77c/src/schemas/v3/overlays/piq.json +3321 -0
  99. package/charming-napier-57a77c/src/schemas/v3/overlays/rds.json +3665 -0
  100. package/charming-napier-57a77c/src/schemas/v3/overlays/sef25.json +1639 -0
  101. package/charming-napier-57a77c/src/schemas/v3/overlays/sr24.json +38 -0
  102. package/charming-napier-57a77c/src/schemas/v3/overlays/ta10.json +4654 -0
  103. package/charming-napier-57a77c/src/schemas/v3/overlays/ta6.json +4568 -0
  104. package/charming-napier-57a77c/src/schemas/v3/overlays/ta6ed6.json +6537 -0
  105. package/charming-napier-57a77c/src/schemas/v3/overlays/ta7.json +1537 -0
  106. package/charming-napier-57a77c/src/schemas/v3/overlays/ta7ed5.json +1551 -0
  107. package/charming-napier-57a77c/src/schemas/v3/pdtf-transaction.json +41229 -0
  108. package/charming-napier-57a77c/src/schemas/v3/skeleton.json +5703 -0
  109. package/charming-napier-57a77c/src/schemas/verifiedClaims/README.md +21 -0
  110. package/charming-napier-57a77c/src/schemas/verifiedClaims/pdtf-verified-claims.json +447 -0
  111. package/charming-napier-57a77c/src/tests/v3/buyerCircumstances.test.js +543 -0
  112. package/charming-napier-57a77c/src/tests/v3/caching.test.js +591 -0
  113. package/charming-napier-57a77c/src/tests/v3/enquiries.test.js +1096 -0
  114. package/charming-napier-57a77c/src/tests/v3/extensionOverlays.test.js +1599 -0
  115. package/charming-napier-57a77c/src/tests/v3/offers.test.js +823 -0
  116. package/charming-napier-57a77c/src/tests/v3/patternProperties.test.js +688 -0
  117. package/charming-napier-57a77c/src/tests/v3/ta6ed6.test.js +2374 -0
  118. package/charming-napier-57a77c/src/tests/v3/ta7ed5.test.js +600 -0
  119. package/charming-napier-57a77c/src/tests/v3/transactionSchema.test.js +646 -0
  120. package/charming-napier-57a77c/src/tests/v3/verifiedClaimsValidator.test.js +195 -0
  121. package/charming-napier-57a77c/src/utils/compactSkeleton.js +84 -0
  122. package/charming-napier-57a77c/src/utils/countTokens.js +67 -0
  123. package/charming-napier-57a77c/src/utils/extractExtensionOverlays.js +624 -0
  124. package/charming-napier-57a77c/src/utils/extractOverlay.js +381 -0
  125. package/charming-napier-57a77c/src/utils/extractProperties.js +44 -0
  126. package/charming-napier-57a77c/src/utils/listPathTitles.js +36 -0
  127. package/charming-napier-57a77c/src/utils/minimalSkeleton.js +85 -0
  128. package/charming-napier-57a77c/src/utils/pathList.csv +903 -0
  129. package/charming-napier-57a77c/src/utils/pathSkeleton.js +181 -0
  130. package/keen-dewdney-6ae15b/LICENSE +21 -0
  131. package/keen-dewdney-6ae15b/README.md +334 -0
  132. package/keen-dewdney-6ae15b/index.js +557 -0
  133. package/keen-dewdney-6ae15b/package-lock.json +7296 -0
  134. package/keen-dewdney-6ae15b/package.json +39 -0
  135. package/keen-dewdney-6ae15b/src/examples/v1/exampleAddParticipantVouch.json +32 -0
  136. package/keen-dewdney-6ae15b/src/examples/v1/exampleDocumentedVouch.json +40 -0
  137. package/keen-dewdney-6ae15b/src/examples/v1/exampleElectronicRecord.json +30 -0
  138. package/keen-dewdney-6ae15b/src/examples/v1/exampleTransaction.json +878 -0
  139. package/keen-dewdney-6ae15b/src/examples/v1/exampleVouch.json +25 -0
  140. package/keen-dewdney-6ae15b/src/examples/v2/exampleTransaction.json +901 -0
  141. package/keen-dewdney-6ae15b/src/examples/v3/exampleAddParticipantVouch.json +35 -0
  142. package/keen-dewdney-6ae15b/src/examples/v3/exampleCustomOverlay.json +55 -0
  143. package/keen-dewdney-6ae15b/src/examples/v3/exampleCustomOverlay2.json +93 -0
  144. package/keen-dewdney-6ae15b/src/examples/v3/exampleDocumentedVouch.json +44 -0
  145. package/keen-dewdney-6ae15b/src/examples/v3/exampleElectronicRecord.json +33 -0
  146. package/keen-dewdney-6ae15b/src/examples/v3/exampleTransaction.json +1034 -0
  147. package/keen-dewdney-6ae15b/src/examples/v3/exampleVouch.json +29 -0
  148. package/keen-dewdney-6ae15b/src/mappings/SendPropertyDetailsRequestSchema.json +1588 -0
  149. package/keen-dewdney-6ae15b/src/mappings/adf.js +198 -0
  150. package/keen-dewdney-6ae15b/src/schemas/v1/GeoJSON.json +1279 -0
  151. package/keen-dewdney-6ae15b/src/schemas/v1/baspiNotes.html +102 -0
  152. package/keen-dewdney-6ae15b/src/schemas/v1/energy-performance-certificate.json +124 -0
  153. package/keen-dewdney-6ae15b/src/schemas/v1/freehold-information.json +2051 -0
  154. package/keen-dewdney-6ae15b/src/schemas/v1/leasehold-information.json +2064 -0
  155. package/keen-dewdney-6ae15b/src/schemas/v1/legal-information.json +1045 -0
  156. package/keen-dewdney-6ae15b/src/schemas/v1/material-facts.json +2109 -0
  157. package/keen-dewdney-6ae15b/src/schemas/v1/pdtf-transaction-search-results.json +40 -0
  158. package/keen-dewdney-6ae15b/src/schemas/v1/pdtf-transaction.json +191 -0
  159. package/keen-dewdney-6ae15b/src/schemas/v1/searches/drainage-and-water.json +261 -0
  160. package/keen-dewdney-6ae15b/src/schemas/v1/searches/local-land-charges.json +69 -0
  161. package/keen-dewdney-6ae15b/src/schemas/v1/searches/local-searches-required.json +857 -0
  162. package/keen-dewdney-6ae15b/src/schemas/v1/searches.json +237 -0
  163. package/keen-dewdney-6ae15b/src/schemas/v1/title-deed.json +841 -0
  164. package/keen-dewdney-6ae15b/src/schemas/v2/baspiNotes.html +102 -0
  165. package/keen-dewdney-6ae15b/src/schemas/v2/combined.json +37731 -0
  166. package/keen-dewdney-6ae15b/src/schemas/v2/overlays/baspi.json +8132 -0
  167. package/keen-dewdney-6ae15b/src/schemas/v2/overlays/con29DW.json +705 -0
  168. package/keen-dewdney-6ae15b/src/schemas/v2/overlays/con29R.json +2956 -0
  169. package/keen-dewdney-6ae15b/src/schemas/v2/overlays/fme1.json +1259 -0
  170. package/keen-dewdney-6ae15b/src/schemas/v2/overlays/llc1.json +25 -0
  171. package/keen-dewdney-6ae15b/src/schemas/v2/overlays/lpe1.json +2171 -0
  172. package/keen-dewdney-6ae15b/src/schemas/v2/overlays/nts.json +326 -0
  173. package/keen-dewdney-6ae15b/src/schemas/v2/overlays/oc1.json +2799 -0
  174. package/keen-dewdney-6ae15b/src/schemas/v2/overlays/piq.json +3419 -0
  175. package/keen-dewdney-6ae15b/src/schemas/v2/overlays/rds.json +3736 -0
  176. package/keen-dewdney-6ae15b/src/schemas/v2/overlays/ta10.json +5306 -0
  177. package/keen-dewdney-6ae15b/src/schemas/v2/overlays/ta6.json +4533 -0
  178. package/keen-dewdney-6ae15b/src/schemas/v2/overlays/ta7.json +1045 -0
  179. package/keen-dewdney-6ae15b/src/schemas/v2/pdtf-transaction.json +34351 -0
  180. package/keen-dewdney-6ae15b/src/schemas/v2/skeleton.json +3973 -0
  181. package/keen-dewdney-6ae15b/src/schemas/v3/combined.json +41720 -0
  182. package/keen-dewdney-6ae15b/src/schemas/v3/compactSkeleton.txt +3325 -0
  183. package/keen-dewdney-6ae15b/src/schemas/v3/overlays/README.md +299 -0
  184. package/keen-dewdney-6ae15b/src/schemas/v3/overlays/baspi4.json +7872 -0
  185. package/keen-dewdney-6ae15b/src/schemas/v3/overlays/baspi5.json +8019 -0
  186. package/keen-dewdney-6ae15b/src/schemas/v3/overlays/con29DW.json +716 -0
  187. package/keen-dewdney-6ae15b/src/schemas/v3/overlays/con29R.json +2981 -0
  188. package/keen-dewdney-6ae15b/src/schemas/v3/overlays/extensions/as.json +72 -0
  189. package/keen-dewdney-6ae15b/src/schemas/v3/overlays/extensions/dr.json +73 -0
  190. package/keen-dewdney-6ae15b/src/schemas/v3/overlays/extensions/er.json +83 -0
  191. package/keen-dewdney-6ae15b/src/schemas/v3/overlays/extensions/fd.json +72 -0
  192. package/keen-dewdney-6ae15b/src/schemas/v3/overlays/extensions/hi.json +48 -0
  193. package/keen-dewdney-6ae15b/src/schemas/v3/overlays/extensions/hs.json +71 -0
  194. package/keen-dewdney-6ae15b/src/schemas/v3/overlays/extensions/jk.json +76 -0
  195. package/keen-dewdney-6ae15b/src/schemas/v3/overlays/extensions/la.json +83 -0
  196. package/keen-dewdney-6ae15b/src/schemas/v3/overlays/extensions/ma.json +87 -0
  197. package/keen-dewdney-6ae15b/src/schemas/v3/overlays/extensions/mc.json +36 -0
  198. package/keen-dewdney-6ae15b/src/schemas/v3/overlays/extensions/oa.json +22 -0
  199. package/keen-dewdney-6ae15b/src/schemas/v3/overlays/extensions/oc.json +55 -0
  200. package/keen-dewdney-6ae15b/src/schemas/v3/overlays/extensions/sb.json +71 -0
  201. package/keen-dewdney-6ae15b/src/schemas/v3/overlays/extensions/sf.json +72 -0
  202. package/keen-dewdney-6ae15b/src/schemas/v3/overlays/extensions/sl.json +66 -0
  203. package/keen-dewdney-6ae15b/src/schemas/v3/overlays/extensions/tf.json +100 -0
  204. package/keen-dewdney-6ae15b/src/schemas/v3/overlays/fme1.json +1264 -0
  205. package/keen-dewdney-6ae15b/src/schemas/v3/overlays/llc1.json +25 -0
  206. package/keen-dewdney-6ae15b/src/schemas/v3/overlays/lpe1.json +2226 -0
  207. package/keen-dewdney-6ae15b/src/schemas/v3/overlays/nts.json +2090 -0
  208. package/keen-dewdney-6ae15b/src/schemas/v3/overlays/nts2.json +2678 -0
  209. package/keen-dewdney-6ae15b/src/schemas/v3/overlays/ntsl.json +1746 -0
  210. package/keen-dewdney-6ae15b/src/schemas/v3/overlays/ntsl2.json +2153 -0
  211. package/keen-dewdney-6ae15b/src/schemas/v3/overlays/oc1.json +2817 -0
  212. package/keen-dewdney-6ae15b/src/schemas/v3/overlays/piq.json +3276 -0
  213. package/keen-dewdney-6ae15b/src/schemas/v3/overlays/rds.json +3552 -0
  214. package/keen-dewdney-6ae15b/src/schemas/v3/overlays/sr24.json +38 -0
  215. package/keen-dewdney-6ae15b/src/schemas/v3/overlays/ta10.json +4642 -0
  216. package/keen-dewdney-6ae15b/src/schemas/v3/overlays/ta6.json +4501 -0
  217. package/keen-dewdney-6ae15b/src/schemas/v3/overlays/ta7.json +1435 -0
  218. package/keen-dewdney-6ae15b/src/schemas/v3/pdtf-transaction.json +37225 -0
  219. package/keen-dewdney-6ae15b/src/schemas/v3/skeleton.json +4323 -0
  220. package/keen-dewdney-6ae15b/src/schemas/verifiedClaims/README.md +12 -0
  221. package/keen-dewdney-6ae15b/src/schemas/verifiedClaims/pdtf-verified-claims.json +431 -0
  222. package/keen-dewdney-6ae15b/src/tests/v3/caching.test.js +591 -0
  223. package/keen-dewdney-6ae15b/src/tests/v3/extensionOverlays.test.js +525 -0
  224. package/keen-dewdney-6ae15b/src/tests/v3/transactionSchema.test.js +574 -0
  225. package/keen-dewdney-6ae15b/src/tests/v3/verifiedClaimsValidator.test.js +128 -0
  226. package/keen-dewdney-6ae15b/src/utils/compactSkeleton.js +84 -0
  227. package/keen-dewdney-6ae15b/src/utils/countTokens.js +67 -0
  228. package/keen-dewdney-6ae15b/src/utils/extractExtensionOverlays.js +362 -0
  229. package/keen-dewdney-6ae15b/src/utils/extractOverlay.js +290 -0
  230. package/keen-dewdney-6ae15b/src/utils/extractProperties.js +44 -0
  231. package/keen-dewdney-6ae15b/src/utils/listPathTitles.js +36 -0
  232. package/keen-dewdney-6ae15b/src/utils/minimalSkeleton.js +85 -0
  233. package/keen-dewdney-6ae15b/src/utils/pathList.csv +903 -0
  234. package/keen-dewdney-6ae15b/src/utils/pathSkeleton.js +181 -0
  235. package/package.json +1 -1
  236. package/src/schemas/v3/combined.json +8 -15
  237. package/src/schemas/v3/overlays/baspi4.json +12 -7
  238. package/src/schemas/v3/overlays/baspi5.json +12 -7
  239. package/src/schemas/v3/overlays/extensions/ac.json +2 -1
  240. package/src/schemas/v3/overlays/extensions/dk.json +3 -2
  241. package/src/schemas/v3/overlays/extensions/ic.json +2 -1
  242. package/src/schemas/v3/overlays/extensions/lc.json +3 -2
  243. package/src/schemas/v3/overlays/extensions/mi.json +2 -1
  244. package/src/schemas/v3/overlays/extensions/nd.json +3 -2
  245. package/src/schemas/v3/overlays/extensions/pc.json +3 -2
  246. package/src/schemas/v3/overlays/extensions/ph.json +2 -1
  247. package/src/schemas/v3/overlays/extensions/rw.json +4 -3
  248. package/src/schemas/v3/overlays/extensions/sc.json +8 -4
  249. package/src/schemas/v3/overlays/extensions/sd.json +3 -2
  250. package/src/schemas/v3/overlays/extensions/tr.json +3 -2
  251. package/src/schemas/v3/overlays/extensions/wg.json +2 -1
  252. package/src/schemas/v3/overlays/lpe1.json +1 -1
  253. package/src/schemas/v3/overlays/nts.json +3 -1
  254. package/src/schemas/v3/overlays/nts2.json +3 -1
  255. package/src/schemas/v3/overlays/ntsl.json +3 -1
  256. package/src/schemas/v3/overlays/ntsl2.json +3 -1
  257. package/src/schemas/v3/overlays/piq.json +7 -5
  258. package/src/schemas/v3/overlays/rds.json +9 -6
  259. package/src/schemas/v3/overlays/ta10.json +0 -9
  260. package/src/schemas/v3/overlays/ta6.json +8 -4
  261. package/src/schemas/v3/overlays/ta6ed6.json +4 -2
  262. package/src/schemas/v3/pdtf-transaction.json +15 -18
  263. package/src/utils/extractExtensionOverlays.js +10 -1
@@ -0,0 +1,1045 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "https://trust.propdata.org.uk/schemas/v1/legal-information.json",
4
+ "type": "object",
5
+ "title": "Additional information required for the legal process",
6
+ "description": "A schema defining Part B of BASPI v2.0 spporting mapping to BASPI, Law Society and RICS Data Schema elements.",
7
+ "baspiRef": "B",
8
+ "required": [
9
+ "legalOwners",
10
+ "sellersCapacity",
11
+ "legalBoundaries",
12
+ "servicesCrossing",
13
+ "energyAndMeters",
14
+ "smartHomeSystems",
15
+ "guaranteesWarrantiesAndIndemnityInsurances",
16
+ "occupiers",
17
+ "completionAndMoving",
18
+ "confirmationOfAccuracyByOwners"
19
+ ],
20
+ "properties": {
21
+ "legalOwners": {
22
+ "baspiRef": "B1",
23
+ "title": "Legal Owners",
24
+ "type": "object",
25
+ "properties": {
26
+ "namesOfLegalOwners": {
27
+ "baspiRef": "B1",
28
+ "RDSRef": "RightsHolders",
29
+ "title": "Names of all legal owners",
30
+ "type": "array",
31
+ "minItems": 1,
32
+ "items": {
33
+ "baspiRef": "B1",
34
+ "title": "Legal owner",
35
+ "type": "object",
36
+ "required": ["ownerType"],
37
+ "properties": {
38
+ "ownerType": {
39
+ "type": "string",
40
+ "title": "Type of owner",
41
+ "enum": ["Private individual", "Organisation"]
42
+ }
43
+ },
44
+ "discriminator": { "propertyName": "ownerType" },
45
+ "oneOf": [
46
+ {
47
+ "properties": {
48
+ "ownerType": {
49
+ "enum": ["Private individual"]
50
+ },
51
+ "firstName": {
52
+ "baspiRef": "B1.1.1",
53
+ "title": "First name",
54
+ "type": "string",
55
+ "minLength": 1
56
+ },
57
+ "middleNames": {
58
+ "baspiRef": "B1.1.2",
59
+ "title": "Middle names",
60
+ "type": "string"
61
+ },
62
+ "lastName": {
63
+ "baspiRef": "B1.1.3",
64
+ "title": "Last name",
65
+ "type": "string",
66
+ "minLength": 1
67
+ }
68
+ },
69
+ "required": ["firstName", "lastName"]
70
+ },
71
+ {
72
+ "properties": {
73
+ "ownerType": {
74
+ "enum": ["Organisation"]
75
+ },
76
+ "organisationName": {
77
+ "baspiRef": "B1.1.1",
78
+ "title": "Organisation name",
79
+ "type": "string",
80
+ "minLength": 1
81
+ }
82
+ },
83
+ "required": ["organisationName"]
84
+ }
85
+ ]
86
+ }
87
+ }
88
+ }
89
+ },
90
+ "sellersCapacity": {
91
+ "baspiRef": "B1.3",
92
+ "RDSRef": "Participants/description=?,Participants/ActingFor/Participants/Role",
93
+ "title": "Capacity in which the Seller sells",
94
+ "description": "If necessary please provide your property lawyer with any probate, grant of representation or power of attorney.",
95
+ "type": "object",
96
+ "required": ["capacity"],
97
+ "properties": {
98
+ "capacity": {
99
+ "type": "string",
100
+ "title": "",
101
+ "enum": [
102
+ "Legal Owner",
103
+ "Personal Representative for a Deceased Owner",
104
+ "Under Power of Attorney",
105
+ "Mortgagee in Possession",
106
+ "Other"
107
+ ]
108
+ }
109
+ },
110
+ "discriminator": { "propertyName": "capacity" },
111
+ "oneOf": [
112
+ {
113
+ "properties": {
114
+ "capacity": {
115
+ "enum": ["Legal Owner", "Mortgagee in Possession"]
116
+ }
117
+ }
118
+ },
119
+ {
120
+ "properties": {
121
+ "capacity": {
122
+ "enum": [
123
+ "Personal Representative for a Deceased Owner",
124
+ "Under Power of Attorney",
125
+ "Other"
126
+ ]
127
+ },
128
+ "sellersCapacityDetails": {
129
+ "baspiRef": "B1.4",
130
+ "RDSRef": "Participants/OtherDocumentation",
131
+ "title": "Please provide details and provide any probate, grant of representation or power of attorney ",
132
+ "type": "string"
133
+ }
134
+ },
135
+ "required": ["sellersCapacityDetails"]
136
+ }
137
+ ]
138
+ },
139
+ "legalBoundaries": {
140
+ "baspiRef": "B2.1",
141
+ "lawSocietyRef": "TA6/1",
142
+ "title": "Legal Boundaries",
143
+ "description": "Please indicate who has repaired, or treated as belonging to them, each of the boundaries. Identify each boundary as if you were looking at the property from the road",
144
+ "type": "object",
145
+ "required": [
146
+ "left",
147
+ "right",
148
+ "rear",
149
+ "front",
150
+ "areBoundariesUniform",
151
+ "haveBoundaryFeaturesMoved",
152
+ "adjacentLandIncluded",
153
+ "flyingFreehold"
154
+ ],
155
+ "properties": {
156
+ "left": {
157
+ "baspiRef": "B2.1.1",
158
+ "RDSRef": "Tenure/Boundaries",
159
+ "lawSocietyRef": "TA6/1.1a",
160
+ "title": "On the left",
161
+ "type": "string",
162
+ "enum": ["Seller", "Shared", "Next-door neighbour"]
163
+ },
164
+ "right": {
165
+ "baspiRef": "B2.1.2",
166
+ "RDSRef": "Tenure/Boundaries",
167
+ "lawSocietyRef": "TA6/1.1b",
168
+ "title": "On the right",
169
+ "type": "string",
170
+ "enum": ["Seller", "Shared", "Next-door neighbour"]
171
+ },
172
+ "rear": {
173
+ "baspiRef": "B2.1.3",
174
+ "RDSRef": "Tenure/Boundaries",
175
+ "lawSocietyRef": "TA6/1.1c",
176
+ "title": "At the rear",
177
+ "type": "string",
178
+ "enum": ["Seller", "Shared", "Next-door neighbour"]
179
+ },
180
+ "front": {
181
+ "baspiRef": "B2.1.4",
182
+ "RDSRef": "Tenure/Boundaries",
183
+ "lawSocietyRef": "TA6/1.1d",
184
+ "title": "At the front",
185
+ "type": "string",
186
+ "enum": ["Seller", "Shared", "Next-door neighbour"]
187
+ },
188
+ "areBoundariesUniform": {
189
+ "baspiRef": "B2.1.5",
190
+ "RDSRef": "Tenure/Boundaries",
191
+ "lawSocietyRef": "TA6/1.2",
192
+ "title": "Are the boundaries uniform?",
193
+ "$ref": "#/$defs/yesNoDetailIfNo",
194
+ "description": "If no, please indicate ownership or those you have repaired by written description or marking them on a plan of the property"
195
+ },
196
+ "haveBoundaryFeaturesMoved": {
197
+ "baspiRef": "B2.2",
198
+ "RDSRef": "Tenure/Boundaries",
199
+ "lawSocietyRef": "TA6/1.3",
200
+ "title": "Has any boundary features been moved during your ownership or in the last 10 years, to your knowledge?",
201
+ "$ref": "#/$defs/yesNoDetailIfYes"
202
+ },
203
+ "adjacentLandIncluded": {
204
+ "baspiRef": "B2.3",
205
+ "RDSRef": "Property/Flags,Property/GUID/name='UPRN'&id=?",
206
+ "lawSocietyRef": "TA6/1.4",
207
+ "title": "Has any adjacent land or property been purchased by you that will be included in the sale?",
208
+ "$ref": "#/$defs/yesNoDetailIfYes"
209
+ },
210
+ "flyingFreehold": {
211
+ "baspiRef": "B2.5",
212
+ "RDSRef": "Tenure/tenure=?",
213
+ "lawSocietyRef": "TA6/1.5",
214
+ "title": "Is there a flying freehold?",
215
+ "$ref": "#/$defs/yesNoDetailIfYes",
216
+ "description": "NOTE: a flying freehold is when part of the property overhangs a neighbour’s property or an accessway - eg a terrace house where part of the upstairs is over an accessway which belongs to someone else."
217
+ }
218
+ }
219
+ },
220
+ "servicesCrossing": {
221
+ "baspiRef": "B3",
222
+ "title": "Services Crossing Other Property",
223
+ "type": "object",
224
+ "required": [
225
+ "pipesWiresCablesDrainsToProperty",
226
+ "pipesWiresCablesDrainsFromProperty",
227
+ "formalOrInformalAgreements"
228
+ ],
229
+ "properties": {
230
+ "pipesWiresCablesDrainsToProperty": {
231
+ "baspiRef": "B3.1",
232
+ "RDSRef": "Services/.../Located",
233
+ "lawSocietyRef": "TA6/8.7",
234
+ "title": "Are you aware of any pipes, wires, cables or drains bringing services to the property which cross any neighbouring land or property?",
235
+ "$ref": "#/$defs/yesNoDetailIfYes"
236
+ },
237
+ "pipesWiresCablesDrainsFromProperty": {
238
+ "baspiRef": "B3.2",
239
+ "RDSRef": "Services/.../Located *with Property entities and references for the related properties etc",
240
+ "lawSocietyRef": "TA6/8.8",
241
+ "title": "Are you aware of any pipes, wires, cables or drains taking services to neighbouring property cross this property?",
242
+ "$ref": "#/$defs/yesNoDetailIfYes"
243
+ },
244
+ "formalOrInformalAgreements": {
245
+ "baspiRef": "B3.3",
246
+ "RDSRef": "Services/.../Consent",
247
+ "lawSocietyRef": "TA6/8.9",
248
+ "title": "Are you aware of any formal or informal agreements or arrangements for pipes, wires cables or drains to cross either your property or neighbouring property?",
249
+ "$ref": "#/$defs/yesNoDetailIfYes"
250
+ }
251
+ }
252
+ },
253
+ "energyAndMeters": {
254
+ "baspiRef": "B4",
255
+ "title": "Energy and Meters",
256
+ "type": "object",
257
+ "required": [
258
+ "testedByQualifiedElectrician",
259
+ "electricalWorkSince2005",
260
+ "solarPanels"
261
+ ],
262
+ "properties": {
263
+ "testedByQualifiedElectrician": {
264
+ "baspiRef": "B4.1",
265
+ "RDSRef": "Objects/Servicing",
266
+ "lawSocietyRef": "TA6/12.1",
267
+ "title": "Have the electrics at the property been tested by a qualified electrician?",
268
+ "$ref": "#/$defs/yesNoDetailIfYes",
269
+ "description": "If yes, state the year they were last tested and upload the test certificate."
270
+ },
271
+ "electricalWorkSince2005": {
272
+ "baspiRef": "B4.2",
273
+ "RDSRef": "WorksAlterationsChanges/Consent,WorksAlterationsChanges/Consent/Certificates",
274
+ "lawSocietyRef": "TA6/12.2",
275
+ "title": "Since 1st January 2005, has any electrical work been carried out to the property?",
276
+ "$ref": "#/$defs/yesNoDetailIfYes",
277
+ "description": "If yes, please provide details and supply the signed Electrical Safety Certificate (BS7671) and Building Regulations Compliance Certificate (or equivalent)"
278
+ },
279
+ "solarPanels": {
280
+ "baspiRef": "B4.3",
281
+ "title": "Solar or photovoltaic panels",
282
+ "type": "object",
283
+ "properties": {
284
+ "hasSolarPanels": {
285
+ "baspiRef": "B4.3",
286
+ "lawSocietyRef": "TA6/4.6",
287
+ "RDSRef": "Property/Flags",
288
+ "title": "Are there solar or photovoltaic panels installed at the property?",
289
+ "type": "string",
290
+ "enum": ["Yes", "No"]
291
+ }
292
+ },
293
+ "required": ["hasSolarPanels"],
294
+ "discriminator": { "propertyName": "hasSolarPanels" },
295
+ "oneOf": [
296
+ {
297
+ "properties": {
298
+ "hasSolarPanels": {
299
+ "enum": ["No"]
300
+ }
301
+ }
302
+ },
303
+ {
304
+ "properties": {
305
+ "hasSolarPanels": {
306
+ "enum": ["Yes"]
307
+ },
308
+ "yearInstalled": {
309
+ "baspiRef": "B4.3.1",
310
+ "lawSocietyRef": "TA6/4.6a",
311
+ "RDSRef": "Objects/Installation",
312
+ "title": "What year were they installed?",
313
+ "type": "number"
314
+ },
315
+ "panelsOwnedOutright": {
316
+ "baspiRef": "B4.3.2",
317
+ "lawSocietyRef": "TA6/4.6b",
318
+ "RDSRef": "Objects/Ownership",
319
+ "title": "Do you own the panels, and all equipment related to them, outright?",
320
+ "$ref": "#/$defs/yesNoDetailIfNo",
321
+ "description": "If no, provide details of who owns them and the relevant documentation"
322
+ },
323
+ "panelProviderLease": {
324
+ "baspiRef": "B4.3.3",
325
+ "lawSocietyRef": "TA6/4.6c",
326
+ "RDSRef": "Objects/Ownership",
327
+ "title": "Is there an existing long lease of the roof/air space granted to a panel provider?",
328
+ "$ref": "#/$defs/yesNoDetailIfYes",
329
+ "description": "If yes, please supply copies of the relevant documents and the name of the provider"
330
+ },
331
+ "lastMaintained": {
332
+ "baspiRef": "B4.3.4",
333
+ "RDSRef": "Objects/Servicing",
334
+ "title": "When was the system last maintained or serviced?",
335
+ "type": "string",
336
+ "format": "date"
337
+ },
338
+ "inGoodWorkingOrder": {
339
+ "baspiRef": "B4.3.5",
340
+ "RDSRef": "Objects/isNotWorking=yes|no|true|false",
341
+ "title": "Is the system in good working order to your satisfaction?",
342
+ "$ref": "#/$defs/yesNoDetailIfNo"
343
+ },
344
+ "isConnectedToNationalGrid": {
345
+ "baspiRef": "B4.3.6",
346
+ "RDSRef": "Objects/isExternallyConnected=yes|no|true|false,Connection,Objects/ExternalConnection",
347
+ "title": "Is the system connected to the National Grid e.g. for feed-in tariffs (FiT) or Smart Export Guarantee (SEG)",
348
+ "type": "string",
349
+ "enum": ["Yes (FiT)", "Yes (SEG)", "No"]
350
+ },
351
+ "photovoltaicMeterPanelLocation": {
352
+ "baspiRef": "B4.7",
353
+ "RDSRef": "Objects/class='meters|valve|stopcock'&access=?&accessLocation=?",
354
+ "title": "Please describe, or attach a photograph of, the location of any photovoltaic panel meter",
355
+ "type": "string"
356
+ },
357
+ "photovoltaicBatteriesLocation": {
358
+ "baspiRef": "B4.8",
359
+ "RDSRef": "Objects/class='meters|valve|stopcock'&access=?&accessLocation=?",
360
+ "title": "Please describe, or attach a photograph of, the location of any photovoltaic batteries",
361
+ "type": "string"
362
+ }
363
+ },
364
+ "required": [
365
+ "yearInstalled",
366
+ "panelsOwnedOutright",
367
+ "panelProviderLease",
368
+ "lastMaintained",
369
+ "inGoodWorkingOrder",
370
+ "isConnectedToNationalGrid"
371
+ ]
372
+ }
373
+ ]
374
+ },
375
+ "electricityMeterLocation": {
376
+ "baspiRef": "B4.4",
377
+ "lawSocietyRef": "TA6/13.1b",
378
+ "RDSRef": "Objects/class='meters|'&access=?&accessLocation=?",
379
+ "title": "Please describe, or attach a photograph of, the location of any electricity meter",
380
+ "type": "string"
381
+ },
382
+ "gasMeterLocation": {
383
+ "baspiRef": "B4.5",
384
+ "lawSocietyRef": "TA6/13.2b",
385
+ "RDSRef": "Objects/class='meters'&access=?&accessLocation=?",
386
+ "title": "Please describe, or attach a photograph of, the location of any gas meter",
387
+ "type": "string"
388
+ },
389
+ "stopcockAndWaterMeterLocation": {
390
+ "baspiRef": "B4.6",
391
+ "lawSocietyRef": "TA6/13.3b",
392
+ "RDSRef": "Objects/class='meters|valve|stopcock'&access=?&accessLocation=?",
393
+ "title": "Please describe, or attach a photograph of, the location of any stopcock and water meter",
394
+ "type": "string"
395
+ }
396
+ }
397
+ },
398
+ "smartHomeSystems": {
399
+ "baspiRef": "B7.4",
400
+ "title": "Smart Home Systems",
401
+ "type": "object",
402
+ "required": ["hasSmartHomeSystems"],
403
+ "properties": {
404
+ "hasSmartHomeSystems": {
405
+ "title": "Are any Smart Home Systems included in the sale?",
406
+ "type": "string",
407
+ "enum": ["Yes", "No"]
408
+ }
409
+ },
410
+ "discriminator": { "propertyName": "hasSmartHomeSystems" },
411
+ "oneOf": [
412
+ {
413
+ "properties": {
414
+ "hasSmartHomeSystems": {
415
+ "enum": ["No"]
416
+ }
417
+ }
418
+ },
419
+ {
420
+ "properties": {
421
+ "hasSmartHomeSystems": {
422
+ "enum": ["Yes"]
423
+ },
424
+ "heatingAndPower": {
425
+ "title": "Heating and Power",
426
+ "description": "E.g. remote boiler control, solar panels, EV charging point, power storage, indoor or outdoor lighting systems",
427
+ "$ref": "#/$defs/yesNoDetailIfYes"
428
+ },
429
+ "security": {
430
+ "title": "Security",
431
+ "description": "E.g. CCTV, alarms, barriers, doors or gates",
432
+ "$ref": "#/$defs/yesNoDetailIfYes"
433
+ },
434
+ "entertainment": {
435
+ "title": "Entertainment",
436
+ "description": "E.g. integrated audio system",
437
+ "$ref": "#/$defs/yesNoDetailIfYes"
438
+ },
439
+ "handoverOnCompletion": {
440
+ "title": "Confirm that you will handover details on day of completion",
441
+ "description": "Confirm that you will provide the buyer with the login, password and link to user instructions for the relevant system(s). [NOTE: It is recommended that you reset the password before handing it over to avoid security issues by passing on your own password.]",
442
+ "type": "boolean"
443
+ }
444
+ },
445
+ "required": [
446
+ "heatingAndPower",
447
+ "security",
448
+ "entertainment",
449
+ "handoverOnCompletion"
450
+ ]
451
+ }
452
+ ]
453
+ },
454
+ "guaranteesWarrantiesAndIndemnityInsurances": {
455
+ "baspiRef": "B5",
456
+ "lawSocietyRef": "TA6/5",
457
+ "title": "Guarantees, Warranties and Indemnity Insurances",
458
+ "type": "object",
459
+ "required": ["hasValidGuaranteesOrWarranties"],
460
+ "properties": {
461
+ "hasValidGuaranteesOrWarranties": {
462
+ "baspiRef": "B5.1",
463
+ "lawSocietyRef": "TA6/5/1",
464
+ "RDSRef": "Certificates",
465
+ "title": "Are there any valid guarantees or warranties relating to this property?",
466
+ "type": "string",
467
+ "enum": ["Yes", "No"]
468
+ }
469
+ },
470
+ "discriminator": { "propertyName": "hasValidGuaranteesOrWarranties" },
471
+ "oneOf": [
472
+ {
473
+ "properties": {
474
+ "hasValidGuaranteesOrWarranties": {
475
+ "enum": ["No"]
476
+ }
477
+ }
478
+ },
479
+ {
480
+ "properties": {
481
+ "hasValidGuaranteesOrWarranties": {
482
+ "enum": ["Yes"]
483
+ },
484
+ "newHomeWarranty": {
485
+ "baspiRef": "B5.1.1",
486
+ "RDSRef": "Certificates",
487
+ "lawSocietyRef": "TA6/5.1a",
488
+ "title": "New Home Warranty (NHBC or similar)",
489
+ "$ref": "#/$defs/yesNoDetailIfYes",
490
+ "description": "If yes, please confirm the name of the warranty provider and the date of the warranty:"
491
+ },
492
+ "roofingWork": {
493
+ "baspiRef": "B5.1.2",
494
+ "RDSRef": "Certificates",
495
+ "lawSocietyRef": "TA6/5.1f",
496
+ "title": "Roofing work",
497
+ "$ref": "#/$defs/yesNo"
498
+ },
499
+ "dampProofingTreatment": {
500
+ "baspiRef": "B5.1.3",
501
+ "RDSRef": "Certificates",
502
+ "lawSocietyRef": "TA6/5.1b",
503
+ "title": "Damp proofing treatment",
504
+ "$ref": "#/$defs/yesNo"
505
+ },
506
+ "timberRotOrInfestationTreatment": {
507
+ "baspiRef": "B5.1.4",
508
+ "RDSRef": "Certificates",
509
+ "lawSocietyRef": "TA6/5.1c",
510
+ "title": "Timber rot or infestation treatment",
511
+ "$ref": "#/$defs/yesNo"
512
+ },
513
+ "centralHeatingAndorPlumbing": {
514
+ "baspiRef": "B5.1.5",
515
+ "RDSRef": "Certificates",
516
+ "lawSocietyRef": "TA6/5.1g",
517
+ "title": "Central heating and/or plumbing",
518
+ "$ref": "#/$defs/yesNo"
519
+ },
520
+ "doubleGlazing": {
521
+ "baspiRef": "B5.1.6",
522
+ "RDSRef": "Certificates",
523
+ "lawSocietyRef": "TA6/5.1d",
524
+ "title": "Double glazing (windows, doors, roof lights, conservatory etc)",
525
+ "$ref": "#/$defs/yesNo"
526
+ },
527
+ "electricalRepairOrInstallation": {
528
+ "baspiRef": "B5.1.7",
529
+ "RDSRef": "Certificates",
530
+ "lawSocietyRef": "TA6/5.1e",
531
+ "title": "Electrical repair or installation",
532
+ "$ref": "#/$defs/yesNo"
533
+ },
534
+ "subsidenceWork": {
535
+ "baspiRef": "B5.1.8",
536
+ "RDSRef": "Certificates",
537
+ "lawSocietyRef": "TA6/5.1h",
538
+ "title": "Underpinning or other preventative work and/or remedial action relating to subsidence",
539
+ "$ref": "#/$defs/yesNo"
540
+ },
541
+ "solarPanels": {
542
+ "baspiRef": "B5.1.9",
543
+ "RDSRef": "Certificates",
544
+ "title": "Solar panels",
545
+ "$ref": "#/$defs/yesNo"
546
+ },
547
+ "otherGuarantees": {
548
+ "baspiRef": "B5.1.10",
549
+ "RDSRef": "Certificates",
550
+ "lawSocietyRef": "TA6/5.1i",
551
+ "title": "Other Guarantees or Warranties",
552
+ "$ref": "#/$defs/yesNo"
553
+ },
554
+ "willLeaveGuaranteePaperwork": {
555
+ "baspiRef": "B5.1.11",
556
+ "RDSRef": "Property/Flags",
557
+ "title": "Please confirm that you will leave all paperwork relating to any guarantee or warranty at the property when you move out",
558
+ "type": "boolean"
559
+ },
560
+ "outstandingClaimsOrApplications": {
561
+ "baspiRef": "B5.2",
562
+ "RDSRef": "Certificates",
563
+ "lawSocietyRef": "TA6/5.2",
564
+ "title": "Are there any outstanding claims or current applications relating to any of the above?",
565
+ "$ref": "#/$defs/yesNoDetailIfYes"
566
+ },
567
+ "titleDefectInsurance": {
568
+ "baspiRef": "B5.3",
569
+ "RDSRef": "Certificates",
570
+ "title": "Do you have any title defect insurance policies e.g. for breach of planning permission, buildings regulations, restrictions, chancel repair etc",
571
+ "$ref": "#/$defs/yesNoDetailIfYes",
572
+ "description": "If yes, please provide details and give the policy to your property lawyer"
573
+ }
574
+ },
575
+ "required": [
576
+ "newHomeWarranty",
577
+ "roofingWork",
578
+ "dampProofingTreatment",
579
+ "timberRotOrInfestationTreatment",
580
+ "centralHeatingAndorPlumbing",
581
+ "doubleGlazing",
582
+ "electricalRepairOrInstallation",
583
+ "subsidenceWork",
584
+ "solarPanels",
585
+ "otherGuarantees",
586
+ "willLeaveGuaranteePaperwork",
587
+ "outstandingClaimsOrApplications",
588
+ "titleDefectInsurance"
589
+ ]
590
+ }
591
+ ]
592
+ },
593
+ "occupiers": {
594
+ "baspiRef": "B6",
595
+ "lawSocietyRef": "TA6/11",
596
+ "title": "Occupiers",
597
+ "type": "object",
598
+ "required": ["sellerLivesAtProperty", "othersAged17OrOver"],
599
+ "properties": {
600
+ "sellerLivesAtProperty": {
601
+ "baspiRef": "B6.1",
602
+ "RDSRef": "Property/Flags",
603
+ "lawSocietyRef": "TA6/11.1",
604
+ "title": "Does the seller live at the property?",
605
+ "$ref": "#/$defs/yesNo"
606
+ },
607
+ "othersAged17OrOver": {
608
+ "baspiRef": "B6.2",
609
+ "RDSRef": "Participants",
610
+ "lawSocietyRef": "TA6/11.2",
611
+ "type": "object",
612
+ "required": ["hasOthersAged17OrOver"],
613
+ "properties": {
614
+ "hasOthersAged17OrOver": {
615
+ "baspiRef": "B6.2",
616
+ "RDSRef": "Participants",
617
+ "lawSocietyRef": "TA6/11.2",
618
+ "title": "Does anyone else, aged 17 or over, live at the property?",
619
+ "type": "string",
620
+ "enum": ["Yes", "No"]
621
+ }
622
+ },
623
+ "discriminator": { "propertyName": "hasOthersAged17OrOver" },
624
+ "oneOf": [
625
+ {
626
+ "properties": {
627
+ "hasOthersAged17OrOver": {
628
+ "enum": ["No"]
629
+ }
630
+ }
631
+ },
632
+ {
633
+ "properties": {
634
+ "hasOthersAged17OrOver": {
635
+ "enum": ["Yes"]
636
+ },
637
+ "aged17OrOverNames": {
638
+ "lawSocietyRef": "TA6/11.3",
639
+ "title": "Please specify their full names and ages.",
640
+ "type": "array",
641
+ "minItems": 1,
642
+ "items": {
643
+ "type": "object",
644
+ "properties": {
645
+ "firstName": {
646
+ "title": "First Name",
647
+ "type": "string",
648
+ "minLength": 1
649
+ },
650
+ "middleNames": {
651
+ "title": "Middle name(s) if any",
652
+ "type": "string"
653
+ },
654
+ "lastName": {
655
+ "title": "Last Name",
656
+ "type": "string",
657
+ "minLength": 1
658
+ },
659
+ "age": {
660
+ "title": "Age",
661
+ "type": "integer"
662
+ }
663
+ },
664
+ "required": ["firstName", "lastName", "age"]
665
+ }
666
+ },
667
+ "aged17OrOverTenantsOrLodgers": {
668
+ "baspiRef": "B6.1",
669
+ "RDSRef": "Property/Flags",
670
+ "lawSocietyRef": "TA6/11.4",
671
+ "title": "Are any of them tenants or lodgers?",
672
+ "$ref": "#/$defs/yesNo"
673
+ },
674
+ "vacantPossession": {
675
+ "lawSocietyRef": "TA6/11.5",
676
+ "type": "object",
677
+ "required": ["soldWithVacantPossession"],
678
+ "properties": {
679
+ "soldWithVacantPossession": {
680
+ "type": "string",
681
+ "title": "Is the property being sold with vacant possession?",
682
+ "enum": ["Yes", "No"]
683
+ }
684
+ },
685
+ "discriminator": {
686
+ "propertyName": "soldWithVacantPossession"
687
+ },
688
+ "oneOf": [
689
+ {
690
+ "properties": {
691
+ "soldWithVacantPossession": {
692
+ "enum": ["No"]
693
+ }
694
+ }
695
+ },
696
+ {
697
+ "properties": {
698
+ "soldWithVacantPossession": {
699
+ "enum": ["Yes"]
700
+ },
701
+ "aged17OrOverAgreedToLeave": {
702
+ "baspiRef": "B6.4",
703
+ "RDSRef": "RightsHolders,TenureAgreements,Notifications",
704
+ "lawSocietyRef": "TA6/11.5a",
705
+ "title": "Have all occupiers aged 17 or over agreed to leave prior to completion?",
706
+ "$ref": "#/$defs/yesNo"
707
+ },
708
+ "aged17OrOverWillSignToConfirmWillVacate": {
709
+ "baspiRef": "B6.4",
710
+ "RDSRef": "RightsHolders,TenureAgreements,Notifications",
711
+ "lawSocietyRef": "TA6/11.5b",
712
+ "title": "Have all occupiers aged 17 or over, agreed to sign the sale contract?",
713
+ "$ref": "#/$defs/yesNoDetailIfNo",
714
+ "description": "If 'No', please supply other evidence that the property will be vacant on completion."
715
+ }
716
+ },
717
+ "required": [
718
+ "aged17OrOverAgreedToLeave",
719
+ "aged17OrOverWillSignToConfirmWillVacate"
720
+ ]
721
+ }
722
+ ]
723
+ }
724
+ },
725
+ "required": [
726
+ "aged17OrOverNames",
727
+ "aged17OrOverTenantsOrLodgers",
728
+ "vacantPossession"
729
+ ]
730
+ }
731
+ ]
732
+ }
733
+ }
734
+ },
735
+ "completionAndMoving": {
736
+ "baspiRef": "B7",
737
+ "lawSocietyRef": "TA6/14",
738
+ "title": "Completion and Moving",
739
+ "type": "object",
740
+ "required": [
741
+ "willRemoveAllRubbish",
742
+ "otherPropertyInChain",
743
+ "moveRestrictionDates",
744
+ "digitalPropertyLogbook"
745
+ ],
746
+ "properties": {
747
+ "willRemoveAllRubbish": {
748
+ "baspiRef": "B7.1",
749
+ "RDSRef": "RightsHolders/Flags",
750
+ "lawSocietyRef": "TA6/14.4",
751
+ "title": "Please confirm that on completion you will remove all rubbish and items not included in the sale from the property including its garden, loft and any sheds or outbuildings.",
752
+ "description": "When the property is cleared out you will be expected to take reasonable care when clearing the property, leaving it clean and tidy and repairing any damage caused when removing items from the property and making safe any light or electrical fittings which are being removed.\n\nKeys for all door and window locks, along with any alarm codes, should be available for the buyer on the day of completion. If there is any reason why you cannot do this you should let the estate agent and your property lawyer know. For all internet connected services eg doorbells, boiler controls, burglar alarms, CCTV cameras etc) access to them will need to be provided to the buyer on the day of completion so that they can control them or sign up to the service. If there is any reason why you cannot do this you should let the estate agent and your property lawyer know.",
753
+ "type": "boolean"
754
+ },
755
+ "otherPropertyInChain": {
756
+ "baspiRef": "B7.2",
757
+ "RDSRef": "RightsHolders/Flags",
758
+ "lawSocietyRef": "TA6/14.1",
759
+ "title": "Will you need the purchase, sale or remortgage of another property to co-ordinate with the sale of this property?",
760
+ "type": "object",
761
+ "properties": {
762
+ "yesNo": {
763
+ "type": "string",
764
+ "title": "",
765
+ "enum": ["Yes", "No"]
766
+ }
767
+ },
768
+ "required": ["yesNo"],
769
+ "discriminator": { "propertyName": "yesNo" },
770
+ "oneOf": [
771
+ {
772
+ "properties": {
773
+ "yesNo": {
774
+ "enum": ["No"]
775
+ }
776
+ }
777
+ },
778
+ {
779
+ "properties": {
780
+ "yesNo": {
781
+ "enum": ["Yes"]
782
+ },
783
+ "propertyDependencyType": {
784
+ "type": "string",
785
+ "enum": ["Sale", "Purchase", "Remortgage"]
786
+ },
787
+ "dependentPropertyAddress": {
788
+ "title": "Address",
789
+ "$ref": "#/$defs/address"
790
+ }
791
+ },
792
+ "required": ["propertyDependencyType", "dependentPropertyAddress"]
793
+ }
794
+ ]
795
+ },
796
+ "moveRestrictionDates": {
797
+ "baspiRef": "B7.3",
798
+ "RDSRef": "RightsHolders/Text",
799
+ "lawSocietyRef": "TA6/14.2",
800
+ "title": "Are there any dates on which you cannot move? ",
801
+ "description": "If yes, please provide the dates. Note that: the moving date will not be fixed until contracts are exchanged i.e. have become binding, until then you should only make provisional removal arrangements; you do not need to be physically present on the day of completion so long as the property is cleared; timescales to completion vary depending on the complexity of the transaction, length of the chain and requirements of the people involved.",
802
+ "type": "object",
803
+ "properties": {
804
+ "yesNo": {
805
+ "type": "string",
806
+ "title": "",
807
+ "enum": ["Yes", "No"]
808
+ }
809
+ },
810
+ "required": ["yesNo"],
811
+ "discriminator": { "propertyName": "yesNo" },
812
+ "oneOf": [
813
+ {
814
+ "properties": {
815
+ "yesNo": {
816
+ "enum": ["No"]
817
+ }
818
+ }
819
+ },
820
+ {
821
+ "properties": {
822
+ "yesNo": {
823
+ "enum": ["Yes"]
824
+ },
825
+ "restrictedDates": {
826
+ "type": "array",
827
+ "items": {
828
+ "type": "string",
829
+ "format": "date"
830
+ }
831
+ }
832
+ },
833
+ "required": ["restrictedDates"]
834
+ }
835
+ ]
836
+ },
837
+ "sufficientToRepayAllMortgages": {
838
+ "lawSocietyRef": "TA6/14.3",
839
+ "title": "Will the sale price be sufficient to repay all mortgages and charges secured on the property?",
840
+ "$ref": "#/$defs/yesNo"
841
+ },
842
+ "digitalPropertyLogbook": {
843
+ "baspiRef": "B7.5",
844
+ "title": "Do you have a Digital Property Logbook?",
845
+ "description": "See https://www.rlba.org.uk/what-is-a-property-logbook?",
846
+ "type": "object",
847
+ "properties": {
848
+ "yesNo": {
849
+ "type": "string",
850
+ "title": "",
851
+ "enum": ["Yes", "No"]
852
+ }
853
+ },
854
+ "required": ["yesNo"],
855
+ "discriminator": { "propertyName": "yesNo" },
856
+ "oneOf": [
857
+ {
858
+ "properties": {
859
+ "yesNo": {
860
+ "enum": ["No"]
861
+ }
862
+ }
863
+ },
864
+ {
865
+ "properties": {
866
+ "yesNo": {
867
+ "enum": ["Yes"]
868
+ },
869
+ "willHandoverLogbook": {
870
+ "title": "Please confirm that on completion you will transfer it to the new owner",
871
+ "type": "boolean"
872
+ }
873
+ },
874
+ "required": ["willHandoverLogbook"]
875
+ }
876
+ ]
877
+ }
878
+ }
879
+ },
880
+ "confirmationOfAccuracyByOwners": {
881
+ "baspiRef": "B8",
882
+ "title": "Confirmation to be supplied by all owners or their representative",
883
+ "type": "object",
884
+ "required": [
885
+ "confirmWillProvideAdditionalDocumentation",
886
+ "confirmInformationIsAccurate"
887
+ ],
888
+ "properties": {
889
+ "confirmWillProvideAdditionalDocumentation": {
890
+ "baspiRef": "B8.1",
891
+ "title": "I/we will provide my property lawyer with the additional documentation in support of the information supplied.",
892
+ "type": "boolean"
893
+ },
894
+ "confirmInformationIsAccurate": {
895
+ "baspiRef": "B8.2",
896
+ "title": "I/we confirm that all information provided is accurate to the best of our knowledge and if we become aware of any change to/changes which alter the information supplied/provided prior to exchange of contracts for the sale of the property, I/we will update immediately notify the person marketing the property as well as my/our property lawyer. All sellers should sign this form",
897
+ "type": "boolean"
898
+ }
899
+ }
900
+ }
901
+ },
902
+ "$defs": {
903
+ "yesNo": {
904
+ "type": "object",
905
+ "properties": {
906
+ "yesNo": {
907
+ "type": "string",
908
+ "title": "",
909
+ "enum": ["Yes", "No"]
910
+ }
911
+ },
912
+ "required": ["yesNo"]
913
+ },
914
+ "yesNoDetailIfYes": {
915
+ "type": "object",
916
+ "properties": {
917
+ "yesNo": {
918
+ "type": "string",
919
+ "title": "",
920
+ "enum": ["Yes", "No"]
921
+ }
922
+ },
923
+ "required": ["yesNo"],
924
+ "discriminator": { "propertyName": "yesNo" },
925
+ "oneOf": [
926
+ {
927
+ "properties": {
928
+ "yesNo": {
929
+ "enum": ["No"]
930
+ }
931
+ }
932
+ },
933
+ {
934
+ "properties": {
935
+ "yesNo": {
936
+ "enum": ["Yes"]
937
+ },
938
+ "details": {
939
+ "title": "Details",
940
+ "type": "string",
941
+ "minLength": 1
942
+ }
943
+ },
944
+ "required": ["details"]
945
+ }
946
+ ]
947
+ },
948
+ "yesNoDetailIfNo": {
949
+ "type": "object",
950
+ "properties": {
951
+ "yesNo": {
952
+ "type": "string",
953
+ "title": "",
954
+ "enum": ["Yes", "No"]
955
+ }
956
+ },
957
+ "required": ["yesNo"],
958
+ "discriminator": { "propertyName": "yesNo" },
959
+ "oneOf": [
960
+ {
961
+ "properties": {
962
+ "yesNo": {
963
+ "enum": ["Yes"]
964
+ }
965
+ }
966
+ },
967
+ {
968
+ "properties": {
969
+ "yesNo": {
970
+ "enum": ["No"]
971
+ },
972
+ "details": {
973
+ "title": "Details",
974
+ "type": "string",
975
+ "minLength": 1
976
+ }
977
+ },
978
+ "required": ["details"]
979
+ }
980
+ ]
981
+ },
982
+ "yesNoNotRequiredDetailIfNoNotRequired": {
983
+ "type": "object",
984
+ "properties": {
985
+ "yesNo": {
986
+ "type": "string",
987
+ "title": "",
988
+ "enum": ["Yes", "No", "Not required"]
989
+ }
990
+ },
991
+ "required": ["yesNo"],
992
+ "discriminator": { "propertyName": "yesNo" },
993
+ "oneOf": [
994
+ {
995
+ "properties": {
996
+ "yesNo": {
997
+ "enum": ["Yes"]
998
+ }
999
+ }
1000
+ },
1001
+ {
1002
+ "properties": {
1003
+ "yesNo": {
1004
+ "enum": ["No", "Not required"]
1005
+ },
1006
+ "details": {
1007
+ "title": "Please outline the reasons why",
1008
+ "type": "string",
1009
+ "minLength": 1
1010
+ }
1011
+ },
1012
+ "required": ["details"]
1013
+ }
1014
+ ]
1015
+ },
1016
+ "address": {
1017
+ "type": "object",
1018
+ "properties": {
1019
+ "line1": {
1020
+ "title": "Address 1",
1021
+ "type": "string",
1022
+ "minLength": 1
1023
+ },
1024
+ "line2": {
1025
+ "title": "Address 2",
1026
+ "type": "string"
1027
+ },
1028
+ "town": {
1029
+ "title": "Town",
1030
+ "type": "string"
1031
+ },
1032
+ "county": {
1033
+ "title": "County",
1034
+ "type": "string"
1035
+ },
1036
+ "postcode": {
1037
+ "title": "Postcode",
1038
+ "type": "string",
1039
+ "minLength": 1
1040
+ }
1041
+ },
1042
+ "required": ["line1", "postcode"]
1043
+ }
1044
+ }
1045
+ }