<?xml version="1.0" encoding="UTF-8"?>
<!-- IBM_PROLOG_BEGIN_TAG                                                   -->
<!-- This is an automatically generated prolog.                             -->
<!--                                                                        -->
<!-- 61haes_r714 src/43haes/usr/sbin/cluster/sa/domino/config/cl_dominoserver_config.xsd 1.1 -->
<!--                                                                        -->
<!-- Licensed Materials - Property of IBM                                   -->
<!--                                                                        -->
<!-- COPYRIGHT International Business Machines Corp. 2010                   -->
<!-- All Rights Reserved                                                    -->
<!--                                                                        -->
<!-- US Government Users Restricted Rights - Use, duplication or            -->
<!-- disclosure restricted by GSA ADP Schedule Contract with IBM Corp.      -->
<!--                                                                        -->
<!-- IBM_PROLOG_END_TAG                                                     -->
<!-- @(#)80	1.1  src/43haes/usr/sbin/cluster/sa/domino/config/cl_dominoserver_config.xsd, hacmp.assist, 61haes_r714 11/28/11 15:00:08 -->
<xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema'>

 <xs:element name="smartassistconfig">
  <xs:complexType>
   <xs:sequence>
     <xs:element ref="properties" minOccurs='1' maxOccurs='1' />
   </xs:sequence>
   <xs:attribute name="id" type="xs:string" fixed="DOMINO_SERVER"/>
   <xs:attribute name="name" type="xs:string" use="required"/>
 </xs:complexType>
</xs:element>

 <xs:element name="properties">
  <xs:complexType>
   <xs:sequence>
     <xs:element name="Nodes" type="NodesType" minOccurs='1' maxOccurs='1'/>
     <xs:element name="DataDirectory" type="pathType" minOccurs='1' maxOccurs='1'/>
     <xs:element name="DominoCluster" type="DominoClusterType" minOccurs='1' maxOccurs='1'/>
   </xs:sequence>
  </xs:complexType>
 </xs:element>

<!-- Data types defination -->
  <xs:simpleType name="NodesType">
    <xs:restriction base="xs:string">
      <xs:pattern value="(([a-zA-Z])([a-zA-Z0-9]){0,63},){0,31}([a-zA-Z])([a-zA-Z0-9]){0,63}"/>
    </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="pathType">
    <xs:restriction base="xs:string">
      <xs:pattern value="((([a-zA-Z])([a-zA-Z0-9]){0,63},){1}(/([a-zA-Z0-9_\.]){1,}){1,}/?;){1,255}"/>
    </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="DominoClusterType">
    <xs:restriction base="xs:string">
      <xs:pattern value="(y|n)"/>
    </xs:restriction>
  </xs:simpleType>

</xs:schema>
