Skip to content

Commit

Permalink
update organisation to be reference code
Browse files Browse the repository at this point in the history
  • Loading branch information
jessicamcinchak committed Nov 16, 2023
1 parent b9216c2 commit b820016
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 12 deletions.
2 changes: 1 addition & 1 deletion examples/data/ldcE.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1227,7 +1227,7 @@ export const validLDCE: Schema = {
},
],
metadata: {
organisation: 'buckinghamshire',
organisation: 'BKM',
id: '95f90e21-93f5-4761-90b3-815c673e041f',
source: 'PlanX',
service: {
Expand Down
2 changes: 1 addition & 1 deletion examples/data/ldcP.ts
Original file line number Diff line number Diff line change
Expand Up @@ -831,7 +831,7 @@ export const validLDCP: Schema = {
},
],
metadata: {
organisation: 'buckinghamshire',
organisation: 'BKM',
id: '8da51c5b-a2a0-4386-a15d-29d66f9c121c',
source: 'PlanX',
service: {
Expand Down
2 changes: 1 addition & 1 deletion examples/data/planningPermission.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1249,7 +1249,7 @@ export const validPlanningPermission: Schema = {
},
],
metadata: {
organisation: 'lambeth',
organisation: 'LBH',
id: '81bcaa0f-baf5-4573-ba0a-ea868c573faf',
source: 'PlanX',
service: {
Expand Down
2 changes: 1 addition & 1 deletion examples/data/priorApproval.ts
Original file line number Diff line number Diff line change
Expand Up @@ -767,7 +767,7 @@ export const validPriorApproval: Schema = {
},
],
metadata: {
organisation: 'southwark',
organisation: 'SWK',
id: 'b18c301b-9d44-4c6c-8d27-5b5bf33c570b',
source: 'PlanX',
service: {
Expand Down
2 changes: 1 addition & 1 deletion examples/validLawfulDevelopmentCertificateExisting.json
Original file line number Diff line number Diff line change
Expand Up @@ -1849,7 +1849,7 @@
}
],
"metadata": {
"organisation": "buckinghamshire",
"organisation": "BKM",
"id": "95f90e21-93f5-4761-90b3-815c673e041f",
"source": "PlanX",
"service": {
Expand Down
2 changes: 1 addition & 1 deletion examples/validLawfulDevelopmentCertificateProposed.json
Original file line number Diff line number Diff line change
Expand Up @@ -1211,7 +1211,7 @@
}
],
"metadata": {
"organisation": "buckinghamshire",
"organisation": "BKM",
"id": "8da51c5b-a2a0-4386-a15d-29d66f9c121c",
"source": "PlanX",
"service": {
Expand Down
2 changes: 1 addition & 1 deletion examples/validPlanningPermission.json
Original file line number Diff line number Diff line change
Expand Up @@ -1760,7 +1760,7 @@
}
],
"metadata": {
"organisation": "lambeth",
"organisation": "LBH",
"id": "81bcaa0f-baf5-4573-ba0a-ea868c573faf",
"source": "PlanX",
"service": {
Expand Down
2 changes: 1 addition & 1 deletion examples/validPriorApproval.json
Original file line number Diff line number Diff line change
Expand Up @@ -1097,7 +1097,7 @@
}
],
"metadata": {
"organisation": "southwark",
"organisation": "SWK",
"id": "b18c301b-9d44-4c6c-8d27-5b5bf33c570b",
"source": "PlanX",
"service": {
Expand Down
6 changes: 4 additions & 2 deletions schema/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1167,7 +1167,8 @@
"description": "Unique identifier for this application"
},
"organisation": {
"description": "UK Local Authority that this application is being submitted to",
"description": "The reference code for the organisation responsible for processing this planning application, sourced from planning.data.gov.uk/dataset/local-authority",
"maxLength": 4,
"type": "string"
},
"schema": {
Expand Down Expand Up @@ -3140,7 +3141,8 @@
"description": "Unique identifier for this application"
},
"organisation": {
"description": "UK Local Authority that this application is being submitted to",
"description": "The reference code for the organisation responsible for processing this planning application, sourced from planning.data.gov.uk/dataset/local-authority",
"maxLength": 4,
"type": "string"
},
"schema": {
Expand Down
5 changes: 3 additions & 2 deletions types/schema/Metadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ export type Metadata = BaseMetadata | PlanXMetadata;
*/
export interface BaseMetadata {
/**
* @description UK Local Authority that this application is being submitted to
* @description The reference code for the organisation responsible for processing this planning application, sourced from planning.data.gov.uk/dataset/local-authority
* @maxLength 4
*/
organisation: string; // @todo align to DLUHC Planning Application API curie
organisation: string;
/**
* @description Unique identifier for this application
*/
Expand Down

0 comments on commit b820016

Please sign in to comment.