install-nix-action/node_modules/ajv/lib/dot/const.jst
Domen Kožar 70742d22d9
v6
2019-11-19 17:50:30 +01:00

12 lines
280 B
Plaintext

{{# def.definitions }}
{{# def.errors }}
{{# def.setupKeyword }}
{{# def.$data }}
{{? !$isData }}
var schema{{=$lvl}} = validate.schema{{=$schemaPath}};
{{?}}
var {{=$valid}} = equal({{=$data}}, schema{{=$lvl}});
{{# def.checkError:'const' }}
{{? $breakOnError }} else { {{?}}