Debian Codegraph @

gavo/resources/schemata/VOSIAvailability.xsd

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