oa_gateway_uci::xsd::references

Function check_references

Source
pub(super) fn check_references(schema: &Schema) -> Result<(), UciError>
Expand description

Confirm every type reference lands on something the schema defines.

This is what turns a forgotten document into a precise error instead of an UnknownType surfacing later against live traffic.