Discord · Schema

EntitlementResponse

ChatCommunicationGamingMessagingSocialVideoVoice

Properties

Name Type Description
id object
sku_id object
application_id object
user_id object
guild_id object
deleted boolean
starts_at stringnull
ends_at stringnull
type object
fulfilled_at stringnull
fulfillment_status object
consumed booleannull
View JSON Schema on GitHub

JSON Schema

discord-entitlementresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/EntitlementResponse",
  "title": "EntitlementResponse",
  "type": "object",
  "properties": {
    "id": {
      "$ref": "#/components/schemas/SnowflakeType"
    },
    "sku_id": {
      "$ref": "#/components/schemas/SnowflakeType"
    },
    "application_id": {
      "$ref": "#/components/schemas/SnowflakeType"
    },
    "user_id": {
      "$ref": "#/components/schemas/SnowflakeType"
    },
    "guild_id": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "$ref": "#/components/schemas/SnowflakeType"
        }
      ]
    },
    "deleted": {
      "type": "boolean"
    },
    "starts_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "ends_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "type": {
      "$ref": "#/components/schemas/EntitlementTypes"
    },
    "fulfilled_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "fulfillment_status": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "$ref": "#/components/schemas/EntitlementTenantFulfillmentStatusResponse"
        }
      ]
    },
    "consumed": {
      "type": [
        "boolean",
        "null"
      ]
    }
  },
  "required": [
    "id",
    "sku_id",
    "application_id",
    "user_id",
    "deleted",
    "type"
  ]
}