ontoref/reflection/schemas/search_bookmarks.ncl

21 lines
664 B
Plaintext
Raw Normal View History

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,
}