Misskey · Schema

ReversiGameLite

Open-SourceSocial NetworksFediverseActivityPubDecentralized

Properties

Name Type Description
id string
createdAt string
startedAt stringnull
endedAt stringnull
isStarted boolean
isEnded boolean
user1Id string
user2Id string
user1 object
user2 object
winnerId stringnull
winner objectnull
surrenderedUserId stringnull
timeoutUserId stringnull
black numbernull
bw string
noIrregularRules boolean
isLlotheo boolean
canPutEverywhere boolean
loopedBoard boolean
timeLimitForEachTurn number
View JSON Schema on GitHub

JSON Schema

misskey-reversigamelite-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://misskey.io/schemas/ReversiGameLite",
  "title": "ReversiGameLite",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "id"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "startedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "endedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "isStarted": {
      "type": "boolean"
    },
    "isEnded": {
      "type": "boolean"
    },
    "user1Id": {
      "type": "string",
      "format": "id"
    },
    "user2Id": {
      "type": "string",
      "format": "id"
    },
    "user1": {
      "type": "object",
      "$ref": "#/components/schemas/UserLite"
    },
    "user2": {
      "type": "object",
      "$ref": "#/components/schemas/UserLite"
    },
    "winnerId": {
      "type": [
        "string",
        "null"
      ],
      "format": "id"
    },
    "winner": {
      "type": [
        "object",
        "null"
      ],
      "anyOf": [
        {
          "$ref": "#/components/schemas/UserLite"
        },
        {
          "type": "null"
        }
      ]
    },
    "surrenderedUserId": {
      "type": [
        "string",
        "null"
      ],
      "format": "id"
    },
    "timeoutUserId": {
      "type": [
        "string",
        "null"
      ],
      "format": "id"
    },
    "black": {
      "type": [
        "number",
        "null"
      ]
    },
    "bw": {
      "type": "string"
    },
    "noIrregularRules": {
      "type": "boolean"
    },
    "isLlotheo": {
      "type": "boolean"
    },
    "canPutEverywhere": {
      "type": "boolean"
    },
    "loopedBoard": {
      "type": "boolean"
    },
    "timeLimitForEachTurn": {
      "type": "number"
    }
  },
  "required": [
    "id",
    "createdAt",
    "startedAt",
    "endedAt",
    "isStarted",
    "isEnded",
    "user1Id",
    "user2Id",
    "user1",
    "user2",
    "winnerId",
    "winner",
    "surrenderedUserId",
    "timeoutUserId",
    "black",
    "bw",
    "noIrregularRules",
    "isLlotheo",
    "canPutEverywhere",
    "loopedBoard",
    "timeLimitForEachTurn"
  ]
}