<?xml version="1.0" encoding="UTF-8"?>
<ae:configurations
    xmlns="http://agavi.org/agavi/config/parts/validators/1.0"
    xmlns:ae="http://agavi.org/agavi/config/global/envelope/1.0"
    parent="%core.module_dir%/Api/config/validators.xml"
>

    <ae:configuration>

        <validators>
            <validator name="command" class="string" required="false">
                <argument>command</argument>
                <errors>
                    <error>Could not validate command name</error>
                </errors>
            </validator>

            <validator name="type" class="regex" required="false">
                <argument>type</argument>
                <ae:parameter name="pattern"><![CDATA[@^(host|service|hostgroup|servicegroup|process)$@]]></ae:parameter>
                <errors>
                    <error>Could not validate type, must be one of host, service, hostgroup, servicegroup, process</error>
                </errors>
            </validator>

            <validator name="extjs" class="number" required="false">
                <argument>extjs</argument>
                <errors>
                    <error>Could not validate parameter extjs (store formatting)</error>
                </errors>
            </validator>

        </validators>

    </ae:configuration>

</ae:configurations>
