Skip to main content

unsupported_reason

Function unsupported_reason 

Source
fn unsupported_reason(schema: &Value) -> Option<&'static str>
Expand description

The first unsupported keyword in schema or in a subschema under it.

A keyword is looked for only where a schema puts keywords. The keys of properties are a tool’s parameter names, so a parameter called if or definitions is a name, and only the subschema under it is searched. A value that is not a subschema, such as an enum member or a default, is not searched at all.