pub fn dangling_refs(document: &Value) -> Vec<String>
Every $ref inside document that points at nothing in it. A reference to another file is not followed, and not reported.
$ref
document