Discord · Schema

ApplicationCommandOptionStringChoice

ChatCommunicationGamingMessagingSocialVideoVoice

Properties

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

JSON Schema

discord-applicationcommandoptionstringchoice-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ApplicationCommandOptionStringChoice",
  "title": "ApplicationCommandOptionStringChoice",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 100
    },
    "name_localizations": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": "string",
        "minLength": 1,
        "maxLength": 100
      },
      "maxProperties": 34
    },
    "value": {
      "type": "string",
      "maxLength": 6000
    }
  },
  "required": [
    "name",
    "value"
  ]
}