Ontology: declare relationship
ontology.declareRelationship is a CLI native declaration.
Access
ontology.declareRelationship is included in the public @merulan/cli 0.1.0 artifact. Production use remains Preview until the linked live behavior is qualified.
Public acquisition: Available. Coordinate: @merulan/cli. Version: 0.1.0. Live operation: Preview. Production calls and readback are not yet qualified. Evidence: 2026-09-17.
Native syntax
ontology.declareRelationship uses this native callable form.
merulan ontology relationships declare --definition <json> [--expected-version <value>] [--acknowledge-breaking-change <value>]Arguments
ontology.declareRelationship accepts the native arguments below.
| Argument | Native type |
|---|---|
| --definition | required option <json> |
| --expected-version | optional option <value> |
| --acknowledge-breaking-change | optional option <value> |
Response
ontology.declareRelationship has no result shape in its native authority.
Shared operation meaning
ontology.declareRelationship delegates operation meaning to ontology.declareRelationship. That operation owns authorization, failures, and readback. ontology.declareRelationship preserves native adapter syntax without translating it into HTTP syntax.
Availability
ontology.declareRelationship is included in the public @merulan/cli 0.1.0 artifact. Production use remains Preview until the linked live behavior is qualified.
Public acquisition: Available. Coordinate: @merulan/cli. Version: 0.1.0. Live operation: Preview. Production calls and readback are not yet qualified. Evidence: 2026-09-17.
Readback
ontology.declareRelationship uses the shared operation readback when one is linked above. Otherwise, ontology.declareRelationship has no separate native readback contract.