@pdtf/schemas 3.6.0-dev.7 → 3.6.0-dev.8
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.
- package/busy-spence-79c6bf/CLAUDE.md +101 -0
- package/busy-spence-79c6bf/LICENSE +21 -0
- package/busy-spence-79c6bf/README.md +435 -0
- package/busy-spence-79c6bf/docs/branch-release-workflow.md +138 -0
- package/busy-spence-79c6bf/docs/sef25-extensions-ui-spec.md +355 -0
- package/busy-spence-79c6bf/index.js +654 -0
- package/busy-spence-79c6bf/package-lock.json +7299 -0
- package/busy-spence-79c6bf/package.json +44 -0
- package/busy-spence-79c6bf/scripts/ta6ed6-titles.js +403 -0
- package/busy-spence-79c6bf/scripts/ta7ed5-titles.js +183 -0
- package/busy-spence-79c6bf/src/examples/v1/exampleAddParticipantVouch.json +32 -0
- package/busy-spence-79c6bf/src/examples/v1/exampleDocumentedVouch.json +40 -0
- package/busy-spence-79c6bf/src/examples/v1/exampleElectronicRecord.json +30 -0
- package/busy-spence-79c6bf/src/examples/v1/exampleTransaction.json +878 -0
- package/busy-spence-79c6bf/src/examples/v1/exampleVouch.json +25 -0
- package/busy-spence-79c6bf/src/examples/v2/exampleTransaction.json +901 -0
- package/busy-spence-79c6bf/src/examples/v3/exampleAddParticipantVouch.json +38 -0
- package/busy-spence-79c6bf/src/examples/v3/exampleCustomOverlay.json +55 -0
- package/busy-spence-79c6bf/src/examples/v3/exampleCustomOverlay2.json +93 -0
- package/busy-spence-79c6bf/src/examples/v3/exampleDocumentedVouch.json +47 -0
- package/busy-spence-79c6bf/src/examples/v3/exampleElectronicRecord.json +36 -0
- package/busy-spence-79c6bf/src/examples/v3/exampleTransaction.json +1038 -0
- package/busy-spence-79c6bf/src/examples/v3/exampleVouch.json +32 -0
- package/busy-spence-79c6bf/src/mappings/SendPropertyDetailsRequestSchema.json +1588 -0
- package/busy-spence-79c6bf/src/mappings/adf.js +198 -0
- package/busy-spence-79c6bf/src/schemas/v1/GeoJSON.json +1279 -0
- package/busy-spence-79c6bf/src/schemas/v1/baspiNotes.html +102 -0
- package/busy-spence-79c6bf/src/schemas/v1/energy-performance-certificate.json +124 -0
- package/busy-spence-79c6bf/src/schemas/v1/freehold-information.json +2051 -0
- package/busy-spence-79c6bf/src/schemas/v1/leasehold-information.json +2064 -0
- package/busy-spence-79c6bf/src/schemas/v1/legal-information.json +1045 -0
- package/busy-spence-79c6bf/src/schemas/v1/material-facts.json +2109 -0
- package/busy-spence-79c6bf/src/schemas/v1/pdtf-transaction-search-results.json +40 -0
- package/busy-spence-79c6bf/src/schemas/v1/pdtf-transaction.json +191 -0
- package/busy-spence-79c6bf/src/schemas/v1/searches/drainage-and-water.json +261 -0
- package/busy-spence-79c6bf/src/schemas/v1/searches/local-land-charges.json +69 -0
- package/busy-spence-79c6bf/src/schemas/v1/searches/local-searches-required.json +857 -0
- package/busy-spence-79c6bf/src/schemas/v1/searches.json +237 -0
- package/busy-spence-79c6bf/src/schemas/v1/title-deed.json +841 -0
- package/busy-spence-79c6bf/src/schemas/v2/baspiNotes.html +102 -0
- package/busy-spence-79c6bf/src/schemas/v2/combined.json +37731 -0
- package/busy-spence-79c6bf/src/schemas/v2/overlays/baspi.json +8132 -0
- package/busy-spence-79c6bf/src/schemas/v2/overlays/con29DW.json +705 -0
- package/busy-spence-79c6bf/src/schemas/v2/overlays/con29R.json +2956 -0
- package/busy-spence-79c6bf/src/schemas/v2/overlays/fme1.json +1259 -0
- package/busy-spence-79c6bf/src/schemas/v2/overlays/llc1.json +25 -0
- package/busy-spence-79c6bf/src/schemas/v2/overlays/lpe1.json +2171 -0
- package/busy-spence-79c6bf/src/schemas/v2/overlays/nts.json +326 -0
- package/busy-spence-79c6bf/src/schemas/v2/overlays/oc1.json +2799 -0
- package/busy-spence-79c6bf/src/schemas/v2/overlays/piq.json +3419 -0
- package/busy-spence-79c6bf/src/schemas/v2/overlays/rds.json +3736 -0
- package/busy-spence-79c6bf/src/schemas/v2/overlays/ta10.json +5306 -0
- package/busy-spence-79c6bf/src/schemas/v2/overlays/ta6.json +4533 -0
- package/busy-spence-79c6bf/src/schemas/v2/overlays/ta7.json +1045 -0
- package/busy-spence-79c6bf/src/schemas/v2/pdtf-transaction.json +34351 -0
- package/busy-spence-79c6bf/src/schemas/v2/skeleton.json +3973 -0
- package/busy-spence-79c6bf/src/schemas/v3/combined.json +48643 -0
- package/busy-spence-79c6bf/src/schemas/v3/compactSkeleton.txt +4519 -0
- package/busy-spence-79c6bf/src/schemas/v3/overlays/README.md +299 -0
- package/busy-spence-79c6bf/src/schemas/v3/overlays/baspi4.json +8030 -0
- package/busy-spence-79c6bf/src/schemas/v3/overlays/baspi5.json +8180 -0
- package/busy-spence-79c6bf/src/schemas/v3/overlays/con29DW.json +716 -0
- package/busy-spence-79c6bf/src/schemas/v3/overlays/con29R.json +2981 -0
- package/busy-spence-79c6bf/src/schemas/v3/overlays/extensions/ac.json +334 -0
- package/busy-spence-79c6bf/src/schemas/v3/overlays/extensions/as.json +74 -0
- package/busy-spence-79c6bf/src/schemas/v3/overlays/extensions/dk.json +33 -0
- package/busy-spence-79c6bf/src/schemas/v3/overlays/extensions/dr.json +73 -0
- package/busy-spence-79c6bf/src/schemas/v3/overlays/extensions/er.json +85 -0
- package/busy-spence-79c6bf/src/schemas/v3/overlays/extensions/fd.json +75 -0
- package/busy-spence-79c6bf/src/schemas/v3/overlays/extensions/hi.json +51 -0
- package/busy-spence-79c6bf/src/schemas/v3/overlays/extensions/hs.json +73 -0
- package/busy-spence-79c6bf/src/schemas/v3/overlays/extensions/ic.json +94 -0
- package/busy-spence-79c6bf/src/schemas/v3/overlays/extensions/jk.json +96 -0
- package/busy-spence-79c6bf/src/schemas/v3/overlays/extensions/la.json +85 -0
- package/busy-spence-79c6bf/src/schemas/v3/overlays/extensions/lc.json +76 -0
- package/busy-spence-79c6bf/src/schemas/v3/overlays/extensions/ma.json +90 -0
- package/busy-spence-79c6bf/src/schemas/v3/overlays/extensions/mc.json +38 -0
- package/busy-spence-79c6bf/src/schemas/v3/overlays/extensions/mi.json +70 -0
- package/busy-spence-79c6bf/src/schemas/v3/overlays/extensions/nd.json +44 -0
- package/busy-spence-79c6bf/src/schemas/v3/overlays/extensions/oa.json +24 -0
- package/busy-spence-79c6bf/src/schemas/v3/overlays/extensions/oc.json +57 -0
- package/busy-spence-79c6bf/src/schemas/v3/overlays/extensions/pc.json +38 -0
- package/busy-spence-79c6bf/src/schemas/v3/overlays/extensions/ph.json +195 -0
- package/busy-spence-79c6bf/src/schemas/v3/overlays/extensions/rw.json +69 -0
- package/busy-spence-79c6bf/src/schemas/v3/overlays/extensions/sb.json +73 -0
- package/busy-spence-79c6bf/src/schemas/v3/overlays/extensions/sc.json +133 -0
- package/busy-spence-79c6bf/src/schemas/v3/overlays/extensions/sd.json +64 -0
- package/busy-spence-79c6bf/src/schemas/v3/overlays/extensions/sf.json +74 -0
- package/busy-spence-79c6bf/src/schemas/v3/overlays/extensions/sl.json +68 -0
- package/busy-spence-79c6bf/src/schemas/v3/overlays/extensions/ta.json +204 -0
- package/busy-spence-79c6bf/src/schemas/v3/overlays/extensions/tf.json +103 -0
- package/busy-spence-79c6bf/src/schemas/v3/overlays/extensions/tr.json +74 -0
- package/busy-spence-79c6bf/src/schemas/v3/overlays/extensions/wg.json +351 -0
- package/busy-spence-79c6bf/src/schemas/v3/overlays/fme1.json +1266 -0
- package/busy-spence-79c6bf/src/schemas/v3/overlays/llc1.json +25 -0
- package/busy-spence-79c6bf/src/schemas/v3/overlays/lpe1.json +2199 -0
- package/busy-spence-79c6bf/src/schemas/v3/overlays/nts.json +2159 -0
- package/busy-spence-79c6bf/src/schemas/v3/overlays/nts2.json +2744 -0
- package/busy-spence-79c6bf/src/schemas/v3/overlays/ntsl.json +1815 -0
- package/busy-spence-79c6bf/src/schemas/v3/overlays/ntsl2.json +2219 -0
- package/busy-spence-79c6bf/src/schemas/v3/overlays/oc1.json +2817 -0
- package/busy-spence-79c6bf/src/schemas/v3/overlays/piq.json +3324 -0
- package/busy-spence-79c6bf/src/schemas/v3/overlays/rds.json +3668 -0
- package/busy-spence-79c6bf/src/schemas/v3/overlays/sef25.json +1653 -0
- package/busy-spence-79c6bf/src/schemas/v3/overlays/sr24.json +38 -0
- package/busy-spence-79c6bf/src/schemas/v3/overlays/ta10.json +4645 -0
- package/busy-spence-79c6bf/src/schemas/v3/overlays/ta6.json +4572 -0
- package/busy-spence-79c6bf/src/schemas/v3/overlays/ta6ed6.json +6665 -0
- package/busy-spence-79c6bf/src/schemas/v3/overlays/ta7.json +1537 -0
- package/busy-spence-79c6bf/src/schemas/v3/overlays/ta7ed5.json +1585 -0
- package/busy-spence-79c6bf/src/schemas/v3/pdtf-transaction.json +41570 -0
- package/busy-spence-79c6bf/src/schemas/v3/skeleton.json +5767 -0
- package/busy-spence-79c6bf/src/schemas/verifiedClaims/README.md +21 -0
- package/busy-spence-79c6bf/src/schemas/verifiedClaims/pdtf-verified-claims.json +447 -0
- package/busy-spence-79c6bf/src/utils/compactSkeleton.js +84 -0
- package/busy-spence-79c6bf/src/utils/countTokens.js +67 -0
- package/busy-spence-79c6bf/src/utils/extractExtensionOverlays.js +633 -0
- package/busy-spence-79c6bf/src/utils/extractOverlay.js +381 -0
- package/busy-spence-79c6bf/src/utils/extractProperties.js +44 -0
- package/busy-spence-79c6bf/src/utils/listPathTitles.js +36 -0
- package/busy-spence-79c6bf/src/utils/minimalSkeleton.js +85 -0
- package/busy-spence-79c6bf/src/utils/pathList.csv +903 -0
- package/busy-spence-79c6bf/src/utils/pathSkeleton.js +181 -0
- package/busy-spence-79c6bf/ta6ed6-titles-plan.md +118 -0
- package/busy-spence-79c6bf/ta7ed5-titles-spec.md +89 -0
- package/package.json +1 -1
- package/src/schemas/v3/combined.json +225 -47
- package/src/schemas/v3/overlays/llc1.json +1 -2
- package/src/schemas/v3/overlays/ta6ed6.json +204 -75
- package/src/schemas/v3/overlays/ta7ed5.json +54 -20
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
{
|
|
2
|
+
"properties": {
|
|
3
|
+
"propertyPack": {
|
|
4
|
+
"properties": {
|
|
5
|
+
"environmentalIssues": {
|
|
6
|
+
"properties": {
|
|
7
|
+
"stormFireFloodDamage": {
|
|
8
|
+
"ntsRef": "E1.1",
|
|
9
|
+
"required": [
|
|
10
|
+
"yesNo"
|
|
11
|
+
],
|
|
12
|
+
"discriminator": {
|
|
13
|
+
"propertyName": "yesNo"
|
|
14
|
+
},
|
|
15
|
+
"properties": {
|
|
16
|
+
"yesNo": {
|
|
17
|
+
"ntsRef": "E1.1.1",
|
|
18
|
+
"type": "string"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"oneOf": [
|
|
22
|
+
{
|
|
23
|
+
"properties": {
|
|
24
|
+
"yesNo": {
|
|
25
|
+
"enum": [
|
|
26
|
+
"No"
|
|
27
|
+
]
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"required": [
|
|
33
|
+
"details"
|
|
34
|
+
],
|
|
35
|
+
"properties": {
|
|
36
|
+
"details": {
|
|
37
|
+
"ntsRef": "E1.1.2",
|
|
38
|
+
"type": "string",
|
|
39
|
+
"minLength": 1
|
|
40
|
+
},
|
|
41
|
+
"yesNo": {
|
|
42
|
+
"enum": [
|
|
43
|
+
"Yes"
|
|
44
|
+
]
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
"type": "object"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"required": [
|
|
53
|
+
"stormFireFloodDamage"
|
|
54
|
+
],
|
|
55
|
+
"ntsRef": "C3.1"
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"ntsRef": "0"
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
62
|
+
"$id": "https://trust.propdata.org.uk/schemas/v3/overlays/extensions/sd.json",
|
|
63
|
+
"$comment": "Storm, fire or flood damage"
|
|
64
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,204 @@
|
|
|
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
|
+
"otherHeatingFeatures": {
|
|
54
|
+
"ta6ed6CompatRef": "TA6ED6-COMPAT.11.4.other",
|
|
55
|
+
"items": {
|
|
56
|
+
"ta6ed6CompatRef": "TA6ED6-COMPAT.11.4.other.item",
|
|
57
|
+
"enum": [
|
|
58
|
+
"None",
|
|
59
|
+
"Air conditioning",
|
|
60
|
+
"Double glazing",
|
|
61
|
+
"Triple glazing",
|
|
62
|
+
"Night storage",
|
|
63
|
+
"Solar water",
|
|
64
|
+
"Underfloor heating",
|
|
65
|
+
"Wood burner",
|
|
66
|
+
"Aga/Rayburn",
|
|
67
|
+
"Open fire",
|
|
68
|
+
"Ground source heat pump",
|
|
69
|
+
"Air source heat pump",
|
|
70
|
+
"Solar thermal",
|
|
71
|
+
"Passive House design",
|
|
72
|
+
"Mains gas",
|
|
73
|
+
"Electricity",
|
|
74
|
+
"Oil",
|
|
75
|
+
"LPG",
|
|
76
|
+
"Biomass"
|
|
77
|
+
],
|
|
78
|
+
"type": "string"
|
|
79
|
+
},
|
|
80
|
+
"type": "array"
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"type": "object"
|
|
84
|
+
},
|
|
85
|
+
"rightsAndInformalArrangements": {
|
|
86
|
+
"ta6ed6CompatRef": "TA6ED6-COMPAT.9",
|
|
87
|
+
"properties": {
|
|
88
|
+
"sharedContributions": {
|
|
89
|
+
"ta6ed6CompatRef": "TA6ED6-COMPAT.9.2",
|
|
90
|
+
"required": [
|
|
91
|
+
"yesNo"
|
|
92
|
+
],
|
|
93
|
+
"discriminator": {
|
|
94
|
+
"propertyName": "yesNo"
|
|
95
|
+
},
|
|
96
|
+
"oneOf": [
|
|
97
|
+
{
|
|
98
|
+
"properties": {
|
|
99
|
+
"yesNo": {
|
|
100
|
+
"enum": [
|
|
101
|
+
"No",
|
|
102
|
+
"Not applicable"
|
|
103
|
+
]
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"properties": {
|
|
109
|
+
"yesNo": {
|
|
110
|
+
"enum": [
|
|
111
|
+
"Yes"
|
|
112
|
+
]
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
]
|
|
117
|
+
},
|
|
118
|
+
"accessRestrictionAttempts": {
|
|
119
|
+
"ta6ed6CompatRef": "TA6ED6-COMPAT.9.3",
|
|
120
|
+
"required": [
|
|
121
|
+
"yesNo"
|
|
122
|
+
],
|
|
123
|
+
"discriminator": {
|
|
124
|
+
"propertyName": "yesNo"
|
|
125
|
+
},
|
|
126
|
+
"oneOf": [
|
|
127
|
+
{
|
|
128
|
+
"properties": {
|
|
129
|
+
"yesNo": {
|
|
130
|
+
"enum": [
|
|
131
|
+
"No",
|
|
132
|
+
"Not known"
|
|
133
|
+
]
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"properties": {
|
|
139
|
+
"yesNo": {
|
|
140
|
+
"enum": [
|
|
141
|
+
"Yes"
|
|
142
|
+
]
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
]
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
"type": "object"
|
|
150
|
+
},
|
|
151
|
+
"legalBoundaries": {
|
|
152
|
+
"ta6ed6CompatRef": "TA6ED6-COMPAT.2",
|
|
153
|
+
"properties": {
|
|
154
|
+
"flyingFreehold": {
|
|
155
|
+
"ta6ed6CompatRef": "TA6ED6-COMPAT.2.4",
|
|
156
|
+
"required": [
|
|
157
|
+
"yesNo"
|
|
158
|
+
],
|
|
159
|
+
"discriminator": {
|
|
160
|
+
"propertyName": "yesNo"
|
|
161
|
+
},
|
|
162
|
+
"properties": {
|
|
163
|
+
"yesNo": {
|
|
164
|
+
"ta6ed6CompatRef": "TA6ED6-COMPAT.2.4.1",
|
|
165
|
+
"enum": [
|
|
166
|
+
"Yes",
|
|
167
|
+
"No",
|
|
168
|
+
"Not known"
|
|
169
|
+
],
|
|
170
|
+
"type": "string"
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
"oneOf": [
|
|
174
|
+
{
|
|
175
|
+
"properties": {
|
|
176
|
+
"yesNo": {
|
|
177
|
+
"enum": [
|
|
178
|
+
"No",
|
|
179
|
+
"Not known"
|
|
180
|
+
]
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"properties": {
|
|
186
|
+
"yesNo": {
|
|
187
|
+
"enum": [
|
|
188
|
+
"Yes"
|
|
189
|
+
]
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
]
|
|
194
|
+
}
|
|
195
|
+
},
|
|
196
|
+
"type": "object"
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
202
|
+
"$id": "https://trust.propdata.org.uk/schemas/v3/overlays/extensions/ta.json",
|
|
203
|
+
"$comment": "Compatibility enum ranges for validating shared PDTF state containing TA6 edition 6 answers"
|
|
204
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
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": "A3"
|
|
66
|
+
}
|
|
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/tr.json",
|
|
73
|
+
"$comment": "Title restrictions for freehold properties"
|
|
74
|
+
}
|