{
 "case": "Collections: a collection is the names its books are in, matched in any case; membership is last-writer-wins per book",
 "library": [
  {
   "timestamp": 1000,
   "offset": 0,
   "device": "mac-aaaa",
   "sequence": 1,
   "type": "log.started",
   "data": {}
  }
 ],
 "book": [
  {
   "timestamp": 1000,
   "offset": 0,
   "device": "mac-aaaa",
   "sequence": 1,
   "type": "book.imported",
   "data": {
    "id": "01ja0000000000000000000000"
   }
  },
  {
   "timestamp": 1001,
   "offset": 0,
   "device": "mac-aaaa",
   "sequence": 2,
   "type": "edition.added",
   "data": {
    "id": "01ja0000000000000000000001",
    "file": "Ebook/Dune - Frank Herbert.epub",
    "hash": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08"
   }
  },
  {
   "timestamp": 1500,
   "offset": 0,
   "device": "kobo-bbbb",
   "sequence": 1,
   "type": "log.started",
   "data": {
    "book": "01ja0000000000000000000000"
   }
  },
  {
   "timestamp": 2000,
   "offset": 0,
   "device": "kobo-bbbb",
   "sequence": 2,
   "type": "collection.added",
   "data": {
    "name": "sci-fi"
   }
  },
  {
   "timestamp": 2100,
   "offset": 0,
   "device": "mac-aaaa",
   "sequence": 3,
   "type": "collection.added",
   "data": {
    "name": "Favorites"
   }
  },
  {
   "timestamp": 2200,
   "offset": 0,
   "device": "kobo-bbbb",
   "sequence": 3,
   "type": "collection.removed",
   "data": {
    "name": "FAVORITES"
   }
  }
 ],
 "expect": {
  "collections": [
   "sci-fi"
  ]
 }
}
