Expand description
Static schema metadata for the authorable node kinds and non-node surfaces.
Exposes the canonical list of node kinds, one-line summaries, and the
recognized attribute names for each kind. The attribute list is derived
directly from the parser’s own known_props_for_kind table so the two
can never silently diverge.
Also exposes page_attributes, asset_attributes, and
document_attributes for the three non-node authorable surfaces, derived
from the same parser-side PAGE_KNOWN_PROPS, ASSET_KNOWN_PROPS, and
DOCUMENT_KNOWN_PROPS constants.
Token-type schema (token_types, token_type_summary, token_type_descriptor)
mirrors the node-kind surface and provides agent-readable value-form, child-node
structure, and minimal correct examples for every authorable token type.
Structs§
- Node
Content Descriptor - Full content descriptor for a node kind that accepts authorable child content.
- Token
Type Descriptor - Full schema descriptor for one authorable token type.
- Variant
Descriptor - Full schema descriptor for the
variants/overridesurface.
Functions§
- asset_
attributes - Return the recognized attribute names for an
assetdeclaration node. - asset_
summary - One-line description of the
assetsurface. - attribute_
type - Return a concise, agent-readable type hint for the named attribute.
- attribute_
type_ for_ kind - Return a concise, agent-readable type hint for the named attribute on the given node kind.
- diagnostic_
codes - The full catalog of diagnostic codes the engine can emit, each with its severity and a one-line summary.
- diagnostics_
summary - One-line description of the
diagnosticssurface (the rootdiagnostics { … }lint-policy block). - diagnostics_
verbs - The policy verbs accepted inside a
diagnostics { … }block, in canonical order (allow,deny,warn). - document_
attributes - Return the recognized attribute names for the root
zenithdocument node. - document_
summary - One-line description of the
documentsurface (the rootzenithnode). - node_
attributes - Return the recognized attribute names for the given node kind.
- node_
content - Return the child-content descriptor for the given node kind, or
Noneif the kind accepts no authorable child content (e.g.rect,ellipse,line). - node_
kinds - All authorable node kinds in their canonical KDL-name form.
- node_
summary - Return a one-line description of the named node kind, or
Noneif the kind is not recognised. - page_
attributes - Return the recognized attribute names for a
pagenode. - page_
summary - One-line description of the
pagesurface. - token_
type_ descriptor - Return the full descriptor for the named token type, or
Noneif the type is not recognised. - token_
type_ summary - Return a one-line description of the named token type, or
Noneif the type is not recognised. - token_
types - All authorable token types in their canonical
type=string form. - variant_
descriptor - Return the descriptor for the
variants/overridesurface.