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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 309 - (show annotations)
Mon Apr 28 16:35:49 2008 UTC (12 years, 7 months ago) by bourges.laurent
File size: 8490 byte(s)
updated to last data model
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:sequence>
24 <xsd:element name="name" type="xsd:string" minOccurs="0"/>
25 <xsd:element name="description" type="xsd:string" minOccurs="0"/>
26 <xsd:element name="referenceURL" type="xsd:string" minOccurs="0"/>
27 <xsd:element name="created" type="xsd:dateTime" minOccurs="0"/>
28 <xsd:element name="updated" type="xsd:dateTime" minOccurs="0"/>
29 <xsd:element name="status" type="xsd:string" minOccurs="0"/>
30 <xsd:element name="curation" type="Curation" minOccurs="0"/>
31 </xsd:sequence>
32 </xsd:complexType>
33
34 <xsd:complexType name="Curation">
35 <xsd:annotation>
36 <xsd:documentation>Information regarding the general curation of the resource
37
38 Registry-like curation object representing persons or organisations that can play a role such as responsibility, ownership, creator for/of data products, simulations etc</xsd:documentation>
39 <xsd:appinfo>xmiid=_12_1_bd102fc_1206596758777_350876_163</xsd:appinfo>
40 </xsd:annotation>
41 <xsd:sequence>
42 <xsd:element name="publisher" type="xsd:string"/>
43 <xsd:element name="creator" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
44 <xsd:element name="contributor" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
45 <xsd:element name="date" type="xsd:dateTime" minOccurs="0" maxOccurs="unbounded"/>
46 <xsd:element name="version" type="xsd:string" minOccurs="0"/>
47 <xsd:element name="contact" type="base:Reference">
48 <xsd:annotation>
49 <xsd:appinfo>xmiidref=_12_1_bd102fc_1206601369187_165113_153</xsd:appinfo>
50 </xsd:annotation>
51 </xsd:element>
52 </xsd:sequence>
53 </xsd:complexType>
54
55 <xsd:complexType name="Contact">
56 <xsd:annotation>
57 <xsd:documentation>Information that can be used for contacting someone
58 </xsd:documentation>
59 <xsd:appinfo>xmiid=_12_1_bd102fc_1206601369187_165113_153</xsd:appinfo>
60 </xsd:annotation>
61 <xsd:sequence>
62 <xsd:element name="name" type="xsd:string"/>
63 <xsd:element name="address" type="xsd:string" minOccurs="0"/>
64 <xsd:element name="email" type="xsd:string" minOccurs="0"/>
65 <xsd:element name="telephone" type="xsd:string" minOccurs="0"/>
66 </xsd:sequence>
67 </xsd:complexType>
68
69 <xsd:complexType name="Quantity">
70 <xsd:annotation>
71 <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>
72 <xsd:appinfo>xmiid=_12_1_8e0028f_1173262283140_574350_1278</xsd:appinfo>
73 </xsd:annotation>
74 <xsd:sequence>
75 <xsd:element name="value" type="xsd:string"/>
76 <xsd:element name="unit" type="xsd:string" minOccurs="0"/>
77 </xsd:sequence>
78 </xsd:complexType>
79
80 <xsd:complexType name="Pos3D">
81 <xsd:annotation>
82 <xsd:documentation/>
83 <xsd:appinfo>xmiid=_12_1_8e0028f_1208350068937_666331_227</xsd:appinfo>
84 </xsd:annotation>
85 <xsd:sequence>
86 <xsd:element name="x" type="Quantity"/>
87 <xsd:element name="y" type="Quantity"/>
88 <xsd:element name="z" type="Quantity"/>
89 </xsd:sequence>
90 </xsd:complexType>
91
92 <xsd:simpleType name="DataType">
93 <xsd:annotation>
94 <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].
95 They are clearly related to similar concepts as in the DataType defined in the XML schema for VOTable.
96 The values are:
97 • boolean
98 • complex
99 • datetime
100 • double
101 • float
102 • long
103 • rational
104 • short
105 • string
106 • …
107 </xsd:documentation>
108 <xsd:appinfo>xmiid=_12_1_8e0028f_1173260658937_376469_768</xsd:appinfo>
109 </xsd:annotation>
110 <xsd:restriction base="xsd:string">
111 <xsd:enumeration value="boolean">
112 <xsd:annotation>
113 <xsd:documentation/>
114 </xsd:annotation>
115 </xsd:enumeration>
116 <xsd:enumeration value="complex">
117 <xsd:annotation>
118 <xsd:documentation/>
119 </xsd:annotation>
120 </xsd:enumeration>
121 <xsd:enumeration value="datetime">
122 <xsd:annotation>
123 <xsd:documentation/>
124 </xsd:annotation>
125 </xsd:enumeration>
126 <xsd:enumeration value="double">
127 <xsd:annotation>
128 <xsd:documentation/>
129 </xsd:annotation>
130 </xsd:enumeration>
131 <xsd:enumeration value="float">
132 <xsd:annotation>
133 <xsd:documentation/>
134 </xsd:annotation>
135 </xsd:enumeration>
136 <xsd:enumeration value="int">
137 <xsd:annotation>
138 <xsd:documentation/>
139 </xsd:annotation>
140 </xsd:enumeration>
141 <xsd:enumeration value="long">
142 <xsd:annotation>
143 <xsd:documentation/>
144 </xsd:annotation>
145 </xsd:enumeration>
146 <xsd:enumeration value="rational">
147 <xsd:annotation>
148 <xsd:documentation/>
149 </xsd:annotation>
150 </xsd:enumeration>
151 <xsd:enumeration value="short">
152 <xsd:annotation>
153 <xsd:documentation/>
154 </xsd:annotation>
155 </xsd:enumeration>
156 <xsd:enumeration value="string">
157 <xsd:annotation>
158 <xsd:documentation/>
159 </xsd:annotation>
160 </xsd:enumeration>
161 </xsd:restriction>
162 </xsd:simpleType>
163
164 <xsd:simpleType name="Cardinality">
165 <xsd:annotation>
166 <xsd:documentation>Possible values for cardinality attributee of a Property or a Parameter</xsd:documentation>
167 <xsd:appinfo>xmiid=_12_1_2_8e0028f_1189430872609_809189_324</xsd:appinfo>
168 </xsd:annotation>
169 <xsd:restriction base="xsd:string">
170 <xsd:enumeration value="0..1">
171 <xsd:annotation>
172 <xsd:documentation>Corresponds to 'Optional element'</xsd:documentation>
173 </xsd:annotation>
174 </xsd:enumeration>
175 <xsd:enumeration value="1">
176 <xsd:annotation>
177 <xsd:documentation>Corresponds to 'Mandatory element'</xsd:documentation>
178 </xsd:annotation>
179 </xsd:enumeration>
180 <xsd:enumeration value="0..*">
181 <xsd:annotation>
182 <xsd:documentation>Corresponds to 'Multiple but maybe Optional element'</xsd:documentation>
183 </xsd:annotation>
184 </xsd:enumeration>
185 <xsd:enumeration value="1..*">
186 <xsd:annotation>
187 <xsd:documentation>Corresponds to 'Multiple with at least one element'</xsd:documentation>
188 </xsd:annotation>
189 </xsd:enumeration>
190 </xsd:restriction>
191 </xsd:simpleType>
192
193 </xsd:schema>

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