{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A game in the actor's collection, keyed by its IGDB id. Stores the current rating, like/play state, and the cover image. Logs are separate social.respawn.feed.log records; creating a log updates this record's current state.",
      "key": "any",
      "record": {
        "properties": {
          "cover": {
            "ref": "social.respawn.defs#cover",
            "type": "ref"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "game": {
            "ref": "social.respawn.defs#gameRef",
            "type": "ref"
          },
          "liked": {
            "type": "boolean"
          },
          "played": {
            "ref": "social.respawn.defs#playState",
            "type": "ref"
          },
          "playing": {
            "type": "boolean"
          },
          "rating": {
            "description": "Actor's rating, 1-10.",
            "maximum": 10,
            "minimum": 1,
            "type": "integer"
          }
        },
        "required": [
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "social.respawn.game",
  "lexicon": 1
}
