Code

Added COPYING (GPLv2) and copyright headers to all source files.
[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; only version 2 of the License is applicable.
7   -
8   - This program is distributed in the hope that it will be useful, but
9   - WITHOUT ANY WARRANTY; without even the implied warranty of
10   - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11   - General Public License for more details.
12   -
13   - You should have received a copy of the GNU General Public License along
14   - with this program; if not, write to the Free Software Foundation, Inc.,
15   - 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
16   -->
17 <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
18         <xsd:element name="nagixsc" minOccurs="1" maxOccurs="1">
19                 <xsd:complexType>
20                         <xsd:sequence>
21                                 <xsd:element name="timestamp" type="xsd:long" minOccurs="1" maxOccurs="1" />
23                                 <xsd:element name="host" type="xsd:string" minOccurs="1" maxOccurs="unbounded">
24                                         <xsd:sequence>
26                                                 <xsd:element name="name" type="xsd:string" minOccurs="1" maxOccurs="1" />
27                                                 <xsd:element name="returncode" type="xsd:string" minOccurs="0" maxOccurs="1" />
28                                                 <xsd:element name="output" type="xsd:int" minOccurs="0" maxOccurs="1" />
30                                                 <xsd:element name="service" type="xsd:string" minOccurs="1" maxOccurs="unbounded">
31                                                         <xsd:sequence>
32                                                                 <xsd:element name="description" type="xsd:string" minOccurs="1" maxOccurs="1" />
33                                                                 <xsd:element name="returncode" type="xsd:string" minOccurs="1" maxOccurs="1" />
34                                                                 <xsd:element name="output" type="xsd:int" minOccurs="1" maxOccurs="1" />
35                                                                 <xsd:element name="timestamp" type="xsd:string" minOccurs="0" maxOccurs="1" />
36                                                         </xsd:sequence>
37                                                 </xsd:element>
39                                         </xsd:sequence>
40                                 </xsd:element>
42                         </xsd:sequence>
43                 </xsd:complexType>
45         </xsd:element>
47 </xsd:schema>