summary refs log tree commit diff
path: root/assets/openapi.json
diff options
context:
space:
mode:
Diffstat (limited to 'assets/openapi.json')
-rw-r--r--assets/openapi.json1150
1 files changed, 661 insertions, 489 deletions
diff --git a/assets/openapi.json b/assets/openapi.json

index 0cd1543b..d863aed7 100644 --- a/assets/openapi.json +++ b/assets/openapi.json
@@ -1544,18 +1544,202 @@ "shop_blocks" ] }, + "DiscoverableGuildsResponse": { + "type": "object", + "properties": { + "total": { + "type": "integer" + }, + "guilds": { + "type": "array", + "items": { + "$ref": "#/components/schemas/DiscoverableGuild" + } + }, + "offset": { + "type": "integer" + }, + "limit": { + "type": "integer" + } + }, + "required": [ + "guilds", + "limit", + "offset", + "total" + ] + }, + "DmMessagesResponseSchema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/PartialMessage" + } + }, + "EmailDomainLookupResponse": { + "type": "object", + "properties": { + "guilds_info": { + "type": "array", + "items": { + "$ref": "#/components/schemas/HubGuild" + } + }, + "has_matching_guild": { + "type": "boolean" + } + }, + "required": [ + "guilds_info", + "has_matching_guild" + ] + }, + "EmailDomainLookupVerifyCodeResponse": { + "type": "object", + "properties": { + "guild": { + "$ref": "#/components/schemas/Guild" + }, + "joined": { + "type": "boolean" + } + }, + "required": [ + "guild", + "joined" + ] + }, "InstanceUserDeleteSchema": { "$ref": "#/components/schemas/InstanceUserDeleteSchemaContent" }, + "SessionsLogoutSchema": { + "type": "object", + "properties": { + "session_ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "session_id_hashes": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "GetSessionsResponse": { + "type": "object", + "properties": { + "user_sessions": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "id_hash": { + "type": "string" + }, + "status": { + "type": "string" + }, + "activities": { + "type": "array", + "items": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Activity" + } + } + }, + "client_status": { + "$ref": "#/components/schemas/ClientStatus" + }, + "approx_last_used_time": { + "type": "string" + }, + "client_info": { + "type": "object", + "properties": { + "client": { + "type": "string" + }, + "os": { + "type": "string" + }, + "version": { + "type": "integer" + }, + "location": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "client", + "location", + "os", + "version" + ] + }, + "last_seen": { + "type": "string", + "format": "date-time" + }, + "last_seen_ip": { + "type": "string" + }, + "last_seen_location": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "activities", + "approx_last_used_time", + "client_info", + "client_status", + "id", + "id_hash", + "status" + ] + } + } + }, + "required": [ + "user_sessions" + ] + }, "UserSettingsUpdateSchema": { "type": "object", "properties": { + "activity_restricted_guild_ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "activity_joining_restricted_guild_ids": { + "type": "array", + "items": { + "type": "string" + } + }, "afk_timeout": { "type": "integer" }, "allow_accessibility_detection": { "type": "boolean" }, + "allow_activity_party_privacy_friends": { + "type": "boolean" + }, + "allow_activity_party_privacy_voice_channel": { + "type": "boolean" + }, "animate_emoji": { "type": "boolean" }, @@ -1600,10 +1784,14 @@ "type": "integer" }, "friend_source_flags": { - "$ref": "#/components/schemas/FriendSourceFlags" - }, - "gateway_connected": { - "type": "boolean" + "anyOf": [ + { + "$ref": "#/components/schemas/FriendSourceFlags" + }, + { + "type": "null" + } + ] }, "gif_auto_play": { "type": "boolean" @@ -1614,12 +1802,6 @@ "$ref": "#/components/schemas/GuildFolder" } }, - "guild_positions": { - "type": "array", - "items": { - "type": "string" - } - }, "inline_attachment_media": { "type": "boolean" }, @@ -1635,6 +1817,9 @@ "native_phone_integration_enabled": { "type": "boolean" }, + "passwordless": { + "type": "boolean" + }, "render_embeds": { "type": "boolean" }, @@ -1650,6 +1835,12 @@ "show_current_game": { "type": "boolean" }, + "slayer_sdk_receive_dms_in_game": { + "type": "integer" + }, + "soundboard_volume": { + "type": "integer" + }, "status": { "enum": [ "dnd", @@ -1666,13 +1857,18 @@ "theme": { "enum": [ "dark", - "light" + "darker", + "light", + "midnight" ], "type": "string" }, "timezone_offset": { "type": "integer" }, + "view_nsfw_commands": { + "type": "boolean" + }, "view_nsfw_guilds": { "type": "boolean" } @@ -1681,12 +1877,30 @@ "UserSettingsSchema": { "type": "object", "properties": { + "activity_restricted_guild_ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "activity_joining_restricted_guild_ids": { + "type": "array", + "items": { + "type": "string" + } + }, "afk_timeout": { "type": "integer" }, "allow_accessibility_detection": { "type": "boolean" }, + "allow_activity_party_privacy_friends": { + "type": "boolean" + }, + "allow_activity_party_privacy_voice_channel": { + "type": "boolean" + }, "animate_emoji": { "type": "boolean" }, @@ -1731,10 +1945,14 @@ "type": "integer" }, "friend_source_flags": { - "$ref": "#/components/schemas/FriendSourceFlags" - }, - "gateway_connected": { - "type": "boolean" + "anyOf": [ + { + "$ref": "#/components/schemas/FriendSourceFlags" + }, + { + "type": "null" + } + ] }, "gif_auto_play": { "type": "boolean" @@ -1745,12 +1963,6 @@ "$ref": "#/components/schemas/GuildFolder" } }, - "guild_positions": { - "type": "array", - "items": { - "type": "string" - } - }, "inline_attachment_media": { "type": "boolean" }, @@ -1766,6 +1978,9 @@ "native_phone_integration_enabled": { "type": "boolean" }, + "passwordless": { + "type": "boolean" + }, "render_embeds": { "type": "boolean" }, @@ -1781,6 +1996,12 @@ "show_current_game": { "type": "boolean" }, + "slayer_sdk_receive_dms_in_game": { + "type": "integer" + }, + "soundboard_volume": { + "type": "integer" + }, "status": { "enum": [ "dnd", @@ -1797,20 +2018,29 @@ "theme": { "enum": [ "dark", - "light" + "darker", + "light", + "midnight" ], "type": "string" }, "timezone_offset": { "type": "integer" }, + "view_nsfw_commands": { + "type": "boolean" + }, "view_nsfw_guilds": { "type": "boolean" } }, "required": [ + "activity_joining_restricted_guild_ids", + "activity_restricted_guild_ids", "afk_timeout", "allow_accessibility_detection", + "allow_activity_party_privacy_friends", + "allow_activity_party_privacy_voice_channel", "animate_emoji", "animate_stickers", "contact_sync_enabled", @@ -1824,127 +2054,28 @@ "explicit_content_filter", "friend_discovery_flags", "friend_source_flags", - "gateway_connected", "gif_auto_play", "guild_folders", - "guild_positions", "inline_attachment_media", "inline_embed_media", "locale", "message_display_compact", "native_phone_integration_enabled", + "passwordless", "render_embeds", "render_reactions", "restricted_guilds", "show_current_game", + "slayer_sdk_receive_dms_in_game", + "soundboard_volume", "status", "stream_notifications_enabled", "theme", "timezone_offset", + "view_nsfw_commands", "view_nsfw_guilds" ] }, - "SessionsLogoutSchema": { - "type": "object", - "properties": { - "session_ids": { - "type": "array", - "items": { - "type": "string" - } - }, - "session_id_hashes": { - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "GetSessionsResponse": { - "type": "object", - "properties": { - "user_sessions": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "id_hash": { - "type": "string" - }, - "status": { - "type": "string" - }, - "activities": { - "type": "array", - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Activity" - } - } - }, - "client_status": { - "$ref": "#/components/schemas/ClientStatus" - }, - "approx_last_used_time": { - "type": "string" - }, - "client_info": { - "type": "object", - "properties": { - "client": { - "type": "string" - }, - "os": { - "type": "string" - }, - "version": { - "type": "integer" - }, - "location": { - "type": "string" - } - }, - "additionalProperties": false, - "required": [ - "client", - "location", - "os", - "version" - ] - }, - "last_seen": { - "type": "string", - "format": "date-time" - }, - "last_seen_ip": { - "type": "string" - }, - "last_seen_location": { - "type": "string" - } - }, - "additionalProperties": false, - "required": [ - "activities", - "approx_last_used_time", - "client_info", - "client_status", - "id", - "id_hash", - "status" - ] - } - } - }, - "required": [ - "user_sessions" - ] - }, "EmojisResponse": { "type": "array", "items": { @@ -2003,71 +2134,6 @@ "name" ] }, - "DiscoverableGuildsResponse": { - "type": "object", - "properties": { - "total": { - "type": "integer" - }, - "guilds": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DiscoverableGuild" - } - }, - "offset": { - "type": "integer" - }, - "limit": { - "type": "integer" - } - }, - "required": [ - "guilds", - "limit", - "offset", - "total" - ] - }, - "DmMessagesResponseSchema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PartialMessage" - } - }, - "EmailDomainLookupResponse": { - "type": "object", - "properties": { - "guilds_info": { - "type": "array", - "items": { - "$ref": "#/components/schemas/HubGuild" - } - }, - "has_matching_guild": { - "type": "boolean" - } - }, - "required": [ - "guilds_info", - "has_matching_guild" - ] - }, - "EmailDomainLookupVerifyCodeResponse": { - "type": "object", - "properties": { - "guild": { - "$ref": "#/components/schemas/Guild" - }, - "joined": { - "type": "boolean" - } - }, - "required": [ - "guild", - "joined" - ] - }, "EmojiSourceResponse": { "type": "object", "properties": { @@ -2968,6 +3034,39 @@ "settings" ] }, + "Team": { + "type": "object", + "properties": { + "icon": { + "type": "string" + }, + "members": { + "type": "array", + "items": { + "$ref": "#/components/schemas/TeamMember" + } + }, + "name": { + "type": "string" + }, + "owner_user_id": { + "type": "string" + }, + "owner_user": { + "$ref": "#/components/schemas/User" + }, + "id": { + "type": "string" + } + }, + "required": [ + "id", + "members", + "name", + "owner_user", + "owner_user_id" + ] + }, "TeamListResponse": { "type": "array", "items": { @@ -2981,7 +3080,7 @@ "type": "string" }, "settings": { - "$ref": "#/components/schemas/UserSettings" + "$ref": "#/components/schemas/UserSettingsSchema" } }, "required": [ @@ -4606,9 +4705,6 @@ "flags": { "type": "integer" }, - "verified": { - "type": "boolean" - }, "premium_since": { "type": "string", "format": "date-time" @@ -4673,6 +4769,9 @@ "phone": { "type": "string" }, + "verified": { + "type": "boolean" + }, "nsfw_allowed": { "type": "boolean" }, @@ -4739,9 +4838,6 @@ "flags": { "type": "integer" }, - "verified": { - "type": "boolean" - }, "premium_since": { "type": "string", "format": "date-time" @@ -4806,6 +4902,9 @@ "phone": { "type": "string" }, + "verified": { + "type": "boolean" + }, "nsfw_allowed": { "type": "boolean" }, @@ -5196,6 +5295,142 @@ "user_id" ] }, + "ProfileMetadataResponse": { + "type": "object", + "properties": { + "pronouns": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "banner": { + "type": "string", + "nullable": true + }, + "accent_color": { + "type": "integer", + "nullable": true + }, + "theme_colors": { + "anyOf": [ + { + "type": "array", + "items": [ + { + "type": "integer" + }, + { + "type": "integer" + } + ], + "minItems": 2, + "maxItems": 2 + }, + { + "type": "null" + } + ] + }, + "popout_animation_particle_type": { + "type": "string", + "nullable": true + }, + "emoji": { + "anyOf": [ + { + "$ref": "#/components/schemas/EmojiResponse" + }, + { + "type": "null" + } + ] + }, + "profile_effect": { + "anyOf": [ + { + "$ref": "#/components/schemas/ProfileEffect" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "pronouns" + ] + }, + "GuildProfileMetadataResponse": { + "type": "object", + "properties": { + "guild_id": { + "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```", + "type": "string" + }, + "accent_color": { + "type": "null" + }, + "pronouns": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "banner": { + "type": "string", + "nullable": true + }, + "theme_colors": { + "anyOf": [ + { + "type": "array", + "items": [ + { + "type": "integer" + }, + { + "type": "integer" + } + ], + "minItems": 2, + "maxItems": 2 + }, + { + "type": "null" + } + ] + }, + "popout_animation_particle_type": { + "type": "string", + "nullable": true + }, + "emoji": { + "anyOf": [ + { + "$ref": "#/components/schemas/EmojiResponse" + }, + { + "type": "null" + } + ] + }, + "profile_effect": { + "anyOf": [ + { + "$ref": "#/components/schemas/ProfileEffect" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "guild_id", + "pronouns" + ] + }, "UserProfileResponse": { "type": "object", "properties": { @@ -5216,19 +5451,7 @@ "mutual_guilds": { "type": "array", "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "nick": { - "type": "string" - } - }, - "additionalProperties": false, - "required": [ - "id" - ] + "$ref": "#/components/schemas/MutualGuild" } }, "premium_type": { @@ -5238,18 +5461,18 @@ "type": "integer" }, "user_profile": { - "$ref": "#/components/schemas/UserProfile" + "$ref": "#/components/schemas/ProfileMetadataResponse" }, "guild_member": { "$ref": "#/components/schemas/PublicMember" }, "guild_member_profile": { - "$ref": "#/components/schemas/PublicMemberProfile" + "$ref": "#/components/schemas/GuildProfileMetadataResponse" }, "badges": { "type": "array", "items": { - "$ref": "#/components/schemas/Badge" + "$ref": "#/components/schemas/ProfileBadge" } } }, @@ -8864,69 +9087,154 @@ "type" ] }, - "InstanceUserDeleteSchemaContent": { + "DiscoverableGuild": { "type": "object", "properties": { - "reason": { + "id": { + "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```", "type": "string" }, - "persistInstanceBan": { - "type": "boolean" - } - } - }, - "CustomStatus": { - "type": "object", - "properties": { - "emoji_id": { + "name": { "type": "string" }, - "emoji_name": { + "icon": { + "type": "string", + "nullable": true + }, + "description": { + "type": "string", + "nullable": true + }, + "banner": { + "type": "string", + "nullable": true + }, + "splash": { + "type": "string", + "nullable": true + }, + "discovery_splash": { + "type": "string", + "nullable": true + }, + "features": { + "type": "array", + "items": { + "type": "string" + } + }, + "vanity_url_code": { + "type": "string", + "nullable": true + }, + "preferred_locale": { "type": "string" }, - "expires_at": { + "premium_subscription_count": { "type": "integer" }, - "text": { - "type": "string" - } - } - }, - "FriendSourceFlags": { - "type": "object", - "properties": { - "all": { + "approximate_member_count": { + "type": "integer" + }, + "approximate_presence_count": { + "type": "integer" + }, + "emojis": { + "type": "array", + "items": { + "$ref": "#/components/schemas/EmojiResponse" + } + }, + "emoji_count": { + "type": "integer" + }, + "stickers": { + "type": "array", + "items": { + "$ref": "#/components/schemas/StickerResponse" + } + }, + "sticker_count": { + "type": "integer" + }, + "auto_removed": { "type": "boolean" - } - }, - "required": [ - "all" - ] - }, - "GuildFolder": { - "type": "object", - "properties": { - "color": { - "type": "integer", - "nullable": true }, - "guild_ids": { + "primary_category_id": { + "type": "integer" + }, + "primary_category": { + "$ref": "#/components/schemas/DiscoveryCategory" + }, + "keywords": { "type": "array", "items": { "type": "string" } }, - "id": { - "type": "integer", - "nullable": true + "is_published": { + "type": "boolean" }, - "name": { + "reasons_to_join": { + "type": "array", + "items": { + "$ref": "#/components/schemas/DiscoveryReason" + } + }, + "social_links": { + "type": "array", + "items": { + "type": "string" + } + }, + "about": { "type": "string", "nullable": true + }, + "category_ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "categories": { + "type": "array", + "items": { + "$ref": "#/components/schemas/DiscoveryCategory" + } + }, + "created_at": { + "type": "string" + }, + "nsfw_properties": { + "anyOf": [ + { + "$ref": "#/components/schemas/DiscoveryNsfwProperties" + }, + { + "type": "null" + } + ] } }, "required": [ - "guild_ids" + "approximate_member_count", + "approximate_presence_count", + "auto_removed", + "banner", + "description", + "discovery_splash", + "features", + "icon", + "id", + "is_published", + "keywords", + "name", + "preferred_locale", + "premium_subscription_count", + "primary_category_id", + "splash", + "vanity_url_code" ] }, "PartialUser": { @@ -9132,156 +9440,6 @@ "tag" ] }, - "DiscoverableGuild": { - "type": "object", - "properties": { - "id": { - "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```", - "type": "string" - }, - "name": { - "type": "string" - }, - "icon": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "nullable": true - }, - "banner": { - "type": "string", - "nullable": true - }, - "splash": { - "type": "string", - "nullable": true - }, - "discovery_splash": { - "type": "string", - "nullable": true - }, - "features": { - "type": "array", - "items": { - "type": "string" - } - }, - "vanity_url_code": { - "type": "string", - "nullable": true - }, - "preferred_locale": { - "type": "string" - }, - "premium_subscription_count": { - "type": "integer" - }, - "approximate_member_count": { - "type": "integer" - }, - "approximate_presence_count": { - "type": "integer" - }, - "emojis": { - "type": "array", - "items": { - "$ref": "#/components/schemas/EmojiResponse" - } - }, - "emoji_count": { - "type": "integer" - }, - "stickers": { - "type": "array", - "items": { - "$ref": "#/components/schemas/StickerResponse" - } - }, - "sticker_count": { - "type": "integer" - }, - "auto_removed": { - "type": "boolean" - }, - "primary_category_id": { - "type": "integer" - }, - "primary_category": { - "$ref": "#/components/schemas/DiscoveryCategory" - }, - "keywords": { - "type": "array", - "items": { - "type": "string" - } - }, - "is_published": { - "type": "boolean" - }, - "reasons_to_join": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DiscoveryReason" - } - }, - "social_links": { - "type": "array", - "items": { - "type": "string" - } - }, - "about": { - "type": "string", - "nullable": true - }, - "category_ids": { - "type": "array", - "items": { - "type": "string" - } - }, - "categories": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DiscoveryCategory" - } - }, - "created_at": { - "type": "string" - }, - "nsfw_properties": { - "anyOf": [ - { - "$ref": "#/components/schemas/DiscoveryNsfwProperties" - }, - { - "type": "null" - } - ] - } - }, - "required": [ - "approximate_member_count", - "approximate_presence_count", - "auto_removed", - "banner", - "description", - "discovery_splash", - "features", - "icon", - "id", - "is_published", - "keywords", - "name", - "preferred_locale", - "premium_subscription_count", - "primary_category_id", - "splash", - "vanity_url_code" - ] - }, "StickerType": { "type": "number", "enum": [ @@ -10634,7 +10792,9 @@ "theme": { "enum": [ "dark", - "light" + "darker", + "light", + "midnight" ], "type": "string", "default": "dark" @@ -10685,6 +10845,63 @@ "view_nsfw_guilds" ] }, + "CustomStatus": { + "type": "object", + "properties": { + "emoji_id": { + "type": "string" + }, + "emoji_name": { + "type": "string" + }, + "expires_at": { + "type": "integer" + }, + "text": { + "type": "string" + } + } + }, + "FriendSourceFlags": { + "type": "object", + "properties": { + "all": { + "type": "boolean" + }, + "mutual_friends": { + "type": "boolean" + }, + "mutual_guilds": { + "type": "boolean" + } + } + }, + "GuildFolder": { + "type": "object", + "properties": { + "color": { + "type": "integer", + "nullable": true + }, + "guild_ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "id": { + "type": "integer", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + } + }, + "required": [ + "guild_ids" + ] + }, "SecurityKey": { "type": "object", "properties": { @@ -11723,39 +11940,6 @@ "verify_key" ] }, - "Team": { - "type": "object", - "properties": { - "icon": { - "type": "string" - }, - "members": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TeamMember" - } - }, - "name": { - "type": "string" - }, - "owner_user_id": { - "type": "string" - }, - "owner_user": { - "$ref": "#/components/schemas/User" - }, - "id": { - "type": "string" - } - }, - "required": [ - "id", - "members", - "name", - "owner_user", - "owner_user_id" - ] - }, "TeamMember": { "type": "object", "properties": { @@ -13540,6 +13724,17 @@ "welcome_channels" ] }, + "InstanceUserDeleteSchemaContent": { + "type": "object", + "properties": { + "reason": { + "type": "string" + }, + "persistInstanceBan": { + "type": "boolean" + } + } + }, "EmojiGuild": { "type": "object", "properties": { @@ -13853,7 +14048,7 @@ "type": "integer" }, "type": { - "type": "integer" + "$ref": "#/components/schemas/HubDirectoryEntryType" } }, "required": [ @@ -13866,6 +14061,13 @@ "type" ] }, + "HubDirectoryEntryType": { + "type": "number", + "enum": [ + 0, + 1 + ] + }, "PublicMessage": { "type": "object", "properties": { @@ -14623,28 +14825,16 @@ "BackupCode": { "type": "object", "properties": { - "user": { - "$ref": "#/components/schemas/User" - }, "code": { "type": "string" }, "consumed": { "type": "boolean" - }, - "expired": { - "type": "boolean" - }, - "id": { - "type": "string" } }, "required": [ "code", - "consumed", - "expired", - "id", - "user" + "consumed" ] }, "InteractionCallbackType": { @@ -15526,74 +15716,56 @@ "window" ] }, - "PublicConnectedAccount": { + "ProfileEffect": { "type": "object", "properties": { - "name": { - "type": "string" - }, - "type": { + "id": { + "description": "A Twitter-like snowflake, except the epoch is 2015-01-01T00:00:00.000Z\n```\nIf we have a snowflake '266241948824764416' we can represent it as binary:\n\n64 22 17 12 0\n 000000111011000111100001101001000101000000 00001 00000 000000000000\n number of ms since Discord epoch worker pid increment\n```", "type": "string" }, - "verified": { - "type": "boolean" + "expires_at": { + "type": "integer", + "nullable": true } }, "required": [ - "name", - "type" + "expires_at", + "id" ] }, - "UserProfile": { + "PublicConnectedAccount": { "type": "object", "properties": { - "banner": { - "type": "string" - }, - "bio": { + "name": { "type": "string" }, - "theme_colors": { - "type": "array", - "items": { - "type": "integer" - } - }, - "pronouns": { + "type": { "type": "string" }, - "accent_color": { - "type": "integer" + "verified": { + "type": "boolean" } }, "required": [ - "bio" + "name", + "type" ] }, - "PublicMemberProfile": { + "MutualGuild": { "type": "object", "properties": { - "guild_id": { - "type": "string" - }, - "banner": { + "id": { "type": "string" }, - "bio": { + "nick": { "type": "string" - }, - "accent_color": { - "type": "null" } }, "required": [ - "accent_color", - "banner", - "bio", - "guild_id" + "id" ] }, - "Badge": { + "ProfileBadge": { "type": "object", "properties": { "id": {