Ontology

Kinds and their required properties

An ontology declares which kinds of node exist and what fields or relationships each kind requires. Kinds are explicit data, not guessed from directory depth. Validation can therefore report missing properties, unknown kinds, and disallowed relationships. In racecar the architecture and lexicon trees each declare their own schema, enabling the system to check the corpus against rules authored separately from the instances.