@pdtf/schemas 3.6.0-19 → 3.6.0-20
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/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"specialistIssues": {
|
|
6
6
|
"properties": {
|
|
7
7
|
"wellsDitchesShaft": {
|
|
8
|
-
"
|
|
8
|
+
"ntsRef": "H1.1",
|
|
9
9
|
"required": [
|
|
10
10
|
"yesNo"
|
|
11
11
|
],
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
},
|
|
15
15
|
"properties": {
|
|
16
16
|
"yesNo": {
|
|
17
|
-
"
|
|
17
|
+
"ntsRef": "H1.1.1",
|
|
18
18
|
"type": "string"
|
|
19
19
|
}
|
|
20
20
|
},
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
],
|
|
35
35
|
"properties": {
|
|
36
36
|
"details": {
|
|
37
|
-
"
|
|
37
|
+
"ntsRef": "H1.1.2",
|
|
38
38
|
"type": "string",
|
|
39
39
|
"minLength": 1
|
|
40
40
|
},
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"type": "object"
|
|
50
50
|
},
|
|
51
51
|
"damagedOrExposedElectrics": {
|
|
52
|
-
"
|
|
52
|
+
"ntsRef": "H1.2",
|
|
53
53
|
"required": [
|
|
54
54
|
"yesNo"
|
|
55
55
|
],
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
},
|
|
59
59
|
"properties": {
|
|
60
60
|
"yesNo": {
|
|
61
|
-
"
|
|
61
|
+
"ntsRef": "H1.2.1",
|
|
62
62
|
"type": "string"
|
|
63
63
|
}
|
|
64
64
|
},
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
],
|
|
79
79
|
"properties": {
|
|
80
80
|
"details": {
|
|
81
|
-
"
|
|
81
|
+
"ntsRef": "H1.2.2",
|
|
82
82
|
"type": "string",
|
|
83
83
|
"minLength": 1
|
|
84
84
|
},
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
"type": "object"
|
|
94
94
|
},
|
|
95
95
|
"damageToFlooringOrStaircases": {
|
|
96
|
-
"
|
|
96
|
+
"ntsRef": "H1.3",
|
|
97
97
|
"required": [
|
|
98
98
|
"yesNo"
|
|
99
99
|
],
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
},
|
|
103
103
|
"properties": {
|
|
104
104
|
"yesNo": {
|
|
105
|
-
"
|
|
105
|
+
"ntsRef": "H1.3.1",
|
|
106
106
|
"type": "string"
|
|
107
107
|
}
|
|
108
108
|
},
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
],
|
|
123
123
|
"properties": {
|
|
124
124
|
"details": {
|
|
125
|
-
"
|
|
125
|
+
"ntsRef": "H1.3.2",
|
|
126
126
|
"type": "string",
|
|
127
127
|
"minLength": 1
|
|
128
128
|
},
|
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
"type": "object"
|
|
138
138
|
},
|
|
139
139
|
"knownAreasInPoorCondition": {
|
|
140
|
-
"
|
|
140
|
+
"ntsRef": "H1.4",
|
|
141
141
|
"required": [
|
|
142
142
|
"yesNo"
|
|
143
143
|
],
|
|
@@ -146,7 +146,7 @@
|
|
|
146
146
|
},
|
|
147
147
|
"properties": {
|
|
148
148
|
"yesNo": {
|
|
149
|
-
"
|
|
149
|
+
"ntsRef": "H1.4.1",
|
|
150
150
|
"type": "string"
|
|
151
151
|
}
|
|
152
152
|
},
|
|
@@ -166,7 +166,7 @@
|
|
|
166
166
|
],
|
|
167
167
|
"properties": {
|
|
168
168
|
"details": {
|
|
169
|
-
"
|
|
169
|
+
"ntsRef": "H1.4.2",
|
|
170
170
|
"type": "string",
|
|
171
171
|
"minLength": 1
|
|
172
172
|
},
|
|
@@ -11,18 +11,18 @@
|
|
|
11
11
|
{
|
|
12
12
|
"properties": {
|
|
13
13
|
"associatedCost": {
|
|
14
|
-
"
|
|
14
|
+
"ntsRef": "U1.1",
|
|
15
15
|
"required": [
|
|
16
16
|
"amount",
|
|
17
17
|
"frequency"
|
|
18
18
|
],
|
|
19
19
|
"properties": {
|
|
20
20
|
"amount": {
|
|
21
|
-
"
|
|
21
|
+
"ntsRef": "U1.1.1",
|
|
22
22
|
"type": "number"
|
|
23
23
|
},
|
|
24
24
|
"frequency": {
|
|
25
|
-
"
|
|
25
|
+
"ntsRef": "U1.1.2",
|
|
26
26
|
"type": "string"
|
|
27
27
|
}
|
|
28
28
|
},
|
|
@@ -43,18 +43,18 @@
|
|
|
43
43
|
{
|
|
44
44
|
"properties": {
|
|
45
45
|
"associatedCost": {
|
|
46
|
-
"
|
|
46
|
+
"ntsRef": "U1.2",
|
|
47
47
|
"required": [
|
|
48
48
|
"amount",
|
|
49
49
|
"frequency"
|
|
50
50
|
],
|
|
51
51
|
"properties": {
|
|
52
52
|
"amount": {
|
|
53
|
-
"
|
|
53
|
+
"ntsRef": "U1.2.1",
|
|
54
54
|
"type": "number"
|
|
55
55
|
},
|
|
56
56
|
"frequency": {
|
|
57
|
-
"
|
|
57
|
+
"ntsRef": "U1.2.2",
|
|
58
58
|
"type": "string"
|
|
59
59
|
}
|
|
60
60
|
},
|
|
@@ -18,6 +18,17 @@ function getRefConfig(refType) {
|
|
|
18
18
|
enumKey: "nts2Enum",
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
|
+
if (refType === "sef25Ref") {
|
|
22
|
+
// SEF25 extensions also appear as ntsRef in output
|
|
23
|
+
return {
|
|
24
|
+
ref: "sef25Ref",
|
|
25
|
+
outputRef: "ntsRef",
|
|
26
|
+
required: "sef25Required",
|
|
27
|
+
title: "sef25Title",
|
|
28
|
+
description: "sef25Description",
|
|
29
|
+
enumKey: "sef25Enum",
|
|
30
|
+
};
|
|
31
|
+
}
|
|
21
32
|
// For other ref types, derive keys by replacing "Ref" suffix
|
|
22
33
|
return {
|
|
23
34
|
ref: refType,
|