/[volute]/trunk/projects/grid/VOSI/VOSIAvailability-v1.0.xsd
ViewVC logotype

Contents of /trunk/projects/grid/VOSI/VOSIAvailability-v1.0.xsd

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1255 - (show annotations)
Thu Mar 11 16:07:56 2010 UTC (10 years, 7 months ago) by rplante@ncsa.uiuc.edu
File size: 2490 byte(s)
add draft of spec, examples, and previous WD releases; tweaked xsd comments

1 <xsd:schema targetNamespace="http://www.ivoa.net/xml/VOSIAvailability/v1.0"
2 xmlns:tns="http://www.ivoa.net/xml/VOSIAvailability/v1.0"
3 xmlns:vr="http://www.ivoa.net/xml/VOResource/v1.0"
4 xmlns:xsd="http://www.w3.org/2001/XMLSchema"
5 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
6 elementFormDefault="qualified"
7 attributeFormDefault="unqualified"
8 version="1.0rc1">
9
10 <xsd:annotation>
11 <xsd:documentation>
12 A schema for formatting availability metadata as returned by an
13 availability resource defined in the IVOA Support Interfaces
14 specification (VOSI).
15 See http://www.ivoa.net/Documents/latest/VOSI.html.
16 </xsd:documentation>
17 </xsd:annotation>
18
19 <!--
20 - the root element for a VOSI availability (section 2.3)
21 -->
22 <xsd:element name="availability" type="tns:Availability"/>
23
24 <xsd:complexType name="Availability">
25 <xsd:sequence>
26
27 <xsd:element name="available" type="xsd:boolean">
28 <xsd:annotation>
29 <xsd:documentation>
30 Indicates whether the service is currently available.
31 </xsd:documentation>
32 </xsd:annotation>
33 </xsd:element>
34
35 <xsd:element name="upSince" type="xsd:dateTime" minOccurs="0">
36 <xsd:annotation>
37 <xsd:documentation>
38 The instant at which the service last became available.
39 </xsd:documentation>
40 </xsd:annotation>
41 </xsd:element>
42
43 <xsd:element name="downAt" type="xsd:dateTime" minOccurs="0">
44 <xsd:annotation>
45 <xsd:documentation>
46 The instant at which the service is next scheduled to become
47 unavailable.
48 </xsd:documentation>
49 </xsd:annotation>
50 </xsd:element>
51
52 <xsd:element name="backAt" type="xsd:dateTime" minOccurs="0">
53 <xsd:annotation>
54 <xsd:documentation>
55 The instant at which the service is scheduled to become available
56 again after a period of unavailability.
57 </xsd:documentation>
58 </xsd:annotation>
59 </xsd:element>
60
61 <xsd:element name="note" type="xsd:string"
62 minOccurs="0" maxOccurs="unbounded">
63 <xsd:annotation>
64 <xsd:documentation>
65 A textual note concerning availability.
66 </xsd:documentation>
67 </xsd:annotation>
68 </xsd:element>
69
70 </xsd:sequence>
71 </xsd:complexType>
72
73 </xsd:schema>

msdemlei@ari.uni-heidelberg.de
ViewVC Help
Powered by ViewVC 1.1.26