blob: 146c351d3611db14888c1811f2da3b691d70f18a [file] [log] [blame]
ramangrover29f18d4562013-02-15 23:56:00 +00001<?xml version="1.0" encoding="ISO-8859-1" ?>
Till Westmann5b431ca2015-10-01 19:16:11 -07002
3<!--
4 ! Licensed to the Apache Software Foundation (ASF) under one
5 ! or more contributor license agreements. See the NOTICE file
6 ! distributed with this work for additional information
7 ! regarding copyright ownership. The ASF licenses this file
8 ! to you under the Apache License, Version 2.0 (the
9 ! "License"); you may not use this file except in compliance
10 ! with the License. You may obtain a copy of the License at
11 !
12 ! http://www.apache.org/licenses/LICENSE-2.0
13 !
14 ! Unless required by applicable law or agreed to in writing,
15 ! software distributed under the License is distributed on an
16 ! "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17 ! KIND, either express or implied. See the License for the
18 ! specific language governing permissions and limitations
19 ! under the License.
20 !-->
21
ramangrover29f18d4562013-02-15 23:56:00 +000022<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:es="events" targetNamespace="events" elementFormDefault="qualified">
23
24<!-- definition of simple types -->
25<xs:element name="script" type="xs:string"/>
26<xs:element name="type" type="xs:string"/>
27<xs:element name="description" type="xs:string"/>
28<xs:element name="args" type="xs:string"/>
29<xs:element name="daemon" type="xs:boolean"/>
30
31<!-- definition of complex elements -->
32
33<xs:element name="event">
34 <xs:complexType>
35 <xs:sequence>
36 <xs:element ref="es:type"/>
37 <xs:element ref="es:script"/>
38 <xs:element ref="es:description"/>
39 <xs:element ref="es:args"/>
40 <xs:element ref="es:daemon"/>
41 </xs:sequence>
42 </xs:complexType>
43</xs:element>
44
45<xs:element name="events">
46 <xs:complexType>
47 <xs:sequence>
48 <xs:element ref="es:event" maxOccurs="unbounded"/>
49 </xs:sequence>
50 </xs:complexType>
51</xs:element>
52
53</xs:schema>