Code

Changed license to GPL-2+ (from GPL-2only).
[nagixsc.git] / xml / nagixsc.xsd
1 <!--
2   - Copyright (C) 2009-2010 Sven Velt <sv@teamix.net>
3   -
4   - This program is free software; you can redistribute it and/or modify it
5   - under the terms of the GNU General Public License as published by the
6   - Free Software Foundation; either version 2 of the License, or (at your
7   - option) any later version.
8   -
9   - This program is distributed in the hope that it will be useful, but
10   - WITHOUT ANY WARRANTY; without even the implied warranty of
11   - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12   - General Public License for more details.
13   -
14   - You should have received a copy of the GNU General Public License along
15   - with this program; if not, write to the Free Software Foundation, Inc.,
16   - 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
17   -->
18 <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
19         <xsd:element name="nagixsc" minOccurs="1" maxOccurs="1">
20                 <xsd:complexType>
21                         <xsd:sequence>
22                                 <xsd:element name="timestamp" type="xsd:long" minOccurs="1" maxOccurs="1" />
24                                 <xsd:element name="host" type="xsd:string" minOccurs="1" maxOccurs="unbounded">
25                                         <xsd:sequence>
27                                                 <xsd:element name="name" type="xsd:string" minOccurs="1" maxOccurs="1" />
28                                                 <xsd:element name="returncode" type="xsd:string" minOccurs="0" maxOccurs="1" />
29                                                 <xsd:element name="output" type="xsd:int" minOccurs="0" maxOccurs="1" />
31                                                 <xsd:element name="service" type="xsd:string" minOccurs="1" maxOccurs="unbounded">
32                                                         <xsd:sequence>
33                                                                 <xsd:element name="description" type="xsd:string" minOccurs="1" maxOccurs="1" />
34                                                                 <xsd:element name="returncode" type="xsd:string" minOccurs="1" maxOccurs="1" />
35                                                                 <xsd:element name="output" type="xsd:int" minOccurs="1" maxOccurs="1" />
36                                                                 <xsd:element name="timestamp" type="xsd:string" minOccurs="0" maxOccurs="1" />
37                                                         </xsd:sequence>
38                                                 </xsd:element>
40                                         </xsd:sequence>
41                                 </xsd:element>
43                         </xsd:sequence>
44                 </xsd:complexType>
46         </xsd:element>
48 </xsd:schema>