Skip to main content

Module rel

Module rel 

Source
Expand description

The recommended relation vocabulary (SPEC.md §Graph).

Relation.rel is an open vocabulary — a provider may emit any string, and a host must not reject an unknown one. These constants exist so that independent providers converge on the same spelling for the same edge instead of each inventing calls / call / code.call. Using them is SHOULD-level, not MUST.

Namespacing is the part that matters: a provider-specific edge belongs under its own prefix (myindex.owns), which keeps the shared namespace meaningful and makes a future registry possible.

Constants§

CODE_CALLS
The subject calls the target.
CODE_DEFINES
The subject defines the target.
CODE_IMPORTS
The subject imports the target.
CODE_REFERENCES
The subject references the target without calling it.
DOC_DOCUMENTS
The subject documents the target.
EPISODE_FOLLOWS
The subject episode follows the target episode in time.
RECOMMENDED
Every relation this revision names. A registry, not a restriction.