ramangrover29 | f18d456 | 2013-02-15 23:56:00 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="ISO-8859-1" ?> |
| 2 | <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:es="events" targetNamespace="events" elementFormDefault="qualified"> |
| 3 | |
| 4 | <!-- definition of simple types --> |
| 5 | <xs:element name="script" type="xs:string"/> |
| 6 | <xs:element name="type" type="xs:string"/> |
| 7 | <xs:element name="description" type="xs:string"/> |
| 8 | <xs:element name="args" type="xs:string"/> |
| 9 | <xs:element name="daemon" type="xs:boolean"/> |
| 10 | |
| 11 | <!-- definition of complex elements --> |
| 12 | |
| 13 | <xs:element name="event"> |
| 14 | <xs:complexType> |
| 15 | <xs:sequence> |
| 16 | <xs:element ref="es:type"/> |
| 17 | <xs:element ref="es:script"/> |
| 18 | <xs:element ref="es:description"/> |
| 19 | <xs:element ref="es:args"/> |
| 20 | <xs:element ref="es:daemon"/> |
| 21 | </xs:sequence> |
| 22 | </xs:complexType> |
| 23 | </xs:element> |
| 24 | |
| 25 | <xs:element name="events"> |
| 26 | <xs:complexType> |
| 27 | <xs:sequence> |
| 28 | <xs:element ref="es:event" maxOccurs="unbounded"/> |
| 29 | </xs:sequence> |
| 30 | </xs:complexType> |
| 31 | </xs:element> |
| 32 | |
| 33 | </xs:schema> |