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

cont. updating mobile specs to use committee gem #19148

Merged
merged 3 commits into from
Nov 4, 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
277 changes: 194 additions & 83 deletions modules/mobile/docs/openapi.json

Large diffs are not rendered by default.

15 changes: 10 additions & 5 deletions modules/mobile/docs/schemas/Address.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,11 @@ properties:
type: string
example: "1493 Martin Luther King Rd"
addressLine2:
type: string, null
type: string
nullable: true
addressLine3:
type: string, null
type: string
nullable: true
addressPou:
type: string
enum: [ "RESIDENCE/CHOICE", "CORRESPONDENCE" ]
Expand All @@ -40,10 +42,12 @@ properties:
type: string
example: "US"
internationalPostalCode:
type: string, null
type: string
nullable: true
example: null
province:
type: string, null
type: string
nullable: true
example: null
stateCode:
type: string
Expand All @@ -52,5 +56,6 @@ properties:
type: string
example: "97062"
zipCodeSuffix:
type: string, null
type: string
nullable: true
example: "1234"
21 changes: 14 additions & 7 deletions modules/mobile/docs/schemas/AddressCreate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,11 @@ properties:
type: string
example: "1493 Martin Luther King Rd"
addressLine2:
type: string, null
type: string
nullable: true
addressLine3:
type: string, null
type: string
nullable: true
addressPou:
type: string
enum: [ "RESIDENCE/CHOICE", "CORRESPONDENCE" ]
Expand All @@ -51,17 +53,22 @@ properties:
type: string
example: "USA"
internationalPostalCode:
type: string, null
type: string
nullable: true
example: null
province:
type: string, null
type: string
nullable: true
example: null
stateCode:
type: string, null
type: string
nullable: true
example: "NY"
zipCode:
type: string, null
type: string
nullable: true
example: "97062"
zipCodeSuffix:
type: string, null
type: string
nullable: true
example: "1234"
15 changes: 10 additions & 5 deletions modules/mobile/docs/schemas/AddressUpdate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,11 @@ properties:
type: string
example: "1493 Martin Luther King Rd"
addressLine2:
type: string, null
type: string
nullable: true
addressLine3:
type: string, null
type: string
nullable: true
addressPou:
type: string
enum: [ "RESIDENCE/CHOICE", "CORRESPONDENCE" ]
Expand All @@ -52,10 +54,12 @@ properties:
type: string
example: "US"
internationalPostalCode:
type: string, null
type: string
nullable: true
example: null
province:
type: string, null
type: string
nullable: true
example: null
stateCode:
type: string
Expand All @@ -64,5 +68,6 @@ properties:
type: string
example: "97062"
zipCodeSuffix:
type: string, null
type: string
nullable: true
example: "1234"
3 changes: 2 additions & 1 deletion modules/mobile/docs/schemas/Appeal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ properties:
- type
- updated
properties:
appealsIds:
appealIds:
type: array
items:
type: string
Expand All @@ -60,6 +60,7 @@ properties:
type: string
docket:
type: object
nullable: true
events:
type: array
items:
Expand Down
6 changes: 5 additions & 1 deletion modules/mobile/docs/schemas/AppealIssue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ properties:
description:
type: string
diagnosticCode:
type: string, null
type: string
nullable: true
example: 8100
lastAction:
type: string
nullable: true
enum:
- field_grant
- withdrawn
Expand All @@ -22,3 +24,5 @@ properties:
- Deferred
date:
type: string
nullable: true

42 changes: 34 additions & 8 deletions modules/mobile/docs/schemas/AppointmentCheckin.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,38 @@
type: object
additionalProperties: false
required:
- code
- message
- data
properties:
code:
type: string
example: 'check-in-success'
message:
type: string
example: 'Check-In successful'
data:
type: object
additionalProperties: false
required:
- type
- id
- attributes
properties:
type:
type: string
example: "check_in"
id:
type: string
example: "75db6a5c-84ae-4ca4-bba2-ef4c41d563ab"
description: user uuid
attributes:
type: object
additionalProperties: false
required:
- id
- code
- message
properties:
id:
type: string
example: "75db6a5c-84ae-4ca4-bba2-ef4c41d563ab"
description: user uuid
code:
type: string
example: 'check-in-success'
message:
type: string
example: 'Check-In successful'
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ properties:
type: string
example: 'Unsuccessful Operation'
detail:
type: array
type: [array, string]
items:
type: object
additionalProperties: false
Expand Down
9 changes: 6 additions & 3 deletions modules/mobile/docs/schemas/Claim.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,12 @@ properties:
type: string
example: "2017-12-08"
minEstDate:
type: string, null
type: string
nullable: true
example: "2017-12-08"
maxEstDate:
type: string, null
type: string
nullable: true
example: "2017-12-08"
open:
type: boolean
Expand All @@ -67,7 +69,8 @@ properties:
items:
$ref: "./claimEventTimeline.yml"
phaseChangeDate:
type: string, null
type: string
nullable: true
example: "2017-12-08"
vaRepresentative:
type: string
Expand Down
9 changes: 6 additions & 3 deletions modules/mobile/docs/schemas/ClaimsAndAppeals.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,18 @@ properties:
description: decision letter will be available from endpoint /v0/claims/decision-letters if true
example: "true"
phase:
type: integer, null
type: integer
nullable: true
description: The phase of processing the claim is in. This does not apply to appeals. The integers used map to the phases as `1 => CLAIM_RECEIVED, 2 => UNDER_REVIEW, 3 => GATHERING_OF_EVIDENCE, 4 => REVIEW_OF_EVIDENCE, 5 => PREPARATION_FOR_DECISION, 6 => PENDING_DECISION_APPROVAL, 7 => PREPARATION_FOR_NOTIFICATION, 8 => COMPLETE`
example: 1
documentsNeeded:
type: boolean, null
type: boolean
nullable: true
description: Documents are still needed.
example: "true"
developmentLetterSent:
type: boolean, null
type: boolean
nullable: true
description: Development letter has been sent.
example: "true"
claimTypeCode:
Expand Down
30 changes: 20 additions & 10 deletions modules/mobile/docs/schemas/DecisionLetterRecord.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,40 +30,50 @@ properties:
- uploadDate
properties:
seriesId:
type: string, null
type: string
nullable: true
example: "{EC1B5F0C-E3FB-4A41-B93F-E1A88D549CDF}"
version:
type: string, null
type: string
nullable: true
example: "1"
typeDescription:
type: string, null
type: string
nullable: true
example: "Notification Letter (e.g. VA 20-8993, VA 21-0290, PCGL)"
typeId:
type: string, null
type: string
nullable: true
example: "184"
docType:
type: string, null
type: string
nullable: true
example: "184"
subject:
type: string, null
type: string
nullable: true
example: null
receivedAt:
type: date
example: "2022-09-22"
source:
type: string, null
type: string
nullable: true
example: "VBMS"
mimeType:
type: string, null
type: string
nullable: true
example: "application/pdf"
altDocTypes:
type: string, null
type: string
nullable: true
example: ""
restricted:
type: boolean
example: false
uploadDate:
type: date, null
type: date
nullable: true
example: "2022-09-23"


6 changes: 4 additions & 2 deletions modules/mobile/docs/schemas/PaymentHistory.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,12 @@ properties:
type: string
example: "Compensation & Pension - Recurring"
bank:
type: string, null
type: string
nullable: true
example: "PACIFIC PREMIER BANK"
account:
type: string, null
type: string
nullable: true
example: "************6464"
meta:
type: object
Expand Down
Loading
Loading