blob: d4dac9ab5d3d27ba13ee2531ccec6e427e6c7b89 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
The contents of this file are subject to the terms of the Common Development
and Distribution License (the License). You may not use this file except in
compliance with the License.
You can obtain a copy of the License at https://netbeans.org/cddl.html
or https://netbeans.org/cddl.txt.
When distributing Covered Code, include this CDDL Header Notice in each file
and include the License file at https://netbeans.org/cddl.txt.
If applicable, add the following below the CDDL Header, with the fields
enclosed by brackets [] replaced by your own identifying information:
"Portions Copyrighted [year] [name of copyright owner]"
The Original Software is NetBeans. The Initial Developer of the Original
Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
Microsystems, Inc. All Rights Reserved.
-->
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="https://netbeans.org/ns/car-project/1"
xmlns="https://netbeans.org/ns/car-project/1"
elementFormDefault="qualified">
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="name" type="xsd:token"/>
<xsd:element name="minimum-ant-version" minOccurs="0">
<xsd:simpleType>
<xsd:restriction base="xsd:NMTOKEN">
<xsd:pattern value="1\.[0-9]+(\.[0-9]+)?"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="explicit-platform" minOccurs="0">
<xsd:complexType>
<xsd:attribute name="explicit-source-supported" use="required">
<xsd:simpleType>
<xsd:restriction base="xsd:NMTOKEN">
<xsd:enumeration value="true"/>
<xsd:enumeration value="false"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
<xsd:element name="web-service-clients" minOccurs="0" type="webServiceClientsType"/>
<xsd:element name="source-roots">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="root" minOccurs="0" maxOccurs="unbounded">
<xsd:complexType>
<xsd:attribute name="id" use="required" type="xsd:token"/>
<xsd:attribute name="name" use="optional" type="xsd:token"/>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="test-roots">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="root" minOccurs="0" maxOccurs="unbounded">
<xsd:complexType>
<xsd:attribute name="id" use="required" type="xsd:token"/>
<xsd:attribute name="name" use="optional" type="xsd:token"/>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="included-library" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:complexType name="webServiceClientsType">
<xsd:sequence>
<xsd:element name="web-service-client" type="webServiceClientType" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="webServiceClientType">
<xsd:sequence>
<xsd:element name="web-service-client-name" type="xsd:token"/>
<xsd:element name="web-service-stub-type" type="xsd:token"/>
<xsd:element name="client-source-url" type="xsd:anyURI" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>