modelFindingsfunctionfunction modelFindings(model: LayeredModel): readonly Finding[]Every finding of the model's vocabulary, relations and ids, in the order of the elements, then of the relations.
The checks of a model's vocabulary and relations (commons 0033-kanon FR-028, FR-029): two elements with one id, an element or a relation of a kind that the model's vocabulary does not list, an annotation of Governance whose name it does not list, and a relation whose end is no element or whose ends are in two layers. Pure: it reads the model and returns findings in the form of the import check, so that one baseline holds all of them. A model with no vocabulary has no kind and no name checked; the duplicate ids and the relations are checked for every model.
What is an orphan, a broken external link or a chain of redirects is the host's, not Kanon's. A relation may be cyclic: a cycle is no finding.
import { modelFindings, type LayeredModel } from "@intellectual-frontiers/kanon";
declare const model: LayeredModel;
modelFindings(model).map((f) => f.key);modelFindingsfunctionfunction modelFindings(model: LayeredModel): readonly Finding[]Every finding of the model's vocabulary, relations and ids, in the order of the elements, then of the relations.