Lines Matching full:xsd
17 <xsd:schema
19 xmlns:xsd="http://www.w3.org/2001/XMLSchema"
52 <xsd:element name="sdk-repository" type="sdk:repositoryType" />
54 <xsd:complexType name="repositoryType">
55 <xsd:annotation>
56 <xsd:documentation>
58 </xsd:documentation>
59 </xsd:annotation>
60 <xsd:choice minOccurs="0" maxOccurs="unbounded">
61 <xsd:element name="platform" type="sdk:platformType" />
62 <xsd:element name="tool" type="sdk:toolType" />
63 <xsd:element name="platform-tool" type="sdk:platformToolType" />
64 <xsd:element name="doc" type="sdk:docType" />
65 <xsd:element name="sample" type="sdk:sampleType" />
66 <xsd:element name="extra" type="sdk:extraType" />
67 <xsd:element name="license" type="sdk:licenseType" />
68 </xsd:choice>
69 </xsd:complexType>
73 <xsd:complexType name="platformType">
74 <xsd:annotation>
75 <xsd:documentation>An SDK platform package.</xsd:documentation>
76 </xsd:annotation>
77 <xsd:all>
79 <xsd:element name="version" type="xsd:normalizedString" />
81 <xsd:element name="api-level" type="xsd:positiveInteger" />
83 <xsd:element name="codename" type="xsd:string" minOccurs="0" />
87 <xsd:element name="revision" type="xsd:positiveInteger" />
90 <xsd:element name="uses-license" type="sdk:usesLicenseType" minOccurs="0" />
92 <xsd:element name="description" type="xsd:string" minOccurs="0" />
94 <xsd:element name="desc-url" type="xsd:token" minOccurs="0" />
96 <xsd:element name="release-note" type="xsd:string" minOccurs="0" />
98 <xsd:element name="release-url" type="xsd:token" minOccurs="0" />
100 <xsd:element name="archives" type="sdk:archivesType" />
103 <xsd:element name="min-tools-rev" type="xsd:positiveInteger" minOccurs="0" />
107 <xsd:element name="obsolete" type="xsd:string" minOccurs="0" />
108 </xsd:all>
109 </xsd:complexType>
114 <xsd:complexType name="toolType" >
115 <xsd:annotation>
116 <xsd:documentation>An SDK tool package.</xsd:documentation>
117 </xsd:annotation>
118 <xsd:all>
121 <xsd:element name="revision" type="xsd:positiveInteger" />
124 <xsd:element name="uses-license" type="sdk:usesLicenseType" minOccurs="0" />
126 <xsd:element name="description" type="xsd:string" minOccurs="0" />
128 <xsd:element name="desc-url" type="xsd:token" minOccurs="0" />
130 <xsd:element name="release-note" type="xsd:string" minOccurs="0" />
132 <xsd:element name="release-url" type="xsd:token" minOccurs="0" />
134 <xsd:element name="archives" type="sdk:archivesType" />
137 <xsd:element name="obsolete" type="xsd:string" minOccurs="0" />
141 <xsd:element name="min-platform-tools-rev" type="xsd:positiveInteger" />
142 </xsd:all>
143 </xsd:complexType>
148 <xsd:complexType name="platformToolType" >
149 <xsd:annotation>
150 <xsd:documentation>An SDK platform-tool package.</xsd:documentation>
151 </xsd:annotation>
152 <xsd:all>
155 <xsd:element name="revision" type="xsd:positiveInteger" />
158 <xsd:element name="uses-license" type="sdk:usesLicenseType" minOccurs="0" />
160 <xsd:element name="description" type="xsd:string" minOccurs="0" />
162 <xsd:element name="desc-url" type="xsd:token" minOccurs="0" />
164 <xsd:element name="release-note" type="xsd:string" minOccurs="0" />
166 <xsd:element name="release-url" type="xsd:token" minOccurs="0" />
168 <xsd:element name="archives" type="sdk:archivesType" />
172 <xsd:element name="obsolete" type="xsd:string" minOccurs="0" />
173 </xsd:all>
174 </xsd:complexType>
179 <xsd:complexType name="docType" >
180 <xsd:annotation>
181 <xsd:documentation>An SDK doc package.</xsd:documentation>
182 </xsd:annotation>
183 <xsd:all>
185 <xsd:element name="api-level" type="xsd:positiveInteger" />
187 <xsd:element name="codename" type="xsd:string" minOccurs="0" />
191 <xsd:element name="revision" type="xsd:positiveInteger" />
194 <xsd:element name="uses-license" type="sdk:usesLicenseType" minOccurs="0" />
196 <xsd:element name="description" type="xsd:string" minOccurs="0" />
198 <xsd:element name="desc-url" type="xsd:token" minOccurs="0" />
200 <xsd:element name="release-note" type="xsd:string" minOccurs="0" />
202 <xsd:element name="release-url" type="xsd:token" minOccurs="0" />
204 <xsd:element name="archives" type="sdk:archivesType" />
208 <xsd:element name="obsolete" type="xsd:string" minOccurs="0" />
209 </xsd:all>
210 </xsd:complexType>
215 <xsd:complexType name="sampleType" >
216 <xsd:annotation>
217 <xsd:documentation>An SDK sample package.</xsd:documentation>
218 </xsd:annotation>
219 <xsd:all>
221 <xsd:element name="api-level" type="xsd:positiveInteger" />
223 <xsd:element name="codename" type="xsd:string" minOccurs="0" />
227 <xsd:element name="revision" type="xsd:positiveInteger" />
230 <xsd:element name="uses-license" type="sdk:usesLicenseType" minOccurs="0" />
232 <xsd:element name="description" type="xsd:string" minOccurs="0" />
234 <xsd:element name="desc-url" type="xsd:token" minOccurs="0" />
236 <xsd:element name="release-note" type="xsd:string" minOccurs="0" />
238 <xsd:element name="release-url" type="xsd:token" minOccurs="0" />
240 <xsd:element name="archives" type="sdk:archivesType" />
243 <xsd:element name="min-tools-rev" type="xsd:positiveInteger" minOccurs="0" />
247 <xsd:element name="obsolete" type="xsd:string" minOccurs="0" />
248 </xsd:all>
249 </xsd:complexType>
256 <xsd:complexType name="extraType" >
257 <xsd:annotation>
258 <xsd:documentation>
261 </xsd:documentation>
262 </xsd:annotation>
263 <xsd:all>
269 <xsd:element name="vendor" type="sdk:segmentType" />
272 <xsd:element name="path" type="sdk:segmentType" />
276 <xsd:element name="revision" type="xsd:positiveInteger" />
279 <xsd:element name="uses-license" type="sdk:usesLicenseType" minOccurs="0" />
281 <xsd:element name="description" type="xsd:string" minOccurs="0" />
283 <xsd:element name="desc-url" type="xsd:token" minOccurs="0" />
285 <xsd:element name="release-note" type="xsd:string" minOccurs="0" />
287 <xsd:element name="release-url" type="xsd:token" minOccurs="0" />
289 <xsd:element name="archives" type="sdk:archivesType" />
292 <xsd:element name="min-tools-rev" type="xsd:positiveInteger" minOccurs="0" />
295 <xsd:element name="min-api-level" type="xsd:positiveInteger" minOccurs="0" />
299 <xsd:element name="obsolete" type="xsd:string" minOccurs="0" />
300 </xsd:all>
301 </xsd:complexType>
306 <xsd:simpleType name="segmentType">
307 <xsd:annotation>
308 <xsd:documentation>
311 </xsd:documentation>
312 </xsd:annotation>
313 <xsd:restriction base="xsd:token">
314 <xsd:pattern value="[a-zA-Z0-9_]+"/>
315 </xsd:restriction>
316 </xsd:simpleType>
321 <xsd:complexType name="licenseType">
322 <xsd:annotation>
323 <xsd:documentation>
326 </xsd:documentation>
327 </xsd:annotation>
328 <xsd:simpleContent>
329 <xsd:extension base="xsd:string">
330 <xsd:attribute name="id" type="xsd:ID" />
331 <xsd:attribute name="type" type="xsd:token" fixed="text" />
332 </xsd:extension>
333 </xsd:simpleContent>
334 </xsd:complexType>
342 <xsd:complexType name="usesLicenseType">
343 <xsd:annotation>
344 <xsd:documentation>
348 </xsd:documentation>
349 </xsd:annotation>
350 <xsd:attribute name="ref" type="xsd:IDREF" />
351 </xsd:complexType>
361 <xsd:complexType name="archivesType">
362 <xsd:annotation>
363 <xsd:documentation>
369 </xsd:documentation>
370 </xsd:annotation>
371 <xsd:sequence minOccurs="1" maxOccurs="unbounded">
373 <xsd:element name="archive">
374 <xsd:complexType>
376 <xsd:all>
378 <xsd:element name="size" type="xsd:positiveInteger" />
380 <xsd:element name="checksum" type="sdk:checksumType" />
384 <xsd:element name="url" type="xsd:token" />
385 </xsd:all>
388 <xsd:attribute name="os" use="required">
389 <xsd:simpleType>
390 <xsd:restriction base="xsd:token">
391 <xsd:enumeration value="any" />
392 <xsd:enumeration value="linux" />
393 <xsd:enumeration value="macosx" />
394 <xsd:enumeration value="windows" />
395 </xsd:restriction>
396 </xsd:simpleType>
397 </xsd:attribute>
398 <xsd:attribute name="arch" use="optional">
399 <xsd:simpleType>
400 <xsd:restriction base="xsd:token">
401 <xsd:enumeration value="any" />
402 <xsd:enumeration value="ppc" />
403 <xsd:enumeration value="x86" />
404 <xsd:enumeration value="x86_64" />
405 </xsd:restriction>
406 </xsd:simpleType>
407 </xsd:attribute>
408 </xsd:complexType>
409 </xsd:element>
410 </xsd:sequence>
411 </xsd:complexType>
416 <xsd:simpleType name="sha1Number">
417 <xsd:annotation>
418 <xsd:documentation>A SHA1 checksum.</xsd:documentation>
419 </xsd:annotation>
420 <xsd:restriction base="xsd:string">
421 <xsd:pattern value="([0-9a-fA-F]){40}"/>
422 </xsd:restriction>
423 </xsd:simpleType>
425 <xsd:complexType name="checksumType">
426 <xsd:annotation>
427 <xsd:documentation>A file checksum, currently only SHA1.</xsd:documentation>
428 </xsd:annotation>
429 <xsd:simpleContent>
430 <xsd:extension base="sdk:sha1Number">
431 <xsd:attribute name="type" type="xsd:token" fixed="sha1" />
432 </xsd:extension>
433 </xsd:simpleContent>
434 </xsd:complexType>
436 </xsd:schema>