Discord · Schema

GuildTemplateResponse

ChatCommunicationGamingMessagingSocialVideoVoice

Properties

Name Type Description
code string
name string
description stringnull
usage_count integer
creator_id object
creator object
created_at string
updated_at string
source_guild_id object
serialized_source_guild object
is_dirty booleannull
View JSON Schema on GitHub

JSON Schema

discord-guildtemplateresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/GuildTemplateResponse",
  "title": "GuildTemplateResponse",
  "type": "object",
  "properties": {
    "code": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "description": {
      "type": [
        "string",
        "null"
      ]
    },
    "usage_count": {
      "type": "integer",
      "format": "int32"
    },
    "creator_id": {
      "$ref": "#/components/schemas/SnowflakeType"
    },
    "creator": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "$ref": "#/components/schemas/UserResponse"
        }
      ]
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time"
    },
    "source_guild_id": {
      "$ref": "#/components/schemas/SnowflakeType"
    },
    "serialized_source_guild": {
      "$ref": "#/components/schemas/GuildTemplateSnapshotResponse"
    },
    "is_dirty": {
      "type": [
        "boolean",
        "null"
      ]
    }
  },
  "required": [
    "code",
    "name",
    "usage_count",
    "creator_id",
    "created_at",
    "updated_at",
    "source_guild_id",
    "serialized_source_guild"
  ]
}