Expand description
Card records: the contract for structured metadata about runtime subjects.
The kernel defines the Card record and its well-known predicate keys
(subject, kind, help, args, result, tests, ops); libraries publish and
consume cards as claims.
Structs§
- Card
- Structured, machine-readable record describing a runtime subject.
Functions§
- card_
args_ predicate - Returns the
argsCard predicate symbol. - card_
fixed_ predicates - Returns the fixed Card predicate symbols in their stable schema order.
- card_
for_ ref - Builds a card for
subjectby projecting its claims, with no fallback data. - card_
for_ ref_ with_ fallback - Builds a card for
subjectwith optionalfallbacktable data and adefault_kindused when nokindclaim or fallback is present. - card_
for_ value - Builds a card for a runtime
value, using the value itself as fallback data. - card_
help_ predicate - Returns the
helpCard predicate symbol. - card_
kind_ predicate - Returns the
kindCard predicate symbol. - card_
ops_ predicate - Returns the
opsCard predicate symbol. - card_
requires_ predicate - Returns the
requiresCard predicate symbol. - card_
result_ predicate - Returns the
resultCard predicate symbol. - card_
see_ also_ predicate - Returns the
see-alsoCard predicate symbol. - card_
shape_ known_ predicate - Returns the
shape-knownCard predicate symbol. - card_
subject_ predicate - Returns the
subjectCard predicate symbol. - card_
tests_ predicate - Returns the
testsCard predicate symbol. - minimal_
card - Builds a card carrying only the fixed schema fields with default values.
- ref_
value - Projects a
Refinto its runtimeValueform: symbols become symbol values; content, handle, and coordinate refs becomecore/refextension expressions.