<!-- 

DTD 0.2 for the JASon single service configuration file. 

A service is tied with a class that implements the
jason.core.Service interface.
A service contains verbose definition and properties

-->

<!-- 
Service definition :

* name : Name of the service
* class : Java Class name of the service
* classpath : Classpath with a set of .jar/.zip/directories for using the service, the separator is ';' or ':'
* verbose : Active the verbose mode for this service 
* test : Active the test mode. This test mode writes a message for the first service access
* thread : LoadBalancing with thread
* process : LoadBalancing with multiple process
* persistence : Let the service in a 'door'. For 'false', it will be deleted after usage
* start-period : For service that extends the SchedulableService, a value in minute for starting several time the service
* start-minute : For service that extends the SchedulableService, a value in minute for starting the service at this minute time
* start-hour : For service that extends the SchedulableService, a value in hour for starting the service at this hour time
* start-day : For service that extends the SchedulableService, a value in hour for starting the service at this day (starting from 0)
* start-month : For service that extends the SchedulableService, a value in hour for starting the service at this month (starting from 0)
-->

<!ENTITY % property SYSTEM "property.dtd">

<!ELEMENT service ( verbose*, property* )>
<!ATTLIST service
name CDATA #REQUIRED 
class CDATA #REQUIRED 
classpath CDATA #IMPLIED 
verbose CDATA #IMPLIED 
test CDATA #IMPLIED
thread CDATA #IMPLIED
process CDATA #IMPLIED
persistence (false | true) "true"
start-period CDATA #IMPLIED
start-minute CDATA #IMPLIED
start-hour CDATA #IMPLIED
start-day CDATA #IMPLIED
start-month CDATA #IMPLIED>

%property;

<!--
Verbose definition 
* type : Verbose type enabled 
* enabled : "true" or "false" 
-->
<!ELEMENT verbose EMPTY>
<!ATTLIST verbose
type CDATA #REQUIRED
enabled CDATA #REQUIRED>