Discord · Schema

ApplicationCommandOptionStringChoiceResponse

ChatCommunicationGamingMessagingSocialVideoVoice

Properties

Name Type Description
name string
name_localized stringnull
name_localizations objectnull
value string
View JSON Schema on GitHub

JSON Schema

discord-applicationcommandoptionstringchoiceresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ApplicationCommandOptionStringChoiceResponse",
  "title": "ApplicationCommandOptionStringChoiceResponse",
  "type": "object",
  "properties": {
    "name": {
      "type": "string"
    },
    "name_localized": {
      "type": [
        "string",
        "null"
      ]
    },
    "name_localizations": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": "string"
      }
    },
    "value": {
      "type": "string"
    }
  },
  "required": [
    "name",
    "value"
  ]
}