code: function parseAndAutoValidate(json) {
    try {
      const obj = JSON.parse(json);
      return autoValidate(obj);
    } catch (error) {
      return { isValid: false, error: error };
    }
  }
docs: Parse and validate JSON, auto-detecting its schema.