From 28478cf5fe1eee0345d66ea61be3807d80111bc7 Mon Sep 17 00:00:00 2001 From: ReaperOfVeriod Date: Sun, 25 Oct 2026 07:33:25 +0100 Subject: [PATCH] add guest star invite contract --- contracts/v1/guest-star-invites-response.json | 18 ++++++++++++++++++ fixtures/v1/guest-star-invites.response.json | 9 +++++++++ 2 files changed, 27 insertions(+) create mode 100644 contracts/v1/guest-star-invites-response.json create mode 100644 fixtures/v1/guest-star-invites.response.json diff --git a/contracts/v1/guest-star-invites-response.json b/contracts/v1/guest-star-invites-response.json new file mode 100644 index 0000000..e51a558 --- /dev/null +++ b/contracts/v1/guest-star-invites-response.json @@ -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" } + } + } +} diff --git a/fixtures/v1/guest-star-invites.response.json b/fixtures/v1/guest-star-invites.response.json new file mode 100644 index 0000000..86fd244 --- /dev/null +++ b/fixtures/v1/guest-star-invites.response.json @@ -0,0 +1,9 @@ +[ + { + "user_id": "144601104", + "invited_at": "2026-10-25T12:00:00Z", + "status": "READY", + "is_video_enabled": true, + "is_audio_enabled": false + } +]