@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,74 +0,0 @@
1
- {
2
- "properties": {
3
- "propertyPack": {
4
- "properties": {
5
- "typeOfConstruction": {
6
- "properties": {
7
- "sprayFoamInsulation": {
8
- "ntsRef": "A4.2",
9
- "required": [
10
- "hasSprayFoamInstalled"
11
- ],
12
- "discriminator": {
13
- "propertyName": "hasSprayFoamInstalled"
14
- },
15
- "properties": {
16
- "hasSprayFoamInstalled": {
17
- "ntsRef": "A4.2.1",
18
- "type": "string"
19
- }
20
- },
21
- "oneOf": [
22
- {
23
- "properties": {
24
- "hasSprayFoamInstalled": {
25
- "enum": [
26
- "No"
27
- ]
28
- }
29
- }
30
- },
31
- {
32
- "required": [
33
- "details"
34
- ],
35
- "properties": {
36
- "details": {
37
- "ntsRef": "A4.2.2",
38
- "title": "Please give details",
39
- "type": "string",
40
- "minLength": 1
41
- },
42
- "hasSprayFoamInstalled": {
43
- "enum": [
44
- "Yes"
45
- ]
46
- },
47
- "attachments": {
48
- "enum": [
49
- "Attached",
50
- "To follow"
51
- ]
52
- }
53
- }
54
- }
55
- ],
56
- "type": "object"
57
- }
58
- },
59
- "required": [
60
- "sprayFoamInsulation"
61
- ],
62
- "ntsRef": "A1.2"
63
- }
64
- },
65
- "required": [
66
- "typeOfConstruction"
67
- ],
68
- "ntsRef": "0"
69
- }
70
- },
71
- "$schema": "http://json-schema.org/draft-07/schema#",
72
- "$id": "https://trust.propdata.org.uk/schemas/v3/overlays/extensions/sf.json",
73
- "$comment": "Spray foam insulation"
74
- }
@@ -1,68 +0,0 @@
1
- {
2
- "properties": {
3
- "propertyPack": {
4
- "properties": {
5
- "electricity": {
6
- "properties": {
7
- "solarPanels": {
8
- "oneOf": [
9
- null,
10
- {
11
- "properties": {
12
- "panelsOwnedOutright": {
13
- "ntsRef": "B3.7.1",
14
- "required": [
15
- "yesNo"
16
- ],
17
- "discriminator": {
18
- "propertyName": "yesNo"
19
- },
20
- "properties": {
21
- "yesNo": {
22
- "ntsRef": "B3.7.1.1",
23
- "type": "string"
24
- }
25
- },
26
- "oneOf": [
27
- {
28
- "properties": {
29
- "yesNo": {
30
- "enum": [
31
- "Yes"
32
- ]
33
- }
34
- }
35
- },
36
- {
37
- "properties": {
38
- "yesNo": {
39
- "enum": [
40
- "No"
41
- ]
42
- }
43
- }
44
- }
45
- ],
46
- "type": "object"
47
- }
48
- }
49
- }
50
- ]
51
- }
52
- },
53
- "required": [
54
- "solarPanels"
55
- ],
56
- "ntsRef": "B3.1"
57
- }
58
- },
59
- "required": [
60
- "electricity"
61
- ],
62
- "ntsRef": "0"
63
- }
64
- },
65
- "$schema": "http://json-schema.org/draft-07/schema#",
66
- "$id": "https://trust.propdata.org.uk/schemas/v3/overlays/extensions/sl.json",
67
- "$comment": "Solar panels ownership details"
68
- }
@@ -1,252 +0,0 @@
1
- {
2
- "properties": {
3
- "propertyPack": {
4
- "properties": {
5
- "parking": {
6
- "ta6ed6CompatRef": "TA6ED6-COMPAT.10",
7
- "properties": {
8
- "controlledParking": {
9
- "ta6ed6CompatRef": "TA6ED6-COMPAT.10.2",
10
- "required": [
11
- "yesNo"
12
- ],
13
- "discriminator": {
14
- "propertyName": "yesNo"
15
- },
16
- "properties": {
17
- "yesNo": {
18
- "ta6ed6CompatRef": "TA6ED6-COMPAT.10.2.1",
19
- "enum": [
20
- "Yes",
21
- "No"
22
- ],
23
- "type": "string"
24
- }
25
- },
26
- "oneOf": [
27
- {
28
- "properties": {
29
- "yesNo": {
30
- "enum": [
31
- "No"
32
- ]
33
- }
34
- }
35
- },
36
- {
37
- "properties": {
38
- "yesNo": {
39
- "enum": [
40
- "Yes"
41
- ]
42
- }
43
- }
44
- }
45
- ]
46
- }
47
- },
48
- "type": "object"
49
- },
50
- "heating": {
51
- "ta6ed6CompatRef": "TA6ED6-COMPAT.11.4",
52
- "properties": {
53
- "heatingSystem": {
54
- "discriminator": {
55
- "propertyName": "heatingType"
56
- },
57
- "oneOf": [
58
- {
59
- "properties": {
60
- "heatingType": {
61
- "enum": [
62
- "None",
63
- "Room heaters only"
64
- ]
65
- }
66
- }
67
- },
68
- {
69
- "properties": {
70
- "centralHeatingDetails": {
71
- "properties": {
72
- "heatingLastServicedReport": {
73
- "ta6ed6CompatRef": "TA6ED6-COMPAT.11.4.g2",
74
- "enum": [
75
- "Attached",
76
- "To follow"
77
- ],
78
- "type": "string"
79
- }
80
- },
81
- "type": "object"
82
- },
83
- "heatingType": {
84
- "enum": [
85
- "Central heating"
86
- ]
87
- }
88
- }
89
- },
90
- {
91
- "properties": {
92
- "heatingType": {
93
- "enum": [
94
- "Communal heating system"
95
- ]
96
- }
97
- }
98
- }
99
- ]
100
- },
101
- "otherHeatingFeatures": {
102
- "ta6ed6CompatRef": "TA6ED6-COMPAT.11.4.other",
103
- "items": {
104
- "ta6ed6CompatRef": "TA6ED6-COMPAT.11.4.other.item",
105
- "enum": [
106
- "None",
107
- "Air conditioning",
108
- "Double glazing",
109
- "Triple glazing",
110
- "Night storage",
111
- "Solar water",
112
- "Underfloor heating",
113
- "Wood burner",
114
- "Aga/Rayburn",
115
- "Open fire",
116
- "Ground source heat pump",
117
- "Air source heat pump",
118
- "Solar thermal",
119
- "Passive House design",
120
- "Mains gas",
121
- "Electricity",
122
- "Oil",
123
- "LPG",
124
- "Biomass"
125
- ],
126
- "type": "string"
127
- },
128
- "type": "array"
129
- }
130
- },
131
- "type": "object"
132
- },
133
- "rightsAndInformalArrangements": {
134
- "ta6ed6CompatRef": "TA6ED6-COMPAT.9",
135
- "properties": {
136
- "sharedContributions": {
137
- "ta6ed6CompatRef": "TA6ED6-COMPAT.9.2",
138
- "required": [
139
- "yesNo"
140
- ],
141
- "discriminator": {
142
- "propertyName": "yesNo"
143
- },
144
- "oneOf": [
145
- {
146
- "properties": {
147
- "yesNo": {
148
- "enum": [
149
- "No",
150
- "Not applicable"
151
- ]
152
- }
153
- }
154
- },
155
- {
156
- "properties": {
157
- "yesNo": {
158
- "enum": [
159
- "Yes"
160
- ]
161
- }
162
- }
163
- }
164
- ]
165
- },
166
- "accessRestrictionAttempts": {
167
- "ta6ed6CompatRef": "TA6ED6-COMPAT.9.3",
168
- "required": [
169
- "yesNo"
170
- ],
171
- "discriminator": {
172
- "propertyName": "yesNo"
173
- },
174
- "oneOf": [
175
- {
176
- "properties": {
177
- "yesNo": {
178
- "enum": [
179
- "No",
180
- "Not known"
181
- ]
182
- }
183
- }
184
- },
185
- {
186
- "properties": {
187
- "yesNo": {
188
- "enum": [
189
- "Yes"
190
- ]
191
- }
192
- }
193
- }
194
- ]
195
- }
196
- },
197
- "type": "object"
198
- },
199
- "legalBoundaries": {
200
- "ta6ed6CompatRef": "TA6ED6-COMPAT.2",
201
- "properties": {
202
- "flyingFreehold": {
203
- "ta6ed6CompatRef": "TA6ED6-COMPAT.2.4",
204
- "required": [
205
- "yesNo"
206
- ],
207
- "discriminator": {
208
- "propertyName": "yesNo"
209
- },
210
- "properties": {
211
- "yesNo": {
212
- "ta6ed6CompatRef": "TA6ED6-COMPAT.2.4.1",
213
- "enum": [
214
- "Yes",
215
- "No",
216
- "Not known"
217
- ],
218
- "type": "string"
219
- }
220
- },
221
- "oneOf": [
222
- {
223
- "properties": {
224
- "yesNo": {
225
- "enum": [
226
- "No",
227
- "Not known"
228
- ]
229
- }
230
- }
231
- },
232
- {
233
- "properties": {
234
- "yesNo": {
235
- "enum": [
236
- "Yes"
237
- ]
238
- }
239
- }
240
- }
241
- ]
242
- }
243
- },
244
- "type": "object"
245
- }
246
- }
247
- }
248
- },
249
- "$schema": "http://json-schema.org/draft-07/schema#",
250
- "$id": "https://trust.propdata.org.uk/schemas/v3/overlays/extensions/ta.json",
251
- "$comment": "Compatibility enum ranges for validating shared PDTF state containing TA6 edition 6 answers"
252
- }
@@ -1,103 +0,0 @@
1
- {
2
- "properties": {
3
- "propertyPack": {
4
- "properties": {
5
- "ownership": {
6
- "properties": {
7
- "ownershipsToBeTransferred": {
8
- "items": {
9
- "oneOf": [
10
- null,
11
- null,
12
- {
13
- "properties": {
14
- "leaseholdInformation": {
15
- "properties": {
16
- "serviceCharge": {
17
- "oneOf": [
18
- null,
19
- {
20
- "properties": {
21
- "transferFees": {
22
- "ntsRef": "A3.5.1.1",
23
- "required": [
24
- "yesNo"
25
- ],
26
- "title": "Are there any additional fees payable on sale or letting?",
27
- "discriminator": {
28
- "propertyName": "yesNo"
29
- },
30
- "properties": {
31
- "yesNo": {
32
- "ntsRef": "A3.5.1.1.1",
33
- "type": "string"
34
- }
35
- },
36
- "oneOf": [
37
- {
38
- "properties": {
39
- "yesNo": {
40
- "enum": [
41
- "No"
42
- ]
43
- }
44
- }
45
- },
46
- {
47
- "required": [
48
- "details"
49
- ],
50
- "properties": {
51
- "details": {
52
- "ntsRef": "A3.5.1.1.2",
53
- "type": "string",
54
- "minLength": 1
55
- },
56
- "yesNo": {
57
- "enum": [
58
- "Yes"
59
- ]
60
- }
61
- }
62
- }
63
- ],
64
- "type": "object"
65
- }
66
- },
67
- "required": [
68
- "transferFees"
69
- ]
70
- }
71
- ]
72
- }
73
- },
74
- "required": [
75
- "serviceCharge"
76
- ],
77
- "ntsRef": "A3.2"
78
- }
79
- },
80
- "required": [
81
- "leaseholdInformation"
82
- ]
83
- }
84
- ]
85
- }
86
- }
87
- },
88
- "required": [
89
- "ownershipsToBeTransferred"
90
- ],
91
- "ntsRef": "A3"
92
- }
93
- },
94
- "required": [
95
- "ownership"
96
- ],
97
- "ntsRef": "0"
98
- }
99
- },
100
- "$schema": "http://json-schema.org/draft-07/schema#",
101
- "$id": "https://trust.propdata.org.uk/schemas/v3/overlays/extensions/tf.json",
102
- "$comment": "Transfer fees for leasehold"
103
- }
@@ -1,73 +0,0 @@
1
- {
2
- "properties": {
3
- "propertyPack": {
4
- "properties": {
5
- "ownership": {
6
- "properties": {
7
- "ownershipsToBeTransferred": {
8
- "items": {
9
- "oneOf": [
10
- {
11
- "properties": {
12
- "titleRestrictions": {
13
- "ntsRef": "T1.1",
14
- "required": [
15
- "yesNo"
16
- ],
17
- "discriminator": {
18
- "propertyName": "yesNo"
19
- },
20
- "properties": {
21
- "yesNo": {
22
- "ntsRef": "T1.1.1",
23
- "type": "string"
24
- }
25
- },
26
- "oneOf": [
27
- {
28
- "properties": {
29
- "yesNo": {
30
- "enum": [
31
- "No"
32
- ]
33
- }
34
- }
35
- },
36
- {
37
- "required": [
38
- "details"
39
- ],
40
- "properties": {
41
- "details": {
42
- "ntsRef": "T1.1.2",
43
- "type": "string",
44
- "minLength": 1
45
- },
46
- "yesNo": {
47
- "enum": [
48
- "Yes"
49
- ]
50
- }
51
- }
52
- }
53
- ],
54
- "type": "object"
55
- }
56
- },
57
- "required": [
58
- "titleRestrictions"
59
- ]
60
- }
61
- ]
62
- }
63
- }
64
- },
65
- "ntsRef": "T1"
66
- }
67
- }
68
- }
69
- },
70
- "$schema": "http://json-schema.org/draft-07/schema#",
71
- "$id": "https://trust.propdata.org.uk/schemas/v3/overlays/extensions/tr.json",
72
- "$comment": "Title restrictions for freehold properties"
73
- }