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

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 (193) hide show
  1. package/docs/ta6-certificate-permit-contract.md +51 -0
  2. package/docs/v4-mapping-and-recomposition.md +476 -0
  3. package/index.js +212 -0
  4. package/package.json +10 -1
  5. package/src/schemas/v3/combined.json +2267 -658
  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 +77 -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/PropertyTitleLink.json +183 -0
  46. package/src/schemas/v4/Representation.json +67 -0
  47. package/src/schemas/v4/SellerCapacity.json +193 -0
  48. package/src/schemas/v4/Title.json +14675 -0
  49. package/src/schemas/v4/Transaction.json +1612 -0
  50. package/src/schemas/v4/TransactionRole.json +59 -0
  51. package/src/schemas/v4/mapping.json +1188 -0
  52. package/src/utils/checkTa6OmissionCompatibility.js +146 -0
  53. package/src/utils/extractExtensionOverlays.js +11 -2
  54. package/src/utils/extractOverlay.js +21 -0
  55. package/src/utils/generateV4Schemas.js +1561 -0
  56. package/src/utils/syncTa6ed6v2Markers.js +92 -0
  57. package/src/utils/v4.js +956 -0
  58. package/CLAUDE.md +0 -101
  59. package/pensive-tesla-d0d355/CLAUDE.md +0 -101
  60. package/pensive-tesla-d0d355/LICENSE +0 -21
  61. package/pensive-tesla-d0d355/README.md +0 -435
  62. package/pensive-tesla-d0d355/docs/branch-release-workflow.md +0 -138
  63. package/pensive-tesla-d0d355/docs/sef25-extensions-ui-spec.md +0 -355
  64. package/pensive-tesla-d0d355/index.js +0 -654
  65. package/pensive-tesla-d0d355/package-lock.json +0 -7297
  66. package/pensive-tesla-d0d355/package.json +0 -44
  67. package/pensive-tesla-d0d355/src/examples/v1/exampleAddParticipantVouch.json +0 -32
  68. package/pensive-tesla-d0d355/src/examples/v1/exampleDocumentedVouch.json +0 -40
  69. package/pensive-tesla-d0d355/src/examples/v1/exampleElectronicRecord.json +0 -30
  70. package/pensive-tesla-d0d355/src/examples/v1/exampleTransaction.json +0 -878
  71. package/pensive-tesla-d0d355/src/examples/v1/exampleVouch.json +0 -25
  72. package/pensive-tesla-d0d355/src/examples/v2/exampleTransaction.json +0 -901
  73. package/pensive-tesla-d0d355/src/examples/v3/exampleAddParticipantVouch.json +0 -38
  74. package/pensive-tesla-d0d355/src/examples/v3/exampleCustomOverlay.json +0 -55
  75. package/pensive-tesla-d0d355/src/examples/v3/exampleCustomOverlay2.json +0 -93
  76. package/pensive-tesla-d0d355/src/examples/v3/exampleDocumentedVouch.json +0 -47
  77. package/pensive-tesla-d0d355/src/examples/v3/exampleElectronicRecord.json +0 -36
  78. package/pensive-tesla-d0d355/src/examples/v3/exampleTransaction.json +0 -1038
  79. package/pensive-tesla-d0d355/src/examples/v3/exampleVouch.json +0 -32
  80. package/pensive-tesla-d0d355/src/mappings/SendPropertyDetailsRequestSchema.json +0 -1588
  81. package/pensive-tesla-d0d355/src/mappings/adf.js +0 -198
  82. package/pensive-tesla-d0d355/src/schemas/v1/GeoJSON.json +0 -1279
  83. package/pensive-tesla-d0d355/src/schemas/v1/baspiNotes.html +0 -102
  84. package/pensive-tesla-d0d355/src/schemas/v1/energy-performance-certificate.json +0 -124
  85. package/pensive-tesla-d0d355/src/schemas/v1/freehold-information.json +0 -2051
  86. package/pensive-tesla-d0d355/src/schemas/v1/leasehold-information.json +0 -2064
  87. package/pensive-tesla-d0d355/src/schemas/v1/legal-information.json +0 -1045
  88. package/pensive-tesla-d0d355/src/schemas/v1/material-facts.json +0 -2109
  89. package/pensive-tesla-d0d355/src/schemas/v1/pdtf-transaction-search-results.json +0 -40
  90. package/pensive-tesla-d0d355/src/schemas/v1/pdtf-transaction.json +0 -191
  91. package/pensive-tesla-d0d355/src/schemas/v1/searches/drainage-and-water.json +0 -261
  92. package/pensive-tesla-d0d355/src/schemas/v1/searches/local-land-charges.json +0 -69
  93. package/pensive-tesla-d0d355/src/schemas/v1/searches/local-searches-required.json +0 -857
  94. package/pensive-tesla-d0d355/src/schemas/v1/searches.json +0 -237
  95. package/pensive-tesla-d0d355/src/schemas/v1/title-deed.json +0 -841
  96. package/pensive-tesla-d0d355/src/schemas/v2/baspiNotes.html +0 -102
  97. package/pensive-tesla-d0d355/src/schemas/v2/combined.json +0 -37731
  98. package/pensive-tesla-d0d355/src/schemas/v2/overlays/baspi.json +0 -8132
  99. package/pensive-tesla-d0d355/src/schemas/v2/overlays/con29DW.json +0 -705
  100. package/pensive-tesla-d0d355/src/schemas/v2/overlays/con29R.json +0 -2956
  101. package/pensive-tesla-d0d355/src/schemas/v2/overlays/fme1.json +0 -1259
  102. package/pensive-tesla-d0d355/src/schemas/v2/overlays/llc1.json +0 -25
  103. package/pensive-tesla-d0d355/src/schemas/v2/overlays/lpe1.json +0 -2171
  104. package/pensive-tesla-d0d355/src/schemas/v2/overlays/nts.json +0 -326
  105. package/pensive-tesla-d0d355/src/schemas/v2/overlays/oc1.json +0 -2799
  106. package/pensive-tesla-d0d355/src/schemas/v2/overlays/piq.json +0 -3419
  107. package/pensive-tesla-d0d355/src/schemas/v2/overlays/rds.json +0 -3736
  108. package/pensive-tesla-d0d355/src/schemas/v2/overlays/ta10.json +0 -5306
  109. package/pensive-tesla-d0d355/src/schemas/v2/overlays/ta6.json +0 -4533
  110. package/pensive-tesla-d0d355/src/schemas/v2/overlays/ta7.json +0 -1045
  111. package/pensive-tesla-d0d355/src/schemas/v2/pdtf-transaction.json +0 -34351
  112. package/pensive-tesla-d0d355/src/schemas/v2/skeleton.json +0 -3973
  113. package/pensive-tesla-d0d355/src/schemas/v3/combined.json +0 -48469
  114. package/pensive-tesla-d0d355/src/schemas/v3/compactSkeleton.txt +0 -4519
  115. package/pensive-tesla-d0d355/src/schemas/v3/overlays/README.md +0 -299
  116. package/pensive-tesla-d0d355/src/schemas/v3/overlays/baspi4.json +0 -8025
  117. package/pensive-tesla-d0d355/src/schemas/v3/overlays/baspi5.json +0 -8175
  118. package/pensive-tesla-d0d355/src/schemas/v3/overlays/con29DW.json +0 -716
  119. package/pensive-tesla-d0d355/src/schemas/v3/overlays/con29R.json +0 -2981
  120. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/ac.json +0 -333
  121. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/as.json +0 -74
  122. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/dk.json +0 -32
  123. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/dr.json +0 -73
  124. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/er.json +0 -85
  125. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/fd.json +0 -75
  126. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/hi.json +0 -51
  127. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/hs.json +0 -73
  128. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/ic.json +0 -59
  129. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/jk.json +0 -96
  130. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/la.json +0 -85
  131. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/lc.json +0 -75
  132. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/ma.json +0 -90
  133. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/mc.json +0 -38
  134. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/mi.json +0 -69
  135. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/nd.json +0 -43
  136. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/oa.json +0 -24
  137. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/oc.json +0 -57
  138. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/pc.json +0 -37
  139. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/ph.json +0 -194
  140. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/rw.json +0 -68
  141. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/sb.json +0 -73
  142. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/sc.json +0 -129
  143. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/sd.json +0 -63
  144. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/sf.json +0 -74
  145. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/sl.json +0 -68
  146. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/ta.json +0 -252
  147. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/tf.json +0 -103
  148. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/tr.json +0 -73
  149. package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/wg.json +0 -350
  150. package/pensive-tesla-d0d355/src/schemas/v3/overlays/fme1.json +0 -1266
  151. package/pensive-tesla-d0d355/src/schemas/v3/overlays/llc1.json +0 -25
  152. package/pensive-tesla-d0d355/src/schemas/v3/overlays/lpe1.json +0 -2199
  153. package/pensive-tesla-d0d355/src/schemas/v3/overlays/nts.json +0 -2157
  154. package/pensive-tesla-d0d355/src/schemas/v3/overlays/nts2.json +0 -2742
  155. package/pensive-tesla-d0d355/src/schemas/v3/overlays/ntsl.json +0 -1813
  156. package/pensive-tesla-d0d355/src/schemas/v3/overlays/ntsl2.json +0 -2217
  157. package/pensive-tesla-d0d355/src/schemas/v3/overlays/oc1.json +0 -2817
  158. package/pensive-tesla-d0d355/src/schemas/v3/overlays/piq.json +0 -3322
  159. package/pensive-tesla-d0d355/src/schemas/v3/overlays/rds.json +0 -3665
  160. package/pensive-tesla-d0d355/src/schemas/v3/overlays/sef25.json +0 -1639
  161. package/pensive-tesla-d0d355/src/schemas/v3/overlays/sr24.json +0 -38
  162. package/pensive-tesla-d0d355/src/schemas/v3/overlays/ta10.json +0 -4654
  163. package/pensive-tesla-d0d355/src/schemas/v3/overlays/ta6ed6.json +0 -6534
  164. package/pensive-tesla-d0d355/src/schemas/v3/overlays/ta7.json +0 -1537
  165. package/pensive-tesla-d0d355/src/schemas/v3/overlays/ta7ed5.json +0 -1551
  166. package/pensive-tesla-d0d355/src/schemas/v3/pdtf-transaction.json +0 -41573
  167. package/pensive-tesla-d0d355/src/schemas/v3/skeleton.json +0 -5767
  168. package/pensive-tesla-d0d355/src/schemas/verifiedClaims/README.md +0 -21
  169. package/pensive-tesla-d0d355/src/schemas/verifiedClaims/pdtf-verified-claims.json +0 -447
  170. package/pensive-tesla-d0d355/src/utils/compactSkeleton.js +0 -84
  171. package/pensive-tesla-d0d355/src/utils/countTokens.js +0 -67
  172. package/pensive-tesla-d0d355/src/utils/extractExtensionOverlays.js +0 -624
  173. package/pensive-tesla-d0d355/src/utils/extractOverlay.js +0 -381
  174. package/pensive-tesla-d0d355/src/utils/extractProperties.js +0 -44
  175. package/pensive-tesla-d0d355/src/utils/listPathTitles.js +0 -36
  176. package/pensive-tesla-d0d355/src/utils/minimalSkeleton.js +0 -85
  177. package/pensive-tesla-d0d355/src/utils/pathList.csv +0 -903
  178. package/pensive-tesla-d0d355/src/utils/pathSkeleton.js +0 -181
  179. package/src/examples/v1/exampleAddParticipantVouch.json +0 -32
  180. package/src/examples/v1/exampleDocumentedVouch.json +0 -40
  181. package/src/examples/v1/exampleElectronicRecord.json +0 -30
  182. package/src/examples/v1/exampleTransaction.json +0 -878
  183. package/src/examples/v1/exampleVouch.json +0 -25
  184. package/src/examples/v2/exampleTransaction.json +0 -901
  185. package/src/examples/v3/exampleAddParticipantVouch.json +0 -38
  186. package/src/examples/v3/exampleCustomOverlay.json +0 -55
  187. package/src/examples/v3/exampleCustomOverlay2.json +0 -93
  188. package/src/examples/v3/exampleDocumentedVouch.json +0 -47
  189. package/src/examples/v3/exampleElectronicRecord.json +0 -36
  190. package/src/examples/v3/exampleTransaction.json +0 -1038
  191. package/src/examples/v3/exampleVouch.json +0 -32
  192. package/src/mappings/SendPropertyDetailsRequestSchema.json +0 -1588
  193. package/src/mappings/adf.js +0 -198
