123456789101112131415161718192021222324252627282930313233 |
- {{# def.definitions }}
- {{# def.errors }}
- {{# def.setupKeyword }}
- {{# def.setupNextLevel }}
- {{
- var $currentBaseId = $it.baseId
- , $allSchemasEmpty = true;
- }}
- {{~ $schema:$sch:$i }}
- {{? {{# def.nonEmptySchema:$sch }} }}
- {{
- $allSchemasEmpty = false;
- $it.schema = $sch;
- $it.schemaPath = $schemaPath + '[' + $i + ']';
- $it.errSchemaPath = $errSchemaPath + '/' + $i;
- }}
- {{# def.insertSubschemaCode }}
- {{# def.ifResultValid }}
- {{?}}
- {{~}}
- {{? $breakOnError }}
- {{? $allSchemasEmpty }}
- if (true) {
- {{??}}
- {{= $closingBraces.slice(0,-1) }}
- {{?}}
- {{?}}
|