Difference: Schema ( vs. 1)

Revision 124 Mar 2004 - PhilipCouch

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="DataRepresentations"
<?xml version="1.0" encoding="ISO-8859-1"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">

   <!-- ================================================= -->
   <!-- Package: <<XSDschema>> Main  -->
   <!-- ================================================= -->
   <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
   <!-- Class: atom  -->
   <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
   <xs:element name="atom" type="atom"/>
   <xs:complexType name="atom">
      <xs:attribute name="id" type="xs:string" use="required"/>
      <xs:attribute name="elementType" type="xs:string" use="required"/>
      <xs:attribute name="x3" type="xs:integer" use="required"/>
      <xs:attribute name="y3" type="xs:integer" use="required"/>
      <xs:attribute name="z3" type="xs:integer" use="required"/>
   </xs:complexType>

   <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
   <!-- Class: atomArray  -->
   <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
   <xs:element name="atomArray" type="atomArray"/>
   <xs:complexType name="atomArray">
      <xs:sequence>
         <xs:element name="atom" type="atom" minOccurs="1" maxOccurs="unbounded"/>
      </xs:sequence>
   </xs:complexType>

   <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
   <!-- Class: basisExponents  -->
   <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
   <xs:element name="basisExponents" type="basisExponents"/>
   <xs:complexType name="basisExponents">
      <xs:sequence>
         <xs:element name="n" type="xs:float" minOccurs="1" maxOccurs="unbounded"/>
      </xs:sequence>
   </xs:complexType>

   <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
   <!-- Class: basisGroup  -->
   <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
   <xs:element name="basisGroup" type="basisGroup"/>
   <xs:complexType name="basisGroup">
      <xs:sequence>
         <xs:element ref="basisExponents"/>
         <xs:element ref="basisContraction" minOccurs="1" maxOccurs="unbounded"/>
      </xs:sequence>
      <xs:attribute name="id" type="idType" use="required"/>
      <xs:attribute name="minL" type="xs:integer" use="required"/>
      <xs:attribute name="maxL" type="xs:integer" use="required"/>
   </xs:complexType>

   <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
   <!-- Class: basisSet  -->
   <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
   <xs:element name="basisSet" type="basisSet"/>
   <xs:complexType name="basisSet">
      <xs:sequence>
         <xs:element name="basisGroup" type="basisGroup" minOccurs="1" maxOccurs="unbounded"/>
      </xs:sequence>
      <xs:attribute name="id" type="idType" use="required"/>
      <xs:attribute name="angular" type="xs:string" use="required"/>
      <xs:attribute name="type" type="xs:string" use="required"/>
   </xs:complexType>

   <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
   <!-- Class: eccp  -->
   <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
   <xs:element name="eccp" type="eccp"/>
   <xs:complexType name="eccp">
      <xs:sequence>
         <xs:any minOccurs="0" maxOccurs="unbounded"/>
      </xs:sequence>
   </xs:complexType>

   <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
   <!-- Class: from  -->
   <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
   <xs:element name="from" type="from"/>
   <xs:complexType name="from">
      <xs:attribute name="pointer" type="xpointerType" use="required"/>
   </xs:complexType>

   <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
   <!-- Class: molecule  -->
   <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
   <xs:element name="molecule" type="molecule"/>
   <xs:complexType name="molecule">
      <xs:sequence>
         <xs:element name="atomArray" type="atomArray" minOccurs="1" maxOccurs="unbounded"/>
      </xs:sequence>
   </xs:complexType>

   <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
   <!-- Class: to  -->
   <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
   <xs:element name="to" type="to"/>
   <xs:complexType name="to">
      <xs:attribute name="pointer" type="xpointerType" use="required"/>
   </xs:complexType>

   <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
   <!-- Class: <<XSDsimpleType>> xpointerType  -->
   <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
   <xs:simpleType name="xpointerType">
      <xs:restriction base="xs:string">
         <xs:pattern value=""/>
      </xs:restriction>
   </xs:simpleType>

   <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
   <!-- Class: basisContraction  -->
   <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
   <xs:element name="basisContraction" type="basisContraction"/>
   <xs:complexType name="basisContraction">
      <xs:sequence>
         <xs:element name="n" type="xs:float" minOccurs="1" maxOccurs="unbounded"/>
      </xs:sequence>
   </xs:complexType>

   <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
   <!-- Class: association  -->
   <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
   <xs:element name="association" type="association"/>
   <xs:complexType name="association">
      <xs:sequence>
         <xs:element ref="from"/>
         <xs:element ref="to"/>
      </xs:sequence>
   </xs:complexType>

   <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
   <!-- Class: <<XSDsimpleType>> idType  -->
   <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
   <xs:simpleType name="idType">
      <xs:restriction base="xs:string">
         <xs:pattern value="([A-Za-z][A-Za-z0-9_-]*:)?[A-Za-z][A-Za-z0-9_\-\.]*"/>
      </xs:restriction>
   </xs:simpleType>

   <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
   <!-- Global Element Declarations  -->
   <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
   </xs:schema>
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback