ajv/lib/dot/allOf.jst

24 lines
405 B
Plaintext
Raw Normal View History

{{# def.definitions }}
2015-12-12 16:41:51 +03:00
{{# def.errors }}
{{# def.setup:'allOf' }}
{{# def.setupNextLevel }}
{{~ $schema:$sch:$i }}
{{? {{# def.nonEmptySchema:$sch }} }}
{{
$it.schema = $sch;
$it.schemaPath = $schemaPath + '[' + $i + ']';
}}
{{= it.validate($it) }}
2015-12-12 16:41:51 +03:00
{{# def.ifResultValid }}
{{?}}
2015-05-31 23:46:25 +03:00
{{~}}
{{? $breakOnError }}
2015-12-12 21:14:53 +03:00
{{= $closingBraces.slice(0,-1) }}
{{?}}
{{# def.cleanUp }}