@planning-inspectorate/data-model 1.11.1 → 1.13.0
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/nsip-representation.md +1 -0
- package/package.json +1 -1
- package/pins_data_model/models/model_nsip_representation.py +1 -0
- package/schemas/commands/appellant-submission.schema.json +6 -0
- package/schemas/commands/lpa-questionnaire.schema.json +6 -0
- package/schemas/nsip-representation.schema.json +12 -1
- package/src/enums.cjs +1 -0
- package/src/enums.d.ts +1 -0
- package/src/enums.js +1 -0
- package/src/index.cjs +1 -0
- package/src/schemas.d.ts +7 -0
package/package.json
CHANGED
|
@@ -16,6 +16,12 @@
|
|
|
16
16
|
{
|
|
17
17
|
"allOf": [{ "properties": { "caseType": { "const": "D" } } }, { "$ref": "appeal-has-submission.schema.json" }]
|
|
18
18
|
},
|
|
19
|
+
{
|
|
20
|
+
"allOf": [
|
|
21
|
+
{ "properties": { "caseType": { "const": "ZP" } } },
|
|
22
|
+
{ "$ref": "appeal-has-submission.schema.json" }
|
|
23
|
+
]
|
|
24
|
+
},
|
|
19
25
|
{
|
|
20
26
|
"allOf": [{ "properties": { "caseType": { "const": "W" } } }, { "$ref": "appeal-s78-submission.schema.json" }]
|
|
21
27
|
},
|
|
@@ -27,6 +27,12 @@
|
|
|
27
27
|
},
|
|
28
28
|
{
|
|
29
29
|
"allOf": [{ "properties": { "caseType": { "const": "D" } } }, { "$ref": "lpa-questionnaire-has.schema.json" }]
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"allOf": [
|
|
33
|
+
{ "properties": { "caseType": { "const": "ZP" } } },
|
|
34
|
+
{ "$ref": "lpa-questionnaire-has.schema.json" }
|
|
35
|
+
]
|
|
30
36
|
}
|
|
31
37
|
]
|
|
32
38
|
},
|
|
@@ -47,7 +47,18 @@
|
|
|
47
47
|
},
|
|
48
48
|
"status": {
|
|
49
49
|
"type": ["string", "null"],
|
|
50
|
-
"enum": [
|
|
50
|
+
"enum": [
|
|
51
|
+
"awaiting_review",
|
|
52
|
+
"referred",
|
|
53
|
+
"valid",
|
|
54
|
+
"invalid",
|
|
55
|
+
"published",
|
|
56
|
+
"archived",
|
|
57
|
+
"draft",
|
|
58
|
+
"withdrawn",
|
|
59
|
+
"unpublished",
|
|
60
|
+
null
|
|
61
|
+
]
|
|
51
62
|
},
|
|
52
63
|
"originalRepresentation": {
|
|
53
64
|
"type": "string"
|
package/src/enums.cjs
CHANGED
package/src/enums.d.ts
CHANGED
package/src/enums.js
CHANGED
package/src/index.cjs
CHANGED
package/src/schemas.d.ts
CHANGED
|
@@ -2255,6 +2255,7 @@ export interface Representation {
|
|
|
2255
2255
|
| 'archived'
|
|
2256
2256
|
| 'draft'
|
|
2257
2257
|
| 'withdrawn'
|
|
2258
|
+
| 'unpublished'
|
|
2258
2259
|
| null;
|
|
2259
2260
|
originalRepresentation: string;
|
|
2260
2261
|
redacted: boolean | null;
|
|
@@ -3380,6 +3381,9 @@ export interface AppellantSubmissionCommand {
|
|
|
3380
3381
|
| ({
|
|
3381
3382
|
caseType?: 'D';
|
|
3382
3383
|
} & AppellantHASSubmissionProperties)
|
|
3384
|
+
| ({
|
|
3385
|
+
caseType?: 'ZP';
|
|
3386
|
+
} & AppellantHASSubmissionProperties)
|
|
3383
3387
|
| ({
|
|
3384
3388
|
caseType?: 'W';
|
|
3385
3389
|
} & AppellantS78SubmissionProperties)
|
|
@@ -4261,6 +4265,9 @@ export interface LPAQuestionnaireCommand {
|
|
|
4261
4265
|
} & LPAQS78SubmissionProperties)
|
|
4262
4266
|
| ({
|
|
4263
4267
|
caseType?: 'D';
|
|
4268
|
+
} & LPAQHASSubmissionProperties)
|
|
4269
|
+
| ({
|
|
4270
|
+
caseType?: 'ZP';
|
|
4264
4271
|
} & LPAQHASSubmissionProperties);
|
|
4265
4272
|
documents: {
|
|
4266
4273
|
/**
|