@@ -307,7 +307,7 @@ paths:
307307 $ref : " #/components/responses/UnprocessableEntity"
308308 default :
309309 $ref : ' #/components/responses/Error'
310- /electrification/accessRequest :
310+ /electrification/access-request :
311311 get :
312312 summary : Get access requests
313313 description : >-
@@ -364,7 +364,7 @@ paths:
364364 $ref : " #/components/responses/UnprocessableEntity"
365365 default :
366366 $ref : ' #/components/responses/Error'
367- /electrification/accessRequest /{accessRequestId} :
367+ /electrification/access-request /{accessRequestId} :
368368 post :
369369 summary : Process access request
370370 description : >-
@@ -741,7 +741,7 @@ paths:
741741 $ref : ' #/components/responses/NotFound'
742742 default :
743743 $ref : ' #/components/responses/Error'
744- /electrification/note/bringForward :
744+ /electrification/note/bring-forward :
745745 get :
746746 summary : List note histories with bring forward type
747747 description : Retrieve a list of note histories with the Bring forward type given
@@ -1304,7 +1304,7 @@ paths:
13041304 $ref : " #/components/responses/UnprocessableEntity"
13051305 default :
13061306 $ref : ' #/components/responses/Error'
1307- /general/accessRequest :
1307+ /general/access-request :
13081308 get :
13091309 summary : Get access requests
13101310 description : >-
@@ -1361,7 +1361,7 @@ paths:
13611361 $ref : " #/components/responses/UnprocessableEntity"
13621362 default :
13631363 $ref : ' #/components/responses/Error'
1364- /general/accessRequest /{accessRequestId} :
1364+ /general/access-request /{accessRequestId} :
13651365 post :
13661366 summary : Process access request
13671367 description : >-
@@ -1738,7 +1738,7 @@ paths:
17381738 $ref : ' #/components/responses/NotFound'
17391739 default :
17401740 $ref : ' #/components/responses/Error'
1741- /general/note/bringForward :
1741+ /general/note/bring-forward :
17421742 get :
17431743 summary : List note histories with bring forward type
17441744 description : Retrieve a list of note histories with the Bring forward type given
@@ -2220,7 +2220,7 @@ paths:
22202220 $ref : " #/components/responses/UnprocessableEntity"
22212221 default :
22222222 $ref : ' #/components/responses/Error'
2223- /housing/accessRequest :
2223+ /housing/access-request :
22242224 get :
22252225 summary : Get access requests
22262226 description : >-
@@ -2277,7 +2277,7 @@ paths:
22772277 $ref : " #/components/responses/UnprocessableEntity"
22782278 default :
22792279 $ref : ' #/components/responses/Error'
2280- /housing/accessRequest /{accessRequestId} :
2280+ /housing/access-request /{accessRequestId} :
22812281 post :
22822282 summary : Process access request
22832283 description : >-
@@ -2654,7 +2654,7 @@ paths:
26542654 $ref : ' #/components/responses/NotFound'
26552655 default :
26562656 $ref : ' #/components/responses/Error'
2657- /housing/note/bringForward :
2657+ /housing/note/bring-forward :
26582658 get :
26592659 summary : List note histories with bring forward type
26602660 description : Retrieve a list of note histories with the Bring forward type given
@@ -3224,7 +3224,7 @@ paths:
32243224 $ref : " #/components/responses/UnprocessableEntity"
32253225 default :
32263226 $ref : ' #/components/responses/Error'
3227- /reporting/electrificationProject /permit :
3227+ /reporting/electrification-project /permit :
32283228 get :
32293229 summary : Query and retrieve all electrification project data related to permits
32303230 operationId : getElectrificationProjectPermitData
@@ -3245,7 +3245,28 @@ paths:
32453245 $ref : ' #/components/responses/Forbidden'
32463246 default :
32473247 $ref : ' #/components/responses/Error'
3248- /reporting/housingProject/permit :
3248+ /reporting/general-project/permit :
3249+ get :
3250+ summary : Query and retrieve all general project data related to permits
3251+ operationId : getGeneralProjectPermitData
3252+ tags :
3253+ - Reporting
3254+ responses :
3255+ ' 200 ' :
3256+ description : A list of general projects joined with permits and permit type
3257+ content :
3258+ application/json :
3259+ schema :
3260+ type : array
3261+ items :
3262+ $ref : ' #/components/schemas/Response-GeneralProjectPermitData'
3263+ " 401 " :
3264+ $ref : " #/components/responses/Unauthorized"
3265+ ' 403 ' :
3266+ $ref : ' #/components/responses/Forbidden'
3267+ default :
3268+ $ref : ' #/components/responses/Error'
3269+ /reporting/housing-project/permit :
32493270 get :
32503271 summary : Query and retrieve all housing project data related to permits
32513272 operationId : getHousingProjectPermitData
@@ -3266,7 +3287,7 @@ paths:
32663287 $ref : ' #/components/responses/Forbidden'
32673288 default :
32683289 $ref : ' #/components/responses/Error'
3269- /sourceSystemKind :
3290+ /source-system-kind :
32703291 get :
32713292 summary : List source system kinds
32723293 description : Gets a list of all the source system kinds
@@ -5662,6 +5683,166 @@ components:
56625683 description : UUID for the general project
56635684 format : uuid
56645685 example : d95f1de6-698b-4d9d-b938-487eb446ace8
5686+ Response-GeneralProjectPermitData :
5687+ type : object
5688+ properties :
5689+ projectName :
5690+ type : string
5691+ description : Name of the Project
5692+ example : New Project
5693+ consentToFeedback :
5694+ type : boolean
5695+ description : Whether or not user consents to feedback requests
5696+ firstName :
5697+ type : string
5698+ description : First name of the contact person related to general project
5699+ example : John
5700+ lastName :
5701+ type : string
5702+ description : Last name of the contact person related to general project
5703+ example : Smith
5704+ phoneNumber :
5705+ type : string
5706+ description : Phone number for contact related to general project
5707+ example : (123) 456-7890
5708+ email :
5709+ type : string
5710+ format : email
5711+ description : Email address for contact related to general project
5712+ example : john.smith@example.com
5713+ contactPreference :
5714+ type : string
5715+ enum : [Phone call, Email, Either]
5716+ description : Preferred method of contact related to general project
5717+ example : Email
5718+ activityId :
5719+ type : string
5720+ description : Activity ID related to general project and permit
5721+ example : D95F1DE6
5722+ locality :
5723+ type : string
5724+ description : City, town, etc. (Location) of project
5725+ example : Maple Ridge
5726+ streetAddress :
5727+ type : string
5728+ description : Street address of project
5729+ example : 2975 Jutland Rd
5730+ latitude :
5731+ type : number
5732+ description : Latitude Cordinate for project
5733+ example : 48.440531
5734+ longitude :
5735+ type : number
5736+ description : Longitude Cordinate for project
5737+ example : -123.377677
5738+ locationPids :
5739+ type : string
5740+ description : Location PIDs for the project
5741+ example : 006-209-521, 007-209-522
5742+ issuedPermitId :
5743+ type : string
5744+ description : ID of the issued permit
5745+ example : ' 123'
5746+ trackingId :
5747+ type : string
5748+ description : ID for tracking permit
5749+ example : H7kidnhd948594
5750+ state :
5751+ type : string
5752+ description : State of the permit
5753+ example : Pending
5754+ needed :
5755+ type : string
5756+ description : Whether permit is needed, or still uner investigation
5757+ example : Under Investigation
5758+ stage :
5759+ type : string
5760+ description : Stage of the permit
5761+ example : New
5762+ submittedDate :
5763+ type : string
5764+ description : Date the permit was submitted
5765+ format : date
5766+ nullable : true
5767+ example : ' 2024-08-14'
5768+ submittedTime :
5769+ type : string
5770+ description : Time the permit was submitted
5771+ format : timetz
5772+ nullable : true
5773+ example : ' 07:00:00.000Z'
5774+ decisionDate :
5775+ type : string
5776+ description : Date of the permit's decision
5777+ format : date
5778+ nullable : true
5779+ example : ' 2024-08-14'
5780+ decisionTime :
5781+ type : string
5782+ description : Time of the permit's decision
5783+ format : timetz
5784+ nullable : true
5785+ example : ' 2024-08-14'
5786+ statusLastChanged :
5787+ type : string
5788+ description : Date of the last time the status of permit was changed
5789+ format : date
5790+ nullable : true
5791+ example : ' 2024-08-14'
5792+ statusLastChangedTime :
5793+ type : string
5794+ description : Time of the last time the status of permit was changed
5795+ format : timetz
5796+ nullable : true
5797+ example : ' 07:00:00.000Z'
5798+ statusLastVerified :
5799+ type : string
5800+ description : Date of the last verified status of permit
5801+ format : date
5802+ nullable : true
5803+ example : ' 2024-08-14'
5804+ statusLastVerifiedTime :
5805+ type : string
5806+ description : Time of the last verified status of permit
5807+ format : timetz
5808+ nullable : true
5809+ example : ' 07:00:00.000Z'
5810+ acronym :
5811+ type : string
5812+ description : Acronym for permit type name
5813+ example : SAP
5814+ agency :
5815+ type : string
5816+ description : Government agency
5817+ example : Water, Land and Resource Stewardship
5818+ branch :
5819+ type : string
5820+ description : Government branch
5821+ example : Archaeology
5822+ division :
5823+ type : string
5824+ description : Government division
5825+ example : Forest Resiliency and Archaeology
5826+ name :
5827+ type : string
5828+ description : Name of permit type
5829+ example : Site Alteration Permit
5830+ sourceSystem :
5831+ type : string
5832+ description : Source of the system used for this permit type
5833+ example : Archaeology Permit Tracking System
5834+ sourceSystemAcronym :
5835+ type : string
5836+ description : Acronym for source system
5837+ example : APTS
5838+ trackedInAts :
5839+ type : boolean
5840+ description : Whether this permit type is tracked in ATS or not
5841+ example : false
5842+ type :
5843+ type : string
5844+ description : Type of permit type
5845+ example : Alteration
56655846 Response-HousingProjectCreate :
56665847 title : Response for Create Housing Project
56675848 type : object
0 commit comments