pub fn validate_output_str( content: &str, schema: &Value, ) -> Result<Value, String>
Validate a JSON string against a JSON Schema.
Attempts to parse the string as JSON first, then validates against the schema.