@pdtf/schemas 3.6.0-35 → 3.6.0-36
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/README.md +33 -52
- package/docs/sef25-extensions-ui-spec.md +49 -258
- package/index.js +0 -9
- package/package.json +1 -1
- package/src/examples/v3/exampleTransaction.json +3 -3
- package/src/schemas/v3/combined.json +32 -279
- package/src/schemas/v3/compactSkeleton.txt +2 -16
- package/src/schemas/v3/overlays/extensions/as.json +2 -4
- package/src/schemas/v3/overlays/extensions/dr.json +2 -4
- package/src/schemas/v3/overlays/extensions/er.json +2 -4
- package/src/schemas/v3/overlays/extensions/fd.json +3 -6
- package/src/schemas/v3/overlays/extensions/hi.json +3 -6
- package/src/schemas/v3/overlays/extensions/hs.json +2 -4
- package/src/schemas/v3/overlays/extensions/jk.json +2 -4
- package/src/schemas/v3/overlays/extensions/la.json +2 -4
- package/src/schemas/v3/overlays/extensions/ma.json +3 -6
- package/src/schemas/v3/overlays/extensions/mc.json +2 -4
- package/src/schemas/v3/overlays/extensions/oa.json +2 -4
- package/src/schemas/v3/overlays/extensions/oc.json +2 -4
- package/src/schemas/v3/overlays/extensions/pc.json +1 -2
- package/src/schemas/v3/overlays/extensions/ph.json +14 -11
- package/src/schemas/v3/overlays/extensions/sb.json +2 -4
- package/src/schemas/v3/overlays/extensions/sc.json +14 -82
- package/src/schemas/v3/overlays/extensions/sf.json +2 -4
- package/src/schemas/v3/overlays/extensions/sl.json +2 -4
- package/src/schemas/v3/overlays/extensions/tf.json +3 -6
- package/src/schemas/v3/overlays/sef25.json +10 -727
- package/src/schemas/v3/pdtf-transaction.json +15 -227
- package/src/schemas/v3/skeleton.json +5 -24
- package/src/tests/v3/extensionOverlays.test.js +5 -411
- package/src/utils/extractExtensionOverlays.js +4 -116
- package/src/schemas/v3/overlays/extensions/dk.json +0 -32
- package/src/schemas/v3/overlays/extensions/ic.json +0 -59
- package/src/schemas/v3/overlays/extensions/lc.json +0 -86
- package/src/schemas/v3/overlays/extensions/mi.json +0 -55
- package/src/schemas/v3/overlays/extensions/nd.json +0 -43
- package/src/schemas/v3/overlays/extensions/rw.json +0 -68
- package/src/schemas/v3/overlays/extensions/sd.json +0 -63
- package/src/schemas/v3/overlays/extensions/tr.json +0 -73
- package/src/schemas/v3/overlays/extensions/wg.json +0 -250
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"properties": {
|
|
3
|
-
"propertyPack": {
|
|
4
|
-
"properties": {
|
|
5
|
-
"insurance": {
|
|
6
|
-
"oneOf": [
|
|
7
|
-
null,
|
|
8
|
-
{
|
|
9
|
-
"properties": {
|
|
10
|
-
"insuranceClaims": {
|
|
11
|
-
"ntsRef": "I1.1",
|
|
12
|
-
"required": [
|
|
13
|
-
"yesNo"
|
|
14
|
-
],
|
|
15
|
-
"discriminator": {
|
|
16
|
-
"propertyName": "yesNo"
|
|
17
|
-
},
|
|
18
|
-
"properties": {
|
|
19
|
-
"yesNo": {
|
|
20
|
-
"ntsRef": "I1.1.1",
|
|
21
|
-
"type": "string"
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
"oneOf": [
|
|
25
|
-
{
|
|
26
|
-
"properties": {
|
|
27
|
-
"yesNo": {
|
|
28
|
-
"enum": [
|
|
29
|
-
"No"
|
|
30
|
-
]
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
"properties": {
|
|
36
|
-
"yesNo": {
|
|
37
|
-
"enum": [
|
|
38
|
-
"Yes"
|
|
39
|
-
]
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
],
|
|
44
|
-
"type": "object"
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
"required": [
|
|
48
|
-
"insuranceClaims"
|
|
49
|
-
]
|
|
50
|
-
}
|
|
51
|
-
]
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
57
|
-
"$id": "https://trust.propdata.org.uk/schemas/v3/overlays/extensions/ic.json",
|
|
58
|
-
"$comment": "Insurance claims upfront for SEF25"
|
|
59
|
-
}
|
|
@@ -1,86 +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
|
-
"oneOf": [
|
|
14
|
-
null,
|
|
15
|
-
{
|
|
16
|
-
"properties": {
|
|
17
|
-
"associatedCost": {
|
|
18
|
-
"ntsRef": "S1.1",
|
|
19
|
-
"required": [
|
|
20
|
-
"hasCost"
|
|
21
|
-
],
|
|
22
|
-
"discriminator": {
|
|
23
|
-
"propertyName": "hasCost"
|
|
24
|
-
},
|
|
25
|
-
"properties": {
|
|
26
|
-
"hasCost": {
|
|
27
|
-
"ntsRef": "S1.1.1",
|
|
28
|
-
"type": "string"
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
"oneOf": [
|
|
32
|
-
{
|
|
33
|
-
"properties": {
|
|
34
|
-
"hasCost": {
|
|
35
|
-
"enum": [
|
|
36
|
-
"No"
|
|
37
|
-
]
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
"required": [
|
|
43
|
-
"amount",
|
|
44
|
-
"frequency"
|
|
45
|
-
],
|
|
46
|
-
"properties": {
|
|
47
|
-
"amount": {
|
|
48
|
-
"ntsRef": "S1.1.2",
|
|
49
|
-
"type": "number"
|
|
50
|
-
},
|
|
51
|
-
"frequency": {
|
|
52
|
-
"ntsRef": "S1.1.3",
|
|
53
|
-
"type": "string",
|
|
54
|
-
"enum": [
|
|
55
|
-
"Per month",
|
|
56
|
-
"Per year"
|
|
57
|
-
]
|
|
58
|
-
},
|
|
59
|
-
"hasCost": {
|
|
60
|
-
"enum": [
|
|
61
|
-
"Yes"
|
|
62
|
-
]
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
],
|
|
67
|
-
"type": "object"
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
]
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
]
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
|
-
"ntsRef": "S1"
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
},
|
|
83
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
84
|
-
"$id": "https://trust.propdata.org.uk/schemas/v3/overlays/extensions/lc.json",
|
|
85
|
-
"$comment": "Solar panel lease costs"
|
|
86
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"properties": {
|
|
3
|
-
"propertyPack": {
|
|
4
|
-
"properties": {
|
|
5
|
-
"additionalInformation": {
|
|
6
|
-
"properties": {
|
|
7
|
-
"otherMaterialIssue": {
|
|
8
|
-
"ntsRef": "M1.1",
|
|
9
|
-
"required": [
|
|
10
|
-
"yesNo"
|
|
11
|
-
],
|
|
12
|
-
"discriminator": {
|
|
13
|
-
"propertyName": "yesNo"
|
|
14
|
-
},
|
|
15
|
-
"properties": {
|
|
16
|
-
"yesNo": {
|
|
17
|
-
"ntsRef": "M1.1.1",
|
|
18
|
-
"type": "string"
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
"oneOf": [
|
|
22
|
-
{
|
|
23
|
-
"properties": {
|
|
24
|
-
"yesNo": {
|
|
25
|
-
"enum": [
|
|
26
|
-
"No"
|
|
27
|
-
]
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
"properties": {
|
|
33
|
-
"yesNo": {
|
|
34
|
-
"enum": [
|
|
35
|
-
"Yes"
|
|
36
|
-
]
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
],
|
|
41
|
-
"type": "object"
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
"required": [
|
|
45
|
-
"otherMaterialIssue"
|
|
46
|
-
],
|
|
47
|
-
"ntsRef": "M1"
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
},
|
|
52
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
53
|
-
"$id": "https://trust.propdata.org.uk/schemas/v3/overlays/extensions/mi.json",
|
|
54
|
-
"$comment": "Other material issue upfront for SEF25"
|
|
55
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"properties": {
|
|
3
|
-
"propertyPack": {
|
|
4
|
-
"properties": {
|
|
5
|
-
"notices": {
|
|
6
|
-
"properties": {
|
|
7
|
-
"neighbourDevelopment": {
|
|
8
|
-
"ntsRef": "N1.1",
|
|
9
|
-
"discriminator": {
|
|
10
|
-
"propertyName": "yesNo"
|
|
11
|
-
},
|
|
12
|
-
"oneOf": [
|
|
13
|
-
{
|
|
14
|
-
"properties": {
|
|
15
|
-
"yesNo": {
|
|
16
|
-
"enum": [
|
|
17
|
-
"No"
|
|
18
|
-
]
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
"properties": {
|
|
24
|
-
"yesNo": {
|
|
25
|
-
"enum": [
|
|
26
|
-
"Yes"
|
|
27
|
-
]
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
],
|
|
32
|
-
"type": "object"
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
|
-
"ntsRef": "N1"
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
41
|
-
"$id": "https://trust.propdata.org.uk/schemas/v3/overlays/extensions/nd.json",
|
|
42
|
-
"$comment": "Neighbour development upfront for SEF25"
|
|
43
|
-
}
|
|
@@ -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,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
|
-
}
|
|
@@ -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
|
-
}
|