| 2888 | schemaKeywords(it, types, !checkedTypes, errsCount); |
| 2889 | } |
| 2890 | function checkRefsAndKeywords(it) { |
| 2891 | const { schema, errSchemaPath, opts, self } = it; |
| 2892 | if (schema.$ref && opts.ignoreKeywordsWithRef && (0, util_1.schemaHasRulesButRef)(schema, self.RULES)) { |
| 2893 | self.logger.warn(`$ref: keywords ignored in schema at path "${errSchemaPath}"`); |
| 2894 | } |
| 2895 | } |
| 2896 | function checkNoDefault(it) { |
| 2897 | const { schema, opts } = it; |
| 2898 | if (schema.default !== undefined && opts.useDefaults && opts.strictSchema) { |