diff --git a/openapi/components/schemas/Notification.yaml b/openapi/components/schemas/Notification.yaml index af17bca0..b9b40656 100644 --- a/openapi/components/schemas/Notification.yaml +++ b/openapi/components/schemas/Notification.yaml @@ -1,43 +1,24 @@ title: Notification -type: object -properties: - created_at: - type: string - format: date-time - details: - type: string - description: "**NOTICE:** This is not a JSON object when received from the REST API, but it is when received from the Websocket API. When received from the REST API, this is a json **encoded** object, meaning you have to json-de-encode to get the NotificationDetail object depending on the NotificationType." - default: "{}" - examples: - - "OneOf: {}, NotificationDetailBoop, NotificationDetailInvite, NotificationDetailInviteResponse, NotificationDetailRequestInvite, NotificationDetailRequestInviteResponse, NotificationDetailVoteToKick" - id: - type: string - minLength: 1 - message: - type: string - examples: - - This is a generated invite to VRChat Hub - receiverUserId: - $ref: ./UserID.yaml - description: Not included in notification objects received from the REST API - seen: - type: boolean - description: Not included in notification objects received from the Websocket API - default: false - senderUserId: - $ref: ./UserID.yaml - senderUsername: - type: - - string - - "null" - description: The name of the user who sent the notification. - minLength: 1 - type: - $ref: ./NotificationType.yaml -required: - - created_at - - details - - id - - message - - senderUserId - - type +description: A notification. The shape of `details` depends on `type`. +discriminator: + defaultMapping: ./NotificationUnknown.yaml + mapping: + boop: ./NotificationBoop.yaml + friendRequest: ./NotificationFriendRequest.yaml + invite: ./NotificationInvite.yaml + inviteResponse: ./NotificationInviteResponse.yaml + message: ./NotificationMessage.yaml + requestInvite: ./NotificationRequestInvite.yaml + requestInviteResponse: ./NotificationRequestInviteResponse.yaml + votetokick: ./NotificationVoteToKick.yaml + propertyName: type +oneOf: + - $ref: ./NotificationBoop.yaml + - $ref: ./NotificationFriendRequest.yaml + - $ref: ./NotificationInvite.yaml + - $ref: ./NotificationInviteResponse.yaml + - $ref: ./NotificationMessage.yaml + - $ref: ./NotificationRequestInvite.yaml + - $ref: ./NotificationRequestInviteResponse.yaml + - $ref: ./NotificationVoteToKick.yaml + - $ref: ./NotificationUnknown.yaml diff --git a/openapi/components/schemas/NotificationBase.yaml b/openapi/components/schemas/NotificationBase.yaml new file mode 100644 index 00000000..dd4e9655 --- /dev/null +++ b/openapi/components/schemas/NotificationBase.yaml @@ -0,0 +1,33 @@ +title: NotificationBase +type: object +properties: + created_at: + type: string + format: date-time + id: + type: string + minLength: 1 + message: + type: string + examples: + - This is a generated invite to VRChat Hub + receiverUserId: + $ref: ./UserID.yaml + description: Not included in notification objects received from the REST API + seen: + type: boolean + description: Not included in notification objects received from the Websocket API + default: false + senderUserId: + $ref: ./UserID.yaml + senderUsername: + type: + - string + - "null" + description: The name of the user who sent the notification. + minLength: 1 +required: + - created_at + - id + - message + - senderUserId diff --git a/openapi/components/schemas/NotificationBoop.yaml b/openapi/components/schemas/NotificationBoop.yaml new file mode 100644 index 00000000..e79d1dc2 --- /dev/null +++ b/openapi/components/schemas/NotificationBoop.yaml @@ -0,0 +1,18 @@ +title: NotificationBoop +type: object +properties: + details: + type: string + description: A JSON-encoded string. + contentMediaType: application/json + contentSchema: + $ref: ./NotificationDetailBoop.yaml + x-vrchat-double-encoding-type: NotificationDetailBoop + type: + type: string + const: boop +required: + - details + - type +allOf: + - $ref: ./NotificationBase.yaml diff --git a/openapi/components/schemas/NotificationDetailFriendRequest.yaml b/openapi/components/schemas/NotificationDetailFriendRequest.yaml new file mode 100644 index 00000000..b8c177a7 --- /dev/null +++ b/openapi/components/schemas/NotificationDetailFriendRequest.yaml @@ -0,0 +1,2 @@ +title: NotificationDetailFriendRequest +type: object diff --git a/openapi/components/schemas/NotificationDetailMessage.yaml b/openapi/components/schemas/NotificationDetailMessage.yaml new file mode 100644 index 00000000..f2aea75a --- /dev/null +++ b/openapi/components/schemas/NotificationDetailMessage.yaml @@ -0,0 +1,2 @@ +title: NotificationDetailMessage +type: object diff --git a/openapi/components/schemas/NotificationFriendRequest.yaml b/openapi/components/schemas/NotificationFriendRequest.yaml new file mode 100644 index 00000000..4002a49a --- /dev/null +++ b/openapi/components/schemas/NotificationFriendRequest.yaml @@ -0,0 +1,17 @@ +title: NotificationFriendRequest +type: object +properties: + details: + type: string + description: A JSON-encoded string. + contentMediaType: application/json + contentSchema: + $ref: ./NotificationDetailFriendRequest.yaml + type: + type: string + const: friendRequest +required: + - details + - type +allOf: + - $ref: ./NotificationBase.yaml diff --git a/openapi/components/schemas/NotificationInvite.yaml b/openapi/components/schemas/NotificationInvite.yaml new file mode 100644 index 00000000..71ef9ebf --- /dev/null +++ b/openapi/components/schemas/NotificationInvite.yaml @@ -0,0 +1,18 @@ +title: NotificationInvite +type: object +properties: + details: + type: string + description: A JSON-encoded string. + contentMediaType: application/json + contentSchema: + $ref: ./NotificationDetailInvite.yaml + x-vrchat-double-encoding-type: NotificationDetailInvite + type: + type: string + const: invite +required: + - details + - type +allOf: + - $ref: ./NotificationBase.yaml diff --git a/openapi/components/schemas/NotificationInviteResponse.yaml b/openapi/components/schemas/NotificationInviteResponse.yaml new file mode 100644 index 00000000..fda95cbc --- /dev/null +++ b/openapi/components/schemas/NotificationInviteResponse.yaml @@ -0,0 +1,18 @@ +title: NotificationInviteResponse +type: object +properties: + details: + type: string + description: A JSON-encoded string. + contentMediaType: application/json + contentSchema: + $ref: ./NotificationDetailInviteResponse.yaml + x-vrchat-double-encoding-type: NotificationDetailInviteResponse + type: + type: string + const: inviteResponse +required: + - details + - type +allOf: + - $ref: ./NotificationBase.yaml diff --git a/openapi/components/schemas/NotificationMessage.yaml b/openapi/components/schemas/NotificationMessage.yaml new file mode 100644 index 00000000..96e6b165 --- /dev/null +++ b/openapi/components/schemas/NotificationMessage.yaml @@ -0,0 +1,17 @@ +title: NotificationMessage +type: object +properties: + details: + type: string + description: A JSON-encoded string. + contentMediaType: application/json + contentSchema: + $ref: ./NotificationDetailMessage.yaml + type: + type: string + const: message +required: + - details + - type +allOf: + - $ref: ./NotificationBase.yaml diff --git a/openapi/components/schemas/NotificationRequestInvite.yaml b/openapi/components/schemas/NotificationRequestInvite.yaml new file mode 100644 index 00000000..c24cf817 --- /dev/null +++ b/openapi/components/schemas/NotificationRequestInvite.yaml @@ -0,0 +1,18 @@ +title: NotificationRequestInvite +type: object +properties: + details: + type: string + description: A JSON-encoded string. + contentMediaType: application/json + contentSchema: + $ref: ./NotificationDetailRequestInvite.yaml + x-vrchat-double-encoding-type: NotificationDetailRequestInvite + type: + type: string + const: requestInvite +required: + - details + - type +allOf: + - $ref: ./NotificationBase.yaml diff --git a/openapi/components/schemas/NotificationRequestInviteResponse.yaml b/openapi/components/schemas/NotificationRequestInviteResponse.yaml new file mode 100644 index 00000000..c11f7c47 --- /dev/null +++ b/openapi/components/schemas/NotificationRequestInviteResponse.yaml @@ -0,0 +1,18 @@ +title: NotificationRequestInviteResponse +type: object +properties: + details: + type: string + description: A JSON-encoded string. + contentMediaType: application/json + contentSchema: + $ref: ./NotificationDetailRequestInviteResponse.yaml + x-vrchat-double-encoding-type: NotificationDetailRequestInviteResponse + type: + type: string + const: requestInviteResponse +required: + - details + - type +allOf: + - $ref: ./NotificationBase.yaml diff --git a/openapi/components/schemas/NotificationUnknown.yaml b/openapi/components/schemas/NotificationUnknown.yaml new file mode 100644 index 00000000..7eee80a3 --- /dev/null +++ b/openapi/components/schemas/NotificationUnknown.yaml @@ -0,0 +1,24 @@ +title: NotificationUnknown +type: object +description: A notification whose `type` has no schema of its own. +properties: + details: + type: string + description: A JSON-encoded string. + type: + type: string + not: + enum: + - boop + - friendRequest + - invite + - inviteResponse + - message + - requestInvite + - requestInviteResponse + - votetokick +required: + - details + - type +allOf: + - $ref: ./NotificationBase.yaml diff --git a/openapi/components/schemas/NotificationVoteToKick.yaml b/openapi/components/schemas/NotificationVoteToKick.yaml new file mode 100644 index 00000000..c1d20507 --- /dev/null +++ b/openapi/components/schemas/NotificationVoteToKick.yaml @@ -0,0 +1,18 @@ +title: NotificationVoteToKick +type: object +properties: + details: + type: string + description: A JSON-encoded string. + contentMediaType: application/json + contentSchema: + $ref: ./NotificationDetailVoteToKick.yaml + x-vrchat-double-encoding-type: NotificationDetailVoteToKick + type: + type: string + const: votetokick +required: + - details + - type +allOf: + - $ref: ./NotificationBase.yaml diff --git a/openapi/components/schemas/WebsocketClearNotification.yaml b/openapi/components/schemas/WebsocketClearNotification.yaml new file mode 100644 index 00000000..940e56d5 --- /dev/null +++ b/openapi/components/schemas/WebsocketClearNotification.yaml @@ -0,0 +1,8 @@ +title: WebsocketClearNotification +type: object +properties: + type: + type: string + const: clear-notification +required: + - type diff --git a/openapi/components/schemas/WebsocketContentRefresh.yaml b/openapi/components/schemas/WebsocketContentRefresh.yaml new file mode 100644 index 00000000..968f5dee --- /dev/null +++ b/openapi/components/schemas/WebsocketContentRefresh.yaml @@ -0,0 +1,21 @@ +title: WebsocketContentRefresh +type: object +properties: + actionType: + $ref: ./WebsocketContentRefreshActionType.yaml + contentType: + $ref: ./WebsocketContentRefreshContentType.yaml + fileId: + $ref: ./FileID.yaml + itemId: + # TODO: is this correct? + $ref: ./InventoryTemplateID.yaml + itemType: + # TODO: is this correct? + $ref: ./InventoryItemType.yaml +required: + - actionType + - contentType + - fileId + - itemId + - itemType diff --git a/openapi/components/schemas/WebsocketContentRefreshActionType.yaml b/openapi/components/schemas/WebsocketContentRefreshActionType.yaml new file mode 100644 index 00000000..6a8812c1 --- /dev/null +++ b/openapi/components/schemas/WebsocketContentRefreshActionType.yaml @@ -0,0 +1,9 @@ +title: WebsocketContentRefreshActionType +type: string +enum: + - add + - created + - delete + - deleted +examples: + - created diff --git a/openapi/components/schemas/WebsocketContentRefreshContentType.yaml b/openapi/components/schemas/WebsocketContentRefreshContentType.yaml new file mode 100644 index 00000000..a9ca170b --- /dev/null +++ b/openapi/components/schemas/WebsocketContentRefreshContentType.yaml @@ -0,0 +1,3 @@ +title: WebsocketContentRefreshContentType +type: string +# Todo: How to type this, since this is technically a non-exhaustive enum? diff --git a/openapi/components/schemas/WebsocketContentRefreshEncoded.yaml b/openapi/components/schemas/WebsocketContentRefreshEncoded.yaml new file mode 100644 index 00000000..50d1b17a --- /dev/null +++ b/openapi/components/schemas/WebsocketContentRefreshEncoded.yaml @@ -0,0 +1,15 @@ +title: WebsocketContentRefreshEncoded +type: object +properties: + content: + type: string + contentMediaType: application/json + contentSchema: + $ref: ./WebsocketContentRefresh.yaml + x-vrchat-double-encoding-type: WebsocketContentRefresh + type: + type: string + const: content-refresh +required: + - content + - type diff --git a/openapi/components/schemas/WebsocketFriendActive.yaml b/openapi/components/schemas/WebsocketFriendActive.yaml new file mode 100644 index 00000000..294fc5d2 --- /dev/null +++ b/openapi/components/schemas/WebsocketFriendActive.yaml @@ -0,0 +1,13 @@ +title: WebsocketFriendActive +type: object +properties: + platform: + $ref: ./Platform.yaml + user: + $ref: ./User.yaml + userId: + $ref: ./UserID.yaml +required: + - platform + - user + - userId diff --git a/openapi/components/schemas/WebsocketFriendActiveEncoded.yaml b/openapi/components/schemas/WebsocketFriendActiveEncoded.yaml new file mode 100644 index 00000000..e76cac0b --- /dev/null +++ b/openapi/components/schemas/WebsocketFriendActiveEncoded.yaml @@ -0,0 +1,15 @@ +title: WebsocketFriendActiveEncoded +type: object +properties: + content: + type: string + contentMediaType: application/json + contentSchema: + $ref: ./WebsocketFriendActive.yaml + x-vrchat-double-encoding-type: WebsocketFriendActive + type: + type: string + const: friend-active +required: + - content + - type diff --git a/openapi/components/schemas/WebsocketFriendAdd.yaml b/openapi/components/schemas/WebsocketFriendAdd.yaml new file mode 100644 index 00000000..0703a2e7 --- /dev/null +++ b/openapi/components/schemas/WebsocketFriendAdd.yaml @@ -0,0 +1,10 @@ +title: WebsocketFriendAdd +type: object +properties: + user: + $ref: ./User.yaml + userId: + $ref: ./UserID.yaml +required: + - user + - userId diff --git a/openapi/components/schemas/WebsocketFriendAddEncoded.yaml b/openapi/components/schemas/WebsocketFriendAddEncoded.yaml new file mode 100644 index 00000000..0e592f43 --- /dev/null +++ b/openapi/components/schemas/WebsocketFriendAddEncoded.yaml @@ -0,0 +1,15 @@ +title: WebsocketFriendAddEncoded +type: object +properties: + content: + type: string + contentMediaType: application/json + contentSchema: + $ref: ./WebsocketFriendAdd.yaml + x-vrchat-double-encoding-type: WebsocketFriendAdd + type: + type: string + const: friend-add +required: + - content + - type diff --git a/openapi/components/schemas/WebsocketFriendDelete.yaml b/openapi/components/schemas/WebsocketFriendDelete.yaml new file mode 100644 index 00000000..d30c989b --- /dev/null +++ b/openapi/components/schemas/WebsocketFriendDelete.yaml @@ -0,0 +1,7 @@ +title: WebsocketFriendDelete +type: object +properties: + userId: + $ref: ./UserID.yaml +required: + - userId diff --git a/openapi/components/schemas/WebsocketFriendDeleteEncoded.yaml b/openapi/components/schemas/WebsocketFriendDeleteEncoded.yaml new file mode 100644 index 00000000..58420af2 --- /dev/null +++ b/openapi/components/schemas/WebsocketFriendDeleteEncoded.yaml @@ -0,0 +1,15 @@ +title: WebsocketFriendDeleteEncoded +type: object +properties: + content: + type: string + contentMediaType: application/json + contentSchema: + $ref: ./WebsocketFriendDelete.yaml + x-vrchat-double-encoding-type: WebsocketFriendDelete + type: + type: string + const: friend-delete +required: + - content + - type diff --git a/openapi/components/schemas/WebsocketFriendLocation.yaml b/openapi/components/schemas/WebsocketFriendLocation.yaml new file mode 100644 index 00000000..f052dfdd --- /dev/null +++ b/openapi/components/schemas/WebsocketFriendLocation.yaml @@ -0,0 +1,22 @@ +title: WebsocketFriendLocation +type: object +properties: + canRequestInvite: + type: boolean + location: + $ref: ./LocationID.yaml + travelingToLocation: + $ref: ./LocationID.yaml + user: + $ref: ./User.yaml + userId: + $ref: ./UserID.yaml + worldId: + $ref: ./WorldID.yaml +required: + - canRequestInvite + - location + - travelingToLocation + - user + - userId + - worldId diff --git a/openapi/components/schemas/WebsocketFriendLocationEncoded.yaml b/openapi/components/schemas/WebsocketFriendLocationEncoded.yaml new file mode 100644 index 00000000..c9b6c5a0 --- /dev/null +++ b/openapi/components/schemas/WebsocketFriendLocationEncoded.yaml @@ -0,0 +1,15 @@ +title: WebsocketFriendLocationEncoded +type: object +properties: + content: + type: string + contentMediaType: application/json + contentSchema: + $ref: ./WebsocketFriendLocation.yaml + x-vrchat-double-encoding-type: WebsocketFriendLocation + type: + type: string + const: friend-location +required: + - content + - type diff --git a/openapi/components/schemas/WebsocketFriendOffline.yaml b/openapi/components/schemas/WebsocketFriendOffline.yaml new file mode 100644 index 00000000..93a8c9d4 --- /dev/null +++ b/openapi/components/schemas/WebsocketFriendOffline.yaml @@ -0,0 +1,10 @@ +title: WebsocketFriendOffline +type: object +properties: + platform: + $ref: ./Platform.yaml + userId: + $ref: ./UserID.yaml +required: + - platform + - userId diff --git a/openapi/components/schemas/WebsocketFriendOfflineEncoded.yaml b/openapi/components/schemas/WebsocketFriendOfflineEncoded.yaml new file mode 100644 index 00000000..7fd3e2ce --- /dev/null +++ b/openapi/components/schemas/WebsocketFriendOfflineEncoded.yaml @@ -0,0 +1,15 @@ +title: WebsocketFriendOfflineEncoded +type: object +properties: + content: + type: string + contentMediaType: application/json + contentSchema: + $ref: ./WebsocketFriendOffline.yaml + x-vrchat-double-encoding-type: WebsocketFriendOffline + type: + type: string + const: friend-offline +required: + - content + - type diff --git a/openapi/components/schemas/WebsocketFriendOnline.yaml b/openapi/components/schemas/WebsocketFriendOnline.yaml new file mode 100644 index 00000000..9f51e998 --- /dev/null +++ b/openapi/components/schemas/WebsocketFriendOnline.yaml @@ -0,0 +1,16 @@ +title: WebsocketFriendOnline +type: object +properties: + canRequestInvite: + type: boolean + location: + $ref: ./LocationID.yaml + platform: + $ref: ./Platform.yaml + userId: + $ref: ./UserID.yaml +required: + - canRequestInvite + - location + - platform + - userId diff --git a/openapi/components/schemas/WebsocketFriendOnlineEncoded.yaml b/openapi/components/schemas/WebsocketFriendOnlineEncoded.yaml new file mode 100644 index 00000000..b7cbf79c --- /dev/null +++ b/openapi/components/schemas/WebsocketFriendOnlineEncoded.yaml @@ -0,0 +1,15 @@ +title: WebsocketFriendOnlineEncoded +type: object +properties: + content: + type: string + contentMediaType: application/json + contentSchema: + $ref: ./WebsocketFriendOnline.yaml + x-vrchat-double-encoding-type: WebsocketFriendOnline + type: + type: string + const: friend-online +required: + - content + - type diff --git a/openapi/components/schemas/WebsocketFriendUpdate.yaml b/openapi/components/schemas/WebsocketFriendUpdate.yaml new file mode 100644 index 00000000..b6e6b8e4 --- /dev/null +++ b/openapi/components/schemas/WebsocketFriendUpdate.yaml @@ -0,0 +1,10 @@ +title: WebsocketFriendUpdate +type: object +properties: + user: + $ref: ./User.yaml + userId: + $ref: ./UserID.yaml +required: + - user + - userId diff --git a/openapi/components/schemas/WebsocketFriendUpdateEncoded.yaml b/openapi/components/schemas/WebsocketFriendUpdateEncoded.yaml new file mode 100644 index 00000000..675d8505 --- /dev/null +++ b/openapi/components/schemas/WebsocketFriendUpdateEncoded.yaml @@ -0,0 +1,15 @@ +title: WebsocketFriendUpdateEncoded +type: object +properties: + content: + type: string + contentMediaType: application/json + contentSchema: + $ref: ./WebsocketFriendUpdate.yaml + x-vrchat-double-encoding-type: WebsocketFriendUpdate + type: + type: string + const: friend-update +required: + - content + - type diff --git a/openapi/components/schemas/WebsocketGroupJoined.yaml b/openapi/components/schemas/WebsocketGroupJoined.yaml new file mode 100644 index 00000000..2014e644 --- /dev/null +++ b/openapi/components/schemas/WebsocketGroupJoined.yaml @@ -0,0 +1,7 @@ +title: WebsocketGroupJoined +type: object +properties: + groupId: + $ref: ./GroupID.yaml +required: + - groupId diff --git a/openapi/components/schemas/WebsocketGroupJoinedEncoded.yaml b/openapi/components/schemas/WebsocketGroupJoinedEncoded.yaml new file mode 100644 index 00000000..e98666f7 --- /dev/null +++ b/openapi/components/schemas/WebsocketGroupJoinedEncoded.yaml @@ -0,0 +1,15 @@ +title: WebsocketGroupJoinedEncoded +type: object +properties: + content: + type: string + contentMediaType: application/json + contentSchema: + $ref: ./WebsocketGroupJoined.yaml + x-vrchat-double-encoding-type: WebsocketGroupJoined + type: + type: string + const: group-joined +required: + - content + - type diff --git a/openapi/components/schemas/WebsocketGroupLeft.yaml b/openapi/components/schemas/WebsocketGroupLeft.yaml new file mode 100644 index 00000000..2d1613f3 --- /dev/null +++ b/openapi/components/schemas/WebsocketGroupLeft.yaml @@ -0,0 +1,7 @@ +title: WebsocketGroupLeft +type: object +properties: + groupId: + $ref: ./GroupID.yaml +required: + - groupId diff --git a/openapi/components/schemas/WebsocketGroupLeftEncoded.yaml b/openapi/components/schemas/WebsocketGroupLeftEncoded.yaml new file mode 100644 index 00000000..7b3b2d7c --- /dev/null +++ b/openapi/components/schemas/WebsocketGroupLeftEncoded.yaml @@ -0,0 +1,15 @@ +title: WebsocketGroupLeftEncoded +type: object +properties: + content: + type: string + contentMediaType: application/json + contentSchema: + $ref: ./WebsocketGroupLeft.yaml + x-vrchat-double-encoding-type: WebsocketGroupLeft + type: + type: string + const: group-left +required: + - content + - type diff --git a/openapi/components/schemas/WebsocketGroupMemberUpdated.yaml b/openapi/components/schemas/WebsocketGroupMemberUpdated.yaml new file mode 100644 index 00000000..e9cea6bf --- /dev/null +++ b/openapi/components/schemas/WebsocketGroupMemberUpdated.yaml @@ -0,0 +1,7 @@ +title: WebsocketGroupMemberUpdated +type: object +properties: + member: + $ref: ./GroupMemberLimitedUser.yaml +required: + - member diff --git a/openapi/components/schemas/WebsocketGroupMemberUpdatedEncoded.yaml b/openapi/components/schemas/WebsocketGroupMemberUpdatedEncoded.yaml new file mode 100644 index 00000000..3ddc2058 --- /dev/null +++ b/openapi/components/schemas/WebsocketGroupMemberUpdatedEncoded.yaml @@ -0,0 +1,15 @@ +title: WebsocketGroupMemberUpdatedEncoded +type: object +properties: + content: + type: string + contentMediaType: application/json + contentSchema: + $ref: ./WebsocketGroupMemberUpdated.yaml + x-vrchat-double-encoding-type: WebsocketGroupMemberUpdated + type: + type: string + const: group-member-updated +required: + - content + - type diff --git a/openapi/components/schemas/WebsocketGroupRoleUpdated.yaml b/openapi/components/schemas/WebsocketGroupRoleUpdated.yaml new file mode 100644 index 00000000..bdfa8302 --- /dev/null +++ b/openapi/components/schemas/WebsocketGroupRoleUpdated.yaml @@ -0,0 +1,7 @@ +title: WebsocketGroupRoleUpdated +type: object +properties: + role: + $ref: ./GroupRole.yaml +required: + - role diff --git a/openapi/components/schemas/WebsocketGroupRoleUpdatedEncoded.yaml b/openapi/components/schemas/WebsocketGroupRoleUpdatedEncoded.yaml new file mode 100644 index 00000000..69940026 --- /dev/null +++ b/openapi/components/schemas/WebsocketGroupRoleUpdatedEncoded.yaml @@ -0,0 +1,15 @@ +title: WebsocketGroupRoleUpdatedEncoded +type: object +properties: + content: + type: string + contentMediaType: application/json + contentSchema: + $ref: ./WebsocketGroupRoleUpdated.yaml + x-vrchat-double-encoding-type: WebsocketGroupRoleUpdated + type: + type: string + const: group-role-updated +required: + - content + - type diff --git a/openapi/components/schemas/WebsocketHideNotification.yaml b/openapi/components/schemas/WebsocketHideNotification.yaml new file mode 100644 index 00000000..5f881a79 --- /dev/null +++ b/openapi/components/schemas/WebsocketHideNotification.yaml @@ -0,0 +1,11 @@ +title: WebsocketHideNotification +type: object +properties: + content: + $ref: ./NotificationID.yaml + type: + type: string + const: hide-notification +required: + - content + - type diff --git a/openapi/components/schemas/WebsocketInstanceQueueJoined.yaml b/openapi/components/schemas/WebsocketInstanceQueueJoined.yaml new file mode 100644 index 00000000..a8c96408 --- /dev/null +++ b/openapi/components/schemas/WebsocketInstanceQueueJoined.yaml @@ -0,0 +1,10 @@ +title: WebsocketInstanceQueueJoined +type: object +properties: + location: + $ref: ./LocationID.yaml + position: + type: integer +required: + - location + - position diff --git a/openapi/components/schemas/WebsocketInstanceQueueJoinedEncoded.yaml b/openapi/components/schemas/WebsocketInstanceQueueJoinedEncoded.yaml new file mode 100644 index 00000000..609faa95 --- /dev/null +++ b/openapi/components/schemas/WebsocketInstanceQueueJoinedEncoded.yaml @@ -0,0 +1,15 @@ +title: WebsocketInstanceQueueJoinedEncoded +type: object +properties: + content: + type: string + contentMediaType: application/json + contentSchema: + $ref: ./WebsocketInstanceQueueJoined.yaml + x-vrchat-double-encoding-type: WebsocketInstanceQueueJoined + type: + type: string + const: instance-queue-joined +required: + - content + - type diff --git a/openapi/components/schemas/WebsocketInstanceQueueReady.yaml b/openapi/components/schemas/WebsocketInstanceQueueReady.yaml new file mode 100644 index 00000000..d2647997 --- /dev/null +++ b/openapi/components/schemas/WebsocketInstanceQueueReady.yaml @@ -0,0 +1,11 @@ +title: WebsocketInstanceQueueReady +type: object +properties: + expiry: + type: string + format: date-time + location: + $ref: ./LocationID.yaml +required: + - expiry + - location diff --git a/openapi/components/schemas/WebsocketInstanceQueueReadyEncoded.yaml b/openapi/components/schemas/WebsocketInstanceQueueReadyEncoded.yaml new file mode 100644 index 00000000..91909f8c --- /dev/null +++ b/openapi/components/schemas/WebsocketInstanceQueueReadyEncoded.yaml @@ -0,0 +1,15 @@ +title: WebsocketInstanceQueueReadyEncoded +type: object +properties: + content: + type: string + contentMediaType: application/json + contentSchema: + $ref: ./WebsocketInstanceQueueReady.yaml + x-vrchat-double-encoding-type: WebsocketInstanceQueueReady + type: + type: string + const: instance-queue-ready +required: + - content + - type diff --git a/openapi/components/schemas/WebsocketMessage.yaml b/openapi/components/schemas/WebsocketMessage.yaml new file mode 100644 index 00000000..7efad219 --- /dev/null +++ b/openapi/components/schemas/WebsocketMessage.yaml @@ -0,0 +1,60 @@ +title: WebsocketMessage +description: A message received over the websocket. The shape of `content` depends on `type`. +discriminator: + defaultMapping: ./WebsocketMessageUnknown.yaml + mapping: + clear-notification: ./WebsocketClearNotification.yaml + content-refresh: ./WebsocketContentRefreshEncoded.yaml + friend-active: ./WebsocketFriendActiveEncoded.yaml + friend-add: ./WebsocketFriendAddEncoded.yaml + friend-delete: ./WebsocketFriendDeleteEncoded.yaml + friend-location: ./WebsocketFriendLocationEncoded.yaml + friend-offline: ./WebsocketFriendOfflineEncoded.yaml + friend-online: ./WebsocketFriendOnlineEncoded.yaml + friend-update: ./WebsocketFriendUpdateEncoded.yaml + group-joined: ./WebsocketGroupJoinedEncoded.yaml + group-left: ./WebsocketGroupLeftEncoded.yaml + group-member-updated: ./WebsocketGroupMemberUpdatedEncoded.yaml + group-role-updated: ./WebsocketGroupRoleUpdatedEncoded.yaml + hide-notification: ./WebsocketHideNotification.yaml + instance-queue-joined: ./WebsocketInstanceQueueJoinedEncoded.yaml + instance-queue-ready: ./WebsocketInstanceQueueReadyEncoded.yaml + notification: ./WebsocketNotificationEncoded.yaml + notification-v2: ./WebsocketNotificationV2Encoded.yaml + notification-v2-delete: ./WebsocketNotificationV2DeleteEncoded.yaml + notification-v2-update: ./WebsocketNotificationV2UpdateEncoded.yaml + response-notification: ./WebsocketResponseNotificationEncoded.yaml + see-notification: ./WebsocketSeeNotification.yaml + user-badge-assigned: ./WebsocketUserBadgeAssignedEncoded.yaml + user-badge-unassigned: ./WebsocketUserBadgeUnassignedEncoded.yaml + user-location: ./WebsocketUserLocationEncoded.yaml + user-update: ./WebsocketUserUpdateEncoded.yaml + propertyName: type +oneOf: + - $ref: ./WebsocketClearNotification.yaml + - $ref: ./WebsocketContentRefreshEncoded.yaml + - $ref: ./WebsocketFriendActiveEncoded.yaml + - $ref: ./WebsocketFriendAddEncoded.yaml + - $ref: ./WebsocketFriendDeleteEncoded.yaml + - $ref: ./WebsocketFriendLocationEncoded.yaml + - $ref: ./WebsocketFriendOfflineEncoded.yaml + - $ref: ./WebsocketFriendOnlineEncoded.yaml + - $ref: ./WebsocketFriendUpdateEncoded.yaml + - $ref: ./WebsocketGroupJoinedEncoded.yaml + - $ref: ./WebsocketGroupLeftEncoded.yaml + - $ref: ./WebsocketGroupMemberUpdatedEncoded.yaml + - $ref: ./WebsocketGroupRoleUpdatedEncoded.yaml + - $ref: ./WebsocketHideNotification.yaml + - $ref: ./WebsocketInstanceQueueJoinedEncoded.yaml + - $ref: ./WebsocketInstanceQueueReadyEncoded.yaml + - $ref: ./WebsocketNotificationEncoded.yaml + - $ref: ./WebsocketNotificationV2Encoded.yaml + - $ref: ./WebsocketNotificationV2DeleteEncoded.yaml + - $ref: ./WebsocketNotificationV2UpdateEncoded.yaml + - $ref: ./WebsocketResponseNotificationEncoded.yaml + - $ref: ./WebsocketSeeNotification.yaml + - $ref: ./WebsocketUserBadgeAssignedEncoded.yaml + - $ref: ./WebsocketUserBadgeUnassignedEncoded.yaml + - $ref: ./WebsocketUserLocationEncoded.yaml + - $ref: ./WebsocketUserUpdateEncoded.yaml + - $ref: ./WebsocketMessageUnknown.yaml diff --git a/openapi/components/schemas/WebsocketMessageUnknown.yaml b/openapi/components/schemas/WebsocketMessageUnknown.yaml new file mode 100644 index 00000000..e46da4ec --- /dev/null +++ b/openapi/components/schemas/WebsocketMessageUnknown.yaml @@ -0,0 +1,37 @@ +title: WebsocketMessageUnknown +type: object +description: A websocket message whose `type` has no schema of its own. +properties: + content: {} + type: + type: string + not: + enum: + - clear-notification + - content-refresh + - friend-active + - friend-add + - friend-delete + - friend-location + - friend-offline + - friend-online + - friend-update + - group-joined + - group-left + - group-member-updated + - group-role-updated + - hide-notification + - instance-queue-joined + - instance-queue-ready + - notification + - notification-v2 + - notification-v2-delete + - notification-v2-update + - response-notification + - see-notification + - user-badge-assigned + - user-badge-unassigned + - user-location + - user-update +required: + - type diff --git a/openapi/components/schemas/WebsocketNotification.yaml b/openapi/components/schemas/WebsocketNotification.yaml new file mode 100644 index 00000000..2a7d9edf --- /dev/null +++ b/openapi/components/schemas/WebsocketNotification.yaml @@ -0,0 +1,20 @@ +title: WebsocketNotification +description: A notification delivered over the websocket. The shape of `details` depends on `type`. +discriminator: + defaultMapping: ./WebsocketNotificationUnknown.yaml + mapping: + boop: ./WebsocketNotificationDetailBoop.yaml + invite: ./WebsocketNotificationDetailInvite.yaml + invite-response: ./WebsocketNotificationDetailInviteResponse.yaml + request-invite: ./WebsocketNotificationDetailRequestInvite.yaml + request-invite-response: ./WebsocketNotificationDetailRequestInviteResponse.yaml + vote-to-kick: ./WebsocketNotificationDetailVoteToKick.yaml + propertyName: type +oneOf: + - $ref: ./WebsocketNotificationDetailBoop.yaml + - $ref: ./WebsocketNotificationDetailInvite.yaml + - $ref: ./WebsocketNotificationDetailInviteResponse.yaml + - $ref: ./WebsocketNotificationDetailRequestInvite.yaml + - $ref: ./WebsocketNotificationDetailRequestInviteResponse.yaml + - $ref: ./WebsocketNotificationDetailVoteToKick.yaml + - $ref: ./WebsocketNotificationUnknown.yaml diff --git a/openapi/components/schemas/WebsocketNotificationDetailBoop.yaml b/openapi/components/schemas/WebsocketNotificationDetailBoop.yaml new file mode 100644 index 00000000..372e2a6d --- /dev/null +++ b/openapi/components/schemas/WebsocketNotificationDetailBoop.yaml @@ -0,0 +1,13 @@ +title: WebsocketNotificationDetailBoop +type: object +properties: + details: + $ref: ./NotificationDetailBoop.yaml + type: + type: string + const: boop +required: + - details + - type +allOf: + - $ref: ./NotificationBase.yaml diff --git a/openapi/components/schemas/WebsocketNotificationDetailInvite.yaml b/openapi/components/schemas/WebsocketNotificationDetailInvite.yaml new file mode 100644 index 00000000..ca8519c5 --- /dev/null +++ b/openapi/components/schemas/WebsocketNotificationDetailInvite.yaml @@ -0,0 +1,13 @@ +title: WebsocketNotificationDetailInvite +type: object +properties: + details: + $ref: ./NotificationDetailInvite.yaml + type: + type: string + const: invite +required: + - details + - type +allOf: + - $ref: ./NotificationBase.yaml diff --git a/openapi/components/schemas/WebsocketNotificationDetailInviteResponse.yaml b/openapi/components/schemas/WebsocketNotificationDetailInviteResponse.yaml new file mode 100644 index 00000000..7bec4420 --- /dev/null +++ b/openapi/components/schemas/WebsocketNotificationDetailInviteResponse.yaml @@ -0,0 +1,13 @@ +title: WebsocketNotificationDetailInviteResponse +type: object +properties: + details: + $ref: ./NotificationDetailInviteResponse.yaml + type: + type: string + const: invite-response +required: + - details + - type +allOf: + - $ref: ./NotificationBase.yaml diff --git a/openapi/components/schemas/WebsocketNotificationDetailRequestInvite.yaml b/openapi/components/schemas/WebsocketNotificationDetailRequestInvite.yaml new file mode 100644 index 00000000..739b2bb3 --- /dev/null +++ b/openapi/components/schemas/WebsocketNotificationDetailRequestInvite.yaml @@ -0,0 +1,13 @@ +title: WebsocketNotificationDetailRequestInvite +type: object +properties: + details: + $ref: ./NotificationDetailRequestInvite.yaml + type: + type: string + const: request-invite +required: + - details + - type +allOf: + - $ref: ./NotificationBase.yaml diff --git a/openapi/components/schemas/WebsocketNotificationDetailRequestInviteResponse.yaml b/openapi/components/schemas/WebsocketNotificationDetailRequestInviteResponse.yaml new file mode 100644 index 00000000..2a4759bc --- /dev/null +++ b/openapi/components/schemas/WebsocketNotificationDetailRequestInviteResponse.yaml @@ -0,0 +1,13 @@ +title: WebsocketNotificationDetailRequestInviteResponse +type: object +properties: + details: + $ref: ./NotificationDetailRequestInviteResponse.yaml + type: + type: string + const: request-invite-response +required: + - details + - type +allOf: + - $ref: ./NotificationBase.yaml diff --git a/openapi/components/schemas/WebsocketNotificationDetailVoteToKick.yaml b/openapi/components/schemas/WebsocketNotificationDetailVoteToKick.yaml new file mode 100644 index 00000000..29d4b144 --- /dev/null +++ b/openapi/components/schemas/WebsocketNotificationDetailVoteToKick.yaml @@ -0,0 +1,13 @@ +title: WebsocketNotificationDetailVoteToKick +type: object +properties: + details: + $ref: ./NotificationDetailVoteToKick.yaml + type: + type: string + const: vote-to-kick +required: + - details + - type +allOf: + - $ref: ./NotificationBase.yaml diff --git a/openapi/components/schemas/WebsocketNotificationEncoded.yaml b/openapi/components/schemas/WebsocketNotificationEncoded.yaml new file mode 100644 index 00000000..a0ef1917 --- /dev/null +++ b/openapi/components/schemas/WebsocketNotificationEncoded.yaml @@ -0,0 +1,15 @@ +title: WebsocketNotificationEncoded +type: object +properties: + content: + type: string + contentMediaType: application/json + contentSchema: + $ref: ./WebsocketNotification.yaml + x-vrchat-double-encoding-type: WebsocketNotification + type: + type: string + const: notification +required: + - content + - type diff --git a/openapi/components/schemas/WebsocketNotificationUnknown.yaml b/openapi/components/schemas/WebsocketNotificationUnknown.yaml new file mode 100644 index 00000000..db0ba25a --- /dev/null +++ b/openapi/components/schemas/WebsocketNotificationUnknown.yaml @@ -0,0 +1,19 @@ +title: WebsocketNotificationUnknown +type: object +description: A notification whose `type` has no schema of its own. +properties: + details: {} + type: + type: string + not: + enum: + - boop + - invite + - invite-response + - request-invite + - request-invite-response + - vote-to-kick +required: + - type +allOf: + - $ref: ./NotificationBase.yaml diff --git a/openapi/components/schemas/WebsocketNotificationV2Delete.yaml b/openapi/components/schemas/WebsocketNotificationV2Delete.yaml new file mode 100644 index 00000000..b4b4bee8 --- /dev/null +++ b/openapi/components/schemas/WebsocketNotificationV2Delete.yaml @@ -0,0 +1,10 @@ +title: WebsocketNotificationV2Delete +type: object +properties: + id: + $ref: ./NotificationID.yaml + version: + type: integer +required: + - id + - version diff --git a/openapi/components/schemas/WebsocketNotificationV2DeleteEncoded.yaml b/openapi/components/schemas/WebsocketNotificationV2DeleteEncoded.yaml new file mode 100644 index 00000000..75d77435 --- /dev/null +++ b/openapi/components/schemas/WebsocketNotificationV2DeleteEncoded.yaml @@ -0,0 +1,15 @@ +title: WebsocketNotificationV2DeleteEncoded +type: object +properties: + content: + type: string + contentMediaType: application/json + contentSchema: + $ref: ./WebsocketNotificationV2Delete.yaml + x-vrchat-double-encoding-type: WebsocketNotificationV2Delete + type: + type: string + const: notification-v2-delete +required: + - content + - type diff --git a/openapi/components/schemas/WebsocketNotificationV2Encoded.yaml b/openapi/components/schemas/WebsocketNotificationV2Encoded.yaml new file mode 100644 index 00000000..b891fa92 --- /dev/null +++ b/openapi/components/schemas/WebsocketNotificationV2Encoded.yaml @@ -0,0 +1,15 @@ +title: NotificationV2Encoded +type: object +properties: + content: + type: string + contentMediaType: application/json + contentSchema: + $ref: ./NotificationV2.yaml + x-vrchat-double-encoding-type: NotificationV2 + type: + type: string + const: notification-v2 +required: + - content + - type diff --git a/openapi/components/schemas/WebsocketNotificationV2Update.yaml b/openapi/components/schemas/WebsocketNotificationV2Update.yaml new file mode 100644 index 00000000..173402b0 --- /dev/null +++ b/openapi/components/schemas/WebsocketNotificationV2Update.yaml @@ -0,0 +1,15 @@ +title: WebsocketNotificationV2Update +type: object +properties: + id: + $ref: ./NotificationID.yaml + updates: + title: WebsocketNotificationV2Updates + # Todo: type this better + type: object + version: + type: integer +required: + - id + - updates + - version diff --git a/openapi/components/schemas/WebsocketNotificationV2UpdateEncoded.yaml b/openapi/components/schemas/WebsocketNotificationV2UpdateEncoded.yaml new file mode 100644 index 00000000..f7f41b3c --- /dev/null +++ b/openapi/components/schemas/WebsocketNotificationV2UpdateEncoded.yaml @@ -0,0 +1,15 @@ +title: WebsocketNotificationV2UpdateEncoded +type: object +properties: + content: + type: string + contentMediaType: application/json + contentSchema: + $ref: ./WebsocketNotificationV2Update.yaml + x-vrchat-double-encoding-type: WebsocketNotificationV2Update + type: + type: string + const: notification-v2-update +required: + - content + - type diff --git a/openapi/components/schemas/WebsocketResponseNotification.yaml b/openapi/components/schemas/WebsocketResponseNotification.yaml new file mode 100644 index 00000000..c15c648f --- /dev/null +++ b/openapi/components/schemas/WebsocketResponseNotification.yaml @@ -0,0 +1,13 @@ +title: WebsocketResponseNotification +type: object +properties: + notificationId: + type: string + receiverId: + $ref: ./UserID.yaml + responseId: + $ref: ./UserID.yaml +required: + - notificationId + - receiverId + - responseId diff --git a/openapi/components/schemas/WebsocketResponseNotificationEncoded.yaml b/openapi/components/schemas/WebsocketResponseNotificationEncoded.yaml new file mode 100644 index 00000000..ede55c07 --- /dev/null +++ b/openapi/components/schemas/WebsocketResponseNotificationEncoded.yaml @@ -0,0 +1,15 @@ +title: WebsocketResponseNotificationEncoded +type: object +properties: + content: + type: string + contentMediaType: application/json + contentSchema: + $ref: ./WebsocketResponseNotification.yaml + x-vrchat-double-encoding-type: WebsocketResponseNotification + type: + type: string + const: response-notification +required: + - content + - type diff --git a/openapi/components/schemas/WebsocketSeeNotification.yaml b/openapi/components/schemas/WebsocketSeeNotification.yaml new file mode 100644 index 00000000..ad6bf17a --- /dev/null +++ b/openapi/components/schemas/WebsocketSeeNotification.yaml @@ -0,0 +1,11 @@ +title: WebsocketSeeNotification +type: object +properties: + content: + $ref: ./NotificationID.yaml + type: + type: string + const: see-notification +required: + - content + - type diff --git a/openapi/components/schemas/WebsocketUserBadgeAssigned.yaml b/openapi/components/schemas/WebsocketUserBadgeAssigned.yaml new file mode 100644 index 00000000..ee4b61ea --- /dev/null +++ b/openapi/components/schemas/WebsocketUserBadgeAssigned.yaml @@ -0,0 +1,7 @@ +title: WebsocketUserBadgeAssigned +type: object +properties: + badge: + $ref: ./Badge.yaml +required: + - badge diff --git a/openapi/components/schemas/WebsocketUserBadgeAssignedEncoded.yaml b/openapi/components/schemas/WebsocketUserBadgeAssignedEncoded.yaml new file mode 100644 index 00000000..7bc628f8 --- /dev/null +++ b/openapi/components/schemas/WebsocketUserBadgeAssignedEncoded.yaml @@ -0,0 +1,15 @@ +title: WebsocketUserBadgeAssignedEncoded +type: object +properties: + content: + type: string + contentMediaType: application/json + contentSchema: + $ref: ./WebsocketUserBadgeAssigned.yaml + x-vrchat-double-encoding-type: WebsocketUserBadgeAssigned + type: + type: string + const: user-badge-assigned +required: + - content + - type diff --git a/openapi/components/schemas/WebsocketUserBadgeUnassigned.yaml b/openapi/components/schemas/WebsocketUserBadgeUnassigned.yaml new file mode 100644 index 00000000..d95332a7 --- /dev/null +++ b/openapi/components/schemas/WebsocketUserBadgeUnassigned.yaml @@ -0,0 +1,7 @@ +title: WebsocketUserBadgeUnassigned +type: object +properties: + badgeId: + $ref: ./BadgeID.yaml +required: + - badgeId diff --git a/openapi/components/schemas/WebsocketUserBadgeUnassignedEncoded.yaml b/openapi/components/schemas/WebsocketUserBadgeUnassignedEncoded.yaml new file mode 100644 index 00000000..38f81dad --- /dev/null +++ b/openapi/components/schemas/WebsocketUserBadgeUnassignedEncoded.yaml @@ -0,0 +1,15 @@ +title: WebsocketUserBadgeUnassignedEncoded +type: object +properties: + content: + type: string + contentMediaType: application/json + contentSchema: + $ref: ./WebsocketUserBadgeUnassigned.yaml + x-vrchat-double-encoding-type: WebsocketUserBadgeUnassigned + type: + type: string + const: user-badge-unassigned +required: + - content + - type diff --git a/openapi/components/schemas/WebsocketUserLocation.yaml b/openapi/components/schemas/WebsocketUserLocation.yaml new file mode 100644 index 00000000..732dfeb6 --- /dev/null +++ b/openapi/components/schemas/WebsocketUserLocation.yaml @@ -0,0 +1,19 @@ +title: WebsocketUserLocation +type: object +properties: + instance: + $ref: ./InstanceID.yaml + location: + $ref: ./LocationID.yaml + travelingToLocation: + $ref: ./LocationID.yaml + user: + $ref: ./User.yaml + userId: + $ref: ./UserID.yaml +required: + - instance + - location + - travelingToLocation + - user + - userId diff --git a/openapi/components/schemas/WebsocketUserLocationEncoded.yaml b/openapi/components/schemas/WebsocketUserLocationEncoded.yaml new file mode 100644 index 00000000..6beb5c98 --- /dev/null +++ b/openapi/components/schemas/WebsocketUserLocationEncoded.yaml @@ -0,0 +1,15 @@ +title: WebsocketUserLocationEncoded +type: object +properties: + content: + type: string + contentMediaType: application/json + contentSchema: + $ref: ./WebsocketUserLocation.yaml + x-vrchat-double-encoding-type: WebsocketUserLocation + type: + type: string + const: user-location +required: + - content + - type diff --git a/openapi/components/schemas/WebsocketUserUpdate.yaml b/openapi/components/schemas/WebsocketUserUpdate.yaml new file mode 100644 index 00000000..50346146 --- /dev/null +++ b/openapi/components/schemas/WebsocketUserUpdate.yaml @@ -0,0 +1,10 @@ +title: WebsocketUserUpdate +type: object +properties: + user: + $ref: ./User.yaml + userId: + $ref: ./UserID.yaml +required: + - user + - userId diff --git a/openapi/components/schemas/WebsocketUserUpdateEncoded.yaml b/openapi/components/schemas/WebsocketUserUpdateEncoded.yaml new file mode 100644 index 00000000..bd9f869f --- /dev/null +++ b/openapi/components/schemas/WebsocketUserUpdateEncoded.yaml @@ -0,0 +1,15 @@ +title: WebsocketUserUpdateEncoded +type: object +properties: + content: + type: string + contentMediaType: application/json + contentSchema: + $ref: ./WebsocketUserUpdate.yaml + x-vrchat-double-encoding-type: WebsocketUserUpdate + type: + type: string + const: user-update +required: + - content + - type diff --git a/openapi/components/schemas/_index.yaml b/openapi/components/schemas/_index.yaml index dccdc0b0..709ff879 100644 --- a/openapi/components/schemas/_index.yaml +++ b/openapi/components/schemas/_index.yaml @@ -1,12 +1,155 @@ +NotificationBoop: + $ref: ./NotificationBoop.yaml +NotificationDetailBoop: + $ref: ./NotificationDetailBoop.yaml +NotificationDetailFriendRequest: + $ref: ./NotificationDetailFriendRequest.yaml NotificationDetailInvite: $ref: ./NotificationDetailInvite.yaml NotificationDetailInviteResponse: $ref: ./NotificationDetailInviteResponse.yaml +NotificationDetailMessage: + $ref: ./NotificationDetailMessage.yaml NotificationDetailRequestInvite: $ref: ./NotificationDetailRequestInvite.yaml NotificationDetailRequestInviteResponse: $ref: ./NotificationDetailRequestInviteResponse.yaml NotificationDetailVoteToKick: $ref: ./NotificationDetailVoteToKick.yaml + +NotificationFriendRequest: + $ref: ./NotificationFriendRequest.yaml +NotificationInvite: + $ref: ./NotificationInvite.yaml +NotificationInviteResponse: + $ref: ./NotificationInviteResponse.yaml +NotificationMessage: + $ref: ./NotificationMessage.yaml +NotificationRequestInvite: + $ref: ./NotificationRequestInvite.yaml +NotificationRequestInviteResponse: + $ref: ./NotificationRequestInviteResponse.yaml +NotificationUnknown: + $ref: ./NotificationUnknown.yaml +NotificationV2: + $ref: ./NotificationV2.yaml +NotificationVoteToKick: + $ref: ./NotificationVoteToKick.yaml Unknown: $ref: ./Unknown.yaml + +WebsocketClearNotification: + $ref: ./WebsocketClearNotification.yaml +WebsocketContentRefresh: + $ref: ./WebsocketContentRefresh.yaml +WebsocketContentRefreshEncoded: + $ref: ./WebsocketContentRefreshEncoded.yaml +WebsocketFriendActive: + $ref: ./WebsocketFriendActive.yaml +WebsocketFriendActiveEncoded: + $ref: ./WebsocketFriendActiveEncoded.yaml +WebsocketFriendAdd: + $ref: ./WebsocketFriendAdd.yaml +WebsocketFriendAddEncoded: + $ref: ./WebsocketFriendAddEncoded.yaml +WebsocketFriendDelete: + $ref: ./WebsocketFriendDelete.yaml +WebsocketFriendDeleteEncoded: + $ref: ./WebsocketFriendDeleteEncoded.yaml +WebsocketFriendLocation: + $ref: ./WebsocketFriendLocation.yaml +WebsocketFriendLocationEncoded: + $ref: ./WebsocketFriendLocationEncoded.yaml +WebsocketFriendOffline: + $ref: ./WebsocketFriendOffline.yaml +WebsocketFriendOfflineEncoded: + $ref: ./WebsocketFriendOfflineEncoded.yaml +WebsocketFriendOnline: + $ref: ./WebsocketFriendOnline.yaml +WebsocketFriendOnlineEncoded: + $ref: ./WebsocketFriendOnlineEncoded.yaml +WebsocketFriendUpdate: + $ref: ./WebsocketFriendUpdate.yaml +WebsocketFriendUpdateEncoded: + $ref: ./WebsocketFriendUpdateEncoded.yaml +WebsocketGroupJoined: + $ref: ./WebsocketGroupJoined.yaml +WebsocketGroupJoinedEncoded: + $ref: ./WebsocketGroupJoinedEncoded.yaml +WebsocketGroupLeft: + $ref: ./WebsocketGroupLeft.yaml +WebsocketGroupLeftEncoded: + $ref: ./WebsocketGroupLeftEncoded.yaml +WebsocketGroupMemberUpdated: + $ref: ./WebsocketGroupMemberUpdated.yaml +WebsocketGroupMemberUpdatedEncoded: + $ref: ./WebsocketGroupMemberUpdatedEncoded.yaml +WebsocketGroupRoleUpdated: + $ref: ./WebsocketGroupRoleUpdated.yaml +WebsocketGroupRoleUpdatedEncoded: + $ref: ./WebsocketGroupRoleUpdatedEncoded.yaml +WebsocketHideNotification: + $ref: ./WebsocketHideNotification.yaml +WebsocketInstanceQueueJoined: + $ref: ./WebsocketInstanceQueueJoined.yaml +WebsocketInstanceQueueJoinedEncoded: + $ref: ./WebsocketInstanceQueueJoinedEncoded.yaml +WebsocketInstanceQueueReady: + $ref: ./WebsocketInstanceQueueReady.yaml +WebsocketInstanceQueueReadyEncoded: + $ref: ./WebsocketInstanceQueueReadyEncoded.yaml +WebsocketMessage: + $ref: ./WebsocketMessage.yaml +WebsocketMessageUnknown: + $ref: ./WebsocketMessageUnknown.yaml + +WebsocketNotification: + $ref: ./WebsocketNotification.yaml +WebsocketNotificationDetailBoop: + $ref: ./WebsocketNotificationDetailBoop.yaml +WebsocketNotificationDetailInvite: + $ref: ./WebsocketNotificationDetailInvite.yaml +WebsocketNotificationDetailInviteResponse: + $ref: ./WebsocketNotificationDetailInviteResponse.yaml +WebsocketNotificationDetailRequestInvite: + $ref: ./WebsocketNotificationDetailRequestInvite.yaml +WebsocketNotificationDetailRequestInviteResponse: + $ref: ./WebsocketNotificationDetailRequestInviteResponse.yaml +WebsocketNotificationDetailVoteToKick: + $ref: ./WebsocketNotificationDetailVoteToKick.yaml +WebsocketNotificationEncoded: + $ref: ./WebsocketNotificationEncoded.yaml +WebsocketNotificationUnknown: + $ref: ./WebsocketNotificationUnknown.yaml +WebsocketNotificationV2Delete: + $ref: ./WebsocketNotificationV2Delete.yaml +WebsocketNotificationV2DeleteEncoded: + $ref: ./WebsocketNotificationV2DeleteEncoded.yaml +WebsocketNotificationV2Encoded: + $ref: ./WebsocketNotificationV2Encoded.yaml +WebsocketNotificationV2Update: + $ref: ./WebsocketNotificationV2Update.yaml +WebsocketNotificationV2UpdateEncoded: + $ref: ./WebsocketNotificationV2UpdateEncoded.yaml +WebsocketResponseNotification: + $ref: ./WebsocketResponseNotification.yaml +WebsocketResponseNotificationEncoded: + $ref: ./WebsocketResponseNotificationEncoded.yaml +WebsocketSeeNotification: + $ref: ./WebsocketSeeNotification.yaml +WebsocketUserBadgeAssigned: + $ref: ./WebsocketUserBadgeAssigned.yaml +WebsocketUserBadgeAssignedEncoded: + $ref: ./WebsocketUserBadgeAssignedEncoded.yaml +WebsocketUserBadgeUnassigned: + $ref: ./WebsocketUserBadgeUnassigned.yaml +WebsocketUserBadgeUnassignedEncoded: + $ref: ./WebsocketUserBadgeUnassignedEncoded.yaml +WebsocketUserLocation: + $ref: ./WebsocketUserLocation.yaml +WebsocketUserLocationEncoded: + $ref: ./WebsocketUserLocationEncoded.yaml +WebsocketUserUpdate: + $ref: ./WebsocketUserUpdate.yaml +WebsocketUserUpdateEncoded: + $ref: ./WebsocketUserUpdateEncoded.yaml