let bookmark_entry_type = {
  id         | String,
  node_id    | String,          # ontology node id (e.g. "add-project")
  kind       | String,          # "node" | "adr" | "mode"
  title      | String,
  level      | String | default = "",   # Axiom | Tension | Practice | Project
  term       | String | default = "",   # search term that produced this result
  actor      | String | default = "human",
  created_at | String | default = "",
  tags       | Array String | default = [],
} in

let bookmark_store_type = {
  entries | Array bookmark_entry_type | default = [],
} in

{
  BookmarkEntry = bookmark_entry_type,
  BookmarkStore = bookmark_store_type,
}
