Discord · Schema

ApplicationCommandOptionNumberChoiceResponse

ChatCommunicationGamingMessagingSocialVideoVoice

Properties

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

JSON Schema

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