Type object
Schema URL https://catalog.lintel.tools/schemas/schemastore/discord-webhook/latest.json
Source https://raw.githubusercontent.com/AxoCode/json-schema/master/discord/webhook.json

Validate with Lintel

npx @lintel/lintel check
Type: object

Discord Webhook JSON Schema

Properties

$schema string
Default: ""
content string
Default: ""
username string
Default: ""
avatar_url string
pattern=^https?://
tts boolean
Default: false
embeds object[]

Embedded rich content Max is 6000 characters

allowed_mentions object

Allowed mentions for the message

3 nested properties
parse string[]

An array of allowed mention types to parse from the content.

Default:
[]
roles array | null

Array of role_ids to mention Max is 100 of role_ids Mutually exclusive with parse roles

Default:
[]
maxItems=100uniqueItems=true
users array | null

Array of user_ids to mention Max is 100 of user_ids Mutually exclusive with parse users

Default:
[]
maxItems=100uniqueItems=true

Any of

1. variant
2. variant

Definitions

string string
boolean boolean
url string
id string