add chat emote response contract
This commit is contained in:
@@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||||
|
"type": "array",
|
||||||
|
"maxItems": 50,
|
||||||
|
"items": {
|
||||||
|
"type": "object",
|
||||||
|
"additionalProperties": false,
|
||||||
|
"required": ["name", "url", "provider"],
|
||||||
|
"properties": {
|
||||||
|
"name": { "type": "string", "minLength": 1 },
|
||||||
|
"url": { "type": "string", "format": "uri", "pattern": "^https://" },
|
||||||
|
"provider": { "type": "string", "enum": ["twitch", "7tv"] }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"name": "Kappa",
|
||||||
|
"url": "https://static-cdn.jtvnw.net/emoticons/v2/25/static/dark/2.0",
|
||||||
|
"provider": "twitch"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "catJAM",
|
||||||
|
"url": "https://cdn.7tv.app/emote/60ae8f6f625f5a2a4d4e2b6f/2x.webp",
|
||||||
|
"provider": "7tv"
|
||||||
|
}
|
||||||
|
]
|
||||||
Reference in New Issue
Block a user