From e4e4337852f5b2de9475457617e306c3847e012c Mon Sep 17 00:00:00 2001 From: ReaperOfVeriod Date: Sun, 25 Oct 2026 05:27:00 +0100 Subject: [PATCH] add collaborator search contract --- contracts/v1/collaborator-search-response.json | 14 ++++++++++++++ fixtures/v1/collaborator-search.response.json | 7 +++++++ 2 files changed, 21 insertions(+) create mode 100644 contracts/v1/collaborator-search-response.json create mode 100644 fixtures/v1/collaborator-search.response.json diff --git a/contracts/v1/collaborator-search-response.json b/contracts/v1/collaborator-search-response.json new file mode 100644 index 0000000..ee01bb8 --- /dev/null +++ b/contracts/v1/collaborator-search-response.json @@ -0,0 +1,14 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "type": "array", + "items": { + "type": "object", + "additionalProperties": false, + "required": ["id", "login", "display_name"], + "properties": { + "id": { "type": "string" }, + "login": { "type": "string" }, + "display_name": { "type": "string" } + } + } +} diff --git a/fixtures/v1/collaborator-search.response.json b/fixtures/v1/collaborator-search.response.json new file mode 100644 index 0000000..edfb8f7 --- /dev/null +++ b/fixtures/v1/collaborator-search.response.json @@ -0,0 +1,7 @@ +[ + { + "id": "123456", + "login": "example_streamer", + "display_name": "ExampleStreamer" + } +]