| <?xml version="1.0" encoding="UTF-8"?> |
| <schema targetNamespace="http://www.eclipse.org/projects/xml/iplog" |
| elementFormDefault="qualified" xmlns="http://www.w3.org/2001/XMLSchema" |
| xmlns:iplog="http://www.eclipse.org/projects/xml/iplog"> |
| |
| <element name="iplog" type="iplog:iplog"></element> |
| |
| <complexType name="iplog"> |
| <sequence> |
| <element name="project" type="iplog:project" minOccurs="1" |
| maxOccurs="1"> |
| <annotation> |
| <documentation>This entity contains information about the "root" |
| project. |
| |
| An IP Log can be created with information from multiple |
| projects, but the log itself is created for a common |
| ancestor of |
| the included projects. e.g. the IP Log |
| for the webtools "root" |
| project includes IP |
| information for webtools.common, webtools.dali, |
| webtools.ejbtools, webtools.jeetools, webtools.jsdt, |
| webtools.jsf, |
| webtools.servertools, |
| webtools.sourceediting, and |
| webtools.webservices</documentation> |
| </annotation> |
| </element> |
| <element name="includes" type="iplog:project" maxOccurs="unbounded" |
| minOccurs="0"> |
| <annotation> |
| <documentation> |
| The projects that this IP Log holds values for |
| are |
| contained here. |
| |
| The IP Log, for example, for the webtools "root" |
| project includes IP information for |
| webtools.common, webtools.dali, |
| webtools.ejbtools, webtools.jeetools, |
| webtools.jsdt, webtools.jsf, |
| webtools.servertools, webtools.sourceediting, |
| and |
| webtools.webservices. |
| </documentation> |
| </annotation> |
| </element> |
| <element name="consumes" type="iplog:project" maxOccurs="unbounded" |
| minOccurs="0"> |
| <annotation> |
| <documentation> |
| What other Eclipse projects does this project |
| consume? A "consumes" entry should be created |
| for each project that |
| this project uses in some |
| form. Note that there is no notion of |
| "optional"; from an IP Log point-of-view, a |
| project is either |
| consumed or not. |
| </documentation> |
| </annotation> |
| </element> |
| <element name="meta" type="iplog:meta" maxOccurs="unbounded" |
| minOccurs="0"> |
| <annotation> |
| <documentation> |
| Use "meta" elements to provide any sort of |
| random |
| information that doesn't nicely fit |
| elsewhere. Consider using |
| "comment" elements for |
| unstructured information. |
| </documentation> |
| </annotation> |
| </element> |
| <element name="license" type="iplog:license" maxOccurs="unbounded" |
| minOccurs="0"> |
| </element> |
| <element name="cq" type="iplog:cq" maxOccurs="unbounded" |
| minOccurs="0"> |
| </element> |
| <element name="committer" type="iplog:committer" maxOccurs="unbounded" |
| minOccurs="0"> |
| </element> |
| <element name="contributor" type="iplog:contributor" |
| maxOccurs="unbounded" minOccurs="0"> |
| </element> |
| <element name="comment" type="string" maxOccurs="unbounded" |
| minOccurs="0"> |
| <annotation> |
| <documentation> |
| Any extra textual information that you wish to |
| convey. |
| </documentation> |
| </annotation> |
| </element> |
| </sequence> |
| <attribute name="name" type="string" use="optional"></attribute> |
| </complexType> |
| |
| <complexType name="project"> |
| <attribute name="id" type="string" use="required"> |
| <annotation> |
| <documentation>This field contains the id of the project as it is represented in the Eclipse Foundation Database (e.g. rt.equinox.scalamodules).</documentation> |
| </annotation></attribute> |
| <attribute name="name" type="string" use="optional"></attribute> |
| <attribute name="version" type="string" use="optional"></attribute> |
| <attribute name="comment" type="string" use="optional"></attribute> |
| </complexType> |
| |
| <complexType name="cq"> |
| <attribute name="id" type="string" use="required"></attribute> |
| <attribute name="description" type="string" use="required"></attribute> |
| <attribute name="license" type="string"></attribute> |
| <attribute name="use" type="string"></attribute> |
| <attribute name="state"> |
| <simpleType> |
| <restriction base="string"> |
| <enumeration value="active"></enumeration> |
| <enumeration value="prereq"></enumeration> |
| <enumeration value="closed"></enumeration> |
| <enumeration value="pending"></enumeration> |
| <enumeration value="unused"></enumeration> |
| </restriction> |
| </simpleType> |
| </attribute> |
| <attribute name="comment" type="string" use="optional"></attribute> |
| </complexType> |
| |
| <complexType name="committer"> |
| <attribute name="id" type="string" use="required"></attribute> |
| <attribute name="firstName" type="string" use="required"></attribute> |
| <attribute name="lastName" type="string" use="required"></attribute> |
| <attribute name="affiliation" type="string" use="required"></attribute> |
| <attribute name="active" type="boolean" use="required"></attribute> |
| <attribute name="hasCommits" type="boolean" use="required"></attribute> |
| <attribute name="comment" type="string" use="optional"></attribute> |
| </complexType> |
| |
| <complexType name="contributor"> |
| <sequence> |
| <element name="contribution" type="iplog:contribution" |
| maxOccurs="unbounded" minOccurs="1"> |
| </element> |
| </sequence> |
| <attribute name="id" type="string" use="required"> |
| <annotation> |
| <documentation> |
| The id field uniquely identifies the individual |
| committer. |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="name" type="string" use="optional"></attribute> |
| <attribute name="comment" type="string" use="optional"></attribute> |
| </complexType> |
| |
| <complexType name="contribution"> |
| <attribute name="id" type="string" use="required"></attribute> |
| <attribute name="description" type="string" use="optional"></attribute> |
| <attribute name="size" type="string" use="required"></attribute> |
| <attribute name="url" type="string" use="optional"></attribute> |
| <attribute name="comment" type="string" use="optional"> |
| </attribute> |
| </complexType> |
| |
| <complexType name="license"> |
| <attribute name="id" type="string" use="required"> |
| <annotation> |
| <documentation>An identifier of the license. e.g. "EPL1.0", or "EDL1.0".</documentation> |
| </annotation></attribute> |
| <attribute name="description" type="string"> |
| <annotation> |
| <documentation>A human-readable, textual description of the license. e.g. "Eclipse Public License v1.0", or "Eclipse Distribution License v1.0".</documentation> |
| </annotation></attribute> |
| <attribute name="comment" type="string" use="optional"></attribute> |
| </complexType> |
| |
| <complexType name="meta"> |
| <annotation> |
| <documentation>Use instances of this optional tag to provide extra information for your log.</documentation> |
| </annotation> |
| <attribute name="key" type="string" use="required"></attribute> |
| <attribute name="value" type="string"></attribute> |
| </complexType> |
| |
| |
| </schema> |