<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE property-groups PUBLIC "-//OpenKM//DTD Property Groups 2.1//EN"
                                 "http://www.openkm.com/dtd/property-groups-2.1.dtd">
<property-groups>
	<property-group label="Expiration" name="okg:expiration">
           <input label="Expiration date" name="okp:expiration.date" type="date">
                   <validator type="req"/>
           </input>
           <select label="State" name="okp:expiration.state" type="simple">
                   <option label="Notify" value="notify" selected="true"/>
                   <option label="Valid" value="valid" />
                   <option label="Expired" value="expired" />
                   <validator type="req"/>
           </select>
           <select label="Notify" name="okp:expiration.group.notify" type="multiple" 
                   table="group" optionsQuery="select $gru_name, $gru_name from DatabaseMetadataValue dmv where dmv.table='group' group by $gru_name">
                   <validator type="req"/>
           </select>
           <select label="Notify expiration alert" name="okp:expiration.group.alert" type="multiple" 
                   table="group" optionsQuery="select $gru_name, $gru_name from DatabaseMetadataValue dmv where dmv.table='group' group by $gru_name">
                   <validator type="req"/>
           </select>
           <select label="Notify expirated" name="okp:expiration.group.expired" type="multiple" 
                   table="group" optionsQuery="select $gru_name, $gru_name from DatabaseMetadataValue dmv where dmv.table='group' group by $gru_name">
                   <validator type="req"/>
           </select>
   </property-group>
</property-groups>
