/[volute]/trunk/projects/theory/snapdm/xsd/simdb.xsd
ViewVC logotype

Contents of /trunk/projects/theory/snapdm/xsd/simdb.xsd

Parent Directory Parent Directory | Revision Log Revision Log


Revision 633 - (show annotations)
Thu Jun 26 16:53:56 2008 UTC (12 years, 5 months ago) by bourges.laurent
File size: 10947 byte(s)
updated cardinalities (required / optional UML attributes)
1 <?xml version="1.0" encoding="UTF-8"?>
2 <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
3 xmlns="http://www.ivoa.net/xml/SNAP/v0.1/simdb"
4 xmlns:base="http://www.ivoa.net/xml/dm/base/v0.1"
5 xmlns:p1="http://www.ivoa.net/xml/SNAP/v0.1/IVOAValueTypes"
6 targetNamespace="http://www.ivoa.net/xml/SNAP/v0.1/simdb">
7 <xsd:annotation>
8 <xsd:documentation>Generated from UML-&gt;XMI-&gt;intermediate-&gt;XSD.</xsd:documentation>
9 </xsd:annotation>
10 <xsd:import namespace="http://www.ivoa.net/xml/SNAP/v0.1/IVOAValueTypes"
11 schemaLocation="http://volute.googlecode.com/svn/trunk/projects/theory/snapdm/xsd/IVOAValueTypes.xsd"/>
12 <xsd:import namespace="http://www.ivoa.net/xml/dm/base/v0.1"
13 schemaLocation="http://volute.googlecode.com/svn/trunk/projects/theory/snapdm/xsd/base.xsd"/>
14 <xsd:complexType name="Resource" abstract="true">
15 <xsd:annotation>
16 <xsd:documentation>This is a thin copy of the Registry Resource model's Resource that borrowes some of its elements.
17 It *is not* a Registry Resource though.
18 In particular we want to refine the content model here.
19 Using a restriction of the res:Resource leads to problems, as we'd like to extend the Resource at the same time.
20 Hence we create a new type.</xsd:documentation>
21 <xsd:appinfo>xmiid=_12_1_1_8e0028f_1178789094562_459260_296</xsd:appinfo>
22 </xsd:annotation>
23 <xsd:complexContent>
24 <xsd:extension base="base:MetadataObject">
25 <xsd:sequence>
26 <xsd:element name="name" type="xsd:string"/>
27 <xsd:element name="description" type="xsd:string"/>
28 <xsd:element name="referenceURL" type="xsd:string" minOccurs="0"/>
29 <xsd:element name="publisherDID" type="xsd:string"/>
30 <xsd:element name="created" type="xsd:dateTime"/>
31 <xsd:element name="updated" type="xsd:dateTime" minOccurs="0"/>
32 <xsd:element name="status" type="xsd:string"/>
33 <xsd:element name="contact" type="Contact" maxOccurs="unbounded"/>
34 <xsd:element name="mainContact" type="base:Reference">
35 <xsd:annotation>
36 <xsd:appinfo>xmiidref=_12_1_bd102fc_1206601369187_165113_153</xsd:appinfo>
37 </xsd:annotation>
38 </xsd:element>
39 </xsd:sequence>
40 </xsd:extension>
41 </xsd:complexContent>
42 </xsd:complexType>
43
44 <xsd:complexType name="Contact">
45 <xsd:annotation>
46 <xsd:documentation>Information regarding the various parties (persons or organisations) that can play a role such as responsibility, ownership, creator for/of data products, simulations etc</xsd:documentation>
47 <xsd:appinfo>xmiid=_12_1_bd102fc_1206596758777_350876_163</xsd:appinfo>
48 </xsd:annotation>
49 <xsd:complexContent>
50 <xsd:extension base="base:MetadataObject">
51 <xsd:sequence>
52 <xsd:element name="role" type="ContactRole"/>
53 <xsd:element name="party" type="base:Reference">
54 <xsd:annotation>
55 <xsd:appinfo>xmiidref=_12_1_bd102fc_1206601369187_165113_153</xsd:appinfo>
56 </xsd:annotation>
57 </xsd:element>
58 </xsd:sequence>
59 </xsd:extension>
60 </xsd:complexContent>
61 </xsd:complexType>
62
63 <xsd:complexType name="Party">
64 <xsd:annotation>
65 <xsd:documentation>Information that can be used for contacting someone
66 </xsd:documentation>
67 <xsd:appinfo>xmiid=_12_1_bd102fc_1206601369187_165113_153</xsd:appinfo>
68 </xsd:annotation>
69 <xsd:complexContent>
70 <xsd:extension base="base:MetadataObject">
71 <xsd:sequence>
72 <xsd:element name="name" type="xsd:string"/>
73 <xsd:element name="address" type="xsd:string" minOccurs="0"/>
74 <xsd:element name="email" type="xsd:string" minOccurs="0"/>
75 <xsd:element name="telephone" type="xsd:string" minOccurs="0"/>
76 </xsd:sequence>
77 </xsd:extension>
78 </xsd:complexContent>
79 </xsd:complexType>
80
81 <xsd:complexType name="Quantity">
82 <xsd:annotation>
83 <xsd:documentation>A structured data type, indicating a numerical value and corresponding unit. The latter will require some standard dictionary for a uniform usage. This is here not modelled</xsd:documentation>
84 <xsd:appinfo>xmiid=_12_1_8e0028f_1173262283140_574350_1278</xsd:appinfo>
85 </xsd:annotation>
86 <xsd:sequence>
87 <xsd:element name="value" type="xsd:string"/>
88 <xsd:element name="unit" type="xsd:string" minOccurs="0"/>
89 </xsd:sequence>
90 </xsd:complexType>
91
92 <xsd:complexType name="Pos3D">
93 <xsd:annotation>
94 <xsd:documentation>Represents a Cartesian position in 3 dimensional space.
95 This is a type to test generation more than anything, as it is currently not used in the model. </xsd:documentation>
96 <xsd:appinfo>xmiid=_12_1_8e0028f_1208350068937_666331_227</xsd:appinfo>
97 </xsd:annotation>
98 <xsd:sequence>
99 <xsd:element name="x" type="Quantity"/>
100 <xsd:element name="y" type="Quantity"/>
101 <xsd:element name="z" type="Quantity"/>
102 </xsd:sequence>
103 </xsd:complexType>
104
105 <xsd:simpleType name="DataType">
106 <xsd:annotation>
107 <xsd:documentation>The values of this type are to be used in the definition of metadata fields such as Property and InputParameter. These data types correspond to actual types used in computation and data representation and are slightly different from the more abstract types in the domain model in [2].
108 They are clearly related to similar concepts as in the DataType defined in the XML schema for VOTable.
109
110 </xsd:documentation>
111 <xsd:appinfo>xmiid=_12_1_8e0028f_1173260658937_376469_768</xsd:appinfo>
112 </xsd:annotation>
113 <xsd:restriction base="xsd:string">
114 <xsd:enumeration value="boolean">
115 <xsd:annotation>
116 <xsd:documentation>A standard boolean type, with values 'true' and 'false', possibly represented differently in physical representations of the model.</xsd:documentation>
117 </xsd:annotation>
118 </xsd:enumeration>
119 <xsd:enumeration value="complex">
120 <xsd:annotation>
121 <xsd:documentation>A standard complex type. Here no limits on accuracy of constituent Re and Im parts.</xsd:documentation>
122 </xsd:annotation>
123 </xsd:enumeration>
124 <xsd:enumeration value="datetime">
125 <xsd:annotation>
126 <xsd:documentation>Represents an exact time on an exact, given date.</xsd:documentation>
127 </xsd:annotation>
128 </xsd:enumeration>
129 <xsd:enumeration value="double">
130 <xsd:annotation>
131 <xsd:documentation>A real*8 floating point datatype.</xsd:documentation>
132 </xsd:annotation>
133 </xsd:enumeration>
134 <xsd:enumeration value="float">
135 <xsd:annotation>
136 <xsd:documentation>A real*4 floating point datatype.</xsd:documentation>
137 </xsd:annotation>
138 </xsd:enumeration>
139 <xsd:enumeration value="int">
140 <xsd:annotation>
141 <xsd:documentation>An integer*4 integer datatype.</xsd:documentation>
142 </xsd:annotation>
143 </xsd:enumeration>
144 <xsd:enumeration value="long">
145 <xsd:annotation>
146 <xsd:documentation>An integer*8 integer datatype.</xsd:documentation>
147 </xsd:annotation>
148 </xsd:enumeration>
149 <xsd:enumeration value="rational">
150 <xsd:annotation>
151 <xsd:documentation>A rational datatype, consisting of two integers representing the numerator and denominator.</xsd:documentation>
152 </xsd:annotation>
153 </xsd:enumeration>
154 <xsd:enumeration value="short">
155 <xsd:annotation>
156 <xsd:documentation>an integer*2 integer datatype.</xsd:documentation>
157 </xsd:annotation>
158 </xsd:enumeration>
159 <xsd:enumeration value="string">
160 <xsd:annotation>
161 <xsd:documentation>A standard string dattaype consisting of any type of character.</xsd:documentation>
162 </xsd:annotation>
163 </xsd:enumeration>
164 </xsd:restriction>
165 </xsd:simpleType>
166
167 <xsd:simpleType name="Cardinality">
168 <xsd:annotation>
169 <xsd:documentation>Possible values for cardinality attribute of a Property or a Parameter</xsd:documentation>
170 <xsd:appinfo>xmiid=_12_1_2_8e0028f_1189430872609_809189_324</xsd:appinfo>
171 </xsd:annotation>
172 <xsd:restriction base="xsd:string">
173 <xsd:enumeration value="0..1">
174 <xsd:annotation>
175 <xsd:documentation>Corresponds to 'Optional element'</xsd:documentation>
176 </xsd:annotation>
177 </xsd:enumeration>
178 <xsd:enumeration value="1">
179 <xsd:annotation>
180 <xsd:documentation>Corresponds to 'Mandatory element'</xsd:documentation>
181 </xsd:annotation>
182 </xsd:enumeration>
183 <xsd:enumeration value="0..*">
184 <xsd:annotation>
185 <xsd:documentation>Corresponds to 'Multiple but maybe Optional element'</xsd:documentation>
186 </xsd:annotation>
187 </xsd:enumeration>
188 <xsd:enumeration value="1..*">
189 <xsd:annotation>
190 <xsd:documentation>Corresponds to 'Multiple with at least one element'</xsd:documentation>
191 </xsd:annotation>
192 </xsd:enumeration>
193 </xsd:restriction>
194 </xsd:simpleType>
195
196 <xsd:simpleType name="ContactRole">
197 <xsd:annotation>
198 <xsd:documentation>Contains different roles a party can play in a resource.</xsd:documentation>
199 <xsd:appinfo>xmiid=_12_1_8e0028f_1210681081343_459631_731</xsd:appinfo>
200 </xsd:annotation>
201 <xsd:restriction base="xsd:string">
202 <xsd:enumeration value="owner">
203 <xsd:annotation>
204 <xsd:documentation>Represents an owner of a resource.</xsd:documentation>
205 </xsd:annotation>
206 </xsd:enumeration>
207 <xsd:enumeration value="creator">
208 <xsd:annotation>
209 <xsd:documentation>Created the resource</xsd:documentation>
210 </xsd:annotation>
211 </xsd:enumeration>
212 <xsd:enumeration value="publisher">
213 <xsd:annotation>
214 <xsd:documentation>Represents a publisher of a resource</xsd:documentation>
215 </xsd:annotation>
216 </xsd:enumeration>
217 <xsd:enumeration value="contributor">
218 <xsd:annotation>
219 <xsd:documentation>A general contributor to the creation of the resource</xsd:documentation>
220 </xsd:annotation>
221 </xsd:enumeration>
222 </xsd:restriction>
223 </xsd:simpleType>
224
225 </xsd:schema>

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