Discord · Schema

Embed

ChatCommunicationGamingMessagingSocialVideoVoice

Properties

Name Type Description
title string
description string
url string
color integer
fields array
View JSON Schema on GitHub

JSON Schema

discord-embed-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Embed",
  "title": "Embed",
  "type": "object",
  "properties": {
    "title": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "url": {
      "type": "string",
      "format": "uri"
    },
    "color": {
      "type": "integer"
    },
    "fields": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "name",
          "value"
        ],
        "properties": {
          "name": {
            "type": "string"
          },
          "value": {
            "type": "string"
          },
          "inline": {
            "type": "boolean"
          }
        }
      }
    }
  }
}