Discord · Schema

ScheduledEventResponse

ChatCommunicationGamingMessagingSocialVideoVoice

Properties

Name Type Description
id object
guild_id object
name string
description stringnull
channel_id object
creator_id object
creator object
image stringnull
scheduled_start_time string
scheduled_end_time stringnull
status object
entity_type object
entity_id object
user_count integernull
privacy_level object
user_rsvp object
View JSON Schema on GitHub

JSON Schema

discord-scheduledeventresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ScheduledEventResponse",
  "title": "ScheduledEventResponse",
  "type": "object",
  "properties": {
    "id": {
      "$ref": "#/components/schemas/SnowflakeType"
    },
    "guild_id": {
      "$ref": "#/components/schemas/SnowflakeType"
    },
    "name": {
      "type": "string"
    },
    "description": {
      "type": [
        "string",
        "null"
      ]
    },
    "channel_id": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "$ref": "#/components/schemas/SnowflakeType"
        }
      ]
    },
    "creator_id": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "$ref": "#/components/schemas/SnowflakeType"
        }
      ]
    },
    "creator": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "$ref": "#/components/schemas/UserResponse"
        }
      ]
    },
    "image": {
      "type": [
        "string",
        "null"
      ]
    },
    "scheduled_start_time": {
      "type": "string",
      "format": "date-time"
    },
    "scheduled_end_time": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "status": {
      "$ref": "#/components/schemas/GuildScheduledEventStatuses"
    },
    "entity_type": {
      "$ref": "#/components/schemas/GuildScheduledEventEntityTypes"
    },
    "entity_id": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "$ref": "#/components/schemas/SnowflakeType"
        }
      ]
    },
    "user_count": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    },
    "privacy_level": {
      "$ref": "#/components/schemas/GuildScheduledEventPrivacyLevels"
    },
    "user_rsvp": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "$ref": "#/components/schemas/ScheduledEventUserResponse"
        }
      ]
    }
  },
  "required": [
    "id",
    "guild_id",
    "name",
    "scheduled_start_time",
    "status",
    "entity_type",
    "privacy_level"
  ]
}