pub fn validate_metadata_schema(
json_obj: &Map<String, Value>,
) -> Result<(), ParseError>Expand description
Validates a parsed metadata JSON object against the spec v2 schema.
Type-checks the validate and sections keys, then runs per-key
schema checks for the recommended metadata keys. Used by the
builder/Python set_metadata_json paths to fail fast on malformed
input, and by the parser when the file requested strict validation
via "validate": true.