Skip to main content

show_document

Function show_document 

Source
pub fn show_document(engine: &Engine, show: &Show) -> Value
Expand description

The Show document: a Draft 2020-12 JSON Schema for the spec’s evaluation-data inputs.

Standard keywords carry what JSON Schema expresses (type, enum, minLength / maxLength, format, default, examples, items, …; pattern only on the boolean string alternative). Date inputs are oneOf date | date-time; time uses format: time. Number, measure, ratio and ranges are plain strings; the engine validates literals on evaluate. x-lemma-* keywords carry the rest, including this spec’s own rules under x-lemma-rules. $defs holds one row object schema per instance-list row spec.