Kepler Schema project-core

From Eclipsepedia

Jump to: navigation, search

<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://www.eclipse.org/kepler/project/model"
    xmlns:tns="http://www.eclipse.org/kepler/project/model"
    elementFormDefault="qualified">

    <element name="project" type="tns:project"></element>

    <complexType name="project">
        <sequence>
            <element name="id" type="string" maxOccurs="1"
                minOccurs="1">
            </element>
            <element name="description" type="string" maxOccurs="1"
                minOccurs="1">
            </element>
            <element name="version" type="tns:version"
                maxOccurs="unbounded" minOccurs="0">
            </element>
            <element name="facet" type="tns:projectFacet"
                maxOccurs="unbounded" minOccurs="0">
            </element>
        </sequence>
    </complexType>

    <complexType name="version">
        <sequence>
            <element name="id" type="string" maxOccurs="1"
                minOccurs="1">
            </element>
            <element name="facet" type="tns:versionFacet"
                maxOccurs="unbounded" minOccurs="0">
            </element>
            <element name="dependency" type="tns:dependency"
                maxOccurs="unbounded" minOccurs="0">
            </element>
            <element name="artifact" type="tns:artifact"
                maxOccurs="unbounded" minOccurs="0">
            </element>
        </sequence>
    </complexType>

    <complexType name="dependency" abstract="true">
        <sequence>
            <element name="facet" type="tns:dependencyFacet"
                maxOccurs="unbounded" minOccurs="0">
            </element>
        </sequence>
    </complexType>

    <complexType name="versionFacet" abstract="true">
        <sequence>
            <element name="created" type="dateTime"></element>
            <element name="updated" type="dateTime"></element>
            <element name="immutable" type="boolean"></element>
        </sequence>
    </complexType>

    <complexType name="projectFacet" abstract="true">
        <sequence>
            <element name="created" type="dateTime"></element>
            <element name="updated" type="dateTime"></element>
            <element name="immutable" type="boolean"></element>
        </sequence>
    </complexType>

    <complexType name="dependencyFacet" abstract="true"></complexType>

    <complexType name="artifact" abstract="true"></complexType>
</schema>