![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /usr/lib/node_modules/npm/node_modules/har-validator/node_modules/ajv/lib/dot/ |
{{# def.definitions }} {{# def.errors }} {{# def.setupKeyword }} {{# def.setupNextLevel }} {{ var $currentBaseId = $it.baseId , $prevValid = 'prevValid' + $lvl , $passingSchemas = 'passingSchemas' + $lvl; }} var {{=$errs}} = errors , {{=$prevValid}} = false , {{=$valid}} = false , {{=$passingSchemas}} = null; {{# def.setCompositeRule }} {{~ $schema:$sch:$i }} {{? {{# def.nonEmptySchema:$sch }} }} {{ $it.schema = $sch; $it.schemaPath = $schemaPath + '[' + $i + ']'; $it.errSchemaPath = $errSchemaPath + '/' + $i; }} {{# def.insertSubschemaCode }} {{??}} var {{=$nextValid}} = true; {{?}} {{? $i }} if ({{=$nextValid}} && {{=$prevValid}}) { {{=$valid}} = false; {{=$passingSchemas}} = [{{=$passingSchemas}}, {{=$i}}]; } else { {{ $closingBraces += '}'; }} {{?}} if ({{=$nextValid}}) { {{=$valid}} = {{=$prevValid}} = true; {{=$passingSchemas}} = {{=$i}}; } {{~}} {{# def.resetCompositeRule }} {{= $closingBraces }} if (!{{=$valid}}) { {{# def.extraError:'oneOf' }} } else { {{# def.resetErrors }} {{? it.opts.allErrors }} } {{?}}