Schema lattice.xsd


schema location:  http://xml.comp-phys.org/lattice.xsd
 
Elements  Complex types  Simple types  Attr. groups 
FINITELATTICE  BoundaryType  boundaryconditions  EdgesVerticesAttribute 
GRAPH  CellEdgeType  numberlist  NameDimAttribute 
LATTICE  EdgeType  NameDimRefAttribute 
LATTICEGRAPH  ExtentType  TypeNumberAttributes 
LATTICES  VectorsType 
UNITCELL  VertexCellRefType 
VertexType 


element FINITELATTICE
diagram
children LATTICE EXTENT BOUNDARY
used by
elements LATTICEGRAPH LATTICES
attributes
Name  Type  Use  Default  Fixed  Annotation
name  xs:string  optional      
dimension  xs:nonNegativeInteger  optional      
ref  xs:string  optional      
source
<xs:element name="FINITELATTICE">
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="LATTICE"/>
      <xs:choice maxOccurs="unbounded">
        <xs:element name="EXTENT" type="ExtentType"/>
        <xs:element name="BOUNDARY" type="BoundaryType"/>
      </xs:choice>
    </xs:sequence>
    <xs:attributeGroup ref="NameDimRefAttribute"/>
  </xs:complexType>
</xs:element>

element FINITELATTICE/EXTENT
diagram
type ExtentType
attributes
Name  Type  Use  Default  Fixed  Annotation
dimension  xs:nonNegativeInteger  optional      
size  numberlist  optional      
parameter  xs:string  optional      
source
<xs:element name="EXTENT" type="ExtentType"/>

element FINITELATTICE/BOUNDARY
diagram
type BoundaryType
attributes
Name  Type  Use  Default  Fixed  Annotation
dimension  xs:nonNegativeInteger  optional      
type  boundaryconditions  required      
source
<xs:element name="BOUNDARY" type="BoundaryType"/>

element GRAPH
diagram
children VERTEX EDGE
used by
element LATTICES
attributes
Name  Type  Use  Default  Fixed  Annotation
name  xs:string  optional      
vertices  xs:nonNegativeInteger  optional      
edges  xs:nonNegativeInteger  optional      
source
<xs:element name="GRAPH">
  <xs:complexType>
    <xs:sequence>
      <xs:sequence minOccurs="0" maxOccurs="unbounded">
        <xs:element name="VERTEX" type="VertexType"/>
      </xs:sequence>
      <xs:sequence minOccurs="0" maxOccurs="unbounded">
        <xs:element name="EDGE" type="EdgeType"/>
      </xs:sequence>
    </xs:sequence>
    <xs:attribute name="name" type="xs:string" use="optional"/>
    <xs:attributeGroup ref="EdgesVerticesAttribute"/>
  </xs:complexType>
</xs:element>

element GRAPH/VERTEX
diagram
type VertexType
children COORDINATE
attributes
Name  Type  Use  Default  Fixed  Annotation
type  xs:nonNegativeInteger  optional  0    
id  xs:nonNegativeInteger  optional      
source
<xs:element name="VERTEX" type="VertexType"/>

element GRAPH/EDGE
diagram
type EdgeType
attributes
Name  Type  Use  Default  Fixed  Annotation
type  xs:nonNegativeInteger  optional  0    
id  xs:nonNegativeInteger  optional      
source  xs:nonNegativeInteger  required      
target  xs:nonNegativeInteger  required      
source
<xs:element name="EDGE" type="EdgeType"/>

element LATTICE
diagram
children BASIS
used by
elements FINITELATTICE LATTICEGRAPH LATTICES
attributes
Name  Type  Use  Default  Fixed  Annotation
name  xs:string  optional      
dimension  xs:nonNegativeInteger  optional      
ref  xs:string  optional      
source
<xs:element name="LATTICE">
  <xs:complexType>
    <xs:sequence minOccurs="0">
      <xs:element name="BASIS" type="VectorsType"/>
    </xs:sequence>
    <xs:attributeGroup ref="NameDimRefAttribute"/>
  </xs:complexType>
</xs:element>

