Discord · Schema

ChannelPermissionOverwriteRequest

ChatCommunicationGamingMessagingSocialVideoVoice

Properties

Name Type Description
id object
type object
allow integernull
deny integernull
View JSON Schema on GitHub

JSON Schema

discord-channelpermissionoverwriterequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ChannelPermissionOverwriteRequest",
  "title": "ChannelPermissionOverwriteRequest",
  "type": "object",
  "properties": {
    "id": {
      "$ref": "#/components/schemas/SnowflakeType"
    },
    "type": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "$ref": "#/components/schemas/ChannelPermissionOverwrites"
        }
      ]
    },
    "allow": {
      "type": [
        "integer",
        "null"
      ]
    },
    "deny": {
      "type": [
        "integer",
        "null"
      ]
    }
  },
  "required": [
    "id"
  ]
}