@planning-inspectorate/data-model 1.12.0 → 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@planning-inspectorate/data-model",
3
- "version": "1.12.0",
3
+ "version": "1.13.0",
4
4
  "description": "JSON Schemas for the Planning Inspectorate's Data Model",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -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
  },
package/src/schemas.d.ts CHANGED
@@ -3381,6 +3381,9 @@ export interface AppellantSubmissionCommand {
3381
3381
  | ({
3382
3382
  caseType?: 'D';
3383
3383
  } & AppellantHASSubmissionProperties)
3384
+ | ({
3385
+ caseType?: 'ZP';
3386
+ } & AppellantHASSubmissionProperties)
3384
3387
  | ({
3385
3388
  caseType?: 'W';
3386
3389
  } & AppellantS78SubmissionProperties)
@@ -4262,6 +4265,9 @@ export interface LPAQuestionnaireCommand {
4262
4265
  } & LPAQS78SubmissionProperties)
4263
4266
  | ({
4264
4267
  caseType?: 'D';
4268
+ } & LPAQHASSubmissionProperties)
4269
+ | ({
4270
+ caseType?: 'ZP';
4265
4271
  } & LPAQHASSubmissionProperties);
4266
4272
  documents: {
4267
4273
  /**