Skip to content

Commit dec339f

Browse files
committed
Update account schema
1 parent 1ef3b6b commit dec339f

File tree

2 files changed

+5
-85
lines changed

2 files changed

+5
-85
lines changed

openapi.yml

Lines changed: 2 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -9640,53 +9640,13 @@ components:
96409640
example: 2e21f010-3023-4891-aced-ed726d7cd5e1
96419641
name:
96429642
type: string
9643-
example: Self Employed
9644-
preferredBusinessName:
9645-
type: string
9646-
example: Business XYZ
9647-
authorizedRep:
9648-
type: string
9649-
example: Jane Doe
9643+
example: Jane Doe's Business
96509644
timezoneOffset:
9651-
type: integer
9645+
type: number
96529646
example: -6
9653-
email:
9654-
type: string
9655-
example: janedoe@mail.com
9656-
phone:
9657-
type: string
9658-
example: '5555552368'
9659-
address:
9660-
type: object
9661-
properties:
9662-
address1:
9663-
type: string
9664-
example: 462 Main Street
9665-
city:
9666-
type: string
9667-
example: Des Moines
9668-
postalCode:
9669-
type: string
9670-
example: '50309'
9671-
state:
9672-
type: string
9673-
example: IA
9674-
verificationStatus:
9675-
type: string
9676-
example: Verified
9677-
ownershipStatus:
9678-
type: string
9679-
example: Exempt
9680-
ownershipCertificationStatus:
9681-
type: string
9682-
example: Exempt
96839647
type:
96849648
type: string
96859649
example: Commercial
9686-
created:
9687-
type: string
9688-
format: date-time
9689-
example: '2021-10-25T00:39:38.283Z'
96909650
NotFoundError:
96919651
title: NotFoundError
96929652
description: Error response schema for 404 NotFound

specs/schemas/accounts/Account.yml

Lines changed: 3 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -11,50 +11,10 @@ Account:
1111
example: 2e21f010-3023-4891-aced-ed726d7cd5e1
1212
name:
1313
type: string
14-
example: Self Employed
15-
preferredBusinessName:
16-
type: string
17-
example: Business XYZ
18-
authorizedRep:
19-
type: string
20-
example: Jane Doe
14+
example: Jane Doe's Business
2115
timezoneOffset:
22-
type: integer
23-
example: -6
24-
email:
25-
type: string
26-
example: janedoe@mail.com
27-
phone:
28-
type: string
29-
example: '5555552368'
30-
address:
31-
type: object
32-
properties:
33-
address1:
34-
type: string
35-
example: 462 Main Street
36-
city:
37-
type: string
38-
example: Des Moines
39-
postalCode:
40-
type: string
41-
example: '50309'
42-
state:
43-
type: string
44-
example: IA
45-
verificationStatus:
46-
type: string
47-
example: Verified
48-
ownershipStatus:
49-
type: string
50-
example: Exempt
51-
ownershipCertificationStatus:
52-
type: string
53-
example: Exempt
16+
type: number
17+
example: -6.0
5418
type:
5519
type: string
5620
example: Commercial
57-
created:
58-
type: string
59-
format: date-time
60-
example: '2021-10-25T00:39:38.283Z'

0 commit comments

Comments
 (0)