Discord · Schema

VanityURLResponse

ChatCommunicationGamingMessagingSocialVideoVoice

Properties

Name Type Description
code stringnull
uses integer
error object
View JSON Schema on GitHub

JSON Schema

discord-vanityurlresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/VanityURLResponse",
  "title": "VanityURLResponse",
  "type": "object",
  "properties": {
    "code": {
      "type": [
        "string",
        "null"
      ]
    },
    "uses": {
      "type": "integer",
      "format": "int32"
    },
    "error": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "$ref": "#/components/schemas/VanityURLErrorResponse"
        }
      ]
    }
  },
  "required": [
    "uses"
  ]
}