Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: support site address ranges #248

Merged
merged 1 commit into from
Sep 20, 2024
Merged
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
17 changes: 17 additions & 0 deletions schemas/prototypeApplication.json
Original file line number Diff line number Diff line change
Expand Up @@ -4195,11 +4195,28 @@
"type": "string"
},
"pao": {
"description": "Combined `PAO_START_NUMBER`, `PAO_START_SUFFIX`, `PAO_TEXT` OS LPI properties",
"title": "Primary Addressable Object start range and/or building description",
"type": "string"
},
"paoEnd": {
"description": "Combined `PAO_END_NUMBER`, `PAO_END_SUFFIX` OS LPI properties",
"title": "Primary Addressable Object (PAO) end range",
"type": "string"
},
"postcode": {
"type": "string"
},
"sao": {
"description": "Combined `SAO_START_NUMBER`, `SAO_START_SUFFIX`, `SAO_TEXT` OS LPI properties",
"title": "Secondary Addressable Object (SAO) start range and/or building description",
"type": "string"
},
"saoEnd": {
"description": "Combined `SAO_END_NUMBER`, `SAO_END_SUFFIX` OS LPI properties",
"title": "Secondary Addressable Object (SAO) end range",
"type": "string"
},
"singleLine": {
"type": "string"
},
Expand Down
19 changes: 19 additions & 0 deletions types/schemas/prototypeApplication/data/Property.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,26 @@ export interface OSAddress extends SiteAddress {
* @maxLength 8
*/
usrn: string;
/**
* @title Primary Addressable Object start range and/or building description
* @description Combined `PAO_START_NUMBER`, `PAO_START_SUFFIX`, `PAO_TEXT` OS LPI properties
*/
pao: string;
/**
* @title Primary Addressable Object (PAO) end range
* @description Combined `PAO_END_NUMBER`, `PAO_END_SUFFIX` OS LPI properties
*/
paoEnd?: string;
/**
* @title Secondary Addressable Object (SAO) start range and/or building description
* @description Combined `SAO_START_NUMBER`, `SAO_START_SUFFIX`, `SAO_TEXT` OS LPI properties
*/
sao?: string;
/**
* @title Secondary Addressable Object (SAO) end range
* @description Combined `SAO_END_NUMBER`, `SAO_END_SUFFIX` OS LPI properties
*/
saoEnd?: string;
street: string;
town: string;
postcode: string;
Expand Down