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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

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