summaryrefslogtreecommitdiff
path: root/TAO/CIAO/docs/schema/iad.xsd
blob: e00fa319a2288f54eeca50afc850897c39c986a2 (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
26
27
28
29
30
31
32
33
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
            xsi:schemaLocation="http://www.w3.org/2001/XMLSchema XMLSchema.xsd"
            xmlns:Deployment="http://www.omg.org/Deployment"
            targetNamespace="http://www.omg.org/Deployment">

<xsd:include schemaLocation="Basic_Deployment_Data.xsd" /> 

  <xsd:complexType name="NamedImplementationArtifact">
    <xsd:sequence>
      <xsd:element name="name" type="xsd:string"/>     
      <!-- @@ recursive NIA->IAD->NIA -->
      <xsd:element name="referencedArtifact" type="Deployment:ImplementationArtifactDescription"/>
    </xsd:sequence>
  </xsd:complexType>

  <xsd:complexType name="ImplementationArtifactDescription">
    <xsd:choice>
      <xsd:sequence>
        <xsd:element name="label" type="xsd:string"/>
        <xsd:element name="UUID" type="xsd:string"/>

        <!-- @@ There probably should be only one location? -->
        <xsd:element name="location" type="xsd:string" maxOccurs="unbounded"/>
        <xsd:element name="execParameter" type="Deployment:Property" minOccurs="0"/>
        <xsd:element name="deployRequirement" type="Deployment:Requirement" minOccurs="0"/>
        <xsd:element name="dependsOn" type="Deployment:NamedImplementationArtifact" minOccurs="0" maxOccurs="unbounded"/>
        <xsd:element name="infoProperty" type="Deployment:Property" minOccurs="0"/>      
      </xsd:sequence>
      <xsd:element name="contentLocation" type="xsd:string"/>
    </xsd:choice>
  </xsd:complexType>
</xsd:schema>