console.log('$ref: keywords ignored in schema at path "' + it.errSchemaPath + '"');
}}
}}
{{# def.checkType }}
{{?? it.opts.extendRefs !== true }}
{{? $coerceToTypes }}
{{ console.log('$ref: all keywords used in schema at path "' + it.errSchemaPath + '". It will change in the next major version, see issue #260. Use option { extendRefs: true } to keep current behaviour'); }}
{{# def.coerceType }}
{{??}}
{{# def.error:'type' }}
{{?}}
}
{{?}}
{{?}}
{{?}}
{{?}}
{{? it.schema.$ref && !$refKeywords }}
{{? it.schema.$ref && !$refKeywords }}
{{= it.RULES.all.$ref.code(it, '$ref') }}
{{= it.RULES.all.$ref.code(it, '$ref') }}
{{? $breakOnError }}
{{? $breakOnError }}
...
@@ -194,7 +120,7 @@
...
@@ -194,7 +120,7 @@
{{? $rulesGroup.type }}
{{? $rulesGroup.type }}
if ({{= it.util.checkDataType($rulesGroup.type, $data) }}) {
if ({{= it.util.checkDataType($rulesGroup.type, $data) }}) {