Sanity Library Reference Docs
    Preparing search index...
    • The DECLARED field tree of a runtime schema — every entry key (optional keys marked key?), every enum vocabulary, every variant arm — walked out of valibot's runtime shape. The declared twin of fieldTreeShape (which walks a CONCRETE document): the model-surface gate pins persisted doc types by what their schema declares, so an optional field no fixture reaches is still ledger-visible. Recursive grammars (a field shape nesting field shapes) close with a '(circular)' marker.

      Parameters

      • schema: GenericSchema

      Returns unknown