'use strict'; module.exports = function generate_patternRequired(it, $keyword, $ruleType) { var out=' '; var $lvl = it.level; var $dataLvl = it.dataLevel; var $schema = it.schema[$keyword]; var $schemaPath = it.schemaPath + it.util.getProperty($keyword); var $errSchemaPath = it.errSchemaPath + '/' + $keyword; var $breakOnError = !it.opts.allErrors; var $data = 'data' + ($dataLvl || ''); var $valid = 'valid' + $lvl; var $key = 'key' + $lvl , $idx = 'idx' + $lvl , $matched = 'patternMatched' + $lvl , $dataProperties = 'dataProperties' + $lvl , $closingBraces = '' , $ownProperties = it.opts.ownProperties;out+='var '+($valid)+' = true;';if($ownProperties){out+=' var '+($dataProperties)+' = undefined;';}var arr1=$schema;if(arr1){var $pProperty,i1=-1,l1=arr1.length-1;while(i1