Expand description
Pure fallback extraction (spec 038, 3.7), without runtime or compiler wiring.
Structs§
- Bound
Program - Only
bindconstructs this, checking document bounds and step compatibility. - Fallback
Field - A validated field plus sorted, unique input references actually read while evaluating it, including reads by rules that did not produce its value.
Enums§
- Source
- Screening for exact steps has already been applied by the caller. A source
withheld only from model steps belongs in
Readable, notUnavailable.
Functions§
- bind
- Check spec 038, 3.7.2 and 3.7.3. Errors are for the compiler to map to
invalid_extraction. Literal bounds and vocabulary membership are evaluated later by the shared field validator, against resolved vocabularies. - bind_in
bind, with the definition’s inputs, which spec 070’s binding checks read (3.5): a source a version 2 extractor reads is a declaredtextinput or record field. Without them no such source binds.- hint_
paths - The paths of the extract fields a
vocabulary_afterrule can fill, as(field, subfield): their values are gradedhint(spec 070, 3.8.2). - merge
- Merge by field name, preserving model order and every present model field.
request_produced_outputdistinguishes an accepted record with absent fields from a request failure. The caller supplies model entries for the full schema. Returns source lineage only for fallback entries actually selected by the fill.