Skip to main content

validate_plugin_schema

Function validate_plugin_schema 

Source
pub fn validate_plugin_schema(value: &Value) -> Result<(), String>
Expand description

Validate a plugin-supplied JSON Schema. Returns Ok(()) if safe to merge into the host’s runtime schema tree; otherwise an error describing why.