Validate an instance
Supply the JSON document to test and the schema that describes its permitted shape. The validator parses both documents, evaluates applicable schema keywords, and reports failed constraints with their associated locations. A successful result means that particular instance satisfies that schema. It does not establish that the instance meets requirements that the schema never expressed.