feat: add stream info contracts
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://trixie.reaperofveriod.nl/contracts/v1/stream-info-request.json",
|
||||
"title": "Twitch stream information update",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"minProperties": 1,
|
||||
"properties": {
|
||||
"title": { "type": "string", "maxLength": 140 },
|
||||
"game_id": { "type": "string", "maxLength": 64 },
|
||||
"language": { "type": "string", "maxLength": 10 },
|
||||
"tags": { "type": "array", "maxItems": 10, "items": { "type": "string", "maxLength": 25 } },
|
||||
"content_classification_labels": { "type": "array", "maxItems": 10, "items": { "type": "string", "maxLength": 64 } }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user