add collaborator contract

This commit is contained in:
2026-10-25 05:24:56 +01:00
parent 20086b7776
commit 687c6b7cc6
2 changed files with 23 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"required": ["twitch_user_id", "display_name", "favorite", "last_invited_at"],
"properties": {
"twitch_user_id": { "type": "string" },
"display_name": { "type": "string" },
"favorite": { "type": "boolean" },
"last_invited_at": { "type": ["string", "null"] }
}
}
}
+8
View File
@@ -0,0 +1,8 @@
[
{
"twitch_user_id": "123456",
"display_name": "ExampleStreamer",
"favorite": true,
"last_invited_at": "2026-10-25T12:00:00Z"
}
]