Home | History | Annotate | Download | only in repository

Lines Matching full:xsd

17 <xsd:schema
19 xmlns:xsd="http://www.w3.org/2001/XMLSchema"
67 <xsd:element name="sdk-repository" type="sdk:repositoryType" />
69 <xsd:complexType name="repositoryType">
70 <xsd:annotation>
71 <xsd:documentation>
73 </xsd:documentation>
74 </xsd:annotation>
75 <xsd:choice minOccurs="0" maxOccurs="unbounded">
76 <xsd:element name="platform" type="sdk:platformType" />
77 <xsd:element name="system-image" type="sdk:systemImageType" />
78 <xsd:element name="source" type="sdk:sourceType" />
79 <xsd:element name="tool" type="sdk:toolType" />
80 <xsd:element name="platform-tool" type="sdk:platformToolType" />
81 <xsd:element name="doc" type="sdk:docType" />
82 <xsd:element name="sample" type="sdk:sampleType" />
83 <xsd:element name="extra" type="sdk:extraType" />
84 <xsd:element name="license" type="sdk:licenseType" />
85 </xsd:choice>
86 </xsd:complexType>
90 <xsd:complexType name="platformType">
91 <xsd:annotation>
92 <xsd:documentation>An SDK platform package.</xsd:documentation>
93 </xsd:annotation>
94 <xsd:all>
96 <xsd:element name="version" type="xsd:normalizedString" />
98 <xsd:element name="api-level" type="xsd:positiveInteger" />
100 <xsd:element name="codename" type="xsd:string" minOccurs="0" />
103 <xsd:element name="revision" type="xsd:positiveInteger" />
106 <xsd:element name="layoutlib" type="sdk:layoutlibType" />
112 <xsd:element name="uses-license" type="sdk:usesLicenseType" minOccurs="0" />
114 <xsd:element name="description" type="xsd:string" minOccurs="0" />
116 <xsd:element name="desc-url" type="xsd:token" minOccurs="0" />
118 <xsd:element name="release-note" type="xsd:string" minOccurs="0" />
120 <xsd:element name="release-url" type="xsd:token" minOccurs="0" />
122 <xsd:element name="archives" type="sdk:archivesType" />
125 <xsd:element name="min-tools-rev" type="xsd:positiveInteger" minOccurs="0" />
131 <xsd:element name="included-abi" type="sdk:abiType" minOccurs="0" />
135 <xsd:element name="obsolete" type="xsd:string" minOccurs="0" />
136 </xsd:all>
137 </xsd:complexType>
142 <xsd:complexType name="layoutlibType" >
143 <xsd:annotation>
144 <xsd:documentation>
146 </xsd:documentation>
147 </xsd:annotation>
148 <xsd:all>
151 <xsd:element name="api" type="xsd:positiveInteger" />
154 <xsd:element name="revision" type="xsd:nonNegativeInteger" minOccurs="0" />
155 </xsd:all>
156 </xsd:complexType>
161 <xsd:complexType name="systemImageType" >
162 <xsd:annotation>
163 <xsd:documentation>
165 </xsd:documentation>
166 </xsd:annotation>
167 <xsd:all>
171 <xsd:element name="api-level" type="xsd:positiveInteger" />
173 <xsd:element name="codename" type="xsd:string" minOccurs="0" />
177 <xsd:element name="revision" type="xsd:positiveInteger" />
180 <xsd:element name="abi" type="sdk:abiType" />
184 <xsd:element name="uses-license" type="sdk:usesLicenseType" minOccurs="0" />
186 <xsd:element name="description" type="xsd:string" minOccurs="0" />
188 <xsd:element name="desc-url" type="xsd:token" minOccurs="0" />
190 <xsd:element name="release-note" type="xsd:string" minOccurs="0" />
192 <xsd:element name="release-url" type="xsd:token" minOccurs="0" />
195 <xsd:element name="archives" type="sdk:archivesType" />
196 </xsd:all>
197 </xsd:complexType>
201 <xsd:simpleType name="abiType">
202 <xsd:annotation>
203 <xsd:documentation>The ABI of a platform's system image.</xsd:documentation>
204 </xsd:annotation>
205 <xsd:restriction base="xsd:token">
206 <xsd:enumeration value="armeabi" />
207 <xsd:enumeration value="armeabi-v7a" />
208 <xsd:enumeration value="x86" />
209 </xsd:restriction>
210 </xsd:simpleType>
215 <xsd:complexType name="sourceType" >
216 <xsd:annotation>
217 <xsd:documentation>
219 </xsd:documentation>
220 </xsd:annotation>
221 <xsd:all>
225 <xsd:element name="api-level" type="xsd:positiveInteger" />
227 <xsd:element name="codename" type="xsd:string" minOccurs="0" />
231 <xsd:element name="revision" type="xsd:positiveInteger" />
235 <xsd:element name="uses-license" type="sdk:usesLicenseType" minOccurs="0" />
237 <xsd:element name="description" type="xsd:string" minOccurs="0" />
239 <xsd:element name="desc-url" type="xsd:token" minOccurs="0" />
241 <xsd:element name="release-note" type="xsd:string" minOccurs="0" />
243 <xsd:element name="release-url" type="xsd:token" minOccurs="0" />
246 <xsd:element name="archives" type="sdk:archivesType" />
247 </xsd:all>
248 </xsd:complexType>
253 <xsd:complexType name="toolType" >
254 <xsd:annotation>
255 <xsd:documentation>An SDK tool package.</xsd:documentation>
256 </xsd:annotation>
257 <xsd:all>
260 <xsd:element name="revision" type="xsd:positiveInteger" />
263 <xsd:element name="uses-license" type="sdk:usesLicenseType" minOccurs="0" />
265 <xsd:element name="description" type="xsd:string" minOccurs="0" />
267 <xsd:element name="desc-url" type="xsd:token" minOccurs="0" />
269 <xsd:element name="release-note" type="xsd:string" minOccurs="0" />
271 <xsd:element name="release-url" type="xsd:token" minOccurs="0" />
273 <xsd:element name="archives" type="sdk:archivesType" />
276 <xsd:element name="obsolete" type="xsd:string" minOccurs="0" />
280 <xsd:element name="min-platform-tools-rev" type="xsd:positiveInteger" />
281 </xsd:all>
282 </xsd:complexType>
287 <xsd:complexType name="platformToolType" >
288 <xsd:annotation>
289 <xsd:documentation>An SDK platform-tool package.</xsd:documentation>
290 </xsd:annotation>
291 <xsd:all>
294 <xsd:element name="revision" type="xsd:positiveInteger" />
297 <xsd:element name="uses-license" type="sdk:usesLicenseType" minOccurs="0" />
299 <xsd:element name="description" type="xsd:string" minOccurs="0" />
301 <xsd:element name="desc-url" type="xsd:token" minOccurs="0" />
303 <xsd:element name="release-note" type="xsd:string" minOccurs="0" />
305 <xsd:element name="release-url" type="xsd:token" minOccurs="0" />
307 <xsd:element name="archives" type="sdk:archivesType" />
311 <xsd:element name="obsolete" type="xsd:string" minOccurs="0" />
312 </xsd:all>
313 </xsd:complexType>
318 <xsd:complexType name="docType" >
319 <xsd:annotation>
320 <xsd:documentation>An SDK doc package.</xsd:documentation>
321 </xsd:annotation>
322 <xsd:all>
324 <xsd:element name="api-level" type="xsd:positiveInteger" />
326 <xsd:element name="codename" type="xsd:string" minOccurs="0" />
330 <xsd:element name="revision" type="xsd:positiveInteger" />
333 <xsd:element name="uses-license" type="sdk:usesLicenseType" minOccurs="0" />
335 <xsd:element name="description" type="xsd:string" minOccurs="0" />
337 <xsd:element name="desc-url" type="xsd:token" minOccurs="0" />
339 <xsd:element name="release-note" type="xsd:string" minOccurs="0" />
341 <xsd:element name="release-url" type="xsd:token" minOccurs="0" />
343 <xsd:element name="archives" type="sdk:archivesType" />
347 <xsd:element name="obsolete" type="xsd:string" minOccurs="0" />
348 </xsd:all>
349 </xsd:complexType>
354 <xsd:complexType name="sampleType" >
355 <xsd:annotation>
356 <xsd:documentation>An SDK sample package.</xsd:documentation>
357 </xsd:annotation>
358 <xsd:all>
360 <xsd:element name="api-level" type="xsd:positiveInteger" />
362 <xsd:element name="codename" type="xsd:string" minOccurs="0" />
366 <xsd:element name="revision" type="xsd:positiveInteger" />
369 <xsd:element name="uses-license" type="sdk:usesLicenseType" minOccurs="0" />
371 <xsd:element name="description" type="xsd:string" minOccurs="0" />
373 <xsd:element name="desc-url" type="xsd:token" minOccurs="0" />
375 <xsd:element name="release-note" type="xsd:string" minOccurs="0" />
377 <xsd:element name="release-url" type="xsd:token" minOccurs="0" />
379 <xsd:element name="archives" type="sdk:archivesType" />
382 <xsd:element name="min-tools-rev" type="xsd:positiveInteger" minOccurs="0" />
386 <xsd:element name="obsolete" type="xsd:string" minOccurs="0" />
387 </xsd:all>
388 </xsd:complexType>
395 sdk-addon-N.xsd schema and must be kept in sync there. This is
400 <xsd:complexType name="extraType" >
401 <xsd:annotation>
402 <xsd:documentation>
405 </xsd:documentation>
406 </xsd:annotation>
407 <xsd:all>
413 <xsd:element name="vendor" type="sdk:segmentType" />
416 <xsd:element name="path" type="sdk:segmentType" />
421 <xsd:element name="old-paths" type="sdk:segmentListType" minOccurs="0" />
425 <xsd:element name="revision" type="xsd:positiveInteger" />
428 <xsd:element name="archives" type="sdk:archivesType" />
434 <xsd:element name="uses-license" type="sdk:usesLicenseType" minOccurs="0" />
436 <xsd:element name="description" type="xsd:string" minOccurs="0" />
438 <xsd:element name="desc-url" type="xsd:token" minOccurs="0" />
440 <xsd:element name="release-note" type="xsd:string" minOccurs="0" />
442 <xsd:element name="release-url" type="xsd:token" minOccurs="0" />
445 <xsd:element name="min-tools-rev" type="xsd:positiveInteger" minOccurs="0" />
448 <xsd:element name="min-api-level" type="xsd:positiveInteger" minOccurs="0" />
451 <xsd:element name="obsolete" type="xsd:string" minOccurs="0" />
454 <xsd:element name="project-files" type="sdk:projectFilesType" minOccurs="0" />
455 </xsd:all>
456 </xsd:complexType>
461 <xsd:simpleType name="segmentType">
462 <xsd:annotation>
463 <xsd:documentation>
466 </xsd:documentation>
467 </xsd:annotation>
468 <xsd:restriction base="xsd:token">
469 <xsd:pattern value="[a-zA-Z0-9_]+"/>
470 </xsd:restriction>
471 </xsd:simpleType>
473 <xsd:simpleType name="segmentListType">
474 <xsd:annotation>
475 <xsd:documentation>
477 </xsd:documentation>
478 </xsd:annotation>
479 <xsd:restriction base="xsd:token">
480 <xsd:pattern value="[a-zA-Z0-9_;]+"/>
481 </xsd:restriction>
482 </xsd:simpleType>
487 <xsd:complexType name="licenseType">
488 <xsd:annotation>
489 <xsd:documentation>
492 </xsd:documentation>
493 </xsd:annotation>
494 <xsd:simpleContent>
495 <xsd:extension base="xsd:string">
496 <xsd:attribute name="id" type="xsd:ID" />
497 <xsd:attribute name="type" type="xsd:token" fixed="text" />
498 </xsd:extension>
499 </xsd:simpleContent>
500 </xsd:complexType>
508 <xsd:complexType name="usesLicenseType">
509 <xsd:annotation>
510 <xsd:documentation>
514 </xsd:documentation>
515 </xsd:annotation>
516 <xsd:attribute name="ref" type="xsd:IDREF" />
517 </xsd:complexType>
527 <xsd:complexType name="archivesType">
528 <xsd:annotation>
529 <xsd:documentation>
535 </xsd:documentation>
536 </xsd:annotation>
537 <xsd:sequence minOccurs="1" maxOccurs="unbounded">
539 <xsd:element name="archive">
540 <xsd:complexType>
542 <xsd:all>
544 <xsd:element name="size" type="xsd:positiveInteger" />
546 <xsd:element name="checksum" type="sdk:checksumType" />
550 <xsd:element name="url" type="xsd:token" />
551 </xsd:all>
554 <xsd:attribute name="os" use="required">
555 <xsd:simpleType>
556 <xsd:restriction base="xsd:token">
557 <xsd:enumeration value="any" />
558 <xsd:enumeration value="linux" />
559 <xsd:enumeration value="macosx" />
560 <xsd:enumeration value="windows" />
561 </xsd:restriction>
562 </xsd:simpleType>
563 </xsd:attribute>
564 <xsd:attribute name="arch" use="optional">
565 <xsd:simpleType>
566 <xsd:restriction base="xsd:token">
567 <xsd:enumeration value="any" />
568 <xsd:enumeration value="ppc" />
569 <xsd:enumeration value="x86" />
570 <xsd:enumeration value="x86_64" />
571 </xsd:restriction>
572 </xsd:simpleType>
573 </xsd:attribute>
574 </xsd:complexType>
575 </xsd:element>
576 </xsd:sequence>
577 </xsd:complexType>
586 <xsd:complexType name="projectFilesType">
587 <xsd:annotation>
588 <xsd:documentation>
593 </xsd:documentation>
594 </xsd:annotation>
595 <xsd:sequence minOccurs="1" maxOccurs="unbounded">
597 <xsd:element name="path" type="xsd:string" />
598 </xsd:sequence>
599 </xsd:complexType>
604 <xsd:simpleType name="sha1Number">
605 <xsd:annotation>
606 <xsd:documentation>A SHA1 checksum.</xsd:documentation>
607 </xsd:annotation>
608 <xsd:restriction base="xsd:string">
609 <xsd:pattern value="([0-9a-fA-F]){40}"/>
610 </xsd:restriction>
611 </xsd:simpleType>
613 <xsd:complexType name="checksumType">
614 <xsd:annotation>
615 <xsd:documentation>A file checksum, currently only SHA1.</xsd:documentation>
616 </xsd:annotation>
617 <xsd:simpleContent>
618 <xsd:extension base="sdk:sha1Number">
619 <xsd:attribute name="type" type="xsd:token" fixed="sha1" />
620 </xsd:extension>
621 </xsd:simpleContent>
622 </xsd:complexType>
624 </xsd:schema>