{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A game, published by the developer that made it. One per repo: the record lives in the developer's own repository and is the canonical, self-asserted definition of the game. Player-side records reference it by AT-URI.",
      "key": "literal:self",
      "record": {
        "properties": {
          "createdAt": {
            "description": "When this record was created.",
            "format": "datetime",
            "type": "string"
          },
          "description": {
            "description": "Short description of the game.",
            "maxGraphemes": 300,
            "maxLength": 3000,
            "type": "string"
          },
          "genres": {
            "description": "Free-form genre tags, e.g. 'mmorpg', 'sandbox'.",
            "items": {
              "maxGraphemes": 32,
              "maxLength": 128,
              "type": "string"
            },
            "maxLength": 8,
            "type": "array"
          },
          "logo": {
            "accept": [
              "image/png",
              "image/jpeg",
              "image/webp"
            ],
            "description": "Game logo or cover image.",
            "maxSize": 1000000,
            "type": "blob"
          },
          "name": {
            "description": "Display name of the game.",
            "maxGraphemes": 64,
            "maxLength": 640,
            "type": "string"
          },
          "platforms": {
            "description": "Where the game runs, e.g. 'web', 'android'.",
            "items": {
              "maxGraphemes": 32,
              "maxLength": 128,
              "type": "string"
            },
            "maxLength": 16,
            "type": "array"
          },
          "url": {
            "description": "Where the game can be played.",
            "format": "uri",
            "type": "string"
          }
        },
        "required": [
          "name",
          "url",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "lol.folk.game",
  "lexicon": 1
}
