summaryrefslogtreecommitdiffstats
path: root/java/sca/modules/assembly-xsd/src/main/resources/sca-definitions.xsd
blob: 0249882a92ffc1a6264fbc1607e2802fa920fb79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?xml version="1.0" encoding="UTF-8"?>
<!-- (c) Copyright SCA Collaboration 2007 -->
<schema xmlns="http://www.w3.org/2001/XMLSchema" 
    targetNamespace="http://www.osoa.org/xmlns/sca/1.0" 
    xmlns:sca="http://www.osoa.org/xmlns/sca/1.0"
    elementFormDefault="qualified">

    <include schemaLocation="sca-core.xsd"/>
    <include schemaLocation="sca-policy.xsd"/>

    <element name="definitions">
       <complexType>
          <choice minOccurs="0" maxOccurs="unbounded">
             <element ref="sca:intent"/>
             <element ref="sca:policySet"/>
             <element ref="sca:binding"/>
             <element ref="sca:bindingType"/>
             <element ref="sca:implementationType"/>
             <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
          </choice>
          <attribute name="targetNamespace" type="anyURI" use="optional"/>
       </complexType>
    </element>
   
</schema>