Input schema
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"oneOf": [
{
"type": "object",
"properties": {
"acknowledgeGlobalExposure": {
"type": "boolean",
"const": true,
"description": "Literal acknowledgement that the command is exposed application-wide across every requested installation context"
},
"action": {
"type": "string",
"const": "create"
},
"definition": {
"oneOf": [
{
"type": "object",
"properties": {
"defaultMemberPermissions": {
"anyOf": [
{
"maxItems": 52,
"type": "array",
"items": {
"type": "string",
"enum": [
"CREATE_INSTANT_INVITE",
"KICK_MEMBERS",
"BAN_MEMBERS",
"ADMINISTRATOR",
"MANAGE_CHANNELS",
"MANAGE_GUILD",
"ADD_REACTIONS",
"VIEW_AUDIT_LOG",
"PRIORITY_SPEAKER",
"STREAM",
"VIEW_CHANNEL",
"SEND_MESSAGES",
"SEND_TTS_MESSAGES",
"MANAGE_MESSAGES",
"EMBED_LINKS",
"ATTACH_FILES",
"READ_MESSAGE_HISTORY",
"MENTION_EVERYONE",
"USE_EXTERNAL_EMOJIS",
"VIEW_GUILD_INSIGHTS",
"CONNECT",
"SPEAK",
"MUTE_MEMBERS",
"DEAFEN_MEMBERS",
"MOVE_MEMBERS",
"USE_VAD",
"CHANGE_NICKNAME",
"MANAGE_NICKNAMES",
"MANAGE_ROLES",
"MANAGE_WEBHOOKS",
"MANAGE_GUILD_EXPRESSIONS",
"USE_APPLICATION_COMMANDS",
"REQUEST_TO_SPEAK",
"MANAGE_EVENTS",
"MANAGE_THREADS",
"CREATE_PUBLIC_THREADS",
"CREATE_PRIVATE_THREADS",
"USE_EXTERNAL_STICKERS",
"SEND_MESSAGES_IN_THREADS",
"USE_EMBEDDED_ACTIVITIES",
"MODERATE_MEMBERS",
"VIEW_CREATOR_MONETIZATION_ANALYTICS",
"USE_SOUNDBOARD",
"CREATE_GUILD_EXPRESSIONS",
"CREATE_EVENTS",
"USE_EXTERNAL_SOUNDS",
"SEND_VOICE_MESSAGES",
"SET_VOICE_CHANNEL_STATUS",
"SEND_POLLS",
"USE_EXTERNAL_APPS",
"PIN_MESSAGES",
"BYPASS_SLOWMODE"
]
}
},
{
"type": "null"
}
]
},
"nsfw": {
"type": "boolean"
},
"contexts": {
"minItems": 1,
"maxItems": 3,
"type": "array",
"items": {
"type": "string",
"enum": [
"guild",
"bot-dm",
"private-channel"
]
},
"description": "Explicit complete interaction contexts in canonical order"
},
"integrationTypes": {
"minItems": 1,
"maxItems": 2,
"type": "array",
"items": {
"type": "string",
"enum": [
"guild-install",
"user-install"
]
},
"description": "Explicit complete installation types in canonical order"
},
"description": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"descriptionLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
},
"nameLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"options": {
"maxItems": 25,
"type": "array",
"items": {
"anyOf": [
{
"anyOf": [
{
"type": "object",
"properties": {
"description": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"descriptionLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
},
"nameLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"required": {
"type": "boolean"
},
"autocomplete": {
"type": "boolean"
},
"choices": {
"maxItems": 25,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"nameLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"name",
"nameLocalizations",
"value"
],
"additionalProperties": false
}
},
"maxLength": {
"type": "integer",
"minimum": 1,
"maximum": 6000
},
"minLength": {
"type": "integer",
"minimum": 0,
"maximum": 6000
},
"type": {
"type": "string",
"const": "string"
}
},
"required": [
"description",
"descriptionLocalizations",
"name",
"nameLocalizations",
"required",
"autocomplete",
"choices",
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"description": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"descriptionLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
},
"nameLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"required": {
"type": "boolean"
},
"autocomplete": {
"type": "boolean"
},
"choices": {
"maxItems": 25,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"nameLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"value": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"required": [
"name",
"nameLocalizations",
"value"
],
"additionalProperties": false
}
},
"maximum": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"minimum": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"type": {
"type": "string",
"const": "integer"
}
},
"required": [
"description",
"descriptionLocalizations",
"name",
"nameLocalizations",
"required",
"autocomplete",
"choices",
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"description": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"descriptionLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
},
"nameLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"required": {
"type": "boolean"
},
"autocomplete": {
"type": "boolean"
},
"choices": {
"maxItems": 25,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"nameLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"value": {
"type": "number",
"minimum": -9007199254740992,
"maximum": 9007199254740992
}
},
"required": [
"name",
"nameLocalizations",
"value"
],
"additionalProperties": false
}
},
"maximum": {
"type": "number",
"minimum": -9007199254740992,
"maximum": 9007199254740992
},
"minimum": {
"type": "number",
"minimum": -9007199254740992,
"maximum": 9007199254740992
},
"type": {
"type": "string",
"const": "number"
}
},
"required": [
"description",
"descriptionLocalizations",
"name",
"nameLocalizations",
"required",
"autocomplete",
"choices",
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"description": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"descriptionLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
},
"nameLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"required": {
"type": "boolean"
},
"channelTypes": {
"maxItems": 11,
"type": "array",
"items": {
"type": "string",
"enum": [
"guild-text",
"guild-voice",
"guild-category",
"guild-announcement",
"announcement-thread",
"public-thread",
"private-thread",
"guild-stage-voice",
"guild-directory",
"guild-forum",
"guild-media"
]
}
},
"type": {
"type": "string",
"const": "channel"
}
},
"required": [
"description",
"descriptionLocalizations",
"name",
"nameLocalizations",
"required",
"channelTypes",
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"description": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"descriptionLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
},
"nameLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"required": {
"type": "boolean"
},
"fileTypes": {
"maxItems": 10,
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"enum": [
"image",
"video",
"audio"
]
},
{
"type": "string",
"pattern": "^\\.[a-z0-9][a-z0-9._+-]{0,31}$"
}
]
}
},
"type": {
"type": "string",
"const": "attachment"
}
},
"required": [
"description",
"descriptionLocalizations",
"name",
"nameLocalizations",
"required",
"fileTypes",
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"description": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"descriptionLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
},
"nameLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"required": {
"type": "boolean"
},
"type": {
"type": "string",
"enum": [
"boolean",
"mentionable",
"role",
"user"
]
}
},
"required": [
"description",
"descriptionLocalizations",
"name",
"nameLocalizations",
"required",
"type"
],
"additionalProperties": false
}
]
},
{
"type": "object",
"properties": {
"description": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"descriptionLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
},
"nameLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"options": {
"maxItems": 25,
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"description": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"descriptionLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
},
"nameLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"required": {
"type": "boolean"
},
"autocomplete": {
"type": "boolean"
},
"choices": {
"maxItems": 25,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"nameLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"name",
"nameLocalizations",
"value"
],
"additionalProperties": false
}
},
"maxLength": {
"type": "integer",
"minimum": 1,
"maximum": 6000
},
"minLength": {
"type": "integer",
"minimum": 0,
"maximum": 6000
},
"type": {
"type": "string",
"const": "string"
}
},
"required": [
"description",
"descriptionLocalizations",
"name",
"nameLocalizations",
"required",
"autocomplete",
"choices",
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"description": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"descriptionLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
},
"nameLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"required": {
"type": "boolean"
},
"autocomplete": {
"type": "boolean"
},
"choices": {
"maxItems": 25,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"nameLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"value": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"required": [
"name",
"nameLocalizations",
"value"
],
"additionalProperties": false
}
},
"maximum": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"minimum": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"type": {
"type": "string",
"const": "integer"
}
},
"required": [
"description",
"descriptionLocalizations",
"name",
"nameLocalizations",
"required",
"autocomplete",
"choices",
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"description": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"descriptionLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
},
"nameLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"required": {
"type": "boolean"
},
"autocomplete": {
"type": "boolean"
},
"choices": {
"maxItems": 25,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"nameLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"value": {
"type": "number",
"minimum": -9007199254740992,
"maximum": 9007199254740992
}
},
"required": [
"name",
"nameLocalizations",
"value"
],
"additionalProperties": false
}
},
"maximum": {
"type": "number",
"minimum": -9007199254740992,
"maximum": 9007199254740992
},
"minimum": {
"type": "number",
"minimum": -9007199254740992,
"maximum": 9007199254740992
},
"type": {
"type": "string",
"const": "number"
}
},
"required": [
"description",
"descriptionLocalizations",
"name",
"nameLocalizations",
"required",
"autocomplete",
"choices",
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"description": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"descriptionLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
},
"nameLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"required": {
"type": "boolean"
},
"channelTypes": {
"maxItems": 11,
"type": "array",
"items": {
"type": "string",
"enum": [
"guild-text",
"guild-voice",
"guild-category",
"guild-announcement",
"announcement-thread",
"public-thread",
"private-thread",
"guild-stage-voice",
"guild-directory",
"guild-forum",
"guild-media"
]
}
},
"type": {
"type": "string",
"const": "channel"
}
},
"required": [
"description",
"descriptionLocalizations",
"name",
"nameLocalizations",
"required",
"channelTypes",
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"description": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"descriptionLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
},
"nameLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"required": {
"type": "boolean"
},
"fileTypes": {
"maxItems": 10,
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"enum": [
"image",
"video",
"audio"
]
},
{
"type": "string",
"pattern": "^\\.[a-z0-9][a-z0-9._+-]{0,31}$"
}
]
}
},
"type": {
"type": "string",
"const": "attachment"
}
},
"required": [
"description",
"descriptionLocalizations",
"name",
"nameLocalizations",
"required",
"fileTypes",
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"description": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"descriptionLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
},
"nameLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"required": {
"type": "boolean"
},
"type": {
"type": "string",
"enum": [
"boolean",
"mentionable",
"role",
"user"
]
}
},
"required": [
"description",
"descriptionLocalizations",
"name",
"nameLocalizations",
"required",
"type"
],
"additionalProperties": false
}
]
}
},
"type": {
"type": "string",
"const": "subcommand"
}
},
"required": [
"description",
"descriptionLocalizations",
"name",
"nameLocalizations",
"options",
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"description": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"descriptionLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
},
"nameLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"options": {
"minItems": 1,
"maxItems": 25,
"type": "array",
"items": {
"type": "object",
"properties": {
"description": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"descriptionLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
},
"nameLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"options": {
"maxItems": 25,
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"description": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"descriptionLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
},
"nameLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"required": {
"type": "boolean"
},
"autocomplete": {
"type": "boolean"
},
"choices": {
"maxItems": 25,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"nameLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"name",
"nameLocalizations",
"value"
],
"additionalProperties": false
}
},
"maxLength": {
"type": "integer",
"minimum": 1,
"maximum": 6000
},
"minLength": {
"type": "integer",
"minimum": 0,
"maximum": 6000
},
"type": {
"type": "string",
"const": "string"
}
},
"required": [
"description",
"descriptionLocalizations",
"name",
"nameLocalizations",
"required",
"autocomplete",
"choices",
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"description": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"descriptionLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
},
"nameLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"required": {
"type": "boolean"
},
"autocomplete": {
"type": "boolean"
},
"choices": {
"maxItems": 25,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"nameLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"value": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"required": [
"name",
"nameLocalizations",
"value"
],
"additionalProperties": false
}
},
"maximum": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"minimum": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"type": {
"type": "string",
"const": "integer"
}
},
"required": [
"description",
"descriptionLocalizations",
"name",
"nameLocalizations",
"required",
"autocomplete",
"choices",
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"description": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"descriptionLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
},
"nameLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"required": {
"type": "boolean"
},
"autocomplete": {
"type": "boolean"
},
"choices": {
"maxItems": 25,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"nameLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"value": {
"type": "number",
"minimum": -9007199254740992,
"maximum": 9007199254740992
}
},
"required": [
"name",
"nameLocalizations",
"value"
],
"additionalProperties": false
}
},
"maximum": {
"type": "number",
"minimum": -9007199254740992,
"maximum": 9007199254740992
},
"minimum": {
"type": "number",
"minimum": -9007199254740992,
"maximum": 9007199254740992
},
"type": {
"type": "string",
"const": "number"
}
},
"required": [
"description",
"descriptionLocalizations",
"name",
"nameLocalizations",
"required",
"autocomplete",
"choices",
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"description": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"descriptionLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
},
"nameLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"required": {
"type": "boolean"
},
"channelTypes": {
"maxItems": 11,
"type": "array",
"items": {
"type": "string",
"enum": [
"guild-text",
"guild-voice",
"guild-category",
"guild-announcement",
"announcement-thread",
"public-thread",
"private-thread",
"guild-stage-voice",
"guild-directory",
"guild-forum",
"guild-media"
]
}
},
"type": {
"type": "string",
"const": "channel"
}
},
"required": [
"description",
"descriptionLocalizations",
"name",
"nameLocalizations",
"required",
"channelTypes",
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"description": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"descriptionLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
},
"nameLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"required": {
"type": "boolean"
},
"fileTypes": {
"maxItems": 10,
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"enum": [
"image",
"video",
"audio"
]
},
{
"type": "string",
"pattern": "^\\.[a-z0-9][a-z0-9._+-]{0,31}$"
}
]
}
},
"type": {
"type": "string",
"const": "attachment"
}
},
"required": [
"description",
"descriptionLocalizations",
"name",
"nameLocalizations",
"required",
"fileTypes",
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"description": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"descriptionLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
},
"nameLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"required": {
"type": "boolean"
},
"type": {
"type": "string",
"enum": [
"boolean",
"mentionable",
"role",
"user"
]
}
},
"required": [
"description",
"descriptionLocalizations",
"name",
"nameLocalizations",
"required",
"type"
],
"additionalProperties": false
}
]
}
},
"type": {
"type": "string",
"const": "subcommand"
}
},
"required": [
"description",
"descriptionLocalizations",
"name",
"nameLocalizations",
"options",
"type"
],
"additionalProperties": false
}
},
"type": {
"type": "string",
"const": "subcommand-group"
}
},
"required": [
"description",
"descriptionLocalizations",
"name",
"nameLocalizations",
"options",
"type"
],
"additionalProperties": false
}
]
}
},
"type": {
"type": "string",
"const": "chat-input"
}
},
"required": [
"defaultMemberPermissions",
"nsfw",
"contexts",
"integrationTypes",
"description",
"descriptionLocalizations",
"name",
"nameLocalizations",
"options",
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"defaultMemberPermissions": {
"anyOf": [
{
"maxItems": 52,
"type": "array",
"items": {
"type": "string",
"enum": [
"CREATE_INSTANT_INVITE",
"KICK_MEMBERS",
"BAN_MEMBERS",
"ADMINISTRATOR",
"MANAGE_CHANNELS",
"MANAGE_GUILD",
"ADD_REACTIONS",
"VIEW_AUDIT_LOG",
"PRIORITY_SPEAKER",
"STREAM",
"VIEW_CHANNEL",
"SEND_MESSAGES",
"SEND_TTS_MESSAGES",
"MANAGE_MESSAGES",
"EMBED_LINKS",
"ATTACH_FILES",
"READ_MESSAGE_HISTORY",
"MENTION_EVERYONE",
"USE_EXTERNAL_EMOJIS",
"VIEW_GUILD_INSIGHTS",
"CONNECT",
"SPEAK",
"MUTE_MEMBERS",
"DEAFEN_MEMBERS",
"MOVE_MEMBERS",
"USE_VAD",
"CHANGE_NICKNAME",
"MANAGE_NICKNAMES",
"MANAGE_ROLES",
"MANAGE_WEBHOOKS",
"MANAGE_GUILD_EXPRESSIONS",
"USE_APPLICATION_COMMANDS",
"REQUEST_TO_SPEAK",
"MANAGE_EVENTS",
"MANAGE_THREADS",
"CREATE_PUBLIC_THREADS",
"CREATE_PRIVATE_THREADS",
"USE_EXTERNAL_STICKERS",
"SEND_MESSAGES_IN_THREADS",
"USE_EMBEDDED_ACTIVITIES",
"MODERATE_MEMBERS",
"VIEW_CREATOR_MONETIZATION_ANALYTICS",
"USE_SOUNDBOARD",
"CREATE_GUILD_EXPRESSIONS",
"CREATE_EVENTS",
"USE_EXTERNAL_SOUNDS",
"SEND_VOICE_MESSAGES",
"SET_VOICE_CHANNEL_STATUS",
"SEND_POLLS",
"USE_EXTERNAL_APPS",
"PIN_MESSAGES",
"BYPASS_SLOWMODE"
]
}
},
{
"type": "null"
}
]
},
"nsfw": {
"type": "boolean"
},
"contexts": {
"minItems": 1,
"maxItems": 3,
"type": "array",
"items": {
"type": "string",
"enum": [
"guild",
"bot-dm",
"private-channel"
]
},
"description": "Explicit complete interaction contexts in canonical order"
},
"integrationTypes": {
"minItems": 1,
"maxItems": 2,
"type": "array",
"items": {
"type": "string",
"enum": [
"guild-install",
"user-install"
]
},
"description": "Explicit complete installation types in canonical order"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 32
},
"nameLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 32
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"type": {
"type": "string",
"const": "user"
}
},
"required": [
"defaultMemberPermissions",
"nsfw",
"contexts",
"integrationTypes",
"name",
"nameLocalizations",
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"defaultMemberPermissions": {
"anyOf": [
{
"maxItems": 52,
"type": "array",
"items": {
"type": "string",
"enum": [
"CREATE_INSTANT_INVITE",
"KICK_MEMBERS",
"BAN_MEMBERS",
"ADMINISTRATOR",
"MANAGE_CHANNELS",
"MANAGE_GUILD",
"ADD_REACTIONS",
"VIEW_AUDIT_LOG",
"PRIORITY_SPEAKER",
"STREAM",
"VIEW_CHANNEL",
"SEND_MESSAGES",
"SEND_TTS_MESSAGES",
"MANAGE_MESSAGES",
"EMBED_LINKS",
"ATTACH_FILES",
"READ_MESSAGE_HISTORY",
"MENTION_EVERYONE",
"USE_EXTERNAL_EMOJIS",
"VIEW_GUILD_INSIGHTS",
"CONNECT",
"SPEAK",
"MUTE_MEMBERS",
"DEAFEN_MEMBERS",
"MOVE_MEMBERS",
"USE_VAD",
"CHANGE_NICKNAME",
"MANAGE_NICKNAMES",
"MANAGE_ROLES",
"MANAGE_WEBHOOKS",
"MANAGE_GUILD_EXPRESSIONS",
"USE_APPLICATION_COMMANDS",
"REQUEST_TO_SPEAK",
"MANAGE_EVENTS",
"MANAGE_THREADS",
"CREATE_PUBLIC_THREADS",
"CREATE_PRIVATE_THREADS",
"USE_EXTERNAL_STICKERS",
"SEND_MESSAGES_IN_THREADS",
"USE_EMBEDDED_ACTIVITIES",
"MODERATE_MEMBERS",
"VIEW_CREATOR_MONETIZATION_ANALYTICS",
"USE_SOUNDBOARD",
"CREATE_GUILD_EXPRESSIONS",
"CREATE_EVENTS",
"USE_EXTERNAL_SOUNDS",
"SEND_VOICE_MESSAGES",
"SET_VOICE_CHANNEL_STATUS",
"SEND_POLLS",
"USE_EXTERNAL_APPS",
"PIN_MESSAGES",
"BYPASS_SLOWMODE"
]
}
},
{
"type": "null"
}
]
},
"nsfw": {
"type": "boolean"
},
"contexts": {
"minItems": 1,
"maxItems": 3,
"type": "array",
"items": {
"type": "string",
"enum": [
"guild",
"bot-dm",
"private-channel"
]
},
"description": "Explicit complete interaction contexts in canonical order"
},
"integrationTypes": {
"minItems": 1,
"maxItems": 2,
"type": "array",
"items": {
"type": "string",
"enum": [
"guild-install",
"user-install"
]
},
"description": "Explicit complete installation types in canonical order"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 32
},
"nameLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 32
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"type": {
"type": "string",
"const": "message"
}
},
"required": [
"defaultMemberPermissions",
"nsfw",
"contexts",
"integrationTypes",
"name",
"nameLocalizations",
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"defaultMemberPermissions": {
"anyOf": [
{
"maxItems": 52,
"type": "array",
"items": {
"type": "string",
"enum": [
"CREATE_INSTANT_INVITE",
"KICK_MEMBERS",
"BAN_MEMBERS",
"ADMINISTRATOR",
"MANAGE_CHANNELS",
"MANAGE_GUILD",
"ADD_REACTIONS",
"VIEW_AUDIT_LOG",
"PRIORITY_SPEAKER",
"STREAM",
"VIEW_CHANNEL",
"SEND_MESSAGES",
"SEND_TTS_MESSAGES",
"MANAGE_MESSAGES",
"EMBED_LINKS",
"ATTACH_FILES",
"READ_MESSAGE_HISTORY",
"MENTION_EVERYONE",
"USE_EXTERNAL_EMOJIS",
"VIEW_GUILD_INSIGHTS",
"CONNECT",
"SPEAK",
"MUTE_MEMBERS",
"DEAFEN_MEMBERS",
"MOVE_MEMBERS",
"USE_VAD",
"CHANGE_NICKNAME",
"MANAGE_NICKNAMES",
"MANAGE_ROLES",
"MANAGE_WEBHOOKS",
"MANAGE_GUILD_EXPRESSIONS",
"USE_APPLICATION_COMMANDS",
"REQUEST_TO_SPEAK",
"MANAGE_EVENTS",
"MANAGE_THREADS",
"CREATE_PUBLIC_THREADS",
"CREATE_PRIVATE_THREADS",
"USE_EXTERNAL_STICKERS",
"SEND_MESSAGES_IN_THREADS",
"USE_EMBEDDED_ACTIVITIES",
"MODERATE_MEMBERS",
"VIEW_CREATOR_MONETIZATION_ANALYTICS",
"USE_SOUNDBOARD",
"CREATE_GUILD_EXPRESSIONS",
"CREATE_EVENTS",
"USE_EXTERNAL_SOUNDS",
"SEND_VOICE_MESSAGES",
"SET_VOICE_CHANNEL_STATUS",
"SEND_POLLS",
"USE_EXTERNAL_APPS",
"PIN_MESSAGES",
"BYPASS_SLOWMODE"
]
}
},
{
"type": "null"
}
]
},
"nsfw": {
"type": "boolean"
},
"contexts": {
"minItems": 1,
"maxItems": 3,
"type": "array",
"items": {
"type": "string",
"enum": [
"guild",
"bot-dm",
"private-channel"
]
},
"description": "Explicit complete interaction contexts in canonical order"
},
"integrationTypes": {
"minItems": 1,
"maxItems": 2,
"type": "array",
"items": {
"type": "string",
"enum": [
"guild-install",
"user-install"
]
},
"description": "Explicit complete installation types in canonical order"
},
"description": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"descriptionLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"handler": {
"type": "string",
"enum": [
"application",
"discord-launch-activity"
]
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
},
"nameLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"type": {
"type": "string",
"const": "primary-entry-point"
}
},
"required": [
"defaultMemberPermissions",
"nsfw",
"contexts",
"integrationTypes",
"description",
"descriptionLocalizations",
"handler",
"name",
"nameLocalizations",
"type"
],
"additionalProperties": false
}
]
},
"operationKey": {
"type": "string",
"minLength": 16,
"maxLength": 128,
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$",
"description": "Unique one-shot operation key; keep unchanged through review and never reuse after reservation"
},
"planDigest": {
"type": "string",
"pattern": "^hmac-sha256:[a-f0-9]{64}$"
}
},
"required": [
"acknowledgeGlobalExposure",
"action",
"definition",
"operationKey",
"planDigest"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"acknowledgeGlobalExposure": {
"type": "boolean",
"const": true,
"description": "Literal acknowledgement that the command is exposed application-wide across every requested installation context"
},
"acknowledgePermissionResetAcrossGuilds": {
"type": "boolean",
"const": true,
"description": "Literal acknowledgement that Discord permanently clears command permissions across every guild on rename or deletion"
},
"action": {
"type": "string",
"const": "update"
},
"commandId": {
"type": "string",
"pattern": "^[0-9]{1,20}$",
"description": "Exact global command ID from fresh plan evidence"
},
"definition": {
"oneOf": [
{
"type": "object",
"properties": {
"defaultMemberPermissions": {
"anyOf": [
{
"maxItems": 52,
"type": "array",
"items": {
"type": "string",
"enum": [
"CREATE_INSTANT_INVITE",
"KICK_MEMBERS",
"BAN_MEMBERS",
"ADMINISTRATOR",
"MANAGE_CHANNELS",
"MANAGE_GUILD",
"ADD_REACTIONS",
"VIEW_AUDIT_LOG",
"PRIORITY_SPEAKER",
"STREAM",
"VIEW_CHANNEL",
"SEND_MESSAGES",
"SEND_TTS_MESSAGES",
"MANAGE_MESSAGES",
"EMBED_LINKS",
"ATTACH_FILES",
"READ_MESSAGE_HISTORY",
"MENTION_EVERYONE",
"USE_EXTERNAL_EMOJIS",
"VIEW_GUILD_INSIGHTS",
"CONNECT",
"SPEAK",
"MUTE_MEMBERS",
"DEAFEN_MEMBERS",
"MOVE_MEMBERS",
"USE_VAD",
"CHANGE_NICKNAME",
"MANAGE_NICKNAMES",
"MANAGE_ROLES",
"MANAGE_WEBHOOKS",
"MANAGE_GUILD_EXPRESSIONS",
"USE_APPLICATION_COMMANDS",
"REQUEST_TO_SPEAK",
"MANAGE_EVENTS",
"MANAGE_THREADS",
"CREATE_PUBLIC_THREADS",
"CREATE_PRIVATE_THREADS",
"USE_EXTERNAL_STICKERS",
"SEND_MESSAGES_IN_THREADS",
"USE_EMBEDDED_ACTIVITIES",
"MODERATE_MEMBERS",
"VIEW_CREATOR_MONETIZATION_ANALYTICS",
"USE_SOUNDBOARD",
"CREATE_GUILD_EXPRESSIONS",
"CREATE_EVENTS",
"USE_EXTERNAL_SOUNDS",
"SEND_VOICE_MESSAGES",
"SET_VOICE_CHANNEL_STATUS",
"SEND_POLLS",
"USE_EXTERNAL_APPS",
"PIN_MESSAGES",
"BYPASS_SLOWMODE"
]
}
},
{
"type": "null"
}
]
},
"nsfw": {
"type": "boolean"
},
"contexts": {
"minItems": 1,
"maxItems": 3,
"type": "array",
"items": {
"type": "string",
"enum": [
"guild",
"bot-dm",
"private-channel"
]
},
"description": "Explicit complete interaction contexts in canonical order"
},
"integrationTypes": {
"minItems": 1,
"maxItems": 2,
"type": "array",
"items": {
"type": "string",
"enum": [
"guild-install",
"user-install"
]
},
"description": "Explicit complete installation types in canonical order"
},
"description": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"descriptionLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
},
"nameLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"options": {
"maxItems": 25,
"type": "array",
"items": {
"anyOf": [
{
"anyOf": [
{
"type": "object",
"properties": {
"description": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"descriptionLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
},
"nameLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"required": {
"type": "boolean"
},
"autocomplete": {
"type": "boolean"
},
"choices": {
"maxItems": 25,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"nameLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"name",
"nameLocalizations",
"value"
],
"additionalProperties": false
}
},
"maxLength": {
"type": "integer",
"minimum": 1,
"maximum": 6000
},
"minLength": {
"type": "integer",
"minimum": 0,
"maximum": 6000
},
"type": {
"type": "string",
"const": "string"
}
},
"required": [
"description",
"descriptionLocalizations",
"name",
"nameLocalizations",
"required",
"autocomplete",
"choices",
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"description": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"descriptionLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
},
"nameLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"required": {
"type": "boolean"
},
"autocomplete": {
"type": "boolean"
},
"choices": {
"maxItems": 25,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"nameLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"value": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"required": [
"name",
"nameLocalizations",
"value"
],
"additionalProperties": false
}
},
"maximum": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"minimum": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"type": {
"type": "string",
"const": "integer"
}
},
"required": [
"description",
"descriptionLocalizations",
"name",
"nameLocalizations",
"required",
"autocomplete",
"choices",
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"description": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"descriptionLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
},
"nameLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"required": {
"type": "boolean"
},
"autocomplete": {
"type": "boolean"
},
"choices": {
"maxItems": 25,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"nameLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"value": {
"type": "number",
"minimum": -9007199254740992,
"maximum": 9007199254740992
}
},
"required": [
"name",
"nameLocalizations",
"value"
],
"additionalProperties": false
}
},
"maximum": {
"type": "number",
"minimum": -9007199254740992,
"maximum": 9007199254740992
},
"minimum": {
"type": "number",
"minimum": -9007199254740992,
"maximum": 9007199254740992
},
"type": {
"type": "string",
"const": "number"
}
},
"required": [
"description",
"descriptionLocalizations",
"name",
"nameLocalizations",
"required",
"autocomplete",
"choices",
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"description": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"descriptionLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
},
"nameLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"required": {
"type": "boolean"
},
"channelTypes": {
"maxItems": 11,
"type": "array",
"items": {
"type": "string",
"enum": [
"guild-text",
"guild-voice",
"guild-category",
"guild-announcement",
"announcement-thread",
"public-thread",
"private-thread",
"guild-stage-voice",
"guild-directory",
"guild-forum",
"guild-media"
]
}
},
"type": {
"type": "string",
"const": "channel"
}
},
"required": [
"description",
"descriptionLocalizations",
"name",
"nameLocalizations",
"required",
"channelTypes",
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"description": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"descriptionLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
},
"nameLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"required": {
"type": "boolean"
},
"fileTypes": {
"maxItems": 10,
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"enum": [
"image",
"video",
"audio"
]
},
{
"type": "string",
"pattern": "^\\.[a-z0-9][a-z0-9._+-]{0,31}$"
}
]
}
},
"type": {
"type": "string",
"const": "attachment"
}
},
"required": [
"description",
"descriptionLocalizations",
"name",
"nameLocalizations",
"required",
"fileTypes",
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"description": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"descriptionLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
},
"nameLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"required": {
"type": "boolean"
},
"type": {
"type": "string",
"enum": [
"boolean",
"mentionable",
"role",
"user"
]
}
},
"required": [
"description",
"descriptionLocalizations",
"name",
"nameLocalizations",
"required",
"type"
],
"additionalProperties": false
}
]
},
{
"type": "object",
"properties": {
"description": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"descriptionLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
},
"nameLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"options": {
"maxItems": 25,
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"description": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"descriptionLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
},
"nameLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"required": {
"type": "boolean"
},
"autocomplete": {
"type": "boolean"
},
"choices": {
"maxItems": 25,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"nameLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"name",
"nameLocalizations",
"value"
],
"additionalProperties": false
}
},
"maxLength": {
"type": "integer",
"minimum": 1,
"maximum": 6000
},
"minLength": {
"type": "integer",
"minimum": 0,
"maximum": 6000
},
"type": {
"type": "string",
"const": "string"
}
},
"required": [
"description",
"descriptionLocalizations",
"name",
"nameLocalizations",
"required",
"autocomplete",
"choices",
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"description": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"descriptionLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
},
"nameLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"required": {
"type": "boolean"
},
"autocomplete": {
"type": "boolean"
},
"choices": {
"maxItems": 25,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"nameLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"value": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"required": [
"name",
"nameLocalizations",
"value"
],
"additionalProperties": false
}
},
"maximum": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"minimum": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"type": {
"type": "string",
"const": "integer"
}
},
"required": [
"description",
"descriptionLocalizations",
"name",
"nameLocalizations",
"required",
"autocomplete",
"choices",
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"description": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"descriptionLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
},
"nameLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"required": {
"type": "boolean"
},
"autocomplete": {
"type": "boolean"
},
"choices": {
"maxItems": 25,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"nameLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"value": {
"type": "number",
"minimum": -9007199254740992,
"maximum": 9007199254740992
}
},
"required": [
"name",
"nameLocalizations",
"value"
],
"additionalProperties": false
}
},
"maximum": {
"type": "number",
"minimum": -9007199254740992,
"maximum": 9007199254740992
},
"minimum": {
"type": "number",
"minimum": -9007199254740992,
"maximum": 9007199254740992
},
"type": {
"type": "string",
"const": "number"
}
},
"required": [
"description",
"descriptionLocalizations",
"name",
"nameLocalizations",
"required",
"autocomplete",
"choices",
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"description": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"descriptionLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
},
"nameLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"required": {
"type": "boolean"
},
"channelTypes": {
"maxItems": 11,
"type": "array",
"items": {
"type": "string",
"enum": [
"guild-text",
"guild-voice",
"guild-category",
"guild-announcement",
"announcement-thread",
"public-thread",
"private-thread",
"guild-stage-voice",
"guild-directory",
"guild-forum",
"guild-media"
]
}
},
"type": {
"type": "string",
"const": "channel"
}
},
"required": [
"description",
"descriptionLocalizations",
"name",
"nameLocalizations",
"required",
"channelTypes",
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"description": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"descriptionLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
},
"nameLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"required": {
"type": "boolean"
},
"fileTypes": {
"maxItems": 10,
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"enum": [
"image",
"video",
"audio"
]
},
{
"type": "string",
"pattern": "^\\.[a-z0-9][a-z0-9._+-]{0,31}$"
}
]
}
},
"type": {
"type": "string",
"const": "attachment"
}
},
"required": [
"description",
"descriptionLocalizations",
"name",
"nameLocalizations",
"required",
"fileTypes",
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"description": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"descriptionLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
},
"nameLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"required": {
"type": "boolean"
},
"type": {
"type": "string",
"enum": [
"boolean",
"mentionable",
"role",
"user"
]
}
},
"required": [
"description",
"descriptionLocalizations",
"name",
"nameLocalizations",
"required",
"type"
],
"additionalProperties": false
}
]
}
},
"type": {
"type": "string",
"const": "subcommand"
}
},
"required": [
"description",
"descriptionLocalizations",
"name",
"nameLocalizations",
"options",
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"description": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"descriptionLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
},
"nameLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"options": {
"minItems": 1,
"maxItems": 25,
"type": "array",
"items": {
"type": "object",
"properties": {
"description": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"descriptionLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
},
"nameLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"options": {
"maxItems": 25,
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"description": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"descriptionLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
},
"nameLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"required": {
"type": "boolean"
},
"autocomplete": {
"type": "boolean"
},
"choices": {
"maxItems": 25,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"nameLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"name",
"nameLocalizations",
"value"
],
"additionalProperties": false
}
},
"maxLength": {
"type": "integer",
"minimum": 1,
"maximum": 6000
},
"minLength": {
"type": "integer",
"minimum": 0,
"maximum": 6000
},
"type": {
"type": "string",
"const": "string"
}
},
"required": [
"description",
"descriptionLocalizations",
"name",
"nameLocalizations",
"required",
"autocomplete",
"choices",
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"description": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"descriptionLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
},
"nameLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"required": {
"type": "boolean"
},
"autocomplete": {
"type": "boolean"
},
"choices": {
"maxItems": 25,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"nameLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"value": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"required": [
"name",
"nameLocalizations",
"value"
],
"additionalProperties": false
}
},
"maximum": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"minimum": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"type": {
"type": "string",
"const": "integer"
}
},
"required": [
"description",
"descriptionLocalizations",
"name",
"nameLocalizations",
"required",
"autocomplete",
"choices",
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"description": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"descriptionLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
},
"nameLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"required": {
"type": "boolean"
},
"autocomplete": {
"type": "boolean"
},
"choices": {
"maxItems": 25,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"nameLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"value": {
"type": "number",
"minimum": -9007199254740992,
"maximum": 9007199254740992
}
},
"required": [
"name",
"nameLocalizations",
"value"
],
"additionalProperties": false
}
},
"maximum": {
"type": "number",
"minimum": -9007199254740992,
"maximum": 9007199254740992
},
"minimum": {
"type": "number",
"minimum": -9007199254740992,
"maximum": 9007199254740992
},
"type": {
"type": "string",
"const": "number"
}
},
"required": [
"description",
"descriptionLocalizations",
"name",
"nameLocalizations",
"required",
"autocomplete",
"choices",
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"description": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"descriptionLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
},
"nameLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"required": {
"type": "boolean"
},
"channelTypes": {
"maxItems": 11,
"type": "array",
"items": {
"type": "string",
"enum": [
"guild-text",
"guild-voice",
"guild-category",
"guild-announcement",
"announcement-thread",
"public-thread",
"private-thread",
"guild-stage-voice",
"guild-directory",
"guild-forum",
"guild-media"
]
}
},
"type": {
"type": "string",
"const": "channel"
}
},
"required": [
"description",
"descriptionLocalizations",
"name",
"nameLocalizations",
"required",
"channelTypes",
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"description": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"descriptionLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
},
"nameLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"required": {
"type": "boolean"
},
"fileTypes": {
"maxItems": 10,
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"enum": [
"image",
"video",
"audio"
]
},
{
"type": "string",
"pattern": "^\\.[a-z0-9][a-z0-9._+-]{0,31}$"
}
]
}
},
"type": {
"type": "string",
"const": "attachment"
}
},
"required": [
"description",
"descriptionLocalizations",
"name",
"nameLocalizations",
"required",
"fileTypes",
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"description": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"descriptionLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
},
"nameLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"required": {
"type": "boolean"
},
"type": {
"type": "string",
"enum": [
"boolean",
"mentionable",
"role",
"user"
]
}
},
"required": [
"description",
"descriptionLocalizations",
"name",
"nameLocalizations",
"required",
"type"
],
"additionalProperties": false
}
]
}
},
"type": {
"type": "string",
"const": "subcommand"
}
},
"required": [
"description",
"descriptionLocalizations",
"name",
"nameLocalizations",
"options",
"type"
],
"additionalProperties": false
}
},
"type": {
"type": "string",
"const": "subcommand-group"
}
},
"required": [
"description",
"descriptionLocalizations",
"name",
"nameLocalizations",
"options",
"type"
],
"additionalProperties": false
}
]
}
},
"type": {
"type": "string",
"const": "chat-input"
}
},
"required": [
"defaultMemberPermissions",
"nsfw",
"contexts",
"integrationTypes",
"description",
"descriptionLocalizations",
"name",
"nameLocalizations",
"options",
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"defaultMemberPermissions": {
"anyOf": [
{
"maxItems": 52,
"type": "array",
"items": {
"type": "string",
"enum": [
"CREATE_INSTANT_INVITE",
"KICK_MEMBERS",
"BAN_MEMBERS",
"ADMINISTRATOR",
"MANAGE_CHANNELS",
"MANAGE_GUILD",
"ADD_REACTIONS",
"VIEW_AUDIT_LOG",
"PRIORITY_SPEAKER",
"STREAM",
"VIEW_CHANNEL",
"SEND_MESSAGES",
"SEND_TTS_MESSAGES",
"MANAGE_MESSAGES",
"EMBED_LINKS",
"ATTACH_FILES",
"READ_MESSAGE_HISTORY",
"MENTION_EVERYONE",
"USE_EXTERNAL_EMOJIS",
"VIEW_GUILD_INSIGHTS",
"CONNECT",
"SPEAK",
"MUTE_MEMBERS",
"DEAFEN_MEMBERS",
"MOVE_MEMBERS",
"USE_VAD",
"CHANGE_NICKNAME",
"MANAGE_NICKNAMES",
"MANAGE_ROLES",
"MANAGE_WEBHOOKS",
"MANAGE_GUILD_EXPRESSIONS",
"USE_APPLICATION_COMMANDS",
"REQUEST_TO_SPEAK",
"MANAGE_EVENTS",
"MANAGE_THREADS",
"CREATE_PUBLIC_THREADS",
"CREATE_PRIVATE_THREADS",
"USE_EXTERNAL_STICKERS",
"SEND_MESSAGES_IN_THREADS",
"USE_EMBEDDED_ACTIVITIES",
"MODERATE_MEMBERS",
"VIEW_CREATOR_MONETIZATION_ANALYTICS",
"USE_SOUNDBOARD",
"CREATE_GUILD_EXPRESSIONS",
"CREATE_EVENTS",
"USE_EXTERNAL_SOUNDS",
"SEND_VOICE_MESSAGES",
"SET_VOICE_CHANNEL_STATUS",
"SEND_POLLS",
"USE_EXTERNAL_APPS",
"PIN_MESSAGES",
"BYPASS_SLOWMODE"
]
}
},
{
"type": "null"
}
]
},
"nsfw": {
"type": "boolean"
},
"contexts": {
"minItems": 1,
"maxItems": 3,
"type": "array",
"items": {
"type": "string",
"enum": [
"guild",
"bot-dm",
"private-channel"
]
},
"description": "Explicit complete interaction contexts in canonical order"
},
"integrationTypes": {
"minItems": 1,
"maxItems": 2,
"type": "array",
"items": {
"type": "string",
"enum": [
"guild-install",
"user-install"
]
},
"description": "Explicit complete installation types in canonical order"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 32
},
"nameLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 32
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"type": {
"type": "string",
"const": "user"
}
},
"required": [
"defaultMemberPermissions",
"nsfw",
"contexts",
"integrationTypes",
"name",
"nameLocalizations",
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"defaultMemberPermissions": {
"anyOf": [
{
"maxItems": 52,
"type": "array",
"items": {
"type": "string",
"enum": [
"CREATE_INSTANT_INVITE",
"KICK_MEMBERS",
"BAN_MEMBERS",
"ADMINISTRATOR",
"MANAGE_CHANNELS",
"MANAGE_GUILD",
"ADD_REACTIONS",
"VIEW_AUDIT_LOG",
"PRIORITY_SPEAKER",
"STREAM",
"VIEW_CHANNEL",
"SEND_MESSAGES",
"SEND_TTS_MESSAGES",
"MANAGE_MESSAGES",
"EMBED_LINKS",
"ATTACH_FILES",
"READ_MESSAGE_HISTORY",
"MENTION_EVERYONE",
"USE_EXTERNAL_EMOJIS",
"VIEW_GUILD_INSIGHTS",
"CONNECT",
"SPEAK",
"MUTE_MEMBERS",
"DEAFEN_MEMBERS",
"MOVE_MEMBERS",
"USE_VAD",
"CHANGE_NICKNAME",
"MANAGE_NICKNAMES",
"MANAGE_ROLES",
"MANAGE_WEBHOOKS",
"MANAGE_GUILD_EXPRESSIONS",
"USE_APPLICATION_COMMANDS",
"REQUEST_TO_SPEAK",
"MANAGE_EVENTS",
"MANAGE_THREADS",
"CREATE_PUBLIC_THREADS",
"CREATE_PRIVATE_THREADS",
"USE_EXTERNAL_STICKERS",
"SEND_MESSAGES_IN_THREADS",
"USE_EMBEDDED_ACTIVITIES",
"MODERATE_MEMBERS",
"VIEW_CREATOR_MONETIZATION_ANALYTICS",
"USE_SOUNDBOARD",
"CREATE_GUILD_EXPRESSIONS",
"CREATE_EVENTS",
"USE_EXTERNAL_SOUNDS",
"SEND_VOICE_MESSAGES",
"SET_VOICE_CHANNEL_STATUS",
"SEND_POLLS",
"USE_EXTERNAL_APPS",
"PIN_MESSAGES",
"BYPASS_SLOWMODE"
]
}
},
{
"type": "null"
}
]
},
"nsfw": {
"type": "boolean"
},
"contexts": {
"minItems": 1,
"maxItems": 3,
"type": "array",
"items": {
"type": "string",
"enum": [
"guild",
"bot-dm",
"private-channel"
]
},
"description": "Explicit complete interaction contexts in canonical order"
},
"integrationTypes": {
"minItems": 1,
"maxItems": 2,
"type": "array",
"items": {
"type": "string",
"enum": [
"guild-install",
"user-install"
]
},
"description": "Explicit complete installation types in canonical order"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 32
},
"nameLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 32
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"type": {
"type": "string",
"const": "message"
}
},
"required": [
"defaultMemberPermissions",
"nsfw",
"contexts",
"integrationTypes",
"name",
"nameLocalizations",
"type"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"defaultMemberPermissions": {
"anyOf": [
{
"maxItems": 52,
"type": "array",
"items": {
"type": "string",
"enum": [
"CREATE_INSTANT_INVITE",
"KICK_MEMBERS",
"BAN_MEMBERS",
"ADMINISTRATOR",
"MANAGE_CHANNELS",
"MANAGE_GUILD",
"ADD_REACTIONS",
"VIEW_AUDIT_LOG",
"PRIORITY_SPEAKER",
"STREAM",
"VIEW_CHANNEL",
"SEND_MESSAGES",
"SEND_TTS_MESSAGES",
"MANAGE_MESSAGES",
"EMBED_LINKS",
"ATTACH_FILES",
"READ_MESSAGE_HISTORY",
"MENTION_EVERYONE",
"USE_EXTERNAL_EMOJIS",
"VIEW_GUILD_INSIGHTS",
"CONNECT",
"SPEAK",
"MUTE_MEMBERS",
"DEAFEN_MEMBERS",
"MOVE_MEMBERS",
"USE_VAD",
"CHANGE_NICKNAME",
"MANAGE_NICKNAMES",
"MANAGE_ROLES",
"MANAGE_WEBHOOKS",
"MANAGE_GUILD_EXPRESSIONS",
"USE_APPLICATION_COMMANDS",
"REQUEST_TO_SPEAK",
"MANAGE_EVENTS",
"MANAGE_THREADS",
"CREATE_PUBLIC_THREADS",
"CREATE_PRIVATE_THREADS",
"USE_EXTERNAL_STICKERS",
"SEND_MESSAGES_IN_THREADS",
"USE_EMBEDDED_ACTIVITIES",
"MODERATE_MEMBERS",
"VIEW_CREATOR_MONETIZATION_ANALYTICS",
"USE_SOUNDBOARD",
"CREATE_GUILD_EXPRESSIONS",
"CREATE_EVENTS",
"USE_EXTERNAL_SOUNDS",
"SEND_VOICE_MESSAGES",
"SET_VOICE_CHANNEL_STATUS",
"SEND_POLLS",
"USE_EXTERNAL_APPS",
"PIN_MESSAGES",
"BYPASS_SLOWMODE"
]
}
},
{
"type": "null"
}
]
},
"nsfw": {
"type": "boolean"
},
"contexts": {
"minItems": 1,
"maxItems": 3,
"type": "array",
"items": {
"type": "string",
"enum": [
"guild",
"bot-dm",
"private-channel"
]
},
"description": "Explicit complete interaction contexts in canonical order"
},
"integrationTypes": {
"minItems": 1,
"maxItems": 2,
"type": "array",
"items": {
"type": "string",
"enum": [
"guild-install",
"user-install"
]
},
"description": "Explicit complete installation types in canonical order"
},
"description": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"descriptionLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"handler": {
"type": "string",
"enum": [
"application",
"discord-launch-activity"
]
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
},
"nameLocalizations": {
"maxItems": 32,
"type": "array",
"items": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"enum": [
"id",
"da",
"de",
"en-GB",
"en-US",
"es-ES",
"es-419",
"fr",
"hr",
"it",
"lt",
"hu",
"nl",
"no",
"pl",
"pt-BR",
"ro",
"fi",
"sv-SE",
"vi",
"tr",
"cs",
"el",
"bg",
"ru",
"uk",
"hi",
"th",
"zh-CN",
"ja",
"zh-TW",
"ko"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[-_'\\p{L}\\p{N}\\p{sc=Deva}\\p{sc=Thai}]{1,32}$"
}
},
"required": [
"locale",
"value"
],
"additionalProperties": false
},
"description": "Unique localization values in the documented canonical locale order"
},
"type": {
"type": "string",
"const": "primary-entry-point"
}
},
"required": [
"defaultMemberPermissions",
"nsfw",
"contexts",
"integrationTypes",
"description",
"descriptionLocalizations",
"handler",
"name",
"nameLocalizations",
"type"
],
"additionalProperties": false
}
]
},
"operationKey": {
"type": "string",
"minLength": 16,
"maxLength": 128,
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$",
"description": "Unique one-shot operation key; keep unchanged through review and never reuse after reservation"
},
"planDigest": {
"type": "string",
"pattern": "^hmac-sha256:[a-f0-9]{64}$"
}
},
"required": [
"acknowledgeGlobalExposure",
"action",
"commandId",
"definition",
"operationKey",
"planDigest"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"acknowledgeGlobalDeletion": {
"type": "boolean",
"const": true,
"description": "Literal acknowledgement that deletion is irreversible across the application's installations"
},
"acknowledgePermissionResetAcrossGuilds": {
"type": "boolean",
"const": true,
"description": "Literal acknowledgement that Discord permanently clears command permissions across every guild on rename or deletion"
},
"action": {
"type": "string",
"const": "delete"
},
"commandId": {
"type": "string",
"pattern": "^[0-9]{1,20}$",
"description": "Exact global command ID from fresh plan evidence"
},
"operationKey": {
"type": "string",
"minLength": 16,
"maxLength": 128,
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$",
"description": "Unique one-shot operation key; keep unchanged through review and never reuse after reservation"
},
"planDigest": {
"type": "string",
"pattern": "^hmac-sha256:[a-f0-9]{64}$"
}
},
"required": [
"acknowledgeGlobalDeletion",
"acknowledgePermissionResetAcrossGuilds",
"action",
"commandId",
"operationKey",
"planDigest"
],
"additionalProperties": false
}
]
}