-
Notifications
You must be signed in to change notification settings - Fork 1
/
VODataModel.xsd
92 lines (85 loc) · 3.59 KB
/
VODataModel.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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="http://www.ivoa.net/xml/DataModel/v1"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:vr="http://www.ivoa.net/xml/VOResource/v1.0"
xmlns:vodm="http://www.ivoa.net/xml/DataModel/v1"
xmlns:vm="http://www.ivoa.net/xml/VOMetadata/v0.1"
elementFormDefault="unqualified"
attributeFormDefault="unqualified"
version="1.0" >
<xs:annotation>
<xs:appinfo>
<vm:schemaName>DataModel</vm:schemaName>
<vm:schemaPrefix>xs</vm:schemaPrefix>
<vm:targetPrefix>vodm</vm:targetPrefix>
</xs:appinfo>
<xs:documentation>
This schema defines a type for registering data models written
in the VO-DML modelling language.
</xs:documentation>
</xs:annotation>
<xs:import namespace="http://www.ivoa.net/xml/VOResource/v1.0"
schemaLocation="http://www.ivoa.net/xml/VOResource/v1.0"/>
<xs:complexType name="DataModel">
<xs:annotation>
<xs:documentation>
a VO-DML-based data model.
</xs:documentation>
<xs:documentation>
In addition to usual resource metadata, this defines the
Prefix and the URI at which to retrieve the formal data
model definition.
DataModels should have IsSupplementTo relationships to their
definining standard.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="vr:Resource">
<xs:sequence>
<xs:element name="capability" type="vr:Capability"
minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>
a description of a capability in connection
with the data model.
</xs:documentation>
<xs:documentation>
This could include validators, online
converters, or similar facilities.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="dm-prefix" type="xs:string"
minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:documentation>
the prefix clamined by the datamodel, including a
training colon.
</xs:documentation>
<xs:documentation>
Each data model can only claim one prefix. Before
claiming a prefix, a search in the VO Registry must
ascertain that the prefix is not claimed by another
data model.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="dm-uri" type="xs:string"
minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:documentation>
The URI of the VO-DML definition of the data
model.
</xs:documentation>
<xs:documentation>
This URI should be constant by major version of
the standard; see the VO-DML REC for deployment
advice.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:schema>