Skip to content

Commit d9d9095

Browse files
authored
Update spec (#528)
* Update spec * Remove required * Economics fixes * Fix Lint
1 parent 2036a98 commit d9d9095

10 files changed

Lines changed: 41 additions & 7 deletions

File tree

openapi/components/schemas/CalendarEvent.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ properties:
1919
format: date-time
2020
description:
2121
type: string
22+
durationInMs:
23+
type: integer
2224
endsAt:
2325
type: string
2426
format: date-time
@@ -92,6 +94,7 @@ required:
9294
- accessType
9395
- category
9496
- description
97+
- durationInMs
9598
- endsAt
9699
- id
97100
- startsAt

openapi/components/schemas/CurrentUser.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,8 @@ properties:
221221
type: string
222222
description: -|
223223
**DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429).
224+
usesGeneratedPassword:
225+
type: boolean
224226
viveId:
225227
type: string
226228
required:
@@ -271,3 +273,4 @@ required:
271273
- twoFactorAuthEnabled
272274
- unsubscribe
273275
- userIcon
276+
- usesGeneratedPassword

openapi/components/schemas/EconomyAccount.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
title: EconomyAccount
22
type: object
3+
nullable: true
34
properties:
45
accountActivatedOn:
56
type: string

openapi/components/schemas/Group.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ properties:
99
example: 500
1010
ageVerificationSlotsAvailable:
1111
type: boolean
12+
allowGroupJoinPrompt:
13+
type: boolean
1214
badges:
1315
type: array
1416
items:

openapi/components/schemas/Instance.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ properties:
1212
ageGate:
1313
type: boolean
1414
nullable: true
15+
calendarEntryId:
16+
type: string
17+
nullable: true
1518
canRequestInvite:
1619
type: boolean
1720
default: true
@@ -31,6 +34,8 @@ properties:
3134
format: date-time
3235
contentSettings:
3336
$ref: ./InstanceContentSettings.yaml
37+
creatorId:
38+
$ref: ./UserID.yaml
3439
displayName:
3540
type: string
3641
nullable: true
@@ -133,9 +138,6 @@ properties:
133138
worldId:
134139
$ref: ./WorldID.yaml
135140
required:
136-
- active
137-
- canRequestInvite
138-
- capacity
139141
- clientNumber
140142
- full
141143
- id

openapi/components/schemas/InventoryTemplate.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,12 @@ properties:
1111
type: string
1212
example: "2025-06-12T20:21:15.056Z"
1313
format: date-time
14+
defaultAttributes:
15+
type: object
1416
description:
1517
type: string
18+
equipSlots:
19+
type: array
1620
flags:
1721
type: array
1822
items:
@@ -42,11 +46,15 @@ properties:
4246
type: string
4347
example: "2025-06-10T20:37:31.837Z"
4448
format: date-time
49+
validateUserAttributes:
50+
type: boolean
4551
required:
4652
- authorId
4753
- collections
4854
- created_at
55+
- defaultAttributes
4956
- description
57+
- equipSlots
5058
- flags
5159
- id
5260
- imageUrl
@@ -56,3 +64,4 @@ required:
5664
- status
5765
- tags
5866
- updated_at
67+
- validateUserAttributes

openapi/components/schemas/Permission.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ description: ""
44
properties:
55
data:
66
type: object
7+
properties:
8+
max:
9+
type: integer
710
description:
811
type: string
912
displayName:

openapi/components/schemas/Product.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,6 @@ properties:
4747
type: boolean
4848
default: false
4949
required:
50-
- archived
51-
- created
5250
- description
5351
- displayName
5452
- id
@@ -58,4 +56,3 @@ required:
5856
- sellerDisplayName
5957
- sellerId
6058
- tags
61-
- updated

openapi/components/schemas/ProductListing.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,16 +70,26 @@ properties:
7070
type: string
7171
sellerId:
7272
type: string
73+
soldByVrc:
74+
type: boolean
7375
stackable:
7476
type: boolean
7577
storeIds:
7678
type: array
7779
items:
7880
type: string
81+
subtitle:
82+
type: string
7983
tags:
8084
type: array
8185
items:
8286
$ref: ./Tag.yaml
87+
vrcPlusDiscountPrice:
88+
type: integer
89+
whenToExpire:
90+
type: string
91+
nullable: true
92+
format: date-time
8393
required:
8494
- active
8595
- buyerRefundable

openapi/components/schemas/StoreShelf.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
title: StoreShelf
22
type: object
33
properties:
4+
highlightListing:
5+
$ref: ./ProductListing.yaml
6+
highlightListingId:
7+
$ref: ./ProductID.yaml
48
id:
59
$ref: ./StoreShelfID.yaml
610
listingIds:
@@ -19,7 +23,7 @@ properties:
1923
type: string
2024
updatedAt:
2125
type: string
22-
format: data-time
26+
format: date-time
2327
required:
2428
- id
2529
- listingIds

0 commit comments

Comments
 (0)