Skip to content

Commit

Permalink
Fix/core schema minor (#17)
Browse files Browse the repository at this point in the history
* Added West Coast and updated the states and statuses
  • Loading branch information
annikaLiving authored Jul 2, 2024
1 parent 8e7548e commit c468bc9
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
8 changes: 4 additions & 4 deletions autogen_docs/schemas/core-permit-schema.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,23 @@
- **`project_description`** *(['string', 'null'])*: Full description of the project. This field may contain information to better understand a project.
- **`project_location_description`** *(['string', 'null'])*: A short description for the geographical location or area of interest of the project.
- **`physical_address`** *(['string', 'null'])*: This is the physical address if provided for a project.
- **`region_name`** *(string)*: Natural Resource administrative boundary associated with the physical project location. Must be one of: `["Cariboo", "Kootenay-Boundary", "Northeast", "Omineca", "Skeena", "South Coast", "Thompson-Okanagan"]`.
- **`region_name`** *(string)*: Natural Resource administrative boundary associated with the physical project location. Must be one of: `["Cariboo", "Kootenay-Boundary", "Northeast", "Omineca", "Skeena", "South Coast", "Thompson-Okanagan", "West Coast"]`.
- **`agency`** *(string)*: Acronym for the agency or ministry issuing the permit. Must be one of: `["AGRI", "ENV", "EMLI", "FOR", "MIRR", "MOTI", "WLRS", "BCER"]`.
- **`business_domain`** *(string)*: Business domain, office or area responsible for the permit. Must be one of: `["Archaeology", "Contaminated Sites", "Lands", "Riparian", "Transportation", "Water"]`.
- **`source_system_acronym`** *(string)*: Acronym for the source system providing the permit tracking. Must be one of: `["APTS", "CATS", "EPUPS; PPA", "FTA", "MOTI", "RARN", "RRS", "TANTALIS", "WILD", "WMA"]`.
- **`application_id`** *(string)*: Unique ID of the submitted application for a permit.
- **`application_name`** *(['string', 'null'])*: Name of the application for a permit.
- **`application_type`** *(string)*: The form type for a permit or licence application. Must be one of: `["Amendment", "Cancel", "Change Ownership", "New"]`.
- **`application_tracking_state`** *(string)*: Tracking state of an application in progress. Must be one of: `["Active", "Closed", "On hold", "Suspended"]`.
- **`application_status`** *(string)*: Status of the application to obtain a permit. Must be one of: `["Abandoned", "Approved", "Cancelled", "In Review", "Issued", "Offered", "Rejected", "Requested", "With client"]`.
- **`application_lifecycle_state`** *(string)*: Tracking state of an application in progress. Must be one of: `["Active", "Closed", "On hold"]`.
- **`application_status`** *(string)*: Status of the application during the process and final decision. Must be one of: `["Abandoned", "Approved", "Cancelled", "In Process", "In Referral", "Issued", "Offered", "Rejected", "Requested", "Suspended", "With client"]`.
- **`permit_id`** *(string, format: uuid)*: A permit specific ID used to identify the issued permit id. A meaningful number/code used by the business area to identify the permit.
- **`permit_name`** *(string)*: The business domain permit name type. Must be one of: `["Change approval for work in and about a stream", "Commercial General", "Contaminated Sites Remediation", "Groundwater Licence", "Heritage Inspection Permit", "Highway Use Permit", "Investigation Permit", "Municipal subdivision", "Nominal Rent Tenure", "Notification of authorized changes in and about a stream", "Occupant Licence to Cut", "Other", "Private Timber Mark", "Residential", "Rezoning", "Riparian Area Development Permit", "Roadways - Public", "Rural subdivision", "Short-term use approval", "Site Alteration Permit", "Sponsored Crown Grant", "Surface Water Licence", "Utilities"]`.
- **`permit_application_type`** *(['string', 'null'])*: The form type for a permit or licence application. Must be one of: `["New", "Amendment", "Cancel", "Change Ownership"]`.
- **`received_date`** *(string, format: date-time)*: Date in which the application for permit was submitted.
- **`accepted_date`** *(['string', 'null'], format: date-time)*: Date in which the review of the initial application's completeness concludes.
- **`tech_review_completion_date`** *(['string', 'null'], format: date-time)*: Date in which the technical team concludes their review of the application.
- **`rejected_date`** *(['string', 'null'], format: date-time)*: Date in which the permit is rejected.
- **`adjudication_date`** *(['string', 'null'], format: date-time)*: Date in which the permit is adjudicated, approved or issued.
- **`adjudication_date`** *(['string', 'null'], format: date-time)*: Date in which the permit is adjudicated as either issued or not issued.
- **`amendment_date`** *(['string', 'null'], format: date-time)*: Date in which the permit is amended.
- **`fn_consultn_start_date`** *(['string', 'null'], format: date-time)*: Date in which the consultation with First Nations starts.
- **`fn_consultn_completion_date`** *(['string', 'null'], format: date-time)*: Date in which the consultation with First Nations ends.
18 changes: 10 additions & 8 deletions schemas/definitions/core-permit-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
"Omineca",
"Skeena",
"South Coast",
"Thompson-Okanagan"
"Thompson-Okanagan",
"West Coast"
]
},
"agency": {
Expand Down Expand Up @@ -114,28 +115,29 @@
"New"
]
},
"application_tracking_state": {
"application_lifecycle_state": {
"type": "string",
"description": "Tracking state of an application in progress.",
"enum": [
"Active",
"Closed",
"On hold",
"Suspended"
]
"On hold"
]
},
"application_status": {
"type": "string",
"description": "Status of the application to obtain a permit",
"description": "Status of the application during the process and final decision.",
"enum": [
"Abandoned",
"Approved",
"Cancelled",
"In Review",
"In Process",
"In Referral",
"Issued",
"Offered",
"Rejected",
"Requested",
"Suspended",
"With client"
]
},
Expand Down Expand Up @@ -220,7 +222,7 @@
"string",
"null"
],
"description": "Date in which the permit is adjudicated, approved or issued",
"description": "Date in which the permit is adjudicated as either issued or not issued.",
"format": "date-time"
},
"amendment_date": {
Expand Down

0 comments on commit c468bc9

Please sign in to comment.