pub fn validate_document_json_schema(json: &str) -> Result<(), JsonSchemaError>Expand description
Validates the stable JSON shape emitted by extract_json.
This is a lightweight schema guard for the dependency-light extraction layer. It verifies the top-level contract and node discriminators without accepting arbitrary JSON as input.