add guest star invite contract
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://trixie.local/contracts/v1/guest-star-invites-response.json",
|
||||
"title": "Guest Star invites response",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["user_id", "invited_at", "status", "is_video_enabled", "is_audio_enabled"],
|
||||
"properties": {
|
||||
"user_id": { "type": "string", "minLength": 1 },
|
||||
"invited_at": { "type": "string", "format": "date-time" },
|
||||
"status": { "type": "string", "enum": ["INVITED", "ACCEPTED", "READY"] },
|
||||
"is_video_enabled": { "type": "boolean" },
|
||||
"is_audio_enabled": { "type": "boolean" }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
[
|
||||
{
|
||||
"user_id": "144601104",
|
||||
"invited_at": "2026-10-25T12:00:00Z",
|
||||
"status": "READY",
|
||||
"is_video_enabled": true,
|
||||
"is_audio_enabled": false
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user