{
{{#if item.condOp}}
  "condOp": "{{item.condOp}}",
{{/if}}
  "notMode": {{#if item.notMode}}true{{else}}false{{/if}},
  "condType": "{{item.condType}}",
  "ruleInfo": "{{item.ruleInfo}}",
	"keyCond": {{#if item.keyCond}}true{{else}}false{{/if}},
{{#eq item.condType 'SIMPLE'}}
	"paramType": "{{item.paramType}}",
	"paramValue": "{{item.paramValue}}",
{{/eq}}
{{#if (or (eq item.condType 'VALUERANGE2') (eq item.condType 'STRINGLENGTH'))}}
	"includeMinValue": {{item.includeMinValue}},
	"minValue": "{{item.minValue}}",
	"includeMaxValue": {{item.includeMaxValue}},
	"maxValue": "{{item.maxValue}}",
{{/if}}
{{#eq item.condType 'REGEX'}}
	"regExCode": {{item.regExCode}},
{{/eq}}
{{#if (and (eq item.condType 'SYSVALUERULE') item.psSysValueRule)}}
	{{#with item.psSysValueRule as | sysRule |}}
	"sysValueRule": {
		"ruleType": "{{sysRule.ruleType}}",
		"regExCode": "{{sysRule.regExCode}}",
		"ruleInfo": "{{sysRule.ruleInfo}}",
		"scriptCode": `{{sysRule.scriptCode}}`
	}
	{{/with}}
{{/if}}
  {{#if item.psDEFVRConditions}}
  "conditions": [
	{{#each item.psDEFVRConditions as | condition |}}
    {{> @macro/front-end/common/derules.hbs item=condition}}
		{{#unless @last}},{{/unless}}
  {{/each}}
  ]
  {{/if}}
}
