Implement a function filter json errors that validates data against a JSON schema using the jsonschema…
Implement a function filter json errors that validates data against a JSON schema using the jsonschema…: a task in r2e-code-instruct-qwen3.5 (Harbor dataset). Example 1: Input: schema={"type": "object", "required": "name" } , data={"age": 10} , keywords={'required'} Output: List containing one…
The task
Example 1: Input: `schema={"type": "object", "required": ["name"]}`, `data={"age": 10}`, `keywords={'required'}` Output: List containing one `ValidationError` with `validator` == 'required'.
Part of Essacheez/r2e-code-instruct-qwen3.5.