1 | <?xml version="1.0" encoding="UTF-8"?> |
---|
2 | <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" blockDefault="#all"> |
---|
3 | |
---|
4 | <!-- Schéma que doit respecter le fichier XML généré par le formulaire d'enregistrement |
---|
5 | de métadonnées (metadata.jsp) --> |
---|
6 | |
---|
7 | <xsd:element name="metadata" type="metadataType"/> |
---|
8 | <xsd:complexType name="metadataType"> |
---|
9 | <xsd:sequence> |
---|
10 | <xsd:element ref="presentation"/> |
---|
11 | <xsd:element ref="description" minOccurs="0"/> |
---|
12 | <xsd:element name="contenu_prevu" type="contenu" minOccurs="0"/> |
---|
13 | <xsd:element ref="integration" minOccurs="0"/> |
---|
14 | <!-- <xsd:element name="contenu_actuel" type="contenu" minOccurs="0"/>--> |
---|
15 | </xsd:sequence> |
---|
16 | </xsd:complexType> |
---|
17 | |
---|
18 | <!-- Section : Presentation --> |
---|
19 | <xsd:element name="presentation"> |
---|
20 | <xsd:complexType> |
---|
21 | <xsd:sequence> |
---|
22 | <xsd:element name="nom" type="xsd:string"/> |
---|
23 | <xsd:element name="definition" type="xsd:string" minOccurs="0"/> |
---|
24 | <xsd:element name="destination"> |
---|
25 | <xsd:simpleType> |
---|
26 | <xsd:restriction base="xsd:string"> |
---|
27 | <xsd:enumeration value="SGBD"/> |
---|
28 | <xsd:enumeration value="FTP"/> |
---|
29 | </xsd:restriction> |
---|
30 | </xsd:simpleType> |
---|
31 | </xsd:element> |
---|
32 | <xsd:element name="categorie"> |
---|
33 | <xsd:simpleType> |
---|
34 | <xsd:restriction base="xsd:string"> |
---|
35 | <xsd:enumeration value="AVION"/> |
---|
36 | <xsd:enumeration value="SURF_FIXE"/> |
---|
37 | <xsd:enumeration value="SURF_MOBILE"/> |
---|
38 | </xsd:restriction> |
---|
39 | </xsd:simpleType> |
---|
40 | </xsd:element> |
---|
41 | <xsd:element name="contacts"> |
---|
42 | <xsd:complexType> |
---|
43 | <xsd:sequence> |
---|
44 | <xsd:element name="personne" type="contact"/> |
---|
45 | </xsd:sequence> |
---|
46 | </xsd:complexType> |
---|
47 | </xsd:element> |
---|
48 | </xsd:sequence> |
---|
49 | </xsd:complexType> |
---|
50 | </xsd:element> |
---|
51 | |
---|
52 | <!-- Section : Description --> |
---|
53 | <xsd:element name="description"> |
---|
54 | <xsd:complexType> |
---|
55 | <xsd:sequence> |
---|
56 | <xsd:element name="organisme" type="xsd:string"/> |
---|
57 | <xsd:element name="pi" type="contact"/> |
---|
58 | <xsd:element name="technicien" type="contact" minOccurs="0"/> |
---|
59 | <xsd:element name="format" type="xsd:string" minOccurs="0"/> |
---|
60 | <xsd:element name="repartition" type="xsd:string" minOccurs="0"/> |
---|
61 | </xsd:sequence> |
---|
62 | </xsd:complexType> |
---|
63 | </xsd:element> |
---|
64 | |
---|
65 | <!-- Section : integration --> |
---|
66 | <xsd:element name="integration"> |
---|
67 | <xsd:complexType> |
---|
68 | <xsd:sequence> |
---|
69 | <xsd:element name="integrateur" type="contact"/> |
---|
70 | <xsd:element name="date_d" type="date"/> |
---|
71 | <xsd:element name="date_f" type="date"/> |
---|
72 | <xsd:element name="nb_fichiers" type="xsd:integer"/> |
---|
73 | <!-- <xsd:element name="taille_fichiers" type="xsd:string"/> |
---|
74 | --> |
---|
75 | </xsd:sequence> |
---|
76 | </xsd:complexType> |
---|
77 | </xsd:element> |
---|
78 | |
---|
79 | <!-- Définitions de types --> |
---|
80 | <xsd:complexType name="contenu"> |
---|
81 | <xsd:sequence> |
---|
82 | <xsd:element name="liste_plateformes"> |
---|
83 | <xsd:complexType> |
---|
84 | <xsd:sequence> |
---|
85 | <xsd:element name="plateforme" maxOccurs="unbounded"> |
---|
86 | <xsd:complexType> |
---|
87 | <xsd:sequence> |
---|
88 | <xsd:element name="nom" type="xsd:string"/> |
---|
89 | <xsd:element name="desc" type="xsd:string"/> |
---|
90 | <xsd:element name="liste_images"> |
---|
91 | <xsd:complexType> |
---|
92 | <xsd:sequence> |
---|
93 | <xsd:element name="image" minOccurs="0" maxOccurs="unbounded"/> |
---|
94 | </xsd:sequence> |
---|
95 | </xsd:complexType> |
---|
96 | </xsd:element> |
---|
97 | <xsd:element name="lat_min" type="xsd:double"/> |
---|
98 | <xsd:element name="lon_min" type="xsd:double"/> |
---|
99 | <xsd:element name="alt_min" type="xsd:double"/> |
---|
100 | <xsd:element name="lat_max" type="xsd:double"/> |
---|
101 | <xsd:element name="lon_max" type="xsd:double"/> |
---|
102 | <xsd:element name="alt_max" type="xsd:double"/> |
---|
103 | </xsd:sequence> |
---|
104 | </xsd:complexType> |
---|
105 | </xsd:element> |
---|
106 | </xsd:sequence> |
---|
107 | </xsd:complexType> |
---|
108 | </xsd:element> |
---|
109 | <xsd:element name="liste_params"> |
---|
110 | <xsd:complexType> |
---|
111 | <xsd:sequence> |
---|
112 | <xsd:element name="param" maxOccurs="unbounded"> |
---|
113 | <xsd:complexType> |
---|
114 | <xsd:sequence> |
---|
115 | <xsd:element name="nom" type="xsd:string"/> |
---|
116 | <xsd:element name="abrev" type="xsd:string" minOccurs="0"/> |
---|
117 | <xsd:element name="unite" type="xsd:string"/> |
---|
118 | </xsd:sequence> |
---|
119 | </xsd:complexType> |
---|
120 | </xsd:element> |
---|
121 | </xsd:sequence> |
---|
122 | </xsd:complexType> |
---|
123 | </xsd:element> |
---|
124 | <xsd:element name="liste_capteurs" minOccurs="0"> |
---|
125 | <xsd:complexType> |
---|
126 | <xsd:sequence> |
---|
127 | <xsd:element name="capteur" maxOccurs="unbounded"> |
---|
128 | <xsd:complexType> |
---|
129 | <xsd:sequence> |
---|
130 | <xsd:element name="type" type="xsd:string"/> |
---|
131 | <xsd:element name="fabriquant" type="xsd:string" minOccurs="0"/> |
---|
132 | <xsd:element name="modele" type="xsd:string" minOccurs="0"/> |
---|
133 | <xsd:element name="num_serie" type="xsd:string" minOccurs="0"/> |
---|
134 | <xsd:element name="etalonnage" type="xsd:string" minOccurs="0"/> |
---|
135 | <xsd:element name="plateforme" type="xsd:string" minOccurs="0"/> |
---|
136 | </xsd:sequence> |
---|
137 | </xsd:complexType> |
---|
138 | </xsd:element> |
---|
139 | </xsd:sequence> |
---|
140 | </xsd:complexType> |
---|
141 | </xsd:element> |
---|
142 | </xsd:sequence> |
---|
143 | </xsd:complexType> |
---|
144 | |
---|
145 | <xsd:complexType name="contact"> |
---|
146 | <xsd:sequence> |
---|
147 | <xsd:element name="nom" type="xsd:string"/> |
---|
148 | <xsd:element name="prenom" type="xsd:string"/> |
---|
149 | <xsd:element name="organisme" type="xsd:string"/> |
---|
150 | <xsd:element name="mail" type="xsd:string"/> |
---|
151 | <xsd:element name="mdp" type="xsd:string"/> |
---|
152 | <xsd:element name="role" type="xsd:string"/> |
---|
153 | </xsd:sequence> |
---|
154 | </xsd:complexType> |
---|
155 | |
---|
156 | <xsd:complexType name="date"> |
---|
157 | <xsd:sequence> |
---|
158 | <xsd:element name="date" type="xsd:string"/> |
---|
159 | <xsd:element name="heure" type="xsd:string"/> |
---|
160 | </xsd:sequence> |
---|
161 | </xsd:complexType> |
---|
162 | |
---|
163 | <xsd:complexType name="duree"> |
---|
164 | <xsd:sequence> |
---|
165 | <xsd:element name="nb_heures" type="xsd:integer"/> |
---|
166 | <xsd:element name="nb_minutes" type="xsd:integer"/> |
---|
167 | <xsd:element name="nb_secondes" type="xsd:double"/> |
---|
168 | </xsd:sequence> |
---|
169 | </xsd:complexType> |
---|
170 | |
---|
171 | </xsd:schema> |
---|