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" + } +]