Discord · Schema

ApplicationResponse

ChatCommunicationGamingMessagingSocialVideoVoice

Properties

Name Type Description
id object
name string
icon stringnull
description string
type object
cover_image stringnull
primary_sku_id object
bot object
slug stringnull
guild_id object
rpc_origins arraynull
bot_public booleannull
bot_require_code_grant booleannull
terms_of_service_url stringnull
privacy_policy_url stringnull
custom_install_url stringnull
install_params object
verify_key string
flags integer
max_participants integernull
tags arraynull
View JSON Schema on GitHub

JSON Schema

discord-applicationresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ApplicationResponse",
  "title": "ApplicationResponse",
  "type": "object",
  "properties": {
    "id": {
      "$ref": "#/components/schemas/SnowflakeType"
    },
    "name": {
      "type": "string"
    },
    "icon": {
      "type": [
        "string",
        "null"
      ]
    },
    "description": {
      "type": "string"
    },
    "type": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "$ref": "#/components/schemas/ApplicationTypes"
        }
      ]
    },
    "cover_image": {
      "type": [
        "string",
        "null"
      ]
    },
    "primary_sku_id": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "$ref": "#/components/schemas/SnowflakeType"
        }
      ]
    },
    "bot": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "$ref": "#/components/schemas/UserResponse"
        }
      ]
    },
    "slug": {
      "type": [
        "string",
        "null"
      ]
    },
    "guild_id": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "$ref": "#/components/schemas/SnowflakeType"
        }
      ]
    },
    "rpc_origins": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      }
    },
    "bot_public": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "bot_require_code_grant": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "terms_of_service_url": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri"
    },
    "privacy_policy_url": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri"
    },
    "custom_install_url": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri"
    },
    "install_params": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "$ref": "#/components/schemas/ApplicationOAuth2InstallParamsResponse"
        }
      ]
    },
    "verify_key": {
      "type": "string"
    },
    "flags": {
      "type": "integer",
      "format": "int32"
    },
    "max_participants": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    },
    "tags": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "string"
      },
      "uniqueItems": true
    }
  },
  "required": [
    "id",
    "name",
    "description",
    "verify_key",
    "flags"
  ]
}