Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/nsip-document.md
Original file line number Diff line number Diff line change
Expand Up @@ -672,6 +672,7 @@ The location of the published document. Only applicable to documents which are p
| :--------------------------- | :---------- |
| `"back-office-appeals"` | |
| `"back-office-applications"` | |
| `"dco-portal"` | |
| `"horizon"` | |
| `"ni_file"` | |
| `"sharepoint"` | |
Expand Down
10 changes: 9 additions & 1 deletion schemas/nsip-document.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,15 @@
},
"sourceSystem": {
"type": ["string", "null"],
"enum": ["back-office-appeals", "back-office-applications", "horizon", "ni_file", "sharepoint", null]
"enum": [
"back-office-appeals",
"back-office-applications",
"dco-portal",
"horizon",
"ni_file",
"sharepoint",
null
]
},
"origin": {
"type": ["string", "null"],
Expand Down
1 change: 1 addition & 0 deletions src/enums.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -695,6 +695,7 @@ const NSIP_SECURITY_CLASSIFICATION = Object.freeze({
const NSIP_SOURCE_SYSTEM = Object.freeze({
BACK_OFFICE_APPEALS: 'back-office-appeals',
BACK_OFFICE_APPLICATIONS: 'back-office-applications',
DCO_PORTAL: 'dco-portal',
HORIZON: 'horizon',
NI_FILE: 'ni_file',
SHAREPOINT: 'sharepoint',
Expand Down
1 change: 1 addition & 0 deletions src/enums.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -693,6 +693,7 @@ export const NSIP_SECURITY_CLASSIFICATION = {
export const NSIP_SOURCE_SYSTEM = {
BACK_OFFICE_APPEALS: 'back-office-appeals',
BACK_OFFICE_APPLICATIONS: 'back-office-applications',
DCO_PORTAL: 'dco-portal',
HORIZON: 'horizon',
NI_FILE: 'ni_file',
SHAREPOINT: 'sharepoint',
Expand Down
1 change: 1 addition & 0 deletions src/enums.js
Original file line number Diff line number Diff line change
Expand Up @@ -693,6 +693,7 @@ export const NSIP_SECURITY_CLASSIFICATION = Object.freeze({
export const NSIP_SOURCE_SYSTEM = Object.freeze({
BACK_OFFICE_APPEALS: 'back-office-appeals',
BACK_OFFICE_APPLICATIONS: 'back-office-applications',
DCO_PORTAL: 'dco-portal',
HORIZON: 'horizon',
NI_FILE: 'ni_file',
SHAREPOINT: 'sharepoint',
Expand Down
1 change: 1 addition & 0 deletions src/index.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -776,6 +776,7 @@ const NSIP_SECURITY_CLASSIFICATION = Object.freeze({
const NSIP_SOURCE_SYSTEM = Object.freeze({
BACK_OFFICE_APPEALS: 'back-office-appeals',
BACK_OFFICE_APPLICATIONS: 'back-office-applications',
DCO_PORTAL: 'dco-portal',
HORIZON: 'horizon',
NI_FILE: 'ni_file',
SHAREPOINT: 'sharepoint',
Expand Down
9 changes: 8 additions & 1 deletion src/schemas.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2176,7 +2176,14 @@ export interface NSIPDocument {
datePublished: string | null;
documentType: string | null;
securityClassification: 'public' | 'official' | 'secret' | 'top-secret' | null;
sourceSystem: 'back-office-appeals' | 'back-office-applications' | 'horizon' | 'ni_file' | 'sharepoint' | null;
sourceSystem:
| 'back-office-appeals'
| 'back-office-applications'
| 'dco-portal'
| 'horizon'
| 'ni_file'
| 'sharepoint'
| null;
origin: 'pins' | 'citizen' | 'lpa' | 'ogd' | null;
owner: string | null;
/**
Expand Down
Loading