<?xml version="1.0" encoding="utf-8"?>
<ruleset version="1.5.0">
    <customrules>
    </customrules>
    <fields>
		<field name="menu_srl" required="true" rule="number" />
		<field name="menu_name" required="true" />
		<field name="cType" required="true" />
		<field name="module_type">
			<if test="$cType == 'CREATE' || $cType == 'SELECT'" attr="required" value="true" />
		</field>
		<field name="create_menu_url">
			<if test="$cType == 'CREATE'" attr="required" value="true" />
		</field>
		<field name="select_menu_url">
			<if test="$cType == 'SELECT'" attr="required" value="true" />
		</field>
		<field name="menu_url">
			<if test="$cType == 'URL'" attr="required" value="true" />
		</field>
		<field name="menu_open_window" required="true" />
    </fields>
</ruleset>
