Discord · Schema

ApplicationOAuth2InstallParamsResponse

ChatCommunicationGamingMessagingSocialVideoVoice

Properties

Name Type Description
scopes array
permissions string
View JSON Schema on GitHub

JSON Schema

discord-applicationoauth2installparamsresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ApplicationOAuth2InstallParamsResponse",
  "title": "ApplicationOAuth2InstallParamsResponse",
  "type": "object",
  "properties": {
    "scopes": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "applications.commands",
          "bot"
        ],
        "allOf": [
          {
            "$ref": "#/components/schemas/OAuth2Scopes"
          }
        ]
      },
      "uniqueItems": true
    },
    "permissions": {
      "type": "string"
    }
  },
  "required": [
    "scopes",
    "permissions"
  ]
}