pub fn definition(bytes: &[u8]) -> Result<(), Refusal>
Recognize only spec 034 declarations and item members, not unrelated JSON keys. Malformed JSON retains the ordinary document parser’s diagnostic.