@@ -1,1045 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "$id": "https://trust.propdata.org.uk/schemas/v2/overlays/ta7.json",
4
- "properties": {
5
- "propertyPack": {
6
- "properties": {
7
- "materialFacts": {
8
- "properties": {
9
- "address": {
10
- "ta7Ref": "0.1",
11
- "properties": {
12
- "line1": {
13
- "ta7Ref": "0.1.1"
14
- },
15
- "line2": {
16
- "ta7Ref": "0.1.2"
17
- },
18
- "line3": {
19
- "ta7Ref": "0.1.3"
20
- },
21
- "town": {
22
- "ta7Ref": "0.1.4"
23
- },
24
- "postcode": {
25
- "ta7Ref": "0.1.5"
26
- }
27
- }
28
- },
29
- "ownership": {
30
- "ta7Ref": "1",
31
- "properties": {
32
- "ownershipsToBeTransferred": {
33
- "ta7Ref": "1",
34
- "items": {
35
- "properties": {
36
- "ownershipType": {
37
- "ta7Ref": "1.1"
38
- }
39
- },
40
- "oneOf": [
41
- null,
42
- {
43
- "properties": {
44
- "managedFreeholdOrCommonholdInformation": {
45
- "properties": {
46
- "contactDetails": {
47
- "properties": {
48
- "managementCompany": {
49
- "properties": {
50
- "contact": {
51
- "ta7Ref": "4.1b",
52
- "properties": {
53
- "nameOrOrganisation": {
54
- "ta7Ref": "4.1b.1"
55
- },
56
- "address": {
57
- "properties": {
58
- "line1": {
59
- "ta7Ref": "4.1b.2"
60
- },
61
- "line2": {
62
- "ta7Ref": "4.1b.3"
63
- },
64
- "line3": {
65
- "ta7Ref": "4.1b.4"
66
- },
67
- "town": {
68
- "ta7Ref": "4.1b.5"
69
- },
70
- "postcode": {
71
- "ta7Ref": "4.1b.6"
72
- }
73
- }
74
- },
75
- "telephone": {
76
- "ta7Ref": "4.1b.7"
77
- },
78
- "emailAddress": {
79
- "ta7Ref": "4.1b.8"
80
- }
81
- }
82
- }
83
- }
84
- },
85
- "managingAgent": {
86
- "properties": {
87
- "contact": {
88
- "ta7Ref": "4.1c",
89
- "properties": {
90
- "nameOrOrganisation": {
91
- "ta7Ref": "4.1c.1"
92
- },
93
- "address": {
94
- "properties": {
95
- "line1": {
96
- "ta7Ref": "4.1c.2"
97
- },
98
- "line2": {
99
- "ta7Ref": "4.1c.3"
100
- },
101
- "line3": {
102
- "ta7Ref": "4.1c.4"
103
- },
104
- "town": {
105
- "ta7Ref": "4.1c.5"
106
- },
107
- "postcode": {
108
- "ta7Ref": "4.1c.6"
109
- }
110
- }
111
- },
112
- "telephone": {
113
- "ta7Ref": "4.1c.7"
114
- },
115
- "emailAddress": {
116
- "ta7Ref": "4.1c.8"
117
- }
118
- }
119
- }
120
- }
121
- }
122
- }
123
- }
124
- }
125
- }
126
- }
127
- },
128
- {
129
- "required": [
130
- "leaseholdInformation"
131
- ],
132
- "properties": {
133
- "leaseholdInformation": {
134
- "required": [
135
- "typeOfLeasehold",
136
- "leaseTerm",
137
- "contactDetails",
138
- "transferAndRegistration",
139
- "groundRent",
140
- "ownershipAndManagement",
141
- "disputesAndEnfranchisement",
142
- "general",
143
- "requiredDocuments"
144
- ],
145
- "properties": {
146
- "typeOfLeasehold": {
147
- "properties": {
148
- "leaseholdType": {
149
- "ta7Ref": "1.1"
150
- }
151
- }
152
- },
153
- "contactDetails": {
154
- "ta7Ref": "4.1",
155
- "required": [
156
- "contacts"
157
- ],
158
- "properties": {
159
- "contacts": {
160
- "ta7Ref": "4.1",
161
- "required": [
162
- "landlord",
163
- "managementCompany",
164
- "managingAgent"
165
- ],
166
- "properties": {
167
- "landlord": {
168
- "ta7Ref": "4.1a",
169
- "properties": {
170
- "contact": {
171
- "ta7Ref": "4.1a",
172
- "properties": {
173
- "nameOrOrganisation": {
174
- "ta7Ref": "4.1a.1"
175
- },
176
- "address": {
177
- "properties": {
178
- "line1": {
179
- "ta7Ref": "4.1a.2"
180
- },
181
- "line2": {
182
- "ta7Ref": "4.1a.3"
183
- },
184
- "line3": {
185
- "ta7Ref": "4.1a.4"
186
- },
187
- "town": {
188
- "ta7Ref": "4.1a.5"
189
- },
190
- "postcode": {
191
- "ta7Ref": "4.1a.6"
192
- }
193
- }
194
- },
195
- "telephone": {
196
- "ta7Ref": "4.1a.7"
197
- },
198
- "emailAddress": {
199
- "ta7Ref": "4.1a.8"
200
- }
201
- }
202
- }
203
- }
204
- },
205
- "managementCompany": {
206
- "properties": {
207
- "contact": {
208
- "ta7Ref": "4.1b",
209
- "properties": {
210
- "nameOrOrganisation": {
211
- "ta7Ref": "4.1b.1"
212
- },
213
- "address": {
214
- "properties": {
215
- "line1": {
216
- "ta7Ref": "4.1b.2"
217
- },
218
- "line2": {
219
- "ta7Ref": "4.1b.3"
220
- },
221
- "line3": {
222
- "ta7Ref": "4.1b.4"
223
- },
224
- "town": {
225
- "ta7Ref": "4.1b.5"
226
- },
227
- "postcode": {
228
- "ta7Ref": "4.1b.6"
229
- }
230
- }
231
- },
232
- "telephone": {
233
- "ta7Ref": "4.1b.7"
234
- },
235
- "emailAddress": {
236
- "ta7Ref": "4.1b.8"
237
- }
238
- }
239
- }
240
- }
241
- },
242
- "managingAgent": {
243
- "ta7Ref": "4.1c",
244
- "properties": {
245
- "contact": {
246
- "ta7Ref": "4.1c",
247
- "properties": {
248
- "nameOrOrganisation": {
249
- "ta7Ref": "4.1c.1"
250
- },
251
- "address": {
252
- "properties": {
253
- "line1": {
254
- "ta7Ref": "4.1c.2"
255
- },
256
- "line2": {
257
- "ta7Ref": "4.1c.3"
258
- },
259
- "line3": {
260
- "ta7Ref": "4.1c.4"
261
- },
262
- "town": {
263
- "ta7Ref": "4.1c.5"
264
- },
265
- "postcode": {
266
- "ta7Ref": "4.1c.6"
267
- }
268
- }
269
- },
270
- "telephone": {
271
- "ta7Ref": "4.1c.7"
272
- },
273
- "emailAddress": {
274
- "ta7Ref": "4.1c.8"
275
- }
276
- }
277
- }
278
- }
279
- }
280
- }
281
- },
282
- "serviceContactAssignments": {
283
- "properties": {
284
- "organisesBuildingInsurance": {
285
- "ta7Ref": "5.1"
286
- }
287
- }
288
- }
289
- }
290
- },
291
- "transferAndRegistration": {
292
- "required": [
293
- "awareOfConsents",
294
- "changesInTermOfLease"
295
- ],
296
- "properties": {
297
- "awareOfConsents": {
298
- "ta7Ref": "9.3",
299
- "discriminator": {
300
- "propertyName": "yesNo"
301
- },
302
- "oneOf": [
303
- {
304
- "properties": {
305
- "yesNo": {
306
- "enum": [
307
- "No"
308
- ]
309
- }
310
- }
311
- },
312
- {
313
- "properties": {
314
- "yesNo": {
315
- "enum": [
316
- "Yes"
317
- ]
318
- }
319
- }
320
- }
321
- ],
322
- "properties": {
323
- "yesNo": {
324
- "ta7Ref": "9.3.1"
325
- }
326
- }
327
- },
328
- "changesInTermOfLease": {
329
- "ta7Ref": "7.1",
330
- "discriminator": {
331
- "propertyName": "isSellerAwareOfChanges"
332
- },
333
- "oneOf": [
334
- {
335
- "properties": {
336
- "isSellerAwareOfChanges": {
337
- "enum": [
338
- "No",
339
- "Attached",
340
- "To follow",
341
- "Lost"
342
- ]
343
- }
344
- }
345
- },
346
- {
347
- "properties": {
348
- "isSellerAwareOfChanges": {
349
- "enum": [
350
- "Yes"
351
- ]
352
- },
353
- "details": {
354
- "ta7Ref": "7.1.3"
355
- }
356
- }
357
- }
358
- ]
359
- }
360
- }
361
- },
362
- "groundRent": {
363
- "ta7Ref": "1.2",
364
- "discriminator": {
365
- "propertyName": "isGroundRentPayable"
366
- },
367
- "oneOf": [
368
- {
369
- "properties": {
370
- "isGroundRentPayable": {
371
- "enum": [
372
- "No"
373
- ]
374
- }
375
- }
376
- },
377
- {
378
- "properties": {
379
- "isGroundRentPayable": {
380
- "enum": [
381
- "Yes"
382
- ]
383
- },
384
- "annualGroundRent": {
385
- "ta7Ref": "1.2a"
386
- },
387
- "groundRentFrequency": {
388
- "ta7Ref": "1.2b"
389
- },
390
- "rentSubjectToIncrease": {
391
- "ta7Ref": "1.2c",
392
- "discriminator": {
393
- "propertyName": "yesNo"
394
- },
395
- "oneOf": [
396
- {
397
- "properties": {
398
- "yesNo": {
399
- "enum": [
400
- "No"
401
- ]
402
- }
403
- }
404
- },
405
- {
406
- "properties": {
407
- "yesNo": {
408
- "enum": [
409
- "Yes"
410
- ]
411
- },
412
- "rentReviewFrequency": {
413
- "ta7Ref": "1.2d"
414
- },
415
- "rentIncreaseCalculated": {
416
- "ta7Ref": "1.2e"
417
- }
418
- }
419
- }
420
- ],
421
- "properties": {
422
- "yesNo": {
423
- "ta7Ref": "1.2c.1"
424
- }
425
- }
426
- }
427
- }
428
- }
429
- ],
430
- "required": [
431
- "isGroundRentPayable"
432
- ],
433
- "properties": {
434
- "isGroundRentPayable": {
435
- "ta7Ref": "1.2.1"
436
- }
437
- }
438
- },
439
- "ownershipAndManagement": {
440
- "ta7Ref": "2",
441
- "required": [
442
- "freeholdOwner",
443
- "hasHeadlease",
444
- "buildingManager",
445
- "hasTenantCompanyDissolved",
446
- "isManagingAgentEmployed"
447
- ],
448
- "properties": {
449
- "freeholdOwner": {
450
- "ta7Ref": "2.1b"
451
- },
452
- "hasHeadlease": {
453
- "ta7Ref": "2.2",
454
- "discriminator": {
455
- "propertyName": "yesNo"
456
- },
457
- "oneOf": [
458
- {
459
- "properties": {
460
- "yesNo": {
461
- "enum": [
462
- "No"
463
- ]
464
- }
465
- }
466
- },
467
- {
468
- "properties": {
469
- "yesNo": {
470
- "enum": [
471
- "Yes"
472
- ]
473
- },
474
- "headLeaseholderControlled": {
475
- "ta7Ref": "2.2.2"
476
- }
477
- }
478
- }
479
- ],
480
- "properties": {
481
- "yesNo": {
482
- "ta7Ref": "2.2.1"
483
- }
484
- }
485
- },
486
- "buildingManager": {
487
- "ta7Ref": "2.3",
488
- "discriminator": {
489
- "propertyName": "buildingManagerType"
490
- },
491
- "oneOf": [
492
- {
493
- "properties": {
494
- "buildingManagerType": {
495
- "enum": [
496
- "Freeholder",
497
- "Headleaseholder",
498
- "Management company named in lease of the property",
499
- "Right to manage company set up by the tenants under statutory rights"
500
- ]
501
- }
502
- }
503
- },
504
- {
505
- "properties": {
506
- "buildingManagerType": {
507
- "enum": [
508
- "Other"
509
- ]
510
- },
511
- "details": {
512
- "ta7Ref": "2.3e"
513
- }
514
- }
515
- }
516
- ]
517
- },
518
- "hasTenantCompanyDissolved": {
519
- "ta7Ref": "2.4"
520
- },
521
- "isManagingAgentEmployed": {
522
- "ta7Ref": "2.5"
523
- }
524
- }
525
- },
526
- "serviceCharge": {
527
- "properties": {
528
- "sellerContributesToServiceCharge": {
529
- "ta7Ref": "5.4"
530
- }
531
- },
532
- "oneOf": [
533
- null,
534
- {
535
- "properties": {
536
- "largeAdditionalExpense": {
537
- "ta7Ref": "5.5",
538
- "discriminator": {
539
- "propertyName": "yesNo"
540
- },
541
- "oneOf": [
542
- {
543
- "properties": {
544
- "yesNo": {
545
- "enum": [
546
- "No"
547
- ]
548
- }
549
- }
550
- },
551
- {
552
- "properties": {
553
- "yesNo": {
554
- "enum": [
555
- "Yes"
556
- ]
557
- },
558
- "details": {
559
- "ta7Ref": "5.5.2"
560
- }
561
- }
562
- }
563
- ],
564
- "properties": {
565
- "yesNo": {
566
- "ta7Ref": "5.5.1"
567
- }
568
- }
569
- },
570
- "problemInServiceChargeLevel": {
571
- "ta7Ref": "5.6",
572
- "discriminator": {
573
- "propertyName": "yesNo"
574
- },
575
- "oneOf": [
576
- {
577
- "properties": {
578
- "yesNo": {
579
- "enum": [
580
- "No"
581
- ]
582
- }
583
- }
584
- },
585
- {
586
- "properties": {
587
- "yesNo": {
588
- "enum": [
589
- "Yes"
590
- ]
591
- },
592
- "details": {
593
- "ta7Ref": "5.6.2"
594
- }
595
- }
596
- }
597
- ],
598
- "properties": {
599
- "yesNo": {
600
- "ta7Ref": "5.6.1"
601
- }
602
- }
603
- },
604
- "serviceChargeChallenged": {
605
- "ta7Ref": "5.7",
606
- "discriminator": {
607
- "propertyName": "yesNo"
608
- },
609
- "oneOf": [
610
- {
611
- "properties": {
612
- "yesNo": {
613
- "enum": [
614
- "No"
615
- ]
616
- }
617
- }
618
- },
619
- {
620
- "properties": {
621
- "yesNo": {
622
- "enum": [
623
- "Yes"
624
- ]
625
- },
626
- "details": {
627
- "ta7Ref": "5.7.2"
628
- }
629
- }
630
- }
631
- ],
632
- "properties": {
633
- "yesNo": {
634
- "ta7Ref": "5.7.1"
635
- }
636
- }
637
- },
638
- "dangerousCladdingOrDefects": {
639
- "ta7Ref": "5.8"
640
- },
641
- "difficultyInCollectingServiceCharge": {
642
- "ta7Ref": "5.9",
643
- "discriminator": {
644
- "propertyName": "yesNo"
645
- },
646
- "oneOf": [
647
- {
648
- "properties": {
649
- "yesNo": {
650
- "enum": [
651
- "No"
652
- ]
653
- }
654
- }
655
- },
656
- {
657
- "properties": {
658
- "yesNo": {
659
- "enum": [
660
- "Yes"
661
- ]
662
- }
663
- }
664
- }
665
- ],
666
- "properties": {
667
- "yesNo": {
668
- "ta7Ref": "5.9.1"
669
- }
670
- }
671
- },
672
- "serviceChargeOwed": {
673
- "ta7Ref": "5.10",
674
- "discriminator": {
675
- "propertyName": "yesNo"
676
- },
677
- "oneOf": [
678
- {
679
- "properties": {
680
- "yesNo": {
681
- "enum": [
682
- "No"
683
- ]
684
- }
685
- }
686
- },
687
- {
688
- "properties": {
689
- "yesNo": {
690
- "enum": [
691
- "Yes"
692
- ]
693
- },
694
- "details": {
695
- "ta7Ref": "5.10.2"
696
- }
697
- }
698
- }
699
- ],
700
- "properties": {
701
- "yesNo": {
702
- "ta7Ref": "5.10.1"
703
- }
704
- }
705
- },
706
- "lastDecoratedPeriod": {
707
- "properties": {
708
- "internally": {
709
- "ta7Ref": "5.3"
710
- },
711
- "externally": {
712
- "ta7Ref": "5.2"
713
- }
714
- }
715
- },
716
- "deedOfCertificateServed": {
717
- "ta7Ref": "11.3",
718
- "discriminator": {
719
- "propertyName": "yesNoNotApplicable"
720
- },
721
- "oneOf": [
722
- {
723
- "properties": {
724
- "yesNoNotApplicable": {
725
- "enum": [
726
- "Not applicable"
727
- ]
728
- }
729
- }
730
- },
731
- {
732
- "properties": {
733
- "yesNoNotApplicable": {
734
- "enum": [
735
- "No"
736
- ]
737
- }
738
- }
739
- },
740
- {
741
- "properties": {
742
- "yesNoNotApplicable": {
743
- "enum": [
744
- "Yes"
745
- ]
746
- },
747
- "sellerCompletedDeedOfCertificate": {
748
- "ta7Ref": "11.3a"
749
- }
750
- }
751
- }
752
- ],
753
- "title": "Is there a Leaseholder Deed of Certificate for the property?",
754
- "properties": {
755
- "yesNoNotApplicable": {
756
- "ta7Ref": "11.3.1"
757
- }
758
- }
759
- }
760
- }
761
- }
762
- ]
763
- },
764
- "disputesAndEnfranchisement": {
765
- "required": [
766
- "sellerReceivedComplaint",
767
- "sellerSentComplaint"
768
- ],
769
- "properties": {
770
- "sellerReceivedComplaint": {
771
- "ta7Ref": "8.1",
772
- "discriminator": {
773
- "propertyName": "yesNo"
774
- },
775
- "oneOf": [
776
- {
777
- "properties": {
778
- "yesNo": {
779
- "enum": [
780
- "No"
781
- ]
782
- }
783
- }
784
- },
785
- {
786
- "properties": {
787
- "yesNo": {
788
- "enum": [
789
- "Yes"
790
- ]
791
- },
792
- "details": {
793
- "ta7Ref": "8.1.2"
794
- }
795
- }
796
- }
797
- ],
798
- "properties": {
799
- "yesNo": {
800
- "ta7Ref": "8.1.1"
801
- }
802
- }
803
- },
804
- "sellerSentComplaint": {
805
- "ta7Ref": "8.2",
806
- "discriminator": {
807
- "propertyName": "yesNo"
808
- },
809
- "oneOf": [
810
- {
811
- "properties": {
812
- "yesNo": {
813
- "enum": [
814
- "No"
815
- ]
816
- }
817
- }
818
- },
819
- {
820
- "properties": {
821
- "yesNo": {
822
- "enum": [
823
- "Yes"
824
- ]
825
- },
826
- "details": {
827
- "ta7Ref": "8.2.2"
828
- }
829
- }
830
- }
831
- ],
832
- "properties": {
833
- "yesNo": {
834
- "ta7Ref": "8.2.1"
835
- }
836
- }
837
- }
838
- }
839
- },
840
- "general": {
841
- "required": [
842
- "sellerAwareOfAlterations",
843
- "sellerOwnedProperty",
844
- "sellerServedNoticeOnLandlord",
845
- "sellerAwareOfNoticeOfCollectivePurchase",
846
- "sellerAwareOfResponse",
847
- "isLeaseQualifying"
848
- ],
849
- "properties": {
850
- "sellerAwareOfAlterations": {
851
- "ta7Ref": "9.1",
852
- "discriminator": {
853
- "propertyName": "yesNo"
854
- },
855
- "oneOf": [
856
- {
857
- "properties": {
858
- "yesNo": {
859
- "enum": [
860
- "No"
861
- ]
862
- }
863
- }
864
- },
865
- {
866
- "properties": {
867
- "yesNo": {
868
- "enum": [
869
- "Yes"
870
- ]
871
- },
872
- "details": {
873
- "ta7Ref": "9.2"
874
- }
875
- }
876
- }
877
- ],
878
- "properties": {
879
- "yesNo": {
880
- "ta7Ref": "9.1.1"
881
- }
882
- }
883
- },
884
- "sellerOwnedProperty": {
885
- "ta7Ref": "10.1"
886
- },
887
- "sellerServedNoticeOnLandlord": {
888
- "ta7Ref": "10.2"
889
- },
890
- "sellerAwareOfNoticeOfCollectivePurchase": {
891
- "ta7Ref": "10.3"
892
- },
893
- "sellerAwareOfResponse": {
894
- "ta7Ref": "10.4"
895
- },
896
- "isLeaseQualifying": {
897
- "ta7Ref": "11.2"
898
- }
899
- }
900
- },
901
- "requiredDocuments": {
902
- "required": [
903
- "noticeOfSale",
904
- "noticeOfBuildingCondition",
905
- "landlordNotifiedOfSale",
906
- "copyOfcorrespondence",
907
- "serviceChargeAccounts",
908
- "groundRent",
909
- "buildingsInsurancePolicy",
910
- "additionalRegulationsNotInLease",
911
- "deedsOfVariation",
912
- "deedOfCovenant",
913
- "memorandumAndArticles",
914
- "shareOrMembershipCertificate",
915
- "companyAccounts",
916
- "deedOfCertificate",
917
- "landlordsCertificate"
918
- ],
919
- "properties": {
920
- "noticeOfSale": {
921
- "ta7Ref": "6.1"
922
- },
923
- "noticeOfBuildingCondition": {
924
- "ta7Ref": "6.2"
925
- },
926
- "landlordNotifiedOfSale": {
927
- "ta7Ref": "11.4"
928
- },
929
- "copyOfcorrespondence": {
930
- "ta7Ref": "3.2"
931
- },
932
- "serviceChargeAccounts": {
933
- "ta7Ref": "3.3a"
934
- },
935
- "groundRent": {
936
- "ta7Ref": "3.3b"
937
- },
938
- "buildingsInsurancePolicy": {
939
- "ta7Ref": "3.4",
940
- "properties": {
941
- "arrangedBySeller": {
942
- "ta7Ref": "3.4a"
943
- },
944
- "arrangedByLandlord": {
945
- "ta7Ref": "3.4b"
946
- }
947
- }
948
- },
949
- "additionalRegulationsNotInLease": {
950
- "ta7Ref": "3.1b"
951
- },
952
- "deedsOfVariation": {
953
- "ta7Ref": "3.1a"
954
- },
955
- "deedOfCovenant": {
956
- "ta7Ref": "3.1a"
957
- },
958
- "memorandumAndArticles": {
959
- "ta7Ref": "3.5a"
960
- },
961
- "shareOrMembershipCertificate": {
962
- "ta7Ref": "3.5b"
963
- },
964
- "companyAccounts": {
965
- "ta7Ref": "3.5c"
966
- },
967
- "deedOfCertificate": {
968
- "ta7Ref": "11.3b",
969
- "title": "Please supply a copy of the leaseholder deed of certificate and the accompanying evidence"
970
- },
971
- "landlordsCertificate": {
972
- "ta7Ref": "11.5",
973
- "title": "Has the seller received a Landlord’s Certificate and the accompanying evidence?",
974
- "enum": [
975
- "Enclosed",
976
- "To follow",
977
- "No"
978
- ]
979
- }
980
- }
981
- }
982
- }
983
- }
984
- }
985
- }
986
- ]
987
- }
988
- }
989
- }
990
- },
991
- "typeOfConstruction": {
992
- "properties": {
993
- "buildingSafetyRemediation": {
994
- "ta7Ref": "11.1",
995
- "discriminator": {
996
- "propertyName": "yesNo"
997
- },
998
- "oneOf": [
999
- {
1000
- "properties": {
1001
- "yesNo": {
1002
- "enum": [
1003
- "No",
1004
- "Not applicable"
1005
- ]
1006
- }
1007
- }
1008
- },
1009
- {
1010
- "properties": {
1011
- "yesNo": {
1012
- "enum": [
1013
- "Yes"
1014
- ]
1015
- },
1016
- "details": {
1017
- "ta7Ref": "11.1.2",
1018
- "title": "Please provide details of the remediation works proposed and evidence of any carried out."
1019
- },
1020
- "attachments": {
1021
- "ta7Ref": "11.1.3"
1022
- }
1023
- }
1024
- }
1025
- ],
1026
- "title": "Have any remediation works on the building been proposed or carried out?",
1027
- "properties": {
1028
- "yesNo": {
1029
- "ta7Ref": "11.1.1",
1030
- "enum": [
1031
- "Yes",
1032
- "No",
1033
- "Not applicable"
1034
- ]
1035
- }
1036
- }
1037
- }
1038
- }
1039
- }
1040
- }
1041
- }
1042
- }
1043
- }
1044
- }
1045
- }