@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.
- package/docs/ta6-certificate-permit-contract.md +51 -0
- package/docs/v4-mapping-and-recomposition.md +476 -0
- package/index.js +212 -0
- package/package.json +10 -1
- package/src/schemas/v3/combined.json +2267 -658
- package/src/schemas/v3/compactSkeleton.txt +120 -51
- package/src/schemas/v3/overlays/baspi4.json +54 -74
- package/src/schemas/v3/overlays/baspi5.json +54 -74
- package/src/schemas/v3/overlays/extensions/ac.json +2 -1
- package/src/schemas/v3/overlays/extensions/dk.json +3 -2
- package/src/schemas/v3/overlays/extensions/fd.json +2 -1
- package/src/schemas/v3/overlays/extensions/ic.json +44 -9
- package/src/schemas/v3/overlays/extensions/lc.json +3 -2
- package/src/schemas/v3/overlays/extensions/mi.json +2 -1
- package/src/schemas/v3/overlays/extensions/nd.json +3 -2
- package/src/schemas/v3/overlays/extensions/pc.json +3 -2
- package/src/schemas/v3/overlays/extensions/ph.json +2 -1
- package/src/schemas/v3/overlays/extensions/rw.json +4 -3
- package/src/schemas/v3/overlays/extensions/sc.json +8 -4
- package/src/schemas/v3/overlays/extensions/sd.json +3 -2
- package/src/schemas/v3/overlays/extensions/tr.json +3 -2
- package/src/schemas/v3/overlays/extensions/wg.json +2 -1
- package/src/schemas/v3/overlays/llc1.json +1 -2
- package/src/schemas/v3/overlays/lpe1.json +3 -2
- package/src/schemas/v3/overlays/nts.json +7 -3
- package/src/schemas/v3/overlays/nts2.json +9 -4
- package/src/schemas/v3/overlays/ntsl.json +5 -2
- package/src/schemas/v3/overlays/ntsl2.json +7 -3
- package/src/schemas/v3/overlays/piq.json +34 -25
- package/src/schemas/v3/overlays/rds.json +24 -50
- package/src/schemas/v3/overlays/sef25.json +16 -2
- package/src/schemas/v3/overlays/ta10.json +0 -9
- package/src/schemas/v3/overlays/ta6.json +39 -70
- package/src/schemas/v3/overlays/ta6ed6.json +331 -307
- package/{pensive-tesla-d0d355/src/schemas/v3/overlays/ta6.json → src/schemas/v3/overlays/ta6ed6v2.json} +1574 -1464
- package/src/schemas/v3/overlays/ta7.json +2 -1
- package/src/schemas/v3/overlays/ta7ed5.json +77 -21
- package/src/schemas/v3/pdtf-transaction.json +1030 -492
- package/src/schemas/v3/skeleton.json +163 -57
- package/src/schemas/v4/Gift.json +88 -0
- package/src/schemas/v4/Offer.json +425 -0
- package/src/schemas/v4/Organisation.json +167 -0
- package/src/schemas/v4/Person.json +321 -0
- package/src/schemas/v4/Property.json +27813 -0
- package/src/schemas/v4/PropertyTitleLink.json +183 -0
- package/src/schemas/v4/Representation.json +67 -0
- package/src/schemas/v4/SellerCapacity.json +193 -0
- package/src/schemas/v4/Title.json +14675 -0
- package/src/schemas/v4/Transaction.json +1612 -0
- package/src/schemas/v4/TransactionRole.json +59 -0
- package/src/schemas/v4/mapping.json +1188 -0
- package/src/utils/checkTa6OmissionCompatibility.js +146 -0
- package/src/utils/extractExtensionOverlays.js +11 -2
- package/src/utils/extractOverlay.js +21 -0
- package/src/utils/generateV4Schemas.js +1561 -0
- package/src/utils/syncTa6ed6v2Markers.js +92 -0
- package/src/utils/v4.js +956 -0
- package/CLAUDE.md +0 -101
- package/pensive-tesla-d0d355/CLAUDE.md +0 -101
- package/pensive-tesla-d0d355/LICENSE +0 -21
- package/pensive-tesla-d0d355/README.md +0 -435
- package/pensive-tesla-d0d355/docs/branch-release-workflow.md +0 -138
- package/pensive-tesla-d0d355/docs/sef25-extensions-ui-spec.md +0 -355
- package/pensive-tesla-d0d355/index.js +0 -654
- package/pensive-tesla-d0d355/package-lock.json +0 -7297
- package/pensive-tesla-d0d355/package.json +0 -44
- package/pensive-tesla-d0d355/src/examples/v1/exampleAddParticipantVouch.json +0 -32
- package/pensive-tesla-d0d355/src/examples/v1/exampleDocumentedVouch.json +0 -40
- package/pensive-tesla-d0d355/src/examples/v1/exampleElectronicRecord.json +0 -30
- package/pensive-tesla-d0d355/src/examples/v1/exampleTransaction.json +0 -878
- package/pensive-tesla-d0d355/src/examples/v1/exampleVouch.json +0 -25
- package/pensive-tesla-d0d355/src/examples/v2/exampleTransaction.json +0 -901
- package/pensive-tesla-d0d355/src/examples/v3/exampleAddParticipantVouch.json +0 -38
- package/pensive-tesla-d0d355/src/examples/v3/exampleCustomOverlay.json +0 -55
- package/pensive-tesla-d0d355/src/examples/v3/exampleCustomOverlay2.json +0 -93
- package/pensive-tesla-d0d355/src/examples/v3/exampleDocumentedVouch.json +0 -47
- package/pensive-tesla-d0d355/src/examples/v3/exampleElectronicRecord.json +0 -36
- package/pensive-tesla-d0d355/src/examples/v3/exampleTransaction.json +0 -1038
- package/pensive-tesla-d0d355/src/examples/v3/exampleVouch.json +0 -32
- package/pensive-tesla-d0d355/src/mappings/SendPropertyDetailsRequestSchema.json +0 -1588
- package/pensive-tesla-d0d355/src/mappings/adf.js +0 -198
- package/pensive-tesla-d0d355/src/schemas/v1/GeoJSON.json +0 -1279
- package/pensive-tesla-d0d355/src/schemas/v1/baspiNotes.html +0 -102
- package/pensive-tesla-d0d355/src/schemas/v1/energy-performance-certificate.json +0 -124
- package/pensive-tesla-d0d355/src/schemas/v1/freehold-information.json +0 -2051
- package/pensive-tesla-d0d355/src/schemas/v1/leasehold-information.json +0 -2064
- package/pensive-tesla-d0d355/src/schemas/v1/legal-information.json +0 -1045
- package/pensive-tesla-d0d355/src/schemas/v1/material-facts.json +0 -2109
- package/pensive-tesla-d0d355/src/schemas/v1/pdtf-transaction-search-results.json +0 -40
- package/pensive-tesla-d0d355/src/schemas/v1/pdtf-transaction.json +0 -191
- package/pensive-tesla-d0d355/src/schemas/v1/searches/drainage-and-water.json +0 -261
- package/pensive-tesla-d0d355/src/schemas/v1/searches/local-land-charges.json +0 -69
- package/pensive-tesla-d0d355/src/schemas/v1/searches/local-searches-required.json +0 -857
- package/pensive-tesla-d0d355/src/schemas/v1/searches.json +0 -237
- package/pensive-tesla-d0d355/src/schemas/v1/title-deed.json +0 -841
- package/pensive-tesla-d0d355/src/schemas/v2/baspiNotes.html +0 -102
- package/pensive-tesla-d0d355/src/schemas/v2/combined.json +0 -37731
- package/pensive-tesla-d0d355/src/schemas/v2/overlays/baspi.json +0 -8132
- package/pensive-tesla-d0d355/src/schemas/v2/overlays/con29DW.json +0 -705
- package/pensive-tesla-d0d355/src/schemas/v2/overlays/con29R.json +0 -2956
- package/pensive-tesla-d0d355/src/schemas/v2/overlays/fme1.json +0 -1259
- package/pensive-tesla-d0d355/src/schemas/v2/overlays/llc1.json +0 -25
- package/pensive-tesla-d0d355/src/schemas/v2/overlays/lpe1.json +0 -2171
- package/pensive-tesla-d0d355/src/schemas/v2/overlays/nts.json +0 -326
- package/pensive-tesla-d0d355/src/schemas/v2/overlays/oc1.json +0 -2799
- package/pensive-tesla-d0d355/src/schemas/v2/overlays/piq.json +0 -3419
- package/pensive-tesla-d0d355/src/schemas/v2/overlays/rds.json +0 -3736
- package/pensive-tesla-d0d355/src/schemas/v2/overlays/ta10.json +0 -5306
- package/pensive-tesla-d0d355/src/schemas/v2/overlays/ta6.json +0 -4533
- package/pensive-tesla-d0d355/src/schemas/v2/overlays/ta7.json +0 -1045
- package/pensive-tesla-d0d355/src/schemas/v2/pdtf-transaction.json +0 -34351
- package/pensive-tesla-d0d355/src/schemas/v2/skeleton.json +0 -3973
- package/pensive-tesla-d0d355/src/schemas/v3/combined.json +0 -48469
- package/pensive-tesla-d0d355/src/schemas/v3/compactSkeleton.txt +0 -4519
- package/pensive-tesla-d0d355/src/schemas/v3/overlays/README.md +0 -299
- package/pensive-tesla-d0d355/src/schemas/v3/overlays/baspi4.json +0 -8025
- package/pensive-tesla-d0d355/src/schemas/v3/overlays/baspi5.json +0 -8175
- package/pensive-tesla-d0d355/src/schemas/v3/overlays/con29DW.json +0 -716
- package/pensive-tesla-d0d355/src/schemas/v3/overlays/con29R.json +0 -2981
- package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/ac.json +0 -333
- package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/as.json +0 -74
- package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/dk.json +0 -32
- package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/dr.json +0 -73
- package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/er.json +0 -85
- package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/fd.json +0 -75
- package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/hi.json +0 -51
- package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/hs.json +0 -73
- package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/ic.json +0 -59
- package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/jk.json +0 -96
- package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/la.json +0 -85
- package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/lc.json +0 -75
- package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/ma.json +0 -90
- package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/mc.json +0 -38
- package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/mi.json +0 -69
- package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/nd.json +0 -43
- package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/oa.json +0 -24
- package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/oc.json +0 -57
- package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/pc.json +0 -37
- package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/ph.json +0 -194
- package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/rw.json +0 -68
- package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/sb.json +0 -73
- package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/sc.json +0 -129
- package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/sd.json +0 -63
- package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/sf.json +0 -74
- package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/sl.json +0 -68
- package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/ta.json +0 -252
- package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/tf.json +0 -103
- package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/tr.json +0 -73
- package/pensive-tesla-d0d355/src/schemas/v3/overlays/extensions/wg.json +0 -350
- package/pensive-tesla-d0d355/src/schemas/v3/overlays/fme1.json +0 -1266
- package/pensive-tesla-d0d355/src/schemas/v3/overlays/llc1.json +0 -25
- package/pensive-tesla-d0d355/src/schemas/v3/overlays/lpe1.json +0 -2199
- package/pensive-tesla-d0d355/src/schemas/v3/overlays/nts.json +0 -2157
- package/pensive-tesla-d0d355/src/schemas/v3/overlays/nts2.json +0 -2742
- package/pensive-tesla-d0d355/src/schemas/v3/overlays/ntsl.json +0 -1813
- package/pensive-tesla-d0d355/src/schemas/v3/overlays/ntsl2.json +0 -2217
- package/pensive-tesla-d0d355/src/schemas/v3/overlays/oc1.json +0 -2817
- package/pensive-tesla-d0d355/src/schemas/v3/overlays/piq.json +0 -3322
- package/pensive-tesla-d0d355/src/schemas/v3/overlays/rds.json +0 -3665
- package/pensive-tesla-d0d355/src/schemas/v3/overlays/sef25.json +0 -1639
- package/pensive-tesla-d0d355/src/schemas/v3/overlays/sr24.json +0 -38
- package/pensive-tesla-d0d355/src/schemas/v3/overlays/ta10.json +0 -4654
- package/pensive-tesla-d0d355/src/schemas/v3/overlays/ta6ed6.json +0 -6534
- package/pensive-tesla-d0d355/src/schemas/v3/overlays/ta7.json +0 -1537
- package/pensive-tesla-d0d355/src/schemas/v3/overlays/ta7ed5.json +0 -1551
- package/pensive-tesla-d0d355/src/schemas/v3/pdtf-transaction.json +0 -41573
- package/pensive-tesla-d0d355/src/schemas/v3/skeleton.json +0 -5767
- package/pensive-tesla-d0d355/src/schemas/verifiedClaims/README.md +0 -21
- package/pensive-tesla-d0d355/src/schemas/verifiedClaims/pdtf-verified-claims.json +0 -447
- package/pensive-tesla-d0d355/src/utils/compactSkeleton.js +0 -84
- package/pensive-tesla-d0d355/src/utils/countTokens.js +0 -67
- package/pensive-tesla-d0d355/src/utils/extractExtensionOverlays.js +0 -624
- package/pensive-tesla-d0d355/src/utils/extractOverlay.js +0 -381
- package/pensive-tesla-d0d355/src/utils/extractProperties.js +0 -44
- package/pensive-tesla-d0d355/src/utils/listPathTitles.js +0 -36
- package/pensive-tesla-d0d355/src/utils/minimalSkeleton.js +0 -85
- package/pensive-tesla-d0d355/src/utils/pathList.csv +0 -903
- package/pensive-tesla-d0d355/src/utils/pathSkeleton.js +0 -181
- package/src/examples/v1/exampleAddParticipantVouch.json +0 -32
- package/src/examples/v1/exampleDocumentedVouch.json +0 -40
- package/src/examples/v1/exampleElectronicRecord.json +0 -30
- package/src/examples/v1/exampleTransaction.json +0 -878
- package/src/examples/v1/exampleVouch.json +0 -25
- package/src/examples/v2/exampleTransaction.json +0 -901
- package/src/examples/v3/exampleAddParticipantVouch.json +0 -38
- package/src/examples/v3/exampleCustomOverlay.json +0 -55
- package/src/examples/v3/exampleCustomOverlay2.json +0 -93
- package/src/examples/v3/exampleDocumentedVouch.json +0 -47
- package/src/examples/v3/exampleElectronicRecord.json +0 -36
- package/src/examples/v3/exampleTransaction.json +0 -1038
- package/src/examples/v3/exampleVouch.json +0 -32
- package/src/mappings/SendPropertyDetailsRequestSchema.json +0 -1588
- package/src/mappings/adf.js +0 -198
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"properties": {
|
|
3
|
-
"propertyPack": {
|
|
4
|
-
"properties": {
|
|
5
|
-
"residentialPropertyFeatures": {
|
|
6
|
-
"properties": {
|
|
7
|
-
"outsideAreas": {
|
|
8
|
-
"ntsRef": "B5.1",
|
|
9
|
-
"type": "array"
|
|
10
|
-
}
|
|
11
|
-
},
|
|
12
|
-
"required": [
|
|
13
|
-
"outsideAreas"
|
|
14
|
-
],
|
|
15
|
-
"ntsRef": "B5"
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
"ntsRef": "0"
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
22
|
-
"$id": "https://trust.propdata.org.uk/schemas/v3/overlays/extensions/oa.json",
|
|
23
|
-
"$comment": "Outside areas extension for NTS"
|
|
24
|
-
}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"properties": {
|
|
3
|
-
"propertyPack": {
|
|
4
|
-
"properties": {
|
|
5
|
-
"completionAndMoving": {
|
|
6
|
-
"properties": {
|
|
7
|
-
"otherPropertyInChain": {
|
|
8
|
-
"ntsRef": "A1.5.7.1",
|
|
9
|
-
"required": [
|
|
10
|
-
"yesNo"
|
|
11
|
-
],
|
|
12
|
-
"title": "Is this sale dependent on completion of the purchase of another property on the same day?",
|
|
13
|
-
"discriminator": {
|
|
14
|
-
"propertyName": "yesNo"
|
|
15
|
-
},
|
|
16
|
-
"properties": {
|
|
17
|
-
"yesNo": {
|
|
18
|
-
"ntsRef": "A1.5.7.1.1",
|
|
19
|
-
"type": "string"
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
"oneOf": [
|
|
23
|
-
{
|
|
24
|
-
"properties": {
|
|
25
|
-
"yesNo": {
|
|
26
|
-
"enum": [
|
|
27
|
-
"No"
|
|
28
|
-
]
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"properties": {
|
|
34
|
-
"yesNo": {
|
|
35
|
-
"enum": [
|
|
36
|
-
"Yes"
|
|
37
|
-
]
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
],
|
|
42
|
-
"type": "object"
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
"required": [
|
|
46
|
-
"otherPropertyInChain"
|
|
47
|
-
],
|
|
48
|
-
"ntsRef": "A1.5.7"
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
"ntsRef": "0"
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
55
|
-
"$id": "https://trust.propdata.org.uk/schemas/v3/overlays/extensions/oc.json",
|
|
56
|
-
"$comment": "Other property in chain dependency"
|
|
57
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"properties": {
|
|
3
|
-
"propertyPack": {
|
|
4
|
-
"properties": {
|
|
5
|
-
"parking": {
|
|
6
|
-
"properties": {
|
|
7
|
-
"controlledParking": {
|
|
8
|
-
"oneOf": [
|
|
9
|
-
null,
|
|
10
|
-
{
|
|
11
|
-
"properties": {
|
|
12
|
-
"costOfPermit": {
|
|
13
|
-
"ntsRef": "P1.1",
|
|
14
|
-
"type": "number"
|
|
15
|
-
},
|
|
16
|
-
"costOfPermitFrequency": {
|
|
17
|
-
"ntsRef": "P1.2",
|
|
18
|
-
"type": "string"
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
"required": [
|
|
22
|
-
"costOfPermit",
|
|
23
|
-
"costOfPermitFrequency"
|
|
24
|
-
]
|
|
25
|
-
}
|
|
26
|
-
]
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
"ntsRef": "K1"
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
35
|
-
"$id": "https://trust.propdata.org.uk/schemas/v3/overlays/extensions/pc.json",
|
|
36
|
-
"$comment": "Parking permit cost and frequency"
|
|
37
|
-
}
|
|
@@ -1,194 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"properties": {
|
|
3
|
-
"propertyPack": {
|
|
4
|
-
"properties": {
|
|
5
|
-
"specialistIssues": {
|
|
6
|
-
"required": [
|
|
7
|
-
"wellsDitchesShaft",
|
|
8
|
-
"damagedOrExposedElectrics",
|
|
9
|
-
"damageToFlooringOrStaircases",
|
|
10
|
-
"knownAreasInPoorCondition"
|
|
11
|
-
],
|
|
12
|
-
"properties": {
|
|
13
|
-
"wellsDitchesShaft": {
|
|
14
|
-
"ntsRef": "H1.1",
|
|
15
|
-
"required": [
|
|
16
|
-
"yesNo"
|
|
17
|
-
],
|
|
18
|
-
"discriminator": {
|
|
19
|
-
"propertyName": "yesNo"
|
|
20
|
-
},
|
|
21
|
-
"properties": {
|
|
22
|
-
"yesNo": {
|
|
23
|
-
"ntsRef": "H1.1.1",
|
|
24
|
-
"type": "string"
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
"oneOf": [
|
|
28
|
-
{
|
|
29
|
-
"properties": {
|
|
30
|
-
"yesNo": {
|
|
31
|
-
"enum": [
|
|
32
|
-
"No"
|
|
33
|
-
]
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
"required": [
|
|
39
|
-
"details"
|
|
40
|
-
],
|
|
41
|
-
"properties": {
|
|
42
|
-
"details": {
|
|
43
|
-
"ntsRef": "H1.1.2",
|
|
44
|
-
"type": "string",
|
|
45
|
-
"minLength": 1
|
|
46
|
-
},
|
|
47
|
-
"yesNo": {
|
|
48
|
-
"enum": [
|
|
49
|
-
"Yes"
|
|
50
|
-
]
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
]
|
|
55
|
-
},
|
|
56
|
-
"damagedOrExposedElectrics": {
|
|
57
|
-
"ntsRef": "H1.2",
|
|
58
|
-
"required": [
|
|
59
|
-
"yesNo"
|
|
60
|
-
],
|
|
61
|
-
"discriminator": {
|
|
62
|
-
"propertyName": "yesNo"
|
|
63
|
-
},
|
|
64
|
-
"properties": {
|
|
65
|
-
"yesNo": {
|
|
66
|
-
"ntsRef": "H1.2.1",
|
|
67
|
-
"type": "string"
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
"oneOf": [
|
|
71
|
-
{
|
|
72
|
-
"properties": {
|
|
73
|
-
"yesNo": {
|
|
74
|
-
"enum": [
|
|
75
|
-
"No"
|
|
76
|
-
]
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
"required": [
|
|
82
|
-
"details"
|
|
83
|
-
],
|
|
84
|
-
"properties": {
|
|
85
|
-
"details": {
|
|
86
|
-
"ntsRef": "H1.2.2",
|
|
87
|
-
"type": "string",
|
|
88
|
-
"minLength": 1
|
|
89
|
-
},
|
|
90
|
-
"yesNo": {
|
|
91
|
-
"enum": [
|
|
92
|
-
"Yes"
|
|
93
|
-
]
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
]
|
|
98
|
-
},
|
|
99
|
-
"damageToFlooringOrStaircases": {
|
|
100
|
-
"ntsRef": "H1.3",
|
|
101
|
-
"required": [
|
|
102
|
-
"yesNo"
|
|
103
|
-
],
|
|
104
|
-
"discriminator": {
|
|
105
|
-
"propertyName": "yesNo"
|
|
106
|
-
},
|
|
107
|
-
"properties": {
|
|
108
|
-
"yesNo": {
|
|
109
|
-
"ntsRef": "H1.3.1",
|
|
110
|
-
"type": "string"
|
|
111
|
-
}
|
|
112
|
-
},
|
|
113
|
-
"oneOf": [
|
|
114
|
-
{
|
|
115
|
-
"properties": {
|
|
116
|
-
"yesNo": {
|
|
117
|
-
"enum": [
|
|
118
|
-
"No"
|
|
119
|
-
]
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
"required": [
|
|
125
|
-
"details"
|
|
126
|
-
],
|
|
127
|
-
"properties": {
|
|
128
|
-
"details": {
|
|
129
|
-
"ntsRef": "H1.3.2",
|
|
130
|
-
"type": "string",
|
|
131
|
-
"minLength": 1
|
|
132
|
-
},
|
|
133
|
-
"yesNo": {
|
|
134
|
-
"enum": [
|
|
135
|
-
"Yes"
|
|
136
|
-
]
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
]
|
|
141
|
-
},
|
|
142
|
-
"knownAreasInPoorCondition": {
|
|
143
|
-
"ntsRef": "H1.4",
|
|
144
|
-
"required": [
|
|
145
|
-
"yesNo"
|
|
146
|
-
],
|
|
147
|
-
"discriminator": {
|
|
148
|
-
"propertyName": "yesNo"
|
|
149
|
-
},
|
|
150
|
-
"properties": {
|
|
151
|
-
"yesNo": {
|
|
152
|
-
"ntsRef": "H1.4.1",
|
|
153
|
-
"type": "string"
|
|
154
|
-
}
|
|
155
|
-
},
|
|
156
|
-
"oneOf": [
|
|
157
|
-
{
|
|
158
|
-
"properties": {
|
|
159
|
-
"yesNo": {
|
|
160
|
-
"enum": [
|
|
161
|
-
"No"
|
|
162
|
-
]
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
},
|
|
166
|
-
{
|
|
167
|
-
"required": [
|
|
168
|
-
"details"
|
|
169
|
-
],
|
|
170
|
-
"properties": {
|
|
171
|
-
"details": {
|
|
172
|
-
"ntsRef": "H1.4.2",
|
|
173
|
-
"type": "string",
|
|
174
|
-
"minLength": 1
|
|
175
|
-
},
|
|
176
|
-
"yesNo": {
|
|
177
|
-
"enum": [
|
|
178
|
-
"Yes"
|
|
179
|
-
]
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
]
|
|
184
|
-
}
|
|
185
|
-
},
|
|
186
|
-
"type": "object"
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
},
|
|
191
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
192
|
-
"$id": "https://trust.propdata.org.uk/schemas/v3/overlays/extensions/ph.json",
|
|
193
|
-
"$comment": "Property hazards and known issues"
|
|
194
|
-
}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"properties": {
|
|
3
|
-
"propertyPack": {
|
|
4
|
-
"properties": {
|
|
5
|
-
"rightsAndInformalArrangements": {
|
|
6
|
-
"properties": {
|
|
7
|
-
"rightsOrArrangements": {
|
|
8
|
-
"properties": {
|
|
9
|
-
"privateRightOfWay": {
|
|
10
|
-
"ntsRef": "R1.1",
|
|
11
|
-
"required": [
|
|
12
|
-
"yesNo"
|
|
13
|
-
],
|
|
14
|
-
"discriminator": {
|
|
15
|
-
"propertyName": "yesNo"
|
|
16
|
-
},
|
|
17
|
-
"properties": {
|
|
18
|
-
"yesNo": {
|
|
19
|
-
"ntsRef": "R1.1.1",
|
|
20
|
-
"type": "string"
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
"oneOf": [
|
|
24
|
-
{
|
|
25
|
-
"properties": {
|
|
26
|
-
"yesNo": {
|
|
27
|
-
"enum": [
|
|
28
|
-
"No"
|
|
29
|
-
]
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
"required": [
|
|
35
|
-
"details"
|
|
36
|
-
],
|
|
37
|
-
"properties": {
|
|
38
|
-
"details": {
|
|
39
|
-
"ntsRef": "R1.1.2",
|
|
40
|
-
"type": "string",
|
|
41
|
-
"minLength": 1
|
|
42
|
-
},
|
|
43
|
-
"yesNo": {
|
|
44
|
-
"enum": [
|
|
45
|
-
"Yes"
|
|
46
|
-
]
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
],
|
|
51
|
-
"type": "object"
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
"required": [
|
|
55
|
-
"privateRightOfWay"
|
|
56
|
-
],
|
|
57
|
-
"ntsRef": "R1"
|
|
58
|
-
}
|
|
59
|
-
},
|
|
60
|
-
"ntsRef": "R1"
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
66
|
-
"$id": "https://trust.propdata.org.uk/schemas/v3/overlays/extensions/rw.json",
|
|
67
|
-
"$comment": "Private right of way"
|
|
68
|
-
}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"properties": {
|
|
3
|
-
"propertyPack": {
|
|
4
|
-
"properties": {
|
|
5
|
-
"specialistIssues": {
|
|
6
|
-
"properties": {
|
|
7
|
-
"subsidenceOrStructuralFault": {
|
|
8
|
-
"ntsRef": "A5.4",
|
|
9
|
-
"required": [
|
|
10
|
-
"yesNo"
|
|
11
|
-
],
|
|
12
|
-
"discriminator": {
|
|
13
|
-
"propertyName": "yesNo"
|
|
14
|
-
},
|
|
15
|
-
"properties": {
|
|
16
|
-
"yesNo": {
|
|
17
|
-
"ntsRef": "A5.4.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": "A5.4.2",
|
|
38
|
-
"type": "string",
|
|
39
|
-
"minLength": 1
|
|
40
|
-
},
|
|
41
|
-
"yesNo": {
|
|
42
|
-
"enum": [
|
|
43
|
-
"Yes"
|
|
44
|
-
]
|
|
45
|
-
},
|
|
46
|
-
"attachments": {
|
|
47
|
-
"enum": [
|
|
48
|
-
"Attached",
|
|
49
|
-
"To follow"
|
|
50
|
-
]
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
],
|
|
55
|
-
"type": "object"
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
|
-
"required": [
|
|
59
|
-
"subsidenceOrStructuralFault"
|
|
60
|
-
],
|
|
61
|
-
"ntsRef": "A5"
|
|
62
|
-
}
|
|
63
|
-
},
|
|
64
|
-
"required": [
|
|
65
|
-
"specialistIssues"
|
|
66
|
-
],
|
|
67
|
-
"ntsRef": "0"
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
71
|
-
"$id": "https://trust.propdata.org.uk/schemas/v3/overlays/extensions/sb.json",
|
|
72
|
-
"$comment": "Subsidence or structural fault specialist issue"
|
|
73
|
-
}
|
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"properties": {
|
|
3
|
-
"propertyPack": {
|
|
4
|
-
"properties": {
|
|
5
|
-
"waterAndDrainage": {
|
|
6
|
-
"properties": {
|
|
7
|
-
"water": {
|
|
8
|
-
"properties": {
|
|
9
|
-
"mainsWater": {
|
|
10
|
-
"oneOf": [
|
|
11
|
-
{
|
|
12
|
-
"properties": {
|
|
13
|
-
"associatedCost": {
|
|
14
|
-
"ntsRef": "U1.1",
|
|
15
|
-
"required": [
|
|
16
|
-
"frequency"
|
|
17
|
-
],
|
|
18
|
-
"discriminator": {
|
|
19
|
-
"propertyName": "frequency"
|
|
20
|
-
},
|
|
21
|
-
"properties": {
|
|
22
|
-
"frequency": {
|
|
23
|
-
"ntsRef": "U1.1.2",
|
|
24
|
-
"type": "string"
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
"oneOf": [
|
|
28
|
-
{
|
|
29
|
-
"properties": {
|
|
30
|
-
"frequency": {
|
|
31
|
-
"enum": [
|
|
32
|
-
"Not applicable"
|
|
33
|
-
]
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
"properties": {
|
|
39
|
-
"amount": {
|
|
40
|
-
"ntsRef": "U1.1.1",
|
|
41
|
-
"type": "number"
|
|
42
|
-
},
|
|
43
|
-
"frequency": {
|
|
44
|
-
"enum": [
|
|
45
|
-
"Per month",
|
|
46
|
-
"Per year"
|
|
47
|
-
]
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
],
|
|
52
|
-
"type": "object"
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
"required": [
|
|
56
|
-
"associatedCost"
|
|
57
|
-
]
|
|
58
|
-
}
|
|
59
|
-
]
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
},
|
|
63
|
-
"drainage": {
|
|
64
|
-
"properties": {
|
|
65
|
-
"mainsFoulDrainage": {
|
|
66
|
-
"oneOf": [
|
|
67
|
-
null,
|
|
68
|
-
null,
|
|
69
|
-
{
|
|
70
|
-
"properties": {
|
|
71
|
-
"associatedCost": {
|
|
72
|
-
"ntsRef": "U1.2",
|
|
73
|
-
"required": [
|
|
74
|
-
"frequency"
|
|
75
|
-
],
|
|
76
|
-
"discriminator": {
|
|
77
|
-
"propertyName": "frequency"
|
|
78
|
-
},
|
|
79
|
-
"properties": {
|
|
80
|
-
"frequency": {
|
|
81
|
-
"ntsRef": "U1.2.2",
|
|
82
|
-
"type": "string"
|
|
83
|
-
}
|
|
84
|
-
},
|
|
85
|
-
"oneOf": [
|
|
86
|
-
{
|
|
87
|
-
"properties": {
|
|
88
|
-
"frequency": {
|
|
89
|
-
"enum": [
|
|
90
|
-
"Not applicable"
|
|
91
|
-
]
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
"properties": {
|
|
97
|
-
"amount": {
|
|
98
|
-
"ntsRef": "U1.2.1",
|
|
99
|
-
"type": "number"
|
|
100
|
-
},
|
|
101
|
-
"frequency": {
|
|
102
|
-
"enum": [
|
|
103
|
-
"Per month",
|
|
104
|
-
"Per year"
|
|
105
|
-
]
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
],
|
|
110
|
-
"type": "object"
|
|
111
|
-
}
|
|
112
|
-
},
|
|
113
|
-
"required": [
|
|
114
|
-
"associatedCost"
|
|
115
|
-
]
|
|
116
|
-
}
|
|
117
|
-
]
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
},
|
|
126
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
127
|
-
"$id": "https://trust.propdata.org.uk/schemas/v3/overlays/extensions/sc.json",
|
|
128
|
-
"$comment": "Associated costs for private water and sewerage supply"
|
|
129
|
-
}
|
|
@@ -1,63 +0,0 @@
|
|
|
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": "E1"
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
},
|
|
60
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
61
|
-
"$id": "https://trust.propdata.org.uk/schemas/v3/overlays/extensions/sd.json",
|
|
62
|
-
"$comment": "Storm, fire or flood damage"
|
|
63
|
-
}
|