From 26bc76f48350da61f41d90f2f1a349aab59172ae Mon Sep 17 00:00:00 2001 From: Raphael Moll Date: Mon, 30 Sep 2013 11:47:57 -0700 Subject: SDK Repository: switch to addon schema 6. (cherry picked from commit f0e008c6220e65ddd60be7e01c052683ed63ff9a) Change-Id: Ieba1611817581b3e5f6bf2057ab6bf5b8354f769 --- repository/sdk-addon-6.xsd | 472 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 472 insertions(+) create mode 100755 repository/sdk-addon-6.xsd diff --git a/repository/sdk-addon-6.xsd b/repository/sdk-addon-6.xsd new file mode 100755 index 0000000..3457aad --- /dev/null +++ b/repository/sdk-addon-6.xsd @@ -0,0 +1,472 @@ + + + + + + + + + + + + The repository contains a collection of downloadable packages. + + + + + + + + + + + + + + + An SDK add-on package. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + An ID string for an addon/extra name-id or vendor-id + can only be simple alphanumeric string. + + + + + + + + + + + + + + Version information for a layoutlib included in an addon. + . + + + + + + + + + + + + + + + + An SDK extra package. This kind of package is for "free" content. + Such packages are installed in SDK/vendor/path. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + A full revision, with a major.minor.micro and an + optional preview number. The major number is mandatory. + + + + + + + + + + + + + + + + + + + + + A full revision, with a major.minor.micro and no support for + the optional preview number. The major number is mandatory. + + + + + + + + + + + + + + + + + + + One path segment for the install path of an extra element. + It must be a single-segment path. It must not be empty. + + + + + + + + + + + A semi-colon separated list of a segmentTypes. + + + + + + + + + + + + + + A license definition. Such a license must be used later as a reference + using a uses-license element in one of the package elements. + + + + + + + + + + + + + + + + + Describes the license used by a package. The license MUST be defined + using a license node and referenced using the ref attribute of the + license element inside a package. + + + + + + + + + + + + A collection of files that can be downloaded for a given architecture. + The <archives> node is mandatory in the repository packages and the + collection must have at least one <archive> declared. + Each archive is a zip file that will be unzipped in a location that depends + on its package type. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + A collection of file paths available in an <extra> package + that can be installed in an Android project. + If present, the <project-files> collection must contain at least one path. + Each path is relative to the root directory of the package. + + + + + + + + + + + + + + A SHA1 checksum. + + + + + + + + + A file checksum, currently only SHA1. + + + + + + + + + -- cgit v1.2.3