@planning-inspectorate/data-model 2.31.3 → 2.32.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.
@@ -672,6 +672,7 @@ The location of the published document. Only applicable to documents which are p
672
672
  | :--------------------------- | :---------- |
673
673
  | `"back-office-appeals"` | |
674
674
  | `"back-office-applications"` | |
675
+ | `"dco-portal"` | |
675
676
  | `"horizon"` | |
676
677
  | `"ni_file"` | |
677
678
  | `"sharepoint"` | |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@planning-inspectorate/data-model",
3
- "version": "2.31.3",
3
+ "version": "2.32.0",
4
4
  "description": "JSON Schemas for the Planning Inspectorate's Data Model",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -172,7 +172,15 @@
172
172
  },
173
173
  "sourceSystem": {
174
174
  "type": ["string", "null"],
175
- "enum": ["back-office-appeals", "back-office-applications", "horizon", "ni_file", "sharepoint", null]
175
+ "enum": [
176
+ "back-office-appeals",
177
+ "back-office-applications",
178
+ "dco-portal",
179
+ "horizon",
180
+ "ni_file",
181
+ "sharepoint",
182
+ null
183
+ ]
176
184
  },
177
185
  "origin": {
178
186
  "type": ["string", "null"],
package/src/enums.cjs CHANGED
@@ -719,6 +719,7 @@ const NSIP_SECURITY_CLASSIFICATION = Object.freeze({
719
719
  const NSIP_SOURCE_SYSTEM = Object.freeze({
720
720
  BACK_OFFICE_APPEALS: 'back-office-appeals',
721
721
  BACK_OFFICE_APPLICATIONS: 'back-office-applications',
722
+ DCO_PORTAL: 'dco-portal',
722
723
  HORIZON: 'horizon',
723
724
  NI_FILE: 'ni_file',
724
725
  SHAREPOINT: 'sharepoint',
package/src/enums.d.ts CHANGED
@@ -717,6 +717,7 @@ export const NSIP_SECURITY_CLASSIFICATION = {
717
717
  export const NSIP_SOURCE_SYSTEM = {
718
718
  BACK_OFFICE_APPEALS: 'back-office-appeals',
719
719
  BACK_OFFICE_APPLICATIONS: 'back-office-applications',
720
+ DCO_PORTAL: 'dco-portal',
720
721
  HORIZON: 'horizon',
721
722
  NI_FILE: 'ni_file',
722
723
  SHAREPOINT: 'sharepoint',
package/src/enums.js CHANGED
@@ -717,6 +717,7 @@ export const NSIP_SECURITY_CLASSIFICATION = Object.freeze({
717
717
  export const NSIP_SOURCE_SYSTEM = Object.freeze({
718
718
  BACK_OFFICE_APPEALS: 'back-office-appeals',
719
719
  BACK_OFFICE_APPLICATIONS: 'back-office-applications',
720
+ DCO_PORTAL: 'dco-portal',
720
721
  HORIZON: 'horizon',
721
722
  NI_FILE: 'ni_file',
722
723
  SHAREPOINT: 'sharepoint',
package/src/index.cjs CHANGED
@@ -800,6 +800,7 @@ const NSIP_SECURITY_CLASSIFICATION = Object.freeze({
800
800
  const NSIP_SOURCE_SYSTEM = Object.freeze({
801
801
  BACK_OFFICE_APPEALS: 'back-office-appeals',
802
802
  BACK_OFFICE_APPLICATIONS: 'back-office-applications',
803
+ DCO_PORTAL: 'dco-portal',
803
804
  HORIZON: 'horizon',
804
805
  NI_FILE: 'ni_file',
805
806
  SHAREPOINT: 'sharepoint',
package/src/schemas.d.ts CHANGED
@@ -2216,7 +2216,14 @@ export interface NSIPDocument {
2216
2216
  datePublished: string | null;
2217
2217
  documentType: string | null;
2218
2218
  securityClassification: 'public' | 'official' | 'secret' | 'top-secret' | null;
2219
- sourceSystem: 'back-office-appeals' | 'back-office-applications' | 'horizon' | 'ni_file' | 'sharepoint' | null;
2219
+ sourceSystem:
2220
+ | 'back-office-appeals'
2221
+ | 'back-office-applications'
2222
+ | 'dco-portal'
2223
+ | 'horizon'
2224
+ | 'ni_file'
2225
+ | 'sharepoint'
2226
+ | null;
2220
2227
  origin: 'pins' | 'citizen' | 'lpa' | 'ogd' | null;
2221
2228
  owner: string | null;
2222
2229
  /**