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