element LATTICE/BASIS
diagram
type VectorsType
children VECTOR
source
<xs:element name="BASIS" type="VectorsType"/>

element LATTICEGRAPH
diagram
children LATTICE FINITELATTICE UNITCELL
used by
element LATTICES
attributes
Name  Type  Use  Default  Fixed  Annotation
name  xs:string  optional      
dimension  xs:nonNegativeInteger  optional      
source
<xs:element name="LATTICEGRAPH">
  <xs:complexType>
    <xs:sequence>
      <xs:choice>
        <xs:element ref="LATTICE"/>
        <xs:element ref="FINITELATTICE"/>
      </xs:choice>
      <xs:element ref="UNITCELL"/>
    </xs:sequence>
    <xs:attributeGroup ref="NameDimAttribute"/>
  </xs:complexType>
</xs:element>

element LATTICES
diagram
children LATTICE UNITCELL LATTICEGRAPH GRAPH FINITELATTICE
source
<xs:element name="LATTICES">
  <xs:complexType>
    <xs:choice minOccurs="0" maxOccurs="unbounded">
      <xs:element ref="LATTICE"/>
      <xs:element ref="UNITCELL"/>
      <xs:element ref="LATTICEGRAPH"/>
      <xs:element ref="GRAPH"/>
      <xs:element ref="FINITELATTICE"/>
    </xs:choice>
  </xs:complexType>
</xs:element>

element UNITCELL
diagram
children VERTEX EDGE
used by
elements LATTICEGRAPH LATTICES
attributes
Name  Type  Use  Default  Fixed  Annotation
vertices  xs:nonNegativeInteger  optional      
edges  xs:nonNegativeInteger  optional      
name  xs:string  optional      
dimension  xs:nonNegativeInteger  optional      
source
<xs:element name="UNITCELL">
  <xs:complexType>
    <xs:choice minOccurs="0" maxOccurs="unbounded">
      <xs:element name="VERTEX" type="VertexType"/>
      <xs:element name="EDGE" type="CellEdgeType"/>
    </xs:choice>
    <xs:attributeGroup ref="EdgesVerticesAttribute"/>
    <xs:attributeGroup ref="NameDimAttribute"/>
  </xs:complexType>
</xs:element>

element UNITCELL/VERTEX
diagram
type VertexType
children COORDINATE
attributes
Name  Type  Use  Default  Fixed  Annotation
type  xs:nonNegativeInteger  optional  0    
id  xs:nonNegativeInteger  optional      
source
<xs:element name="VERTEX" type="VertexType"/>

element UNITCELL/EDGE
diagram
type CellEdgeType
children SOURCE TARGET
attributes
Name  Type  Use  Default  Fixed  Annotation
type  xs:nonNegativeInteger  optional  0    
id  xs:nonNegativeInteger  optional      
source
<xs:element name="EDGE" type="CellEdgeType"/>

complexType BoundaryType
diagram
used by
element FINITELATTICE/BOUNDARY
attributes
Name  Type  Use  Default  Fixed  Annotation
dimension  xs:nonNegativeInteger  optional      
type  boundaryconditions  required      
source
<xs:complexType name="BoundaryType">
  <xs:attribute name="dimension" type="xs:nonNegativeInteger" use="optional"/>
  <xs:attribute name="type" type="boundaryconditions" use="required"/>
</xs:complexType>

complexType CellEdgeType
diagram
children SOURCE TARGET
used by
element UNITCELL/EDGE
attributes
Name  Type  Use  Default  Fixed  Annotation
type  xs:nonNegativeInteger  optional  0    
id  xs:nonNegativeInteger  optional      
source
<xs:complexType name="CellEdgeType">
  <xs:all>
    <xs:element name="SOURCE" type="VertexCellRefType"/>
    <xs:element name="TARGET" type="VertexCellRefType"/>
  </xs:all>
  <xs:attributeGroup ref="TypeNumberAttributes"/>
</xs:complexType>

element CellEdgeType/SOURCE
diagram
type VertexCellRefType
attributes
Name  Type  Use  Default  Fixed  Annotation
vertex  xs:nonNegativeInteger  required      
offset  numberlist  optional      
source
<xs:element name="SOURCE" type="VertexCellRefType"/>

element CellEdgeType/TARGET
diagram
type VertexCellRefType
attributes
Name  Type  Use  Default  Fixed  Annotation
vertex  xs:nonNegativeInteger  required      
offset  numberlist  optional      
source
<xs:element name="TARGET" type="VertexCellRefType"/>

complexType EdgeType
diagram
used by
element GRAPH/EDGE
attributes
Name  Type  Use  Default  Fixed  Annotation
type  xs:nonNegativeInteger  optional  0    
id  xs:nonNegativeInteger  optional      
source  xs:nonNegativeInteger  required      
target  xs:nonNegativeInteger  required      
source
<xs:complexType name="EdgeType">
  <xs:attributeGroup ref="TypeNumberAttributes"/>
  <xs:attribute name="source" type="xs:nonNegativeInteger" use="required"/>
  <xs:attribute name="target" type="xs:nonNegativeInteger" use="required"/>
</xs:complexType>

complexType ExtentType
diagram
used by
element FINITELATTICE/EXTENT
attributes
Name  Type  Use  Default  Fixed  Annotation
dimension  xs:nonNegativeInteger  optional      
size  numberlist  optional      
parameter  xs:string  optional      
source
<xs:complexType name="ExtentType">
  <xs:attribute name="dimension" type="xs:nonNegativeInteger" use="optional"/>
  <xs:attribute name="size" type="numberlist" use="optional"/>
  <xs:attribute name="parameter" type="xs:string" use="optional"/>
</xs:complexType>

complexType VectorsType
diagram
children VECTOR
used by
element LATTICE/BASIS
source
<xs:complexType name="VectorsType">
  <xs:sequence minOccurs="0" maxOccurs="unbounded">
    <xs:element name="VECTOR" type="numberlist"/>
  </xs:sequence>
</xs:complexType>

element VectorsType/VECTOR
diagram
type numberlist
source
<xs:element name="VECTOR" type="numberlist"/>

complexType VertexCellRefType
diagram
used by
elements CellEdgeType/SOURCE CellEdgeType/TARGET
attributes
Name  Type  Use  Default  Fixed  Annotation
vertex  xs:nonNegativeInteger  required      
offset  numberlist  optional      
source
<xs:complexType name="VertexCellRefType">
  <xs:attribute name="vertex" type="xs:nonNegativeInteger" use="required"/>
  <xs:attribute name="offset" type="numberlist" use="optional"/>
</xs:complexType>

complexType VertexType
diagram
children COORDINATE
used by
elements UNITCELL/VERTEX GRAPH/VERTEX
attributes
Name  Type  Use  Default  Fixed  Annotation
type  xs:nonNegativeInteger  optional  0    
id  xs:nonNegativeInteger  optional      
source
<xs:complexType name="VertexType">
  <xs:sequence minOccurs="0">
    <xs:element name="COORDINATE" type="numberlist" minOccurs="0"/>
  </xs:sequence>
  <xs:attributeGroup ref="TypeNumberAttributes"/>
</xs:complexType>

element VertexType/COORDINATE
diagram
type numberlist
source
<xs:element name="COORDINATE" type="numberlist" minOccurs="0"/>

simpleType boundaryconditions
type restriction of xs:string
used by
attribute BoundaryType/@type
facets
enumeration open
enumeration periodic
source
<xs:simpleType name="boundaryconditions">
  <xs:restriction base="xs:string">
    <xs:enumeration value="open"/>
    <xs:enumeration value="periodic"/>
  </xs:restriction>
</xs:simpleType>

simpleType numberlist
type list of xs:double
used by
elements VertexType/COORDINATE VectorsType/VECTOR
attributes VertexCellRefType/@offset ExtentType/@size
source
<xs:simpleType name="numberlist">
  <xs:list itemType="xs:double"/>
</xs:simpleType>

attributeGroup EdgesVerticesAttribute
used by
elements GRAPH UNITCELL
attributes
Name  Type  Use  Default  Fixed  Annotation
vertices  xs:nonNegativeInteger  optional      
edges  xs:nonNegativeInteger  optional