<APACHE-STRATOS-CC>/repository/conf/etc/service.xsd

<?xml version="1.0" encoding="ISO-8859-1" ?>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
        <xs:element name="service">
          <xs:annotation>
            <xs:documentation>you can have 0..n service elements</xs:documentation>
          </xs:annotation>
          <xs:complexType>
              <xs:choice maxOccurs="unbounded">
                  <xs:element name="cartridge">
                      <xs:annotation>
                          <xs:documentation>
                              this element's value should be a reference
                              to an existing cartridge
                          </xs:documentation>
                      </xs:annotation>
                      <xs:complexType>
                          <xs:simpleContent>
                              <xs:extension base="xs:string">
                                  <xs:attribute type="xs:string"
                                      name="type" />
                              </xs:extension>
                          </xs:simpleContent>
                      </xs:complexType>
                  </xs:element>
                  <xs:element name="payload" type="xs:string" maxOccurs="1" minOccurs="0"></xs:element>
                  <xs:element name="host" type="xs:string" maxOccurs="1" minOccurs="0"></xs:element>
                  <xs:element name="property"
                            maxOccurs="unbounded" minOccurs="0">
                            <xs:complexType>
                                <xs:simpleContent>
                                    <xs:extension base="xs:string">
                                        <xs:attribute type="xs:string"
                                            name="name" />
                                        <xs:attribute type="xs:string"
                                            name="value" />
                                    </xs:extension>
                                </xs:simpleContent>
                            </xs:complexType>
                        </xs:element>
              </xs:choice>
              <xs:attribute type="xs:string" name="domain" />
              <xs:attribute type="xs:string" name="tenantRange" />
              <xs:attribute type="xs:string" name="subDomain" />
          </xs:complexType>
        </xs:element>
</xs:schema>
  • No labels