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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 107 - (show annotations)
Thu Mar 27 10:43:08 2008 UTC (12 years, 8 months ago) by bourges.laurent
File size: 2271 byte(s)
First release able to generate simple Java Beans from UML model
1 <?xml version="1.0" encoding="UTF-8"?>
2 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
3 xmlns:vid="http://www.ivoa.net/xml/VOIdentifier/v1.1"
4 targetNamespace="http://www.ivoa.net/xml/VOIdentifier/v1.1"
5 elementFormDefault="qualified" attributeFormDefault="unqualified">
6
7 <xs:annotation>
8 <xs:documentation>Version 0.1</xs:documentation>
9 <xs:documentation>
10 This schema defines the XML format for IVOA Identifiers as
11 specified in the IVOA Identifiers Working Draft, Version 0.1.
12 </xs:documentation>
13 <xs:documentation>
14 History:
15 </xs:documentation>
16 </xs:annotation>
17
18 <xs:element name="Identifier" type="vid:IVOAidentifier">
19 <xs:annotation>
20 <xs:documentation>
21 a global, IVOA-compliant identifier that refers
22 unambiguously to a resource.
23 </xs:documentation>
24 </xs:annotation>
25 </xs:element>
26
27 <xs:complexType name="IVOAidentifier">
28 <xs:sequence>
29 <xs:element ref="vid:AuthorityID" />
30 <xs:element ref="vid:ResourceKey" minOccurs="0"/>
31 </xs:sequence>
32 </xs:complexType>
33
34 <xs:element name="AuthorityID" type="vid:AuthorityIDType">
35 <xs:annotation>
36 <xs:documentation>the identifier a namespace under the control of
37 a single naming authority</xs:documentation>
38 </xs:annotation>
39 </xs:element>
40
41 <xs:element name="ResourceKey" type="vid:ResourceKeyType">
42 <xs:annotation>
43 <xs:documentation>the identifier a namespace under the control of
44 a single naming authority</xs:documentation>
45 </xs:annotation>
46 </xs:element>
47
48 <xs:simpleType name="AuthorityIDType">
49 <xs:restriction base="xs:string">
50 <xs:pattern value="[\w\d][\w\d\-_\.~\*'\(\)\+=]{2,}"/>
51 </xs:restriction>
52 </xs:simpleType>
53
54 <xs:simpleType name="ResourceKeyType">
55 <xs:restriction base="xs:string">
56 <xs:pattern value="[\w\d\-_\.~\*'\(\)\+=]+(/[\w\d\-_\.~\*'\(\)\+=])*"/>
57 </xs:restriction>
58 </xs:simpleType>
59
60 <xs:simpleType name="IVOAIdentifierURI">
61 <xs:restriction base="xs:anyURI">
62 <xs:pattern value="ivo://[\w\d][\w\d\-_\.~\*'\(\)]{2,}(/[\w\d\-_\.~\*'\(\)]+(/[\w\d\-_\.~\*'\(\)])*)"/>
63 </xs:restriction>
64 </xs:simpleType>
65
66 </xs:schema>

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