Skip to content

Ontology extends graph contains a cycle

Type URI: https://modeled-information-format.github.io/mif-rs/references/errors/ontology-extends-cycle/v1 HTTP status: 422 Exit code: 4 Emitted by: mif-ontology (OntologyError::Cycle)

ontology '{0}' is part of an extends cycle

resolve_chain’s depth-first walk of the extends graph revisited an ontology ID it was already in the process of visiting, proving the graph is cyclic rather than the tree the three-tier inheritance model requires.

MaybeIncorrect — break the extends cycle by removing or redirecting one of the offending ontology definitions’ extends entries.