Discord · Schema

GuildPatchRequestPartial

ChatCommunicationGamingMessagingSocialVideoVoice

Properties

Name Type Description
name string
description stringnull
region stringnull
icon stringnull
verification_level object
default_message_notifications object
explicit_content_filter object
preferred_locale object
afk_timeout object
afk_channel_id object
system_channel_id object
owner_id object
splash stringnull
banner stringnull
system_channel_flags integernull
features arraynull
discovery_splash stringnull
home_header stringnull
rules_channel_id object
safety_alerts_channel_id object
public_updates_channel_id object
premium_progress_bar_enabled booleannull
View JSON Schema on GitHub

JSON Schema

discord-guildpatchrequestpartial-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/GuildPatchRequestPartial",
  "title": "GuildPatchRequestPartial",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "minLength": 2,
      "maxLength": 100
    },
    "description": {
      "type": [
        "string",
        "null"
      ],
      "minLength": 0,
      "maxLength": 120
    },
    "region": {
      "type": [
        "string",
        "null"
      ]
    },
    "icon": {
      "type": [
        "string",
        "null"
      ],
      "contentEncoding": "base64"
    },
    "verification_level": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "$ref": "#/components/schemas/VerificationLevels"
        }
      ]
    },
    "default_message_notifications": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "$ref": "#/components/schemas/UserNotificationSettings"
        }
      ]
    },
    "explicit_content_filter": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "$ref": "#/components/schemas/GuildExplicitContentFilterTypes"
        }
      ]
    },
    "preferred_locale": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "$ref": "#/components/schemas/AvailableLocalesEnum"
        }
      ]
    },
    "afk_timeout": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "$ref": "#/components/schemas/AfkTimeouts"
        }
      ]
    },
    "afk_channel_id": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "$ref": "#/components/schemas/SnowflakeType"
        }
      ]
    },
    "system_channel_id": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "$ref": "#/components/schemas/SnowflakeType"
        }
      ]
    },
    "owner_id": {
      "$ref": "#/components/schemas/SnowflakeType"
    },
    "splash": {
      "type": [
        "string",
        "null"
      ],
      "contentEncoding": "base64"
    },
    "banner": {
      "type": [
        "string",
        "null"
      ],
      "contentEncoding": "base64"
    },
    "system_channel_flags": {
      "type": [
        "integer",
        "null"
      ]
    },
    "features": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ],
        "maxLength": 152133
      },
      "maxItems": 1521,
      "uniqueItems": true
    },
    "discovery_splash": {
      "type": [
        "string",
        "null"
      ],
      "contentEncoding": "base64"
    },
    "home_header": {
      "type": [
        "string",
        "null"
      ],
      "contentEncoding": "base64"
    },
    "rules_channel_id": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "$ref": "#/components/schemas/SnowflakeType"
        }
      ]
    },
    "safety_alerts_channel_id": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "$ref": "#/components/schemas/SnowflakeType"
        }
      ]
    },
    "public_updates_channel_id": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "$ref": "#/components/schemas/SnowflakeType"
        }
      ]
    },
    "premium_progress_bar_enabled": {
      "type": [
        "boolean",
        "null"
      ]
    }
  }
}