Skip to main content

Module schema

Module schema 

Source
Expand description

Pure logic for zenith schema.

The public entry points operate entirely on static schema data — no filesystem I/O. The caller (dispatch) is responsible for printing the returned string and mapping the exit code.

Functions§

asset
zenith schema asset: summary + recognized attributes for an asset declaration.
block
zenith schema block: role vocabulary, properties, scopes, and cascade for the block role="…" declaration.
brand
zenith schema brand: structure and semantics of the top-level brand { … } block.
diagnostics
zenith schema diagnostics: the in-file diagnostic-policy verbs and the governable diagnostic codes.
document
zenith schema document: summary + recognized attributes for the document root.
node_detail
zenith schema node <kind>: detail for one node kind.
nodes
zenith schema nodes: list all node kinds with their summaries.
op_detail
zenith schema op <name>: full detail for one tx op (summary + fields + example).
ops
zenith schema ops: list all tx ops with their summaries.
overview
Bare zenith schema: short overview with counts and drill-in hints.
page
zenith schema page: summary + recognized attributes for a page declaration.
token_detail
zenith schema token <type>: full detail for one token type.
tokens
zenith schema tokens: list all token types with their summaries.
variant
zenith schema variant: descriptor for the variants block and override entry.