const.jst (280B)
1 {{# def.definitions }} 2 {{# def.errors }} 3 {{# def.setupKeyword }} 4 {{# def.$data }} 5 6 {{? !$isData }} 7 var schema{{=$lvl}} = validate.schema{{=$schemaPath}}; 8 {{?}} 9 var {{=$valid}} = equal({{=$data}}, schema{{=$lvl}}); 10 {{# def.checkError:'const' }} 11 {{? $breakOnError }} else { {{?}}