ReadonlyenvMap of record names to their Record definitions.
ReadonlyrootReference to the root record in the schema environment.
True if every document this schema accepts is also accepted by
other. Delegates to ops/subschema.ts.
True if both schemas accept exactly the same documents. Delegates to
ops/subschema.ts.
The minimal subschema recognizing only documents built from labels.
Delegates to ops/extract.ts.
True iff this schema's root record is unsatisfiable. Delegates to
ops/prune.ts.
The canonical minimal schema equivalent to this one. Delegates to
ops/minimize.ts.
An equivalent schema with everything that can never match removed.
Delegates to ops/prune.ts.
An AnyFieldType or ScalarType resolves to itself; a RefType is a
single environment lookup -- env values are always Records (enforced by
checkRefs), so ref chains cannot occur.
Full conformance per model.md §7: cardinality, closedness, and target type matching. Collects every problem found, not just the first.
A schema: a root reference plus an environment of named records.