{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "How far you've read in one of a group's places, a chat or a board, say: kept in your own inbox, where only you read it.",
      "key": "any",
      "record": {
        "properties": {
          "readUntil": {
            "format": "datetime",
            "type": "string"
          },
          "room": {
            "description": "In a chat, what its room is about, such as an event. Without one, the space as a whole.",
            "format": "at-uri",
            "type": "string"
          },
          "space": {
            "description": "The space.",
            "format": "at-uri",
            "type": "string"
          }
        },
        "required": [
          "space",
          "readUntil"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "fyi.opensocial.readState",
  "lexicon": 1
}
