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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1160 - (show annotations)
Tue Oct 27 07:48:25 2009 UTC (10 years, 9 months ago) by rplante@ncsa.uiuc.edu
File size: 3385 byte(s)
VOSI-v1.0.xsd: added version attribute
1 <xsd:schema targetNamespace="http://www.ivoa.net/xml/VOSI/v1.0"
2 xmlns:tns="http://www.ivoa.net/xml/VOSI/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 metadata returned as representations of web
13 resources defined in the IVOA Support Interfaces specification (VOSI).
14 See http://www.ivoa.net/Documents/latest/VOSI.html.
15 </xsd:documentation>
16 </xsd:annotation>
17
18 <xsd:import namespace="http://www.ivoa.net/xml/VOResource/v1.0"
19 schemaLocation="http://www.ivoa.net/xml/VOResource/v1.0" />
20
21 <!--
22 - the root element for a VOSI availability (section 2.1)
23 -->
24 <xsd:element name="availability" type="tns:Availability"/>
25
26 <!--
27 - the root element for a VOSI capabilities metadata (section 2.3)
28 -->
29 <xsd:element name="capabilities" type="tns:Capabilities"/>
30
31 <xsd:complexType name="Availability">
32 <xsd:sequence>
33
34 <xsd:element name="available" type="xsd:boolean">
35 <xsd:annotation>
36 <xsd:documentation>Indicates whether the service is currently
37 available.</xsd:documentation>
38 </xsd:annotation>
39 </xsd:element>
40
41 <xsd:element name="upSince" type="xsd:dateTime" minOccurs="0">
42 <xsd:annotation>
43 <xsd:documentation>The instant at which the service last became
44 available.</xsd:documentation>
45 </xsd:annotation>
46 </xsd:element>
47
48 <xsd:element name="downAt" type="xsd:dateTime" minOccurs="0">
49 <xsd:annotation>
50 <xsd:documentation>The instant at which the service is next scheduled to become
51 unavailable.</xsd:documentation>
52 </xsd:annotation>
53 </xsd:element>
54
55 <xsd:element name="backAt" type="xsd:dateTime" minOccurs="0">
56 <xsd:annotation>
57 <xsd:documentation>The instant at which the service is scheduled to become available again
58 after a period of unavailability.</xsd:documentation>
59 </xsd:annotation>
60 </xsd:element>
61
62 <xsd:element name="note" type="xsd:string" minOccurs="0" maxOccurs="unbounded">
63 <xsd:annotation>
64 <xsd:documentation>A textual note concerning availability.</xsd:documentation>
65 </xsd:annotation>
66 </xsd:element>
67
68 </xsd:sequence>
69 </xsd:complexType>
70
71
72 <xsd:complexType name="Capabilities">
73 <xsd:annotation>
74 <xsd:documentation>
75 A listing of capabilities supported by a service
76 </xsd:documentation>
77 </xsd:annotation>
78
79 <xsd:sequence>
80 <xsd:element name="capability" type="vr:Capability"
81 minOccurs="1" maxOccurs="unbounded">
82 <xsd:annotation>
83 <xsd:documentation>
84 A capability supported by the service.
85 </xsd:documentation>
86 <xsd:documentation>
87 A protocol-specific capability is included by specifying a
88 vr:Capability sub-type via an xsi:type attribute on this element.
89 </xsd:documentation>
90 </xsd:annotation>
91 </xsd:element>
92 </xsd:sequence>
93 </xsd:complexType>
94
95 </xsd:schema>
96
97

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