From e76b8bd1f4c416d902fb378d779b7b767f19fb10 Mon Sep 17 00:00:00 2001 From: Alice Jonsson <10475857+AllieJonsson@users.noreply.github.com> Date: Sun, 1 Dec 2024 00:03:38 +0100 Subject: [PATCH] Create OpeningExplorerPlayerRecentGame.yaml --- .../OpeningExplorerPlayerRecentGame.yaml | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 doc/specs/schemas/OpeningExplorerPlayerRecentGame.yaml diff --git a/doc/specs/schemas/OpeningExplorerPlayerRecentGame.yaml b/doc/specs/schemas/OpeningExplorerPlayerRecentGame.yaml new file mode 100644 index 0000000..bcedff6 --- /dev/null +++ b/doc/specs/schemas/OpeningExplorerPlayerRecentGame.yaml @@ -0,0 +1,23 @@ +type: object +properties: + uci: + type: string + id: + type: string + winner: + type: [string, 'null'] + speed: + $ref: './Speed.yaml' + mode: + type: string + enum: + - casual + - rated + white: + $ref: './OpeningExplorerPlayer.yaml' + black: + $ref: './OpeningExplorerPlayer.yaml' + year: + type: number + month: + type: string