feat: add moderation action contract

This commit is contained in:
2026-10-25 04:49:34 +01:00
parent c63806b094
commit 8c84e45bf9
3 changed files with 31 additions and 0 deletions
@@ -0,0 +1,12 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://trixie.reaperofveriod.nl/contracts/v1/moderation-action-response.json",
"title": "Twitch moderation action response",
"type": "object",
"additionalProperties": false,
"required": ["action", "applied"],
"properties": {
"action": { "type": "string" },
"applied": { "const": true }
}
}