Schema sales-order.xsd


schema location:  xsd/sales-order.xsd
 
Elements 
sales-order 


schema location:  xsd/sales-orderType.xsd
 
Complex types 
lens-sales-orderType 
pre-processType 
sales-orderType 


schema location:  xsd/refractionType.xsd
 
Complex types 
cylinderType 
refractionType 


schema location:  xsd/centrationType.xsd
 
Complex types 
centrationType 


schema location:  xsd/frame-dataType.xsd
 
Complex types 
frame-dataType 


schema location:  xsd/frame-sourceType.xsd
 
Complex types 
frame-sourceType 


schema location:  xsd/frame-specialType.xsd
 
Complex types 
frame-specialType 


schema location:  xsd/lensType.xsd
 
Complex types 
lensType 


schema location:  xsd/holesType.xsd
 
Complex types 
holesType 


schema location:  xsd/optionsType.xsd
 
Complex types 
optionsType 


schema location:  xsd/pre-calcType.xsd
 
Complex types 
pre-calcType 


schema location:  xsd/prismType.xsd
 
Complex types 
prismType 


schema location:  xsd/shapeType.xsd
 
Complex types 
shapeType 


element sales-order
diagram
type sales-orderType
children customer quantity general-pre-calc pair single frame
annotation
documentation 
Schema fuer die Kommunikation zwischen Bestellung/Auftrag und Rezeptrechenprogramm bei einer Glasfertigung
source
<xs:element name="sales-order" type="sales-orderType">
  <xs:annotation>
    <xs:documentation>Schema fuer die Kommunikation zwischen Bestellung/Auftrag und Rezeptrechenprogramm bei einer Glasfertigung</xs:documentation>
  </xs:annotation>
</xs:element>

complexType lens-sales-orderType
diagram
type extension of lensType
children lens-id edi-code product-line diameter opt-diameter description refraction decentration modify-thickness-flag optima-flag options pre-calc pre-process
used by
elements sales-orderType/pair/left sales-orderType/single/left sales-orderType/pair/right sales-orderType/single/right
source
<xs:complexType name="lens-sales-orderType">
  <xs:complexContent>
    <xs:extension base="lensType">
      <xs:sequence>
        <xs:element name="pre-process" type="pre-processType" minOccurs="0"/>
      </xs:sequence>
    </xs:extension>
  </xs:complexContent>
</xs:complexType>

element lens-sales-orderType/pre-process
diagram
type pre-processType
children lens-sign blocker blocker-support correction-rx-surface semi-finished-produce-flag specified-semi-finished radius
source
<xs:element name="pre-process" type="pre-processType" minOccurs="0"/>

complexType pre-processType
diagram
children lens-sign blocker blocker-support correction-rx-surface semi-finished-produce-flag specified-semi-finished radius
used by
element lens-sales-orderType/pre-process
source
<xs:complexType name="pre-processType">
  <xs:sequence>
    <xs:element name="lens-sign" type="xs:string" minOccurs="0">
      <xs:annotation>
        <xs:documentation>Lager, Schicht, Rezept, Lagerglas incl. hart</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="blocker" type="xs:string" minOccurs="0">
      <xs:annotation>
        <xs:documentation>CNC - C54 - C42 - Y31</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="blocker-support" type="xs:int" minOccurs="0">
      <xs:annotation>
        <xs:documentation>0=3-Punktauflage Aalen
1=Schneideauflage</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="correction-rx-surface" type="xs:float" minOccurs="0">
      <xs:annotation>
        <xs:documentation>Vorhalt Rezeptflaeche</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="semi-finished-produce-flag" minOccurs="0">
      <xs:annotation>
        <xs:documentation>HF-Fertigung</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:boolean">
          <xs:pattern value="true"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:element>
    <xs:element name="specified-semi-finished" minOccurs="0">
      <xs:annotation>
        <xs:documentation>Vorgabe HF-Wahl</xs:documentation>
      </xs:annotation>
      <xs:complexType>
        <xs:sequence>
          <xs:element name="diameter" type="xs:integer">
            <xs:annotation>
              <xs:documentation>IST-Durchmesser</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="centre-thickness" type="xs:float"/>
          <xs:element name="front-curve">
            <xs:annotation>
              <xs:documentation>R1 des Blanks</xs:documentation>
            </xs:annotation>
            <xs:complexType>
              <xs:simpleContent>
                <xs:extension base="xs:float">
                  <xs:attribute name="unit" use="optional">
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:enumeration value="mm"/>
                        <xs:enumeration value="dioptre"/>
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                </xs:extension>
              </xs:simpleContent>
            </xs:complexType>
          </xs:element>
          <xs:element name="back-curve">
            <xs:annotation>
              <xs:documentation>R2 des Halbfabrikates</xs:documentation>
            </xs:annotation>
            <xs:complexType>
              <xs:simpleContent>
                <xs:extension base="xs:float">
                  <xs:attribute name="unit" use="optional">
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:enumeration value="mm"/>
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                </xs:extension>
              </xs:simpleContent>
            </xs:complexType>
          </xs:element>
          <xs:element name="blank-type" type="xs:string">
            <xs:annotation>
              <xs:documentation>Blank-Type bzw. Hersteller</xs:documentation>
            </xs:annotation>
          </xs:element>
        </xs:sequence>
      </xs:complexType>
    </xs:element>
    <xs:element name="radius" minOccurs="0">
      <xs:complexType>
        <xs:choice>
          <xs:element name="base-curve">
            <xs:annotation>
              <xs:documentation>R1 bwz. R2-Vorgabe in Dpt oder mm</xs:documentation>
            </xs:annotation>
            <xs:complexType>
              <xs:simpleContent>
                <xs:extension base="xs:float">
                  <xs:attribute name="unit" use="required">
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:enumeration value="mm"/>
                        <xs:enumeration value="dpt"/>
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                </xs:extension>
              </xs:simpleContent>
            </xs:complexType>
          </xs:element>
          <xs:element name="lab">
            <xs:annotation>
              <xs:documentation source="unit">Fertigungsswerkstatt oder Systemtechnologie</xs:documentation>
              <xs:documentation>Fertigungsswerkstatt oder Systemtechnologie</xs:documentation>
            </xs:annotation>
            <xs:complexType>
              <xs:sequence>
                <xs:element name="base-curve">
                  <xs:annotation>
                    <xs:documentation>R1 bwz. R2-Vorgabe in Dpt oder mm</xs:documentation>
                  </xs:annotation>
                  <xs:complexType>
                    <xs:simpleContent>
                      <xs:extension base="xs:float">
                        <xs:attribute name="unit" use="required">
                          <xs:simpleType>
                            <xs:restriction base="xs:string">
                              <xs:enumeration value="mm"/>
                              <xs:enumeration value="dpt"/>
                            </xs:restriction>
                          </xs:simpleType>
                        </xs:attribute>
                      </xs:extension>
                    </xs:simpleContent>
                  </xs:complexType>
                </xs:element>
                <xs:element name="rx-radius-mer">
                  <xs:annotation>
                    <xs:documentation>Normradius der Torusflaeche in mm</xs:documentation>
                  </xs:annotation>
                  <xs:complexType>
                    <xs:simpleContent>
                      <xs:extension base="xs:float">
                        <xs:attribute name="unit" use="optional">
                          <xs:simpleType>
                            <xs:restriction base="xs:string">
                              <xs:enumeration value="mm"/>
                            </xs:restriction>
                          </xs:simpleType>
                        </xs:attribute>
                      </xs:extension>
                    </xs:simpleContent>
                  </xs:complexType>
                </xs:element>
                <xs:element name="rx-radius-rot">
                  <xs:annotation>
                    <xs:documentation>Normradius der Torusflaeche in mm</xs:documentation>
                  </xs:annotation>
                  <xs:complexType>
                    <xs:simpleContent>
                      <xs:extension base="xs:float">
                        <xs:attribute name="unit" use="optional">
                          <xs:simpleType>
                            <xs:restriction base="xs:string">
                              <xs:enumeration value="mm"/>
                            </xs:restriction>
                          </xs:simpleType>
                        </xs:attribute>
                      </xs:extension>
                    </xs:simpleContent>
                  </xs:complexType>
                </xs:element>
              </xs:sequence>
            </xs:complexType>
          </xs:element>
        </xs:choice>
      </xs:complexType>
    </xs:element>
  </xs:sequence>
</xs:complexType>

element pre-processType/lens-sign
diagram
type xs:string
annotation
documentation 
Lager, Schicht, Rezept, Lagerglas incl. hart
source
<xs:element name="lens-sign" type="xs:string" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Lager, Schicht, Rezept, Lagerglas incl. hart</xs:documentation>
  </xs:annotation>
</xs:element>

element pre-processType/blocker
diagram
type xs:string
annotation
documentation 
CNC - C54 - C42 - Y31
source
<xs:element name="blocker" type="xs:string" minOccurs="0">
  <xs:annotation>
    <xs:documentation>CNC - C54 - C42 - Y31</xs:documentation>
  </xs:annotation>
</xs:element>

element pre-processType/blocker-support
diagram
type xs:int
annotation
documentation 
0=3-Punktauflage Aalen
1=Schneideauflage
source
<xs:element name="blocker-support" type="xs:int" minOccurs="0">
  <xs:annotation>
    <xs:documentation>0=3-Punktauflage Aalen
1=Schneideauflage</xs:documentation>
  </xs:annotation>
</xs:element>

element pre-processType/correction-rx-surface
diagram
type xs:float
annotation
documentation 
Vorhalt Rezeptflaeche
source
<xs:element name="correction-rx-surface" type="xs:float" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Vorhalt Rezeptflaeche</xs:documentation>
  </xs:annotation>
</xs:element>

element pre-processType/semi-finished-produce-flag
diagram
type restriction of xs:boolean
facets
pattern true
annotation
documentation 
HF-Fertigung
source
<xs:element name="semi-finished-produce-flag" minOccurs="0">
  <xs:annotation>
    <xs:documentation>HF-Fertigung</xs:documentation>
  </xs:annotation>
  <xs:simpleType>
    <xs:restriction base="xs:boolean">
      <xs:pattern value="true"/>
    </xs:restriction>
  </xs:simpleType>
</xs:element>

element pre-processType/specified-semi-finished
diagram
children diameter centre-thickness front-curve back-curve blank-type
annotation
documentation 
Vorgabe HF-Wahl
source
<xs:element name="specified-semi-finished" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Vorgabe HF-Wahl</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element name="diameter" type="xs:integer">
        <xs:annotation>
          <xs:documentation>IST-Durchmesser</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="centre-thickness" type="xs:float"/>
      <xs:element name="front-curve">
        <xs:annotation>
          <xs:documentation>R1 des Blanks</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:simpleContent>
            <xs:extension base="xs:float">
              <xs:attribute name="unit" use="optional">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:enumeration value="mm"/>
                    <xs:enumeration value="dioptre"/>
                  </xs:restriction>
                </xs:simpleType>
              </xs:attribute>
            </xs:extension>
          </xs:simpleContent>
        </xs:complexType>
      </xs:element>
      <xs:element name="back-curve">
        <xs:annotation>
          <xs:documentation>R2 des Halbfabrikates</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:simpleContent>
            <xs:extension base="xs:float">
              <xs:attribute name="unit" use="optional">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:enumeration value="mm"/>
                  </xs:restriction>
                </xs:simpleType>
              </xs:attribute>
            </xs:extension>
          </xs:simpleContent>
        </xs:complexType>
      </xs:element>
      <xs:element name="blank-type" type="xs:string">
        <xs:annotation>
          <xs:documentation>Blank-Type bzw. Hersteller</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element pre-processType/specified-semi-finished/diameter
diagram
type xs:integer
annotation
documentation 
IST-Durchmesser
source
<xs:element name="diameter" type="xs:integer">
  <xs:annotation>
    <xs:documentation>IST-Durchmesser</xs:documentation>
  </xs:annotation>
</xs:element>

element pre-processType/specified-semi-finished/centre-thickness
diagram
type xs:float
source
<xs:element name="centre-thickness" type="xs:float"/>

element pre-processType/specified-semi-finished/front-curve
diagram
type extension of xs:float
attributes
Name  Type  Use  Default  Fixed  Annotation
unit  xs:string  optional      
annotation
documentation 
R1 des Blanks
source
<xs:element name="front-curve">
  <xs:annotation>
    <xs:documentation>R1 des Blanks</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:simpleContent>
      <xs:extension base="xs:float">
        <xs:attribute name="unit" use="optional">
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:enumeration value="mm"/>
              <xs:enumeration value="dioptre"/>
            </xs:restriction>
          </xs:simpleType>
        </xs:attribute>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
</xs:element>

element pre-processType/specified-semi-finished/back-curve
diagram
type extension of xs:float
attributes
Name  Type  Use  Default  Fixed  Annotation
unit  xs:string  optional      
annotation
documentation 
R2 des Halbfabrikates
source
<xs:element name="back-curve">
  <xs:annotation>
    <xs:documentation>R2 des Halbfabrikates</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:simpleContent>
      <xs:extension base="xs:float">
        <xs:attribute name="unit" use="optional">
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:enumeration value="mm"/>
            </xs:restriction>
          </xs:simpleType>
        </xs:attribute>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
</xs:element>

element pre-processType/specified-semi-finished/blank-type
diagram
type xs:string
annotation
documentation 
Blank-Type bzw. Hersteller
source
<xs:element name="blank-type" type="xs:string">
  <xs:annotation>
    <xs:documentation>Blank-Type bzw. Hersteller</xs:documentation>
  </xs:annotation>
</xs:element>

element pre-processType/radius
diagram
children base-curve lab
source
<xs:element name="radius" minOccurs="0">
  <xs:complexType>
    <xs:choice>
      <xs:element name="base-curve">
        <xs:annotation>
          <xs:documentation>R1 bwz. R2-Vorgabe in Dpt oder mm</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:simpleContent>
            <xs:extension base="xs:float">
              <xs:attribute name="unit" use="required">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:enumeration value="mm"/>
                    <xs:enumeration value="dpt"/>
                  </xs:restriction>
                </xs:simpleType>
              </xs:attribute>
            </xs:extension>
          </xs:simpleContent>
        </xs:complexType>
      </xs:element>
      <xs:element name="lab">
        <xs:annotation>
          <xs:documentation source="unit">Fertigungsswerkstatt oder Systemtechnologie</xs:documentation>
          <xs:documentation>Fertigungsswerkstatt oder Systemtechnologie</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="base-curve">
              <xs:annotation>
                <xs:documentation>R1 bwz. R2-Vorgabe in Dpt oder mm</xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:simpleContent>
                  <xs:extension base="xs:float">
                    <xs:attribute name="unit" use="required">
                      <xs:simpleType>
                        <xs:restriction base="xs:string">
                          <xs:enumeration value="mm"/>
                          <xs:enumeration value="dpt"/>
                        </xs:restriction>
                      </xs:simpleType>
                    </xs:attribute>
                  </xs:extension>
                </xs:simpleContent>
              </xs:complexType>
            </xs:element>
            <xs:element name="rx-radius-mer">
              <xs:annotation>
                <xs:documentation>Normradius der Torusflaeche in mm</xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:simpleContent>
                  <xs:extension base="xs:float">
                    <xs:attribute name="unit" use="optional">
                      <xs:simpleType>
                        <xs:restriction base="xs:string">
                          <xs:enumeration value="mm"/>
                        </xs:restriction>
                      </xs:simpleType>
                    </xs:attribute>
                  </xs:extension>
                </xs:simpleContent>
              </xs:complexType>
            </xs:element>
            <xs:element name="rx-radius-rot">
              <xs:annotation>
                <xs:documentation>Normradius der Torusflaeche in mm</xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:simpleContent>
                  <xs:extension base="xs:float">
                    <xs:attribute name="unit" use="optional">
                      <xs:simpleType>
                        <xs:restriction base="xs:string">
                          <xs:enumeration value="mm"/>
                        </xs:restriction>
                      </xs:simpleType>
                    </xs:attribute>
                  </xs:extension>
                </xs:simpleContent>
              </xs:complexType>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:choice>
  </xs:complexType>
</xs:element>

element pre-processType/radius/base-curve
diagram
type extension of xs:float
attributes
Name  Type  Use  Default  Fixed  Annotation
unit  xs:string  required      
annotation
documentation 
R1 bwz. R2-Vorgabe in Dpt oder mm
source
<xs:element name="base-curve">
  <xs:annotation>
    <xs:documentation>R1 bwz. R2-Vorgabe in Dpt oder mm</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:simpleContent>
      <xs:extension base="xs:float">
        <xs:attribute name="unit" use="required">
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:enumeration value="mm"/>
              <xs:enumeration value="dpt"/>
            </xs:restriction>
          </xs:simpleType>
        </xs:attribute>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
</xs:element>

element pre-processType/radius/lab
diagram
children base-curve rx-radius-mer rx-radius-rot
annotation
documentation 
Fertigungsswerkstatt oder Systemtechnologie
documentation 
Fertigungsswerkstatt oder Systemtechnologie
source
<xs:element name="lab">
  <xs:annotation>
    <xs:documentation source="unit">Fertigungsswerkstatt oder Systemtechnologie</xs:documentation>
    <xs:documentation>Fertigungsswerkstatt oder Systemtechnologie</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element name="base-curve">
        <xs:annotation>
          <xs:documentation>R1 bwz. R2-Vorgabe in Dpt oder mm</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:simpleContent>
            <xs:extension base="xs:float">
              <xs:attribute name="unit" use="required">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:enumeration value="mm"/>
                    <xs:enumeration value="dpt"/>
                  </xs:restriction>
                </xs:simpleType>
              </xs:attribute>
            </xs:extension>
          </xs:simpleContent>
        </xs:complexType>
      </xs:element>
      <xs:element name="rx-radius-mer">
        <xs:annotation>
          <xs:documentation>Normradius der Torusflaeche in mm</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:simpleContent>
            <xs:extension base="xs:float">
              <xs:attribute name="unit" use="optional">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:enumeration value="mm"/>
                  </xs:restriction>
                </xs:simpleType>
              </xs:attribute>
            </xs:extension>
          </xs:simpleContent>
        </xs:complexType>
      </xs:element>
      <xs:element name="rx-radius-rot">
        <xs:annotation>
          <xs:documentation>Normradius der Torusflaeche in mm</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:simpleContent>
            <xs:extension base="xs:float">
              <xs:attribute name="unit" use="optional">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:enumeration value="mm"/>
                  </xs:restriction>
                </xs:simpleType>
              </xs:attribute>
            </xs:extension>
          </xs:simpleContent>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element pre-processType/radius/lab/base-curve
diagram
type extension of xs:float
attributes
Name  Type  Use  Default  Fixed  Annotation
unit  xs:string  required      
annotation
documentation 
R1 bwz. R2-Vorgabe in Dpt oder mm
source
<xs:element name="base-curve">
  <xs:annotation>
    <xs:documentation>R1 bwz. R2-Vorgabe in Dpt oder mm</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:simpleContent>
      <xs:extension base="xs:float">
        <xs:attribute name="unit" use="required">
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:enumeration value="mm"/>
              <xs:enumeration value="dpt"/>
            </xs:restriction>
          </xs:simpleType>
        </xs:attribute>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
</xs:element>

element pre-processType/radius/lab/rx-radius-mer
diagram
type extension of xs:float
attributes
Name  Type  Use  Default  Fixed  Annotation
unit  xs:string  optional      
annotation
documentation 
Normradius der Torusflaeche in mm
source
<xs:element name="rx-radius-mer">
  <xs:annotation>
    <xs:documentation>Normradius der Torusflaeche in mm</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:simpleContent>
      <xs:extension base="xs:float">
        <xs:attribute name="unit" use="optional">
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:enumeration value="mm"/>
            </xs:restriction>
          </xs:simpleType>
        </xs:attribute>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
</xs:element>

element pre-processType/radius/lab/rx-radius-rot
diagram
type extension of xs:float
attributes
Name  Type  Use  Default  Fixed  Annotation
unit  xs:string  optional      
annotation
documentation 
Normradius der Torusflaeche in mm
source
<xs:element name="rx-radius-rot">
  <xs:annotation>
    <xs:documentation>Normradius der Torusflaeche in mm</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:simpleContent>
      <xs:extension base="xs:float">
        <xs:attribute name="unit" use="optional">
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:enumeration value="mm"/>
            </xs:restriction>
          </xs:simpleType>
        </xs:attribute>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
</xs:element>

complexType sales-orderType
diagram
children customer quantity general-pre-calc pair single frame
used by
element sales-order
source
<xs:complexType name="sales-orderType">
  <xs:sequence>
    <xs:element name="customer">
      <xs:annotation>
        <xs:documentation>Kundenspezifische Daten</xs:documentation>
      </xs:annotation>
      <xs:complexType>
        <xs:sequence>
          <xs:element name="customer-id">
            <xs:annotation>
              <xs:documentation>Kundennummer</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:string">
                <xs:minLength value="10"/>
                <xs:maxLength value="20"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:element>
          <xs:element name="order-generator" type="xs:string" minOccurs="0">
            <xs:annotation>
              <xs:documentation>System, mit dem der Auftrag erzeugt wurde </xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="order-id" type="xs:string">
            <xs:annotation>
              <xs:documentation>Eindeutige Identifikation auf Customerseite (laufende Nummer der Ãœbertrgagung)</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="key" minOccurs="0">
            <xs:annotation>
              <xs:documentation>Verschluesselungscode</xs:documentation>
            </xs:annotation>
            <xs:complexType>
              <xs:sequence>
                <xs:element name="modulus" type="xs:string"/>
                <xs:element name="exponent" type="xs:string"/>
              </xs:sequence>
            </xs:complexType>
          </xs:element>
          <xs:element name="country" type="xs:string">
            <xs:annotation>
              <xs:documentation>Kurzschluessel ISO Code 2stellig</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="lab-id" minOccurs="0">
            <xs:annotation>
              <xs:documentation>SAP-VWERK-Eintr.
z.B. 1001 Aalen default</xs:documentation>
            </xs:annotation>
            <xs:complexType>
              <xs:simpleContent>
                <xs:extension base="xs:string">
                  <xs:attribute name="internal-id" use="optional">
                    <xs:simpleType>
                      <xs:restriction base="xs:int">
                        <xs:minInclusive value="1"/>
                        <xs:maxInclusive value="99"/>
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                </xs:extension>
              </xs:simpleContent>
            </xs:complexType>
          </xs:element>
          <xs:element name="commission" type="xs:string" minOccurs="0">
            <xs:annotation>
              <xs:documentation>Vorgegeben Einzelauftragsindetifikation </xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="delivery-date" type="xs:string" minOccurs="0">
            <xs:annotation>
              <xs:documentation>Wunschlieferdatum</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="notes" minOccurs="0">
            <xs:annotation>
              <xs:documentation>Bemerkung zum Einzelauftrag</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:string"/>
            </xs:simpleType>
          </xs:element>
          <xs:element name="internal" minOccurs="0">
            <xs:complexType>
              <xs:sequence>
                <xs:element name="name" type="xs:string" minOccurs="0"/>
                <xs:element name="address" minOccurs="0">
                  <xs:complexType>
                    <xs:sequence>
                      <xs:element name="street" type="xs:string" minOccurs="0"/>
                      <xs:element name="town" type="xs:string" minOccurs="0"/>
                      <xs:element name="phone-number" type="xs:string" minOccurs="0"/>
                      <xs:element name="fax-number" type="xs:string" minOccurs="0"/>
                      <xs:element name="email" type="xs:string" minOccurs="0"/>
                    </xs:sequence>
                  </xs:complexType>
                </xs:element>
                <xs:element name="delivery-typ" type="xs:string" minOccurs="0">
                  <xs:annotation>
                    <xs:documentation>Versandbedingungen</xs:documentation>
                  </xs:annotation>
                </xs:element>
                <xs:element name="courier-id" type="xs:string" minOccurs="0">
                  <xs:annotation>
                    <xs:documentation>Botendienstnummer</xs:documentation>
                  </xs:annotation>
                </xs:element>
                <xs:element name="additional-order-id" type="xs:string" minOccurs="0">
                  <xs:annotation>
                    <xs:documentation>z.B. Optiswiss, IPRO</xs:documentation>
                  </xs:annotation>
                </xs:element>
                <xs:element name="barcode" type="xs:string" minOccurs="0">
                  <xs:annotation>
                    <xs:documentation>Kunden-Barcode</xs:documentation>
                  </xs:annotation>
                </xs:element>
                <xs:element name="internal-recept-id" type="xs:string" minOccurs="0">
                  <xs:annotation>
                    <xs:documentation>interne PC-Rezept- rechnungsnummer</xs:documentation>
                  </xs:annotation>
                </xs:element>
                <xs:element name="order-entry" minOccurs="0">
                  <xs:complexType>
                    <xs:sequence>
                      <xs:element name="order-typ" type="xs:string" minOccurs="0">
                        <xs:annotation>
                          <xs:documentation>1=DFUE,2=TFAX,usw</xs:documentation>
                        </xs:annotation>
                      </xs:element>
                      <xs:element name="arrangement" type="xs:string" minOccurs="0">
                        <xs:annotation>
                          <xs:documentation>1=Neuanlage, 2=Aenderung, 3=Loeschung</xs:documentation>
                        </xs:annotation>
                      </xs:element>
                      <xs:element name="complaint" type="xs:string" minOccurs="0">
                        <xs:annotation>
                          <xs:documentation>Reklamation</xs:documentation>
                        </xs:annotation>
                      </xs:element>
                      <xs:element name="model-lens" type="xs:string" minOccurs="0">
                        <xs:annotation>
                          <xs:documentation>Musterglas</xs:documentation>
                        </xs:annotation>
                      </xs:element>
                      <xs:element name="terminal" type="xs:string" minOccurs="0"/>
                      <xs:element name="time" type="xs:string" minOccurs="0"/>
                      <xs:element name="date" type="xs:string" minOccurs="0"/>
                      <xs:element name="duration-of-delivery" type="xs:string" minOccurs="0">
                        <xs:annotation>
                          <xs:documentation>Lieferzeit</xs:documentation>
                        </xs:annotation>
                      </xs:element>
                    </xs:sequence>
                  </xs:complexType>
                </xs:element>
              </xs:sequence>
            </xs:complexType>
          </xs:element>
        </xs:sequence>
      </xs:complexType>
    </xs:element>
    <xs:element name="quantity"/>
    <xs:element name="general-pre-calc" minOccurs="0">
      <xs:complexType>
        <xs:sequence>
          <xs:element name="generate-process-data" type="xs:integer" minOccurs="0">
            <xs:annotation>
              <xs:documentation>0=saemtliche Fertigungsdaten fuer Produktion, auch System- technik 
1=teilweise (alle Formulardaten)
2=keine (Beratung Standard bei consult)</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="control-level" minOccurs="0">
            <xs:annotation>
              <xs:documentation>0=Kontrolle
1=keine Kontrolle 2=teilweise</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:integer">
                <xs:minInclusive value="0"/>
                <xs:maxInclusive value="1"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:element>
          <xs:element name="order-sign" type="xs:string" minOccurs="0">
            <xs:annotation>
              <xs:documentation>Auftragskennzeichen
Rezept / Schicht / Lager</xs:documentation>
            </xs:annotation>
          </xs:element>
        </xs:sequence>
      </xs:complexType>
    </xs:element>
    <xs:choice>
      <xs:element name="pair">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="general" minOccurs="0">
              <xs:complexType>
                <xs:choice>
                  <xs:element name="right">
                    <xs:complexType>
                      <xs:choice minOccurs="0">
                        <xs:element name="balancing-lens">
                          <xs:annotation>
                            <xs:documentation>Ausgleichsglas</xs:documentation>
                          </xs:annotation>
                          <xs:complexType>
                            <xs:simpleContent>
                              <xs:extension base="xs:boolean"/>
                            </xs:simpleContent>
                          </xs:complexType>
                        </xs:element>
                        <xs:element name="virtual-lens">
                          <xs:annotation>
                            <xs:documentation>Scheinglas</xs:documentation>
                          </xs:annotation>
                          <xs:complexType>
                            <xs:simpleContent>
                              <xs:extension base="xs:boolean"/>
                            </xs:simpleContent>
                          </xs:complexType>
                        </xs:element>
                      </xs:choice>
                    </xs:complexType>
                  </xs:element>
                  <xs:element name="left">
                    <xs:complexType>
                      <xs:choice minOccurs="0">
                        <xs:element name="balancing-lens">
                          <xs:annotation>
                            <xs:documentation>Ausgleichsglas</xs:documentation>
                          </xs:annotation>
                          <xs:complexType>
                            <xs:simpleContent>
                              <xs:extension base="xs:boolean"/>
                            </xs:simpleContent>
                          </xs:complexType>
                        </xs:element>
                        <xs:element name="virtual-lens">
                          <xs:annotation>
                            <xs:documentation>Scheinglas</xs:documentation>
                          </xs:annotation>
                          <xs:complexType>
                            <xs:simpleContent>
                              <xs:extension base="xs:boolean"/>
                            </xs:simpleContent>
                          </xs:complexType>
                        </xs:element>
                      </xs:choice>
                    </xs:complexType>
                  </xs:element>
                </xs:choice>
              </xs:complexType>
            </xs:element>
            <xs:element name="right" type="lens-sales-orderType"/>
            <xs:element name="left" type="lens-sales-orderType"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="single">
        <xs:complexType>
          <xs:choice>
            <xs:element name="right">
              <xs:complexType>
                <xs:complexContent>
                  <xs:extension base="lens-sales-orderType"/>
                </xs:complexContent>
              </xs:complexType>
            </xs:element>
            <xs:element name="left">
              <xs:complexType>
                <xs:complexContent>
                  <xs:extension base="lens-sales-orderType"/>
                </xs:complexContent>
              </xs:complexType>
            </xs:element>
          </xs:choice>
        </xs:complexType>
      </xs:element>
    </xs:choice>
    <xs:element name="frame" minOccurs="0">
      <xs:complexType>
        <xs:sequence>
          <xs:element name="material" minOccurs="0">
            <xs:annotation>
              <xs:documentation>Fassungsmaterial
1=Metall;2=Kunststoff;3=Randlos;4=Nylor;5Anderes</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:int">
                <xs:minInclusive value="1"/>
                <xs:maxInclusive value="5"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:element>
          <xs:choice>
            <xs:element name="pair">
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="right">
                    <xs:complexType>
                      <xs:sequence>
                        <xs:choice minOccurs="0">
                          <xs:element name="frame-data" type="frame-dataType">
                            <xs:annotation>
                              <xs:documentation>'Normale' externe Bestellung</xs:documentation>
                            </xs:annotation>
                          </xs:element>
                          <xs:element name="frame-source" type="frame-sourceType">
                            <xs:annotation>
                              <xs:documentation>Daten aus z.B. Scannerdatei lesen</xs:documentation>
                            </xs:annotation>
                          </xs:element>
                          <xs:element name="frame-special" type="frame-specialType">
                            <xs:annotation>
                              <xs:documentation>Bestelldaten bei Indi ohne Optima</xs:documentation>
                            </xs:annotation>
                          </xs:element>
                        </xs:choice>
                        <xs:element name="holes" type="holesType" minOccurs="0"/>
                        <xs:element name="back-vertex-distance" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>Hornhautscheitelabstand Korrektionsbrille</xs:documentation>
                          </xs:annotation>
                          <xs:complexType>
                            <xs:simpleContent>
                              <xs:extension base="xs:float"/>
                            </xs:simpleContent>
                          </xs:complexType>
                        </xs:element>
                      </xs:sequence>
                    </xs:complexType>
                  </xs:element>
                  <xs:element name="left">
                    <xs:complexType>
                      <xs:sequence>
                        <xs:choice minOccurs="0">
                          <xs:element name="frame-data" type="frame-dataType">
                            <xs:annotation>
                              <xs:documentation>'Normale' externe Bestellung</xs:documentation>
                            </xs:annotation>
                          </xs:element>
                          <xs:element name="frame-source" type="frame-sourceType">
                            <xs:annotation>
                              <xs:documentation>Daten aus z.B. Scannerdatei lesen</xs:documentation>
                            </xs:annotation>
                          </xs:element>
                          <xs:element name="frame-special" type="frame-specialType">
                            <xs:annotation>
                              <xs:documentation>Bestelldaten bei Indi ohne Optima</xs:documentation>
                            </xs:annotation>
                          </xs:element>
                        </xs:choice>
                        <xs:element name="holes" type="holesType" minOccurs="0"/>
                        <xs:element name="back-vertex-distance" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>Hornhautscheitelabstand Korrektionsbrille</xs:documentation>
                          </xs:annotation>
                          <xs:complexType>
                            <xs:simpleContent>
                              <xs:extension base="xs:float"/>
                            </xs:simpleContent>
                          </xs:complexType>
                        </xs:element>
                      </xs:sequence>
                    </xs:complexType>
                  </xs:element>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
            <xs:element name="single">
              <xs:complexType>
                <xs:choice>
                  <xs:element name="right">
                    <xs:complexType>
                      <xs:sequence>
                        <xs:choice minOccurs="0">
                          <xs:element name="frame-data" type="frame-dataType">
                            <xs:annotation>
                              <xs:documentation>'Normale' externe Bestellung</xs:documentation>
                            </xs:annotation>
                          </xs:element>
                          <xs:element name="frame-source" type="frame-sourceType">
                            <xs:annotation>
                              <xs:documentation>Daten aus z.B. Scannerdatei lesen</xs:documentation>
                            </xs:annotation>
                          </xs:element>
                          <xs:element name="frame-special" type="frame-specialType">
                            <xs:annotation>
                              <xs:documentation>Bestelldaten bei Indi ohne Optima</xs:documentation>
                            </xs:annotation>
                          </xs:element>
                        </xs:choice>
                        <xs:element name="holes" type="holesType" minOccurs="0"/>
                        <xs:element name="back-vertex-distance" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>Hornhautscheitelabstand Korrektionsbrille</xs:documentation>
                          </xs:annotation>
                          <xs:complexType>
                            <xs:simpleContent>
                              <xs:extension base="xs:float"/>
                            </xs:simpleContent>
                          </xs:complexType>
                        </xs:element>
                      </xs:sequence>
                    </xs:complexType>
                  </xs:element>
                  <xs:element name="left">
                    <xs:complexType>
                      <xs:sequence>
                        <xs:choice minOccurs="0">
                          <xs:element name="frame-data" type="frame-dataType">
                            <xs:annotation>
                              <xs:documentation>'Normale' externe Bestellung</xs:documentation>
                            </xs:annotation>
                          </xs:element>
                          <xs:element name="frame-source" type="frame-sourceType">
                            <xs:annotation>
                              <xs:documentation>Daten aus z.B. Scannerdatei lesen</xs:documentation>
                            </xs:annotation>
                          </xs:element>
                          <xs:element name="frame-special" type="frame-specialType">
                            <xs:annotation>
                              <xs:documentation>Bestelldaten bei Indi ohne Optima</xs:documentation>
                            </xs:annotation>
                          </xs:element>
                        </xs:choice>
                        <xs:element name="holes" type="holesType" minOccurs="0"/>
                        <xs:element name="back-vertex-distance" minOccurs="0">
                          <xs:annotation>
                            <xs:documentation>Hornhautscheitelabstand Korrektionsbrille</xs:documentation>
                          </xs:annotation>
                          <xs:complexType>
                            <xs:simpleContent>
                              <xs:extension base="xs:float"/>
                            </xs:simpleContent>
                          </xs:complexType>
                        </xs:element>
                      </xs:sequence>
                    </xs:complexType>
                  </xs:element>
                </xs:choice>
              </xs:complexType>
            </xs:element>
          </xs:choice>
          <xs:element name="pantoscopic-angle" type="xs:float" minOccurs="0">
            <xs:annotation>
              <xs:documentation>Fassungsvorneigung</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="frame-bow-angle" type="xs:float" minOccurs="0">
            <xs:annotation>
              <xs:documentation>Fassungsscheibenwinkel</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="remote-edging" minOccurs="0">
            <xs:complexType>
              <xs:sequence>
                <xs:element name="bevel">
                  <xs:complexType>
                    <xs:sequence>
                      <xs:element name="type"/>
                      <xs:element name="position" minOccurs="2" maxOccurs="2"/>
                      <xs:element name="size-correction" minOccurs="0"/>
                    </xs:sequence>
                  </xs:complexType>
                </xs:element>
              </xs:sequence>
            </xs:complexType>
          </xs:element>
        </xs:sequence>
      </xs:complexType>
    </xs:element>
  </xs:sequence>
</xs:complexType>

element sales-orderType/customer
diagram
children customer-id order-generator order-id key country lab-id commission delivery-date notes internal
annotation
documentation 
Kundenspezifische Daten
source
<xs:element name="customer">
  <xs:annotation>
    <xs:documentation>Kundenspezifische Daten</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element name="customer-id">
        <xs:annotation>
          <xs:documentation>Kundennummer</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:minLength value="10"/>
            <xs:maxLength value="20"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="order-generator" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation>System, mit dem der Auftrag erzeugt wurde </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="order-id" type="xs:string">
        <xs:annotation>
          <xs:documentation>Eindeutige Identifikation auf Customerseite (laufende Nummer der Ãœbertrgagung)</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="key" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Verschluesselungscode</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="modulus" type="xs:string"/>
            <xs:element name="exponent" type="xs:string"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="country" type="xs:string">
        <xs:annotation>
          <xs:documentation>Kurzschluessel ISO Code 2stellig</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="lab-id" minOccurs="0">
        <xs:annotation>
          <xs:documentation>SAP-VWERK-Eintr.
z.B. 1001 Aalen default</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:simpleContent>
            <xs:extension base="xs:string">
              <xs:attribute name="internal-id" use="optional">
                <xs:simpleType>
                  <xs:restriction base="xs:int">
                    <xs:minInclusive value="1"/>
                    <xs:maxInclusive value="99"/>
                  </xs:restriction>
                </xs:simpleType>
              </xs:attribute>
            </xs:extension>
          </xs:simpleContent>
        </xs:complexType>
      </xs:element>
      <xs:element name="commission" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Vorgegeben Einzelauftragsindetifikation </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="delivery-date" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Wunschlieferdatum</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="notes" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Bemerkung zum Einzelauftrag</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:string"/>
        </xs:simpleType>
      </xs:element>
      <xs:element name="internal" minOccurs="0">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="name" type="xs:string" minOccurs="0"/>
            <xs:element name="address" minOccurs="0">
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="street" type="xs:string" minOccurs="0"/>
                  <xs:element name="town" type="xs:string" minOccurs="0"/>
                  <xs:element name="phone-number" type="xs:string" minOccurs="0"/>
                  <xs:element name="fax-number" type="xs:string" minOccurs="0"/>
                  <xs:element name="email" type="xs:string" minOccurs="0"/>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
            <xs:element name="delivery-typ" type="xs:string" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Versandbedingungen</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="courier-id" type="xs:string" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Botendienstnummer</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="additional-order-id" type="xs:string" minOccurs="0">
              <xs:annotation>
                <xs:documentation>z.B. Optiswiss, IPRO</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="barcode" type="xs:string" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Kunden-Barcode</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="internal-recept-id" type="xs:string" minOccurs="0">
              <xs:annotation>
                <xs:documentation>interne PC-Rezept- rechnungsnummer</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="order-entry" minOccurs="0">
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="order-typ" type="xs:string" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>1=DFUE,2=TFAX,usw</xs:documentation>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="arrangement" type="xs:string" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>1=Neuanlage, 2=Aenderung, 3=Loeschung</xs:documentation>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="complaint" type="xs:string" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>Reklamation</xs:documentation>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="model-lens" type="xs:string" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>Musterglas</xs:documentation>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="terminal" type="xs:string" minOccurs="0"/>
                  <xs:element name="time" type="xs:string" minOccurs="0"/>
                  <xs:element name="date" type="xs:string" minOccurs="0"/>
                  <xs:element name="duration-of-delivery" type="xs:string" minOccurs="0">
                    <xs:annotation>
                      <xs:documentation>Lieferzeit</xs:documentation>
                    </xs:annotation>
                  </xs:element>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element sales-orderType/customer/customer-id
diagram
type restriction of xs:string
facets
minLength 10
maxLength 20
annotation
documentation 
Kundennummer
source
<xs:element name="customer-id">
  <xs:annotation>
    <xs:documentation>Kundennummer</xs:documentation>
  </xs:annotation>
  <xs:simpleType>
    <xs:restriction base="xs:string">
      <xs:minLength value="10"/>
      <xs:maxLength value="20"/>
    </xs:restriction>
  </xs:simpleType>
</xs:element>

element sales-orderType/customer/order-generator
diagram
type xs:string
annotation
documentation 
System, mit dem der Auftrag erzeugt wurde 
source
<xs:element name="order-generator" type="xs:string" minOccurs="0">
  <xs:annotation>
    <xs:documentation>System, mit dem der Auftrag erzeugt wurde </xs:documentation>
  </xs:annotation>
</xs:element>

element sales-orderType/customer/order-id
diagram
type xs:string
annotation
documentation 
Eindeutige Identifikation auf Customerseite (laufende Nummer der Ãœbertrgagung)
source
<xs:element name="order-id" type="xs:string">
  <xs:annotation>
    <xs:documentation>Eindeutige Identifikation auf Customerseite (laufende Nummer der Ãœbertrgagung)</xs:documentation>
  </xs:annotation>
</xs:element>

element sales-orderType/customer/key
diagram
children modulus exponent
annotation
documentation 
Verschluesselungscode
source
<xs:element name="key" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Verschluesselungscode</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element name="modulus" type="xs:string"/>
      <xs:element name="exponent" type="xs:string"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element sales-orderType/customer/key/modulus
diagram
type xs:string
source
<xs:element name="modulus" type="xs:string"/>

element sales-orderType/customer/key/exponent
diagram
type xs:string
source
<xs:element name="exponent" type="xs:string"/>

element sales-orderType/customer/country
diagram
type xs:string
annotation
documentation 
Kurzschluessel ISO Code 2stellig
source
<xs:element name="country" type="xs:string">
  <xs:annotation>
    <xs:documentation>Kurzschluessel ISO Code 2stellig</xs:documentation>
  </xs:annotation>
</xs:element>

element sales-orderType/customer/lab-id
diagram
type extension of xs:string
attributes
Name  Type  Use  Default  Fixed  Annotation
internal-id  xs:int  optional      
annotation
documentation 
SAP-VWERK-Eintr.
z.B. 1001 Aalen default
source
<xs:element name="lab-id" minOccurs="0">
  <xs:annotation>
    <xs:documentation>SAP-VWERK-Eintr.
z.B. 1001 Aalen default</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:simpleContent>
      <xs:extension base="xs:string">
        <xs:attribute name="internal-id" use="optional">
          <xs:simpleType>
            <xs:restriction base="xs:int">
              <xs:minInclusive value="1"/>
              <xs:maxInclusive value="99"/>
            </xs:restriction>
          </xs:simpleType>
        </xs:attribute>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
</xs:element>

element sales-orderType/customer/commission
diagram
type xs:string
annotation
documentation 
Vorgegeben Einzelauftragsindetifikation 
source
<xs:element name="commission" type="xs:string" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Vorgegeben Einzelauftragsindetifikation </xs:documentation>
  </xs:annotation>
</xs:element>

element sales-orderType/customer/delivery-date
diagram
type xs:string
annotation
documentation 
Wunschlieferdatum
source
<xs:element name="delivery-date" type="xs:string" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Wunschlieferdatum</xs:documentation>
  </xs:annotation>
</xs:element>

element sales-orderType/customer/notes
diagram
type restriction of xs:string
annotation
documentation 
Bemerkung zum Einzelauftrag
source
<xs:element name="notes" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Bemerkung zum Einzelauftrag</xs:documentation>
  </xs:annotation>
  <xs:simpleType>
    <xs:restriction base="xs:string"/>
  </xs:simpleType>
</xs:element>

element sales-orderType/customer/internal
diagram
children name address delivery-typ courier-id additional-order-id barcode internal-recept-id order-entry
source
<xs:element name="internal" minOccurs="0">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="name" type="xs:string" minOccurs="0"/>
      <xs:element name="address" minOccurs="0">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="street" type="xs:string" minOccurs="0"/>
            <xs:element name="town" type="xs:string" minOccurs="0"/>
            <xs:element name="phone-number" type="xs:string" minOccurs="0"/>
            <xs:element name="fax-number" type="xs:string" minOccurs="0"/>
            <xs:element name="email" type="xs:string" minOccurs="0"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="delivery-typ" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Versandbedingungen</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="courier-id" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Botendienstnummer</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="additional-order-id" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation>z.B. Optiswiss, IPRO</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="barcode" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Kunden-Barcode</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="internal-recept-id" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation>interne PC-Rezept- rechnungsnummer</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="order-entry" minOccurs="0">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="order-typ" type="xs:string" minOccurs="0">
              <xs:annotation>
                <xs:documentation>1=DFUE,2=TFAX,usw</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="arrangement" type="xs:string" minOccurs="0">
              <xs:annotation>
                <xs:documentation>1=Neuanlage, 2=Aenderung, 3=Loeschung</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="complaint" type="xs:string" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Reklamation</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="model-lens" type="xs:string" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Musterglas</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="terminal" type="xs:string" minOccurs="0"/>
            <xs:element name="time" type="xs:string" minOccurs="0"/>
            <xs:element name="date" type="xs:string" minOccurs="0"/>
            <xs:element name="duration-of-delivery" type="xs:string" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Lieferzeit</xs:documentation>
              </xs:annotation>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element sales-orderType/customer/internal/name
diagram
type xs:string
source
<xs:element name="name" type="xs:string" minOccurs="0"/>

element sales-orderType/customer/internal/address
diagram
children street town phone-number fax-number email
source
<xs:element name="address" minOccurs="0">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="street" type="xs:string" minOccurs="0"/>
      <xs:element name="town" type="xs:string" minOccurs="0"/>
      <xs:element name="phone-number" type="xs:string" minOccurs="0"/>
      <xs:element name="fax-number" type="xs:string" minOccurs="0"/>
      <xs:element name="email" type="xs:string" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element sales-orderType/customer/internal/address/street
diagram
type xs:string
source
<xs:element name="street" type="xs:string" minOccurs="0"/>

element sales-orderType/customer/internal/address/town
diagram
type xs:string
source
<xs:element name="town" type="xs:string" minOccurs="0"/>

element sales-orderType/customer/internal/address/phone-number
diagram
type xs:string
source
<xs:element name="phone-number" type="xs:string" minOccurs="0"/>

element sales-orderType/customer/internal/address/fax-number
diagram
type xs:string
source
<xs:element name="fax-number" type="xs:string" minOccurs="0"/>

element sales-orderType/customer/internal/address/email
diagram
type xs:string
source
<xs:element name="email" type="xs:string" minOccurs="0"/>

element sales-orderType/customer/internal/delivery-typ
diagram
type xs:string
annotation
documentation 
Versandbedingungen
source
<xs:element name="delivery-typ" type="xs:string" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Versandbedingungen</xs:documentation>
  </xs:annotation>
</xs:element>

element sales-orderType/customer/internal/courier-id
diagram
type xs:string
annotation
documentation 
Botendienstnummer
source
<xs:element name="courier-id" type="xs:string" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Botendienstnummer</xs:documentation>
  </xs:annotation>
</xs:element>

element sales-orderType/customer/internal/additional-order-id
diagram
type xs:string
annotation
documentation 
z.B. Optiswiss, IPRO
source
<xs:element name="additional-order-id" type="xs:string" minOccurs="0">
  <xs:annotation>
    <xs:documentation>z.B. Optiswiss, IPRO</xs:documentation>
  </xs:annotation>
</xs:element>

element sales-orderType/customer/internal/barcode
diagram
type xs:string
annotation
documentation 
Kunden-Barcode
source
<xs:element name="barcode" type="xs:string" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Kunden-Barcode</xs:documentation>
  </xs:annotation>
</xs:element>

element sales-orderType/customer/internal/internal-recept-id
diagram
type xs:string
annotation
documentation 
interne PC-Rezept- rechnungsnummer
source
<xs:element name="internal-recept-id" type="xs:string" minOccurs="0">
  <xs:annotation>
    <xs:documentation>interne PC-Rezept- rechnungsnummer</xs:documentation>
  </xs:annotation>
</xs:element>

element sales-orderType/customer/internal/order-entry
diagram
children order-typ arrangement complaint model-lens terminal time date duration-of-delivery
source
<xs:element name="order-entry" minOccurs="0">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="order-typ" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation>1=DFUE,2=TFAX,usw</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="arrangement" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation>1=Neuanlage, 2=Aenderung, 3=Loeschung</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="complaint" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Reklamation</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="model-lens" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Musterglas</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="terminal" type="xs:string" minOccurs="0"/>
      <xs:element name="time" type="xs:string" minOccurs="0"/>
      <xs:element name="date" type="xs:string" minOccurs="0"/>
      <xs:element name="duration-of-delivery" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Lieferzeit</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element sales-orderType/customer/internal/order-entry/order-typ
diagram
type xs:string
annotation
documentation 
1=DFUE,2=TFAX,usw
source
<xs:element name="order-typ" type="xs:string" minOccurs="0">
  <xs:annotation>
    <xs:documentation>1=DFUE,2=TFAX,usw</xs:documentation>
  </xs:annotation>
</xs:element>

element sales-orderType/customer/internal/order-entry/arrangement
diagram
type xs:string
annotation
documentation 
1=Neuanlage, 2=Aenderung, 3=Loeschung
source
<xs:element name="arrangement" type="xs:string" minOccurs="0">
  <xs:annotation>
    <xs:documentation>1=Neuanlage, 2=Aenderung, 3=Loeschung</xs:documentation>
  </xs:annotation>
</xs:element>

element sales-orderType/customer/internal/order-entry/complaint
diagram
type xs:string
annotation
documentation 
Reklamation
source
<xs:element name="complaint" type="xs:string" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Reklamation</xs:documentation>
  </xs:annotation>
</xs:element>

element sales-orderType/customer/internal/order-entry/model-lens
diagram
type xs:string
annotation
documentation 
Musterglas
source
<xs:element name="model-lens" type="xs:string" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Musterglas</xs:documentation>
  </xs:annotation>
</xs:element>

element sales-orderType/customer/internal/order-entry/terminal
diagram
type xs:string
source
<xs:element name="terminal" type="xs:string" minOccurs="0"/>

element sales-orderType/customer/internal/order-entry/time
diagram
type xs:string
source
<xs:element name="time" type="xs:string" minOccurs="0"/>

element sales-orderType/customer/internal/order-entry/date
diagram
type xs:string
source
<xs:element name="date" type="xs:string" minOccurs="0"/>

element sales-orderType/customer/internal/order-entry/duration-of-delivery
diagram
type xs:string
annotation
documentation 
Lieferzeit
source
<xs:element name="duration-of-delivery" type="xs:string" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Lieferzeit</xs:documentation>
  </xs:annotation>
</xs:element>

element sales-orderType/quantity
diagram
source
<xs:element name="quantity"/>

element sales-orderType/general-pre-calc
diagram
children generate-process-data control-level order-sign
source
<xs:element name="general-pre-calc" minOccurs="0">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="generate-process-data" type="xs:integer" minOccurs="0">
        <xs:annotation>
          <xs:documentation>0=saemtliche Fertigungsdaten fuer Produktion, auch System- technik 
1=teilweise (alle Formulardaten)
2=keine (Beratung Standard bei consult)</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="control-level" minOccurs="0">
        <xs:annotation>
          <xs:documentation>0=Kontrolle
1=keine Kontrolle 2=teilweise</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:integer">
            <xs:minInclusive value="0"/>
            <xs:maxInclusive value="1"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="order-sign" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Auftragskennzeichen
Rezept / Schicht / Lager</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element sales-orderType/general-pre-calc/generate-process-data
diagram
type xs:integer
annotation
documentation 
0=saemtliche Fertigungsdaten fuer Produktion, auch System- technik 
1=teilweise (alle Formulardaten)
2=keine (Beratung Standard bei consult)
source
<xs:element name="generate-process-data" type="xs:integer" minOccurs="0">
  <xs:annotation>
    <xs:documentation>0=saemtliche Fertigungsdaten fuer Produktion, auch System- technik 
1=teilweise (alle Formulardaten)
2=keine (Beratung Standard bei consult)</xs:documentation>
  </xs:annotation>
</xs:element>

element sales-orderType/general-pre-calc/control-level
diagram
type restriction of xs:integer
facets
minInclusive 0
maxInclusive 1
annotation
documentation 
0=Kontrolle
1=keine Kontrolle 2=teilweise
source
<xs:element name="control-level" minOccurs="0">
  <xs:annotation>
    <xs:documentation>0=Kontrolle
1=keine Kontrolle 2=teilweise</xs:documentation>
  </xs:annotation>
  <xs:simpleType>
    <xs:restriction base="xs:integer">
      <xs:minInclusive value="0"/>
      <xs:maxInclusive value="1"/>
    </xs:restriction>
  </xs:simpleType>
</xs:element>

element sales-orderType/general-pre-calc/order-sign
diagram
type xs:string
annotation
documentation 
Auftragskennzeichen
Rezept / Schicht / Lager
source
<xs:element name="order-sign" type="xs:string" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Auftragskennzeichen
Rezept / Schicht / Lager</xs:documentation>
  </xs:annotation>
</xs:element>

element sales-orderType/pair
diagram
children general right left
source
<xs:element name="pair">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="general" minOccurs="0">
        <xs:complexType>
          <xs:choice>
            <xs:element name="right">
              <xs:complexType>
                <xs:choice minOccurs="0">
                  <xs:element name="balancing-lens">
                    <xs:annotation>
                      <xs:documentation>Ausgleichsglas</xs:documentation>
                    </xs:annotation>
                    <xs:complexType>
                      <xs:simpleContent>
                        <xs:extension base="xs:boolean"/>
                      </xs:simpleContent>
                    </xs:complexType>
                  </xs:element>
                  <xs:element name="virtual-lens">
                    <xs:annotation>
                      <xs:documentation>Scheinglas</xs:documentation>
                    </xs:annotation>
                    <xs:complexType>
                      <xs:simpleContent>
                        <xs:extension base="xs:boolean"/>
                      </xs:simpleContent>
                    </xs:complexType>
                  </xs:element>
                </xs:choice>
              </xs:complexType>
            </xs:element>
            <xs:element name="left">
              <xs:complexType>
                <xs:choice minOccurs="0">
                  <xs:element name="balancing-lens">
                    <xs:annotation>
                      <xs:documentation>Ausgleichsglas</xs:documentation>
                    </xs:annotation>
                    <xs:complexType>
                      <xs:simpleContent>
                        <xs:extension base="xs:boolean"/>
                      </xs:simpleContent>
                    </xs:complexType>
                  </xs:element>
                  <xs:element name="virtual-lens">
                    <xs:annotation>
                      <xs:documentation>Scheinglas</xs:documentation>
                    </xs:annotation>
                    <xs:complexType>
                      <xs:simpleContent>
                        <xs:extension base="xs:boolean"/>
                      </xs:simpleContent>
                    </xs:complexType>
                  </xs:element>
                </xs:choice>
              </xs:complexType>
            </xs:element>
          </xs:choice>
        </xs:complexType>
      </xs:element>
      <xs:element name="right" type="lens-sales-orderType"/>
      <xs:element name="left" type="lens-sales-orderType"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element sales-orderType/pair/general
diagram
children right left
source
<xs:element name="general" minOccurs="0">
  <xs:complexType>
    <xs:choice>
      <xs:element name="right">
        <xs:complexType>
          <xs:choice minOccurs="0">
            <xs:element name="balancing-lens">
              <xs:annotation>
                <xs:documentation>Ausgleichsglas</xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:simpleContent>
                  <xs:extension base="xs:boolean"/>
                </xs:simpleContent>
              </xs:complexType>
            </xs:element>
            <xs:element name="virtual-lens">
              <xs:annotation>
                <xs:documentation>Scheinglas</xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:simpleContent>
                  <xs:extension base="xs:boolean"/>
                </xs:simpleContent>
              </xs:complexType>
            </xs:element>
          </xs:choice>
        </xs:complexType>
      </xs:element>
      <xs:element name="left">
        <xs:complexType>
          <xs:choice minOccurs="0">
            <xs:element name="balancing-lens">
              <xs:annotation>
                <xs:documentation>Ausgleichsglas</xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:simpleContent>
                  <xs:extension base="xs:boolean"/>
                </xs:simpleContent>
              </xs:complexType>
            </xs:element>
            <xs:element name="virtual-lens">
              <xs:annotation>
                <xs:documentation>Scheinglas</xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:simpleContent>
                  <xs:extension base="xs:boolean"/>
                </xs:simpleContent>
              </xs:complexType>
            </xs:element>
          </xs:choice>
        </xs:complexType>
      </xs:element>
    </xs:choice>
  </xs:complexType>
</xs:element>

element sales-orderType/pair/general/right
diagram
children balancing-lens virtual-lens
source
<xs:element name="right">
  <xs:complexType>
    <xs:choice minOccurs="0">
      <xs:element name="balancing-lens">
        <xs:annotation>
          <xs:documentation>Ausgleichsglas</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:simpleContent>
            <xs:extension base="xs:boolean"/>
          </xs:simpleContent>
        </xs:complexType>
      </xs:element>
      <xs:element name="virtual-lens">
        <xs:annotation>
          <xs:documentation>Scheinglas</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:simpleContent>
            <xs:extension base="xs:boolean"/>
          </xs:simpleContent>
        </xs:complexType>
      </xs:element>
    </xs:choice>
  </xs:complexType>
</xs:element>

element sales-orderType/pair/general/right/balancing-lens
diagram
type extension of xs:boolean
annotation
documentation 
Ausgleichsglas
source
<xs:element name="balancing-lens">
  <xs:annotation>
    <xs:documentation>Ausgleichsglas</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:simpleContent>
      <xs:extension base="xs:boolean"/>
    </xs:simpleContent>
  </xs:complexType>
</xs:element>

element sales-orderType/pair/general/right/virtual-lens
diagram
type extension of xs:boolean
annotation
documentation 
Scheinglas
source
<xs:element name="virtual-lens">
  <xs:annotation>
    <xs:documentation>Scheinglas</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:simpleContent>
      <xs:extension base="xs:boolean"/>
    </xs:simpleContent>
  </xs:complexType>
</xs:element>

element sales-orderType/pair/general/left
diagram
children balancing-lens virtual-lens
source
<xs:element name="left">
  <xs:complexType>
    <xs:choice minOccurs="0">
      <xs:element name="balancing-lens">
        <xs:annotation>
          <xs:documentation>Ausgleichsglas</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:simpleContent>
            <xs:extension base="xs:boolean"/>
          </xs:simpleContent>
        </xs:complexType>
      </xs:element>
      <xs:element name="virtual-lens">
        <xs:annotation>
          <xs:documentation>Scheinglas</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:simpleContent>
            <xs:extension base="xs:boolean"/>
          </xs:simpleContent>
        </xs:complexType>
      </xs:element>
    </xs:choice>
  </xs:complexType>
</xs:element>

element sales-orderType/pair/general/left/balancing-lens
diagram
type extension of xs:boolean
annotation
documentation 
Ausgleichsglas
source
<xs:element name="balancing-lens">
  <xs:annotation>
    <xs:documentation>Ausgleichsglas</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:simpleContent>
      <xs:extension base="xs:boolean"/>
    </xs:simpleContent>
  </xs:complexType>
</xs:element>

element sales-orderType/pair/general/left/virtual-lens
diagram
type extension of xs:boolean
annotation
documentation 
Scheinglas
source
<xs:element name="virtual-lens">
  <xs:annotation>
    <xs:documentation>Scheinglas</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:simpleContent>
      <xs:extension base="xs:boolean"/>
    </xs:simpleContent>
  </xs:complexType>
</xs:element>

element sales-orderType/pair/right
diagram
type lens-sales-orderType
children lens-id edi-code product-line diameter opt-diameter description refraction decentration modify-thickness-flag optima-flag options pre-calc pre-process
source
<xs:element name="right" type="lens-sales-orderType"/>

element sales-orderType/pair/left
diagram
type lens-sales-orderType
children lens-id edi-code product-line diameter opt-diameter description refraction decentration modify-thickness-flag optima-flag options pre-calc pre-process
source
<xs:element name="left" type="lens-sales-orderType"/>

element sales-orderType/single
diagram
children right left
source
<xs:element name="single">
  <xs:complexType>
    <xs:choice>
      <xs:element name="right">
        <xs:complexType>
          <xs:complexContent>
            <xs:extension base="lens-sales-orderType"/>
          </xs:complexContent>
        </xs:complexType>
      </xs:element>
      <xs:element name="left">
        <xs:complexType>
          <xs:complexContent>
            <xs:extension base="lens-sales-orderType"/>
          </xs:complexContent>
        </xs:complexType>
      </xs:element>
    </xs:choice>
  </xs:complexType>
</xs:element>

element sales-orderType/single/right
diagram
type extension of lens-sales-orderType
children lens-id edi-code product-line diameter opt-diameter description refraction decentration modify-thickness-flag optima-flag options pre-calc pre-process
source
<xs:element name="right">
  <xs:complexType>
    <xs:complexContent>
      <xs:extension base="lens-sales-orderType"/>
    </xs:complexContent>
  </xs:complexType>
</xs:element>

element sales-orderType/single/left
diagram
type extension of lens-sales-orderType
children lens-id edi-code product-line diameter opt-diameter description refraction decentration modify-thickness-flag optima-flag options pre-calc pre-process
source
<xs:element name="left">
  <xs:complexType>
    <xs:complexContent>
      <xs:extension base="lens-sales-orderType"/>
    </xs:complexContent>
  </xs:complexType>
</xs:element>

element sales-orderType/frame
diagram
children material pair single pantoscopic-angle frame-bow-angle remote-edging
source
<xs:element name="frame" minOccurs="0">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="material" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Fassungsmaterial
1=Metall;2=Kunststoff;3=Randlos;4=Nylor;5Anderes</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:int">
            <xs:minInclusive value="1"/>
            <xs:maxInclusive value="5"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:choice>
        <xs:element name="pair">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="right">
                <xs:complexType>
                  <xs:sequence>
                    <xs:choice minOccurs="0">
                      <xs:element name="frame-data" type="frame-dataType">
                        <xs:annotation>
                          <xs:documentation>'Normale' externe Bestellung</xs:documentation>
                        </xs:annotation>
                      </xs:element>
                      <xs:element name="frame-source" type="frame-sourceType">
                        <xs:annotation>
                          <xs:documentation>Daten aus z.B. Scannerdatei lesen</xs:documentation>
                        </xs:annotation>
                      </xs:element>
                      <xs:element name="frame-special" type="frame-specialType">
                        <xs:annotation>
                          <xs:documentation>Bestelldaten bei Indi ohne Optima</xs:documentation>
                        </xs:annotation>
                      </xs:element>
                    </xs:choice>
                    <xs:element name="holes" type="holesType" minOccurs="0"/>
                    <xs:element name="back-vertex-distance" minOccurs="0">
                      <xs:annotation>
                        <xs:documentation>Hornhautscheitelabstand Korrektionsbrille</xs:documentation>
                      </xs:annotation>
                      <xs:complexType>
                        <xs:simpleContent>
                          <xs:extension base="xs:float"/>
                        </xs:simpleContent>
                      </xs:complexType>
                    </xs:element>
                  </xs:sequence>
                </xs:complexType>
              </xs:element>
              <xs:element name="left">
                <xs:complexType>
                  <xs:sequence>
                    <xs:choice minOccurs="0">
                      <xs:element name="frame-data" type="frame-dataType">
                        <xs:annotation>
                          <xs:documentation>'Normale' externe Bestellung</xs:documentation>
                        </xs:annotation>
                      </xs:element>
                      <xs:element name="frame-source" type="frame-sourceType">
                        <xs:annotation>
                          <xs:documentation>Daten aus z.B. Scannerdatei lesen</xs:documentation>
                        </xs:annotation>
                      </xs:element>
                      <xs:element name="frame-special" type="frame-specialType">
                        <xs:annotation>
                          <xs:documentation>Bestelldaten bei Indi ohne Optima</xs:documentation>
                        </xs:annotation>
                      </xs:element>
                    </xs:choice>
                    <xs:element name="holes" type="holesType" minOccurs="0"/>
                    <xs:element name="back-vertex-distance" minOccurs="0">
                      <xs:annotation>
                        <xs:documentation>Hornhautscheitelabstand Korrektionsbrille</xs:documentation>
                      </xs:annotation>
                      <xs:complexType>
                        <xs:simpleContent>
                          <xs:extension base="xs:float"/>
                        </xs:simpleContent>
                      </xs:complexType>
                    </xs:element>
                  </xs:sequence>
                </xs:complexType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="single">
          <xs:complexType>
            <xs:choice>
              <xs:element name="right">
                <xs:complexType>
                  <xs:sequence>
                    <xs:choice minOccurs="0">
                      <xs:element name="frame-data" type="frame-dataType">
                        <xs:annotation>
                          <xs:documentation>'Normale' externe Bestellung</xs:documentation>
                        </xs:annotation>
                      </xs:element>
                      <xs:element name="frame-source" type="frame-sourceType">
                        <xs:annotation>
                          <xs:documentation>Daten aus z.B. Scannerdatei lesen</xs:documentation>
                        </xs:annotation>
                      </xs:element>
                      <xs:element name="frame-special" type="frame-specialType">
                        <xs:annotation>
                          <xs:documentation>Bestelldaten bei Indi ohne Optima</xs:documentation>
                        </xs:annotation>
                      </xs:element>
                    </xs:choice>
                    <xs:element name="holes" type="holesType" minOccurs="0"/>
                    <xs:element name="back-vertex-distance" minOccurs="0">
                      <xs:annotation>
                        <xs:documentation>Hornhautscheitelabstand Korrektionsbrille</xs:documentation>
                      </xs:annotation>
                      <xs:complexType>
                        <xs:simpleContent>
                          <xs:extension base="xs:float"/>
                        </xs:simpleContent>
                      </xs:complexType>
                    </xs:element>
                  </xs:sequence>
                </xs:complexType>
              </xs:element>
              <xs:element name="left">
                <xs:complexType>
                  <xs:sequence>
                    <xs:choice minOccurs="0">
                      <xs:element name="frame-data" type="frame-dataType">
                        <xs:annotation>
                          <xs:documentation>'Normale' externe Bestellung</xs:documentation>
                        </xs:annotation>
                      </xs:element>
                      <xs:element name="frame-source" type="frame-sourceType">
                        <xs:annotation>
                          <xs:documentation>Daten aus z.B. Scannerdatei lesen</xs:documentation>
                        </xs:annotation>
                      </xs:element>
                      <xs:element name="frame-special" type="frame-specialType">
                        <xs:annotation>
                          <xs:documentation>Bestelldaten bei Indi ohne Optima</xs:documentation>
                        </xs:annotation>
                      </xs:element>
                    </xs:choice>
                    <xs:element name="holes" type="holesType" minOccurs="0"/>
                    <xs:element name="back-vertex-distance" minOccurs="0">
                      <xs:annotation>
                        <xs:documentation>Hornhautscheitelabstand Korrektionsbrille</xs:documentation>
                      </xs:annotation>
                      <xs:complexType>
                        <xs:simpleContent>
                          <xs:extension base="xs:float"/>
                        </xs:simpleContent>
                      </xs:complexType>
                    </xs:element>
                  </xs:sequence>
                </xs:complexType>
              </xs:element>
            </xs:choice>
          </xs:complexType>
        </xs:element>
      </xs:choice>
      <xs:element name="pantoscopic-angle" type="xs:float" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Fassungsvorneigung</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="frame-bow-angle" type="xs:float" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Fassungsscheibenwinkel</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="remote-edging" minOccurs="0">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="bevel">
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="type"/>
                  <xs:element name="position" minOccurs="2" maxOccurs="2"/>
                  <xs:element name="size-correction" minOccurs="0"/>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element sales-orderType/frame/material
diagram
type restriction of xs:int
facets
minInclusive 1
maxInclusive 5
annotation
documentation 
Fassungsmaterial
1=Metall;2=Kunststoff;3=Randlos;4=Nylor;5Anderes
source
<xs:element name="material" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Fassungsmaterial
1=Metall;2=Kunststoff;3=Randlos;4=Nylor;5Anderes</xs:documentation>
  </xs:annotation>
  <xs:simpleType>
    <xs:restriction base="xs:int">
      <xs:minInclusive value="1"/>
      <xs:maxInclusive value="5"/>
    </xs:restriction>
  </xs:simpleType>
</xs:element>

element sales-orderType/frame/pair
diagram
children right left
source
<xs:element name="pair">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="right">
        <xs:complexType>
          <xs:sequence>
            <xs:choice minOccurs="0">
              <xs:element name="frame-data" type="frame-dataType">
                <xs:annotation>
                  <xs:documentation>'Normale' externe Bestellung</xs:documentation>
                </xs:annotation>
              </xs:element>
              <xs:element name="frame-source" type="frame-sourceType">
                <xs:annotation>
                  <xs:documentation>Daten aus z.B. Scannerdatei lesen</xs:documentation>
                </xs:annotation>
              </xs:element>
              <xs:element name="frame-special" type="frame-specialType">
                <xs:annotation>
                  <xs:documentation>Bestelldaten bei Indi ohne Optima</xs:documentation>
                </xs:annotation>
              </xs:element>
            </xs:choice>
            <xs:element name="holes" type="holesType" minOccurs="0"/>
            <xs:element name="back-vertex-distance" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Hornhautscheitelabstand Korrektionsbrille</xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:simpleContent>
                  <xs:extension base="xs:float"/>
                </xs:simpleContent>
              </xs:complexType>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="left">
        <xs:complexType>
          <xs:sequence>
            <xs:choice minOccurs="0">
              <xs:element name="frame-data" type="frame-dataType">
                <xs:annotation>
                  <xs:documentation>'Normale' externe Bestellung</xs:documentation>
                </xs:annotation>
              </xs:element>
              <xs:element name="frame-source" type="frame-sourceType">
                <xs:annotation>
                  <xs:documentation>Daten aus z.B. Scannerdatei lesen</xs:documentation>
                </xs:annotation>
              </xs:element>
              <xs:element name="frame-special" type="frame-specialType">
                <xs:annotation>
                  <xs:documentation>Bestelldaten bei Indi ohne Optima</xs:documentation>
                </xs:annotation>
              </xs:element>
            </xs:choice>
            <xs:element name="holes" type="holesType" minOccurs="0"/>
            <xs:element name="back-vertex-distance" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Hornhautscheitelabstand Korrektionsbrille</xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:simpleContent>
                  <xs:extension base="xs:float"/>
                </xs:simpleContent>
              </xs:complexType>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element sales-orderType/frame/pair/right
diagram
children frame-data frame-source frame-special holes back-vertex-distance
source
<xs:element name="right">
  <xs:complexType>
    <xs:sequence>
      <xs:choice minOccurs="0">
        <xs:element name="frame-data" type="frame-dataType">
          <xs:annotation>
            <xs:documentation>'Normale' externe Bestellung</xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="frame-source" type="frame-sourceType">
          <xs:annotation>
            <xs:documentation>Daten aus z.B. Scannerdatei lesen</xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="frame-special" type="frame-specialType">
          <xs:annotation>
            <xs:documentation>Bestelldaten bei Indi ohne Optima</xs:documentation>
          </xs:annotation>
        </xs:element>
      </xs:choice>
      <xs:element name="holes" type="holesType" minOccurs="0"/>
      <xs:element name="back-vertex-distance" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Hornhautscheitelabstand Korrektionsbrille</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:simpleContent>
            <xs:extension base="xs:float"/>
          </xs:simpleContent>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element sales-orderType/frame/pair/right/frame-data
diagram
type frame-dataType
children id-number manufacturer box-length box-height shape model centration
annotation
documentation 
'Normale' externe Bestellung
source
<xs:element name="frame-data" type="frame-dataType">
  <xs:annotation>
    <xs:documentation>'Normale' externe Bestellung</xs:documentation>
  </xs:annotation>
</xs:element>

element sales-orderType/frame/pair/right/frame-source
diagram
type frame-sourceType
children id-number source box-length box-height centration
annotation
documentation 
Daten aus z.B. Scannerdatei lesen
source
<xs:element name="frame-source" type="frame-sourceType">
  <xs:annotation>
    <xs:documentation>Daten aus z.B. Scannerdatei lesen</xs:documentation>
  </xs:annotation>
</xs:element>

element sales-orderType/frame/pair/right/frame-special
diagram
type frame-specialType
children box-length box-height centration
annotation
documentation 
Bestelldaten bei Indi ohne Optima
source
<xs:element name="frame-special" type="frame-specialType">
  <xs:annotation>
    <xs:documentation>Bestelldaten bei Indi ohne Optima</xs:documentation>
  </xs:annotation>
</xs:element>

element sales-orderType/frame/pair/right/holes
diagram
type holesType
children reference-point minimal-thickness cartesian polar
source
<xs:element name="holes" type="holesType" minOccurs="0"/>

element sales-orderType/frame/pair/right/back-vertex-distance
diagram
type extension of xs:float
annotation
documentation 
Hornhautscheitelabstand Korrektionsbrille
source
<xs:element name="back-vertex-distance" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Hornhautscheitelabstand Korrektionsbrille</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:simpleContent>
      <xs:extension base="xs:float"/>
    </xs:simpleContent>
  </xs:complexType>
</xs:element>

element sales-orderType/frame/pair/left
diagram
children frame-data frame-source frame-special holes back-vertex-distance
source
<xs:element name="left">
  <xs:complexType>
    <xs:sequence>
      <xs:choice minOccurs="0">
        <xs:element name="frame-data" type="frame-dataType">
          <xs:annotation>
            <xs:documentation>'Normale' externe Bestellung</xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="frame-source" type="frame-sourceType">
          <xs:annotation>
            <xs:documentation>Daten aus z.B. Scannerdatei lesen</xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="frame-special" type="frame-specialType">
          <xs:annotation>
            <xs:documentation>Bestelldaten bei Indi ohne Optima</xs:documentation>
          </xs:annotation>
        </xs:element>
      </xs:choice>
      <xs:element name="holes" type="holesType" minOccurs="0"/>
      <xs:element name="back-vertex-distance" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Hornhautscheitelabstand Korrektionsbrille</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:simpleContent>
            <xs:extension base="xs:float"/>
          </xs:simpleContent>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element sales-orderType/frame/pair/left/frame-data
diagram
type frame-dataType
children id-number manufacturer box-length box-height shape model centration
annotation
documentation 
'Normale' externe Bestellung
source
<xs:element name="frame-data" type="frame-dataType">
  <xs:annotation>
    <xs:documentation>'Normale' externe Bestellung</xs:documentation>
  </xs:annotation>
</xs:element>

element sales-orderType/frame/pair/left/frame-source
diagram
type frame-sourceType
children id-number source box-length box-height centration
annotation
documentation 
Daten aus z.B. Scannerdatei lesen
source
<xs:element name="frame-source" type="frame-sourceType">
  <xs:annotation>
    <xs:documentation>Daten aus z.B. Scannerdatei lesen</xs:documentation>
  </xs:annotation>
</xs:element>

element sales-orderType/frame/pair/left/frame-special
diagram
type frame-specialType
children box-length box-height centration
annotation
documentation 
Bestelldaten bei Indi ohne Optima
source
<xs:element name="frame-special" type="frame-specialType">
  <xs:annotation>
    <xs:documentation>Bestelldaten bei Indi ohne Optima</xs:documentation>
  </xs:annotation>
</xs:element>

element sales-orderType/frame/pair/left/holes
diagram
type holesType
children reference-point minimal-thickness cartesian polar
source
<xs:element name="holes" type="holesType" minOccurs="0"/>

element sales-orderType/frame/pair/left/back-vertex-distance
diagram
type extension of xs:float
annotation
documentation 
Hornhautscheitelabstand Korrektionsbrille
source
<xs:element name="back-vertex-distance" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Hornhautscheitelabstand Korrektionsbrille</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:simpleContent>
      <xs:extension base="xs:float"/>
    </xs:simpleContent>
  </xs:complexType>
</xs:element>

element sales-orderType/frame/single
diagram
children right left
source
<xs:element name="single">
  <xs:complexType>
    <xs:choice>
      <xs:element name="right">
        <xs:complexType>
          <xs:sequence>
            <xs:choice minOccurs="0">
              <xs:element name="frame-data" type="frame-dataType">
                <xs:annotation>
                  <xs:documentation>'Normale' externe Bestellung</xs:documentation>
                </xs:annotation>
              </xs:element>
              <xs:element name="frame-source" type="frame-sourceType">
                <xs:annotation>
                  <xs:documentation>Daten aus z.B. Scannerdatei lesen</xs:documentation>
                </xs:annotation>
              </xs:element>
              <xs:element name="frame-special" type="frame-specialType">
                <xs:annotation>
                  <xs:documentation>Bestelldaten bei Indi ohne Optima</xs:documentation>
                </xs:annotation>
              </xs:element>
            </xs:choice>
            <xs:element name="holes" type="holesType" minOccurs="0"/>
            <xs:element name="back-vertex-distance" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Hornhautscheitelabstand Korrektionsbrille</xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:simpleContent>
                  <xs:extension base="xs:float"/>
                </xs:simpleContent>
              </xs:complexType>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="left">
        <xs:complexType>
          <xs:sequence>
            <xs:choice minOccurs="0">
              <xs:element name="frame-data" type="frame-dataType">
                <xs:annotation>
                  <xs:documentation>'Normale' externe Bestellung</xs:documentation>
                </xs:annotation>
              </xs:element>
              <xs:element name="frame-source" type="frame-sourceType">
                <xs:annotation>
                  <xs:documentation>Daten aus z.B. Scannerdatei lesen</xs:documentation>
                </xs:annotation>
              </xs:element>
              <xs:element name="frame-special" type="frame-specialType">
                <xs:annotation>
                  <xs:documentation>Bestelldaten bei Indi ohne Optima</xs:documentation>
                </xs:annotation>
              </xs:element>
            </xs:choice>
            <xs:element name="holes" type="holesType" minOccurs="0"/>
            <xs:element name="back-vertex-distance" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Hornhautscheitelabstand Korrektionsbrille</xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:simpleContent>
                  <xs:extension base="xs:float"/>
                </xs:simpleContent>
              </xs:complexType>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:choice>
  </xs:complexType>
</xs:element>

element sales-orderType/frame/single/right
diagram
children frame-data frame-source frame-special holes back-vertex-distance
source
<xs:element name="right">
  <xs:complexType>
    <xs:sequence>
      <xs:choice minOccurs="0">
        <xs:element name="frame-data" type="frame-dataType">
          <xs:annotation>
            <xs:documentation>'Normale' externe Bestellung</xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="frame-source" type="frame-sourceType">
          <xs:annotation>
            <xs:documentation>Daten aus z.B. Scannerdatei lesen</xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="frame-special" type="frame-specialType">
          <xs:annotation>
            <xs:documentation>Bestelldaten bei Indi ohne Optima</xs:documentation>
          </xs:annotation>
        </xs:element>
      </xs:choice>
      <xs:element name="holes" type="holesType" minOccurs="0"/>
      <xs:element name="back-vertex-distance" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Hornhautscheitelabstand Korrektionsbrille</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:simpleContent>
            <xs:extension base="xs:float"/>
          </xs:simpleContent>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element sales-orderType/frame/single/right/frame-data
diagram
type frame-dataType
children id-number manufacturer box-length box-height shape model centration
annotation
documentation 
'Normale' externe Bestellung
source
<xs:element name="frame-data" type="frame-dataType">
  <xs:annotation>
    <xs:documentation>'Normale' externe Bestellung</xs:documentation>
  </xs:annotation>
</xs:element>

element sales-orderType/frame/single/right/frame-source
diagram
type frame-sourceType
children id-number source box-length box-height centration
annotation
documentation 
Daten aus z.B. Scannerdatei lesen
source
<xs:element name="frame-source" type="frame-sourceType">
  <xs:annotation>
    <xs:documentation>Daten aus z.B. Scannerdatei lesen</xs:documentation>
  </xs:annotation>
</xs:element>

element sales-orderType/frame/single/right/frame-special
diagram
type frame-specialType
children box-length box-height centration
annotation
documentation 
Bestelldaten bei Indi ohne Optima
source
<xs:element name="frame-special" type="frame-specialType">
  <xs:annotation>
    <xs:documentation>Bestelldaten bei Indi ohne Optima</xs:documentation>
  </xs:annotation>
</xs:element>

element sales-orderType/frame/single/right/holes
diagram
type holesType
children reference-point minimal-thickness cartesian polar
source
<xs:element name="holes" type="holesType" minOccurs="0"/>

element sales-orderType/frame/single/right/back-vertex-distance
diagram
type extension of xs:float
annotation
documentation 
Hornhautscheitelabstand Korrektionsbrille
source
<xs:element name="back-vertex-distance" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Hornhautscheitelabstand Korrektionsbrille</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:simpleContent>
      <xs:extension base="xs:float"/>
    </xs:simpleContent>
  </xs:complexType>
</xs:element>

element sales-orderType/frame/single/left
diagram
children frame-data frame-source frame-special holes back-vertex-distance
source
<xs:element name="left">
  <xs:complexType>
    <xs:sequence>
      <xs:choice minOccurs="0">
        <xs:element name="frame-data" type="frame-dataType">
          <xs:annotation>
            <xs:documentation>'Normale' externe Bestellung</xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="frame-source" type="frame-sourceType">
          <xs:annotation>
            <xs:documentation>Daten aus z.B. Scannerdatei lesen</xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="frame-special" type="frame-specialType">
          <xs:annotation>
            <xs:documentation>Bestelldaten bei Indi ohne Optima</xs:documentation>
          </xs:annotation>
        </xs:element>
      </xs:choice>
      <xs:element name="holes" type="holesType" minOccurs="0"/>
      <xs:element name="back-vertex-distance" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Hornhautscheitelabstand Korrektionsbrille</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:simpleContent>
            <xs:extension base="xs:float"/>
          </xs:simpleContent>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element sales-orderType/frame/single/left/frame-data
diagram
type frame-dataType
children id-number manufacturer box-length box-height shape model centration
annotation
documentation 
'Normale' externe Bestellung
source
<xs:element name="frame-data" type="frame-dataType">
  <xs:annotation>
    <xs:documentation>'Normale' externe Bestellung</xs:documentation>
  </xs:annotation>
</xs:element>

element sales-orderType/frame/single/left/frame-source
diagram
type frame-sourceType
children id-number source box-length box-height centration
annotation
documentation 
Daten aus z.B. Scannerdatei lesen
source
<xs:element name="frame-source" type="frame-sourceType">
  <xs:annotation>
    <xs:documentation>Daten aus z.B. Scannerdatei lesen</xs:documentation>
  </xs:annotation>
</xs:element>

element sales-orderType/frame/single/left/frame-special
diagram
type frame-specialType
children box-length box-height centration
annotation
documentation 
Bestelldaten bei Indi ohne Optima
source
<xs:element name="frame-special" type="frame-specialType">
  <xs:annotation>
    <xs:documentation>Bestelldaten bei Indi ohne Optima</xs:documentation>
  </xs:annotation>
</xs:element>

element sales-orderType/frame/single/left/holes
diagram
type holesType
children reference-point minimal-thickness cartesian polar
source
<xs:element name="holes" type="holesType" minOccurs="0"/>

element sales-orderType/frame/single/left/back-vertex-distance
diagram
type extension of xs:float
annotation
documentation 
Hornhautscheitelabstand Korrektionsbrille
source
<xs:element name="back-vertex-distance" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Hornhautscheitelabstand Korrektionsbrille</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:simpleContent>
      <xs:extension base="xs:float"/>
    </xs:simpleContent>
  </xs:complexType>
</xs:element>

element sales-orderType/frame/pantoscopic-angle
diagram
type xs:float
annotation
documentation 
Fassungsvorneigung
source
<xs:element name="pantoscopic-angle" type="xs:float" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Fassungsvorneigung</xs:documentation>
  </xs:annotation>
</xs:element>

element sales-orderType/frame/frame-bow-angle
diagram
type xs:float
annotation
documentation 
Fassungsscheibenwinkel
source
<xs:element name="frame-bow-angle" type="xs:float" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Fassungsscheibenwinkel</xs:documentation>
  </xs:annotation>
</xs:element>

element sales-orderType/frame/remote-edging
diagram
children bevel
source
<xs:element name="remote-edging" minOccurs="0">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="bevel">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="type"/>
            <xs:element name="position" minOccurs="2" maxOccurs="2"/>
            <xs:element name="size-correction" minOccurs="0"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element sales-orderType/frame/remote-edging/bevel
diagram
children type position size-correction
source
<xs:element name="bevel">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="type"/>
      <xs:element name="position" minOccurs="2" maxOccurs="2"/>
      <xs:element name="size-correction" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element sales-orderType/frame/remote-edging/bevel/type
diagram
source
<xs:element name="type"/>

element sales-orderType/frame/remote-edging/bevel/position
diagram
source
<xs:element name="position" minOccurs="2" maxOccurs="2"/>

element sales-orderType/frame/remote-edging/bevel/size-correction
diagram
source
<xs:element name="size-correction" minOccurs="0"/>

complexType cylinderType
diagram
children power axis
used by
element refractionType/cylinder
source
<xs:complexType name="cylinderType">
  <xs:sequence>
    <xs:element name="power">
      <xs:simpleType>
        <xs:restriction base="xs:float">
          <xs:minInclusive value="-30"/>
          <xs:maxInclusive value="30"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:element>
    <xs:element name="axis">
      <xs:simpleType>
        <xs:restriction base="xs:integer">
          <xs:minInclusive value="0"/>
          <xs:maxInclusive value="180"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:element>
  </xs:sequence>
</xs:complexType>

element cylinderType/power
diagram
type restriction of xs:float
facets
minInclusive -30
maxInclusive 30
source
<xs:element name="power">
  <xs:simpleType>
    <xs:restriction base="xs:float">
      <xs:minInclusive value="-30"/>
      <xs:maxInclusive value="30"/>
    </xs:restriction>
  </xs:simpleType>
</xs:element>

element cylinderType/axis
diagram
type restriction of xs:integer
facets
minInclusive 0
maxInclusive 180
source
<xs:element name="axis">
  <xs:simpleType>
    <xs:restriction base="xs:integer">
      <xs:minInclusive value="0"/>
      <xs:maxInclusive value="180"/>
    </xs:restriction>
  </xs:simpleType>
</xs:element>

complexType refractionType
diagram
children sphere cylinder addition prism inset upset interpupillary-distance near-object-distance
used by
element lensType/refraction
source
<xs:complexType name="refractionType">
  <xs:sequence>
    <xs:element name="sphere">
      <xs:simpleType>
        <xs:restriction base="xs:float">
          <xs:minInclusive value="-50"/>
          <xs:maxInclusive value="50"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:element>
    <xs:element name="cylinder" type="cylinderType" minOccurs="0"/>
    <xs:element name="addition" minOccurs="0">
      <xs:simpleType>
        <xs:restriction base="xs:float">
          <xs:minInclusive value="0.25"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:element>
    <xs:element name="prism" minOccurs="0" maxOccurs="2">
      <xs:complexType>
        <xs:complexContent>
          <xs:extension base="prismType">
            <xs:attribute name="pupillary-distance-correction" use="optional">
              <xs:simpleType>
                <xs:restriction base="xs:int">
                  <xs:enumeration value="0"/>
                  <xs:enumeration value="1"/>
                  <xs:enumeration value="2"/>
                </xs:restriction>
              </xs:simpleType>
            </xs:attribute>
          </xs:extension>
        </xs:complexContent>
      </xs:complexType>
    </xs:element>
    <xs:element name="inset" minOccurs="0">
      <xs:complexType>
        <xs:choice>
          <xs:element name="null">
            <xs:simpleType>
              <xs:restriction base="xs:string">
                <xs:enumeration value="null"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:element>
          <xs:element name="value" type="xs:float"/>
          <xs:sequence>
            <xs:element name="z" type="xs:float"/>
            <xs:element name="q" type="xs:float">
              <xs:annotation>
                <xs:documentation>Nah-PD</xs:documentation>
              </xs:annotation>
            </xs:element>
          </xs:sequence>
        </xs:choice>
      </xs:complexType>
    </xs:element>
    <xs:element name="upset" minOccurs="0">
      <xs:complexType>
        <xs:choice>
          <xs:element name="null" type="xs:string"/>
          <xs:element name="value" type="xs:float"/>
          <xs:sequence>
            <xs:element name="y" type="xs:float"/>
            <xs:element name="h" type="xs:float"/>
          </xs:sequence>
        </xs:choice>
      </xs:complexType>
    </xs:element>
    <xs:element name="interpupillary-distance" type="xs:float" minOccurs="0">
      <xs:annotation>
        <xs:documentation>Monukulare PD</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="near-object-distance" minOccurs="0">
      <xs:annotation>
        <xs:documentation>Objektabstand Nähe für individuelle Gleitsichtgläser</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:integer">
          <xs:maxInclusive value="4444"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:element>
  </xs:sequence>
</xs:complexType>

element refractionType/sphere
diagram
type restriction of xs:float
facets
minInclusive -50
maxInclusive 50
source
<xs:element name="sphere">
  <xs:simpleType>
    <xs:restriction base="xs:float">
      <xs:minInclusive value="-50"/>
      <xs:maxInclusive value="50"/>
    </xs:restriction>
  </xs:simpleType>
</xs:element>

element refractionType/cylinder
diagram
type cylinderType
children power axis
source
<xs:element name="cylinder" type="cylinderType" minOccurs="0"/>

element refractionType/addition
diagram
type restriction of xs:float
facets
minInclusive 0.25
source
<xs:element name="addition" minOccurs="0">
  <xs:simpleType>
    <xs:restriction base="xs:float">
      <xs:minInclusive value="0.25"/>
    </xs:restriction>
  </xs:simpleType>
</xs:element>

element refractionType/prism
diagram
type extension of prismType
children power base
attributes
Name  Type  Use  Default  Fixed  Annotation
pupillary-distance-correction  xs:int  optional      
source
<xs:element name="prism" minOccurs="0" maxOccurs="2">
  <xs:complexType>
    <xs:complexContent>
      <xs:extension base="prismType">
        <xs:attribute name="pupillary-distance-correction" use="optional">
          <xs:simpleType>
            <xs:restriction base="xs:int">
              <xs:enumeration value="0"/>
              <xs:enumeration value="1"/>
              <xs:enumeration value="2"/>
            </xs:restriction>
          </xs:simpleType>
        </xs:attribute>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
</xs:element>

element refractionType/inset
diagram
children null value z q
source
<xs:element name="inset" minOccurs="0">
  <xs:complexType>
    <xs:choice>
      <xs:element name="null">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:enumeration value="null"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="value" type="xs:float"/>
      <xs:sequence>
        <xs:element name="z" type="xs:float"/>
        <xs:element name="q" type="xs:float">
          <xs:annotation>
            <xs:documentation>Nah-PD</xs:documentation>
          </xs:annotation>
        </xs:element>
      </xs:sequence>
    </xs:choice>
  </xs:complexType>
</xs:element>

element refractionType/inset/null
diagram
type restriction of xs:string
facets
enumeration null
source
<xs:element name="null">
  <xs:simpleType>
    <xs:restriction base="xs:string">
      <xs:enumeration value="null"/>
    </xs:restriction>
  </xs:simpleType>
</xs:element>

element refractionType/inset/value
diagram
type xs:float
source
<xs:element name="value" type="xs:float"/>

element refractionType/inset/z
diagram
type xs:float
source
<xs:element name="z" type="xs:float"/>

element refractionType/inset/q
diagram
type xs:float
annotation
documentation 
Nah-PD
source
<xs:element name="q" type="xs:float">
  <xs:annotation>
    <xs:documentation>Nah-PD</xs:documentation>
  </xs:annotation>
</xs:element>

element refractionType/upset
diagram
children null value y h
source
<xs:element name="upset" minOccurs="0">
  <xs:complexType>
    <xs:choice>
      <xs:element name="null" type="xs:string"/>
      <xs:element name="value" type="xs:float"/>
      <xs:sequence>
        <xs:element name="y" type="xs:float"/>
        <xs:element name="h" type="xs:float"/>
      </xs:sequence>
    </xs:choice>
  </xs:complexType>
</xs:element>

element refractionType/upset/null
diagram
type xs:string
source
<xs:element name="null" type="xs:string"/>

element refractionType/upset/value
diagram
type xs:float
source
<xs:element name="value" type="xs:float"/>

element refractionType/upset/y
diagram
type xs:float
source
<xs:element name="y" type="xs:float"/>

element refractionType/upset/h
diagram
type xs:float
source
<xs:element name="h" type="xs:float"/>

element refractionType/interpupillary-distance
diagram
type xs:float
annotation
documentation 
Monukulare PD
source
<xs:element name="interpupillary-distance" type="xs:float" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Monukulare PD</xs:documentation>
  </xs:annotation>
</xs:element>

element refractionType/near-object-distance
diagram
type restriction of xs:integer
facets
maxInclusive 4444
annotation
documentation 
Objektabstand Nähe für individuelle Gleitsichtgläser
source
<xs:element name="near-object-distance" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Objektabstand Nähe für individuelle Gleitsichtgläser</xs:documentation>
  </xs:annotation>
  <xs:simpleType>
    <xs:restriction base="xs:integer">
      <xs:maxInclusive value="4444"/>
    </xs:restriction>
  </xs:simpleType>
</xs:element>

complexType centrationType
diagram
children case-a case-b case-c y h
used by
elements frame-dataType/centration frame-sourceType/centration frame-specialType/centration
source
<xs:complexType name="centrationType">
  <xs:sequence>
    <xs:choice>
      <xs:element name="case-a">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="z" type="xs:float"/>
            <xs:element name="distance-between-lenses" type="xs:float"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="case-b">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="z" type="xs:float"/>
            <xs:element name="x" type="xs:float"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="case-c">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="x" type="xs:float"/>
            <xs:element name="distance-between-lenses" type="xs:float" minOccurs="0"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:choice>
    <xs:choice>
      <xs:element name="y" type="xs:float"/>
      <xs:element name="h" type="xs:float"/>
    </xs:choice>
  </xs:sequence>
</xs:complexType>

element centrationType/case-a
diagram
children z distance-between-lenses
source
<xs:element name="case-a">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="z" type="xs:float"/>
      <xs:element name="distance-between-lenses" type="xs:float"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element centrationType/case-a/z
diagram
type xs:float
source
<xs:element name="z" type="xs:float"/>

element centrationType/case-a/distance-between-lenses
diagram
type xs:float
source
<xs:element name="distance-between-lenses" type="xs:float"/>

element centrationType/case-b
diagram
children z x
source
<xs:element name="case-b">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="z" type="xs:float"/>
      <xs:element name="x" type="xs:float"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element centrationType/case-b/z
diagram
type xs:float
source
<xs:element name="z" type="xs:float"/>

element centrationType/case-b/x
diagram
type xs:float
source
<xs:element name="x" type="xs:float"/>

element centrationType/case-c
diagram
children x distance-between-lenses
source
<xs:element name="case-c">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="x" type="xs:float"/>
      <xs:element name="distance-between-lenses" type="xs:float" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element centrationType/case-c/x
diagram
type xs:float
source
<xs:element name="x" type="xs:float"/>

element centrationType/case-c/distance-between-lenses
diagram
type xs:float
source
<xs:element name="distance-between-lenses" type="xs:float" minOccurs="0"/>

element centrationType/y
diagram
type xs:float
source
<xs:element name="y" type="xs:float"/>

element centrationType/h
diagram
type xs:float
source
<xs:element name="h" type="xs:float"/>

complexType frame-dataType
diagram
children id-number manufacturer box-length box-height shape model centration
used by
elements sales-orderType/frame/pair/right/frame-data sales-orderType/frame/pair/left/frame-data sales-orderType/frame/single/right/frame-data sales-orderType/frame/single/left/frame-data
source
<xs:complexType name="frame-dataType">
  <xs:sequence>
    <xs:element name="id-number" type="xs:int" minOccurs="0"/>
    <xs:element name="manufacturer" type="xs:string" minOccurs="0"/>
    <xs:element name="box-length" type="xs:float"/>
    <xs:element name="box-height" type="xs:float"/>
    <xs:choice>
      <xs:element name="shape" type="shapeType"/>
      <xs:element name="model" type="xs:int"/>
    </xs:choice>
    <xs:element name="centration" type="centrationType"/>
  </xs:sequence>
</xs:complexType>

element frame-dataType/id-number
diagram
type xs:int
source
<xs:element name="id-number" type="xs:int" minOccurs="0"/>

element frame-dataType/manufacturer
diagram
type xs:string
source
<xs:element name="manufacturer" type="xs:string" minOccurs="0"/>

element frame-dataType/box-length
diagram
type xs:float
source
<xs:element name="box-length" type="xs:float"/>

element frame-dataType/box-height
diagram
type xs:float
source
<xs:element name="box-height" type="xs:float"/>

element frame-dataType/shape
diagram
type shapeType
children source-type reference-point start-point point
source
<xs:element name="shape" type="shapeType"/>

element frame-dataType/model
diagram
type xs:int
source
<xs:element name="model" type="xs:int"/>

element frame-dataType/centration
diagram
type centrationType
children case-a case-b case-c y h
source
<xs:element name="centration" type="centrationType"/>

complexType frame-sourceType
diagram
children id-number source box-length box-height centration
used by
elements sales-orderType/frame/pair/right/frame-source sales-orderType/frame/pair/left/frame-source sales-orderType/frame/single/right/frame-source sales-orderType/frame/single/left/frame-source
source
<xs:complexType name="frame-sourceType">
  <xs:sequence>
    <xs:element name="id-number" type="xs:int"/>
    <xs:element name="source">
      <xs:complexType>
        <xs:sequence>
          <xs:element name="reference-point" type="xs:int">
            <xs:annotation>
              <xs:documentation>1=bzgl.Boxmitte  2=bzgl.Zentrierkreuz</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="source-type" type="xs:string">
            <xs:annotation>
              <xs:documentation>z.B. scann</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="source-location" type="xs:string">
            <xs:annotation>
              <xs:documentation>z.B. Verzeichnis Scannerdatei</xs:documentation>
            </xs:annotation>
          </xs:element>
        </xs:sequence>
      </xs:complexType>
    </xs:element>
    <xs:element name="box-length" type="xs:float" minOccurs="0"/>
    <xs:element name="box-height" type="xs:float" minOccurs="0"/>
    <xs:element name="centration" type="centrationType" minOccurs="0"/>
  </xs:sequence>
</xs:complexType>

element frame-sourceType/id-number
diagram
type xs:int
source
<xs:element name="id-number" type="xs:int"/>

element frame-sourceType/source
diagram
children reference-point source-type source-location
source
<xs:element name="source">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="reference-point" type="xs:int">
        <xs:annotation>
          <xs:documentation>1=bzgl.Boxmitte  2=bzgl.Zentrierkreuz</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="source-type" type="xs:string">
        <xs:annotation>
          <xs:documentation>z.B. scann</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="source-location" type="xs:string">
        <xs:annotation>
          <xs:documentation>z.B. Verzeichnis Scannerdatei</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element frame-sourceType/source/reference-point
diagram
type xs:int
annotation
documentation 
1=bzgl.Boxmitte  2=bzgl.Zentrierkreuz
source
<xs:element name="reference-point" type="xs:int">
  <xs:annotation>
    <xs:documentation>1=bzgl.Boxmitte  2=bzgl.Zentrierkreuz</xs:documentation>
  </xs:annotation>
</xs:element>

element frame-sourceType/source/source-type
diagram
type xs:string
annotation
documentation 
z.B. scann
source
<xs:element name="source-type" type="xs:string">
  <xs:annotation>
    <xs:documentation>z.B. scann</xs:documentation>
  </xs:annotation>
</xs:element>

element frame-sourceType/source/source-location
diagram
type xs:string
annotation
documentation 
z.B. Verzeichnis Scannerdatei
source
<xs:element name="source-location" type="xs:string">
  <xs:annotation>
    <xs:documentation>z.B. Verzeichnis Scannerdatei</xs:documentation>
  </xs:annotation>
</xs:element>

element frame-sourceType/box-length
diagram
type xs:float
source
<xs:element name="box-length" type="xs:float" minOccurs="0"/>

element frame-sourceType/box-height
diagram
type xs:float
source
<xs:element name="box-height" type="xs:float" minOccurs="0"/>

element frame-sourceType/centration
diagram
type centrationType
children case-a case-b case-c y h
source
<xs:element name="centration" type="centrationType" minOccurs="0"/>

complexType frame-specialType
diagram
children box-length box-height centration
used by
elements sales-orderType/frame/pair/right/frame-special sales-orderType/frame/pair/left/frame-special sales-orderType/frame/single/right/frame-special sales-orderType/frame/single/left/frame-special
source
<xs:complexType name="frame-specialType">
  <xs:sequence>
    <xs:element name="box-length" minOccurs="0"/>
    <xs:element name="box-height" minOccurs="0"/>
    <xs:element name="centration" type="centrationType" minOccurs="0"/>
  </xs:sequence>
</xs:complexType>

element frame-specialType/box-length
diagram
source
<xs:element name="box-length" minOccurs="0"/>

element frame-specialType/box-height
diagram
source
<xs:element name="box-height" minOccurs="0"/>

element frame-specialType/centration
diagram
type centrationType
children case-a case-b case-c y h
source
<xs:element name="centration" type="centrationType" minOccurs="0"/>

complexType lensType
diagram
children lens-id edi-code product-line diameter opt-diameter description refraction decentration modify-thickness-flag optima-flag options pre-calc
used by
complexType lens-sales-orderType
source
<xs:complexType name="lensType">
  <xs:sequence>
    <xs:choice>
      <xs:element name="lens-id">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="5"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="edi-code">
        <xs:simpleType>
          <xs:restriction base="xs:integer">
            <xs:minInclusive value="-9999"/>
            <xs:maxInclusive value="9999"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
    </xs:choice>
    <xs:element name="product-line" type="xs:integer"/>
    <xs:element name="diameter">
      <xs:annotation>
        <xs:documentation>Standard- Durchmesser</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:integer">
          <xs:maxInclusive value="99"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:element>
    <xs:element name="opt-diameter" minOccurs="0">
      <xs:annotation>
        <xs:documentation>Kleinstmoeglicher  opt. Durchmesser</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:integer">
          <xs:maxInclusive value="99"/>
          <xs:minInclusive value="0"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:element>
    <xs:element name="description" minOccurs="0">
      <xs:complexType>
        <xs:sequence>
          <xs:element name="name" type="xs:string" minOccurs="0"/>
          <xs:element name="ce-text" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
          <xs:element name="note" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
          <xs:element name="lens-bag-name" type="xs:string" minOccurs="0"/>
        </xs:sequence>
      </xs:complexType>
    </xs:element>
    <xs:element name="refraction" type="refractionType"/>
    <xs:element name="decentration" minOccurs="0" maxOccurs="2">
      <xs:complexType>
        <xs:sequence>
          <xs:element name="length">
            <xs:simpleType>
              <xs:restriction base="xs:float">
                <xs:minInclusive value="0.1"/>
                <xs:maxInclusive value="40.0"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:element>
          <xs:element name="direction">
            <xs:simpleType>
              <xs:restriction base="xs:float">
                <xs:minInclusive value="0.0"/>
                <xs:maxInclusive value="360.0"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:element>
        </xs:sequence>
        <xs:attribute name="origin" use="optional" default="internal">
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:enumeration value="internal"/>
              <xs:enumeration value="customer"/>
            </xs:restriction>
          </xs:simpleType>
        </xs:attribute>
      </xs:complexType>
    </xs:element>
    <xs:element name="modify-thickness-flag" type="xs:boolean">
      <xs:annotation>
        <xs:documentation>Dickenaenderung zulaessig</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="optima-flag" type="xs:boolean"/>
    <xs:element name="options" type="optionsType" minOccurs="0"/>
    <xs:element name="pre-calc" type="pre-calcType" minOccurs="0"/>
  </xs:sequence>
</xs:complexType>

element lensType/lens-id
diagram
type restriction of xs:string
facets
minLength 1
maxLength 5
source
<xs:element name="lens-id">
  <xs:simpleType>
    <xs:restriction base="xs:string">
      <xs:minLength value="1"/>
      <xs:maxLength value="5"/>
    </xs:restriction>
  </xs:simpleType>
</xs:element>

element lensType/edi-code
diagram
type restriction of xs:integer
facets
minInclusive -9999
maxInclusive 9999
source
<xs:element name="edi-code">
  <xs:simpleType>
    <xs:restriction base="xs:integer">
      <xs:minInclusive value="-9999"/>
      <xs:maxInclusive value="9999"/>
    </xs:restriction>
  </xs:simpleType>
</xs:element>

element lensType/product-line
diagram
type xs:integer
source
<xs:element name="product-line" type="xs:integer"/>

element lensType/diameter
diagram
type restriction of xs:integer
facets
maxInclusive 99
annotation
documentation 
Standard- Durchmesser
source
<xs:element name="diameter">
  <xs:annotation>
    <xs:documentation>Standard- Durchmesser</xs:documentation>
  </xs:annotation>
  <xs:simpleType>
    <xs:restriction base="xs:integer">
      <xs:maxInclusive value="99"/>
    </xs:restriction>
  </xs:simpleType>
</xs:element>

element lensType/opt-diameter
diagram
type restriction of xs:integer
facets
minInclusive 0
maxInclusive 99
annotation
documentation 
Kleinstmoeglicher  opt. Durchmesser
source
<xs:element name="opt-diameter" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Kleinstmoeglicher  opt. Durchmesser</xs:documentation>
  </xs:annotation>
  <xs:simpleType>
    <xs:restriction base="xs:integer">
      <xs:maxInclusive value="99"/>
      <xs:minInclusive value="0"/>
    </xs:restriction>
  </xs:simpleType>
</xs:element>

element lensType/description
diagram
children name ce-text note lens-bag-name
source
<xs:element name="description" minOccurs="0">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="name" type="xs:string" minOccurs="0"/>
      <xs:element name="ce-text" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
      <xs:element name="note" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
      <xs:element name="lens-bag-name" type="xs:string" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element lensType/description/name
diagram
type xs:string
source
<xs:element name="name" type="xs:string" minOccurs="0"/>

element lensType/description/ce-text
diagram
type xs:string
source
<xs:element name="ce-text" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>

element lensType/description/note
diagram
type xs:string
source
<xs:element name="note" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>

element lensType/description/lens-bag-name
diagram
type xs:string
source
<xs:element name="lens-bag-name" type="xs:string" minOccurs="0"/>

element lensType/refraction
diagram
type refractionType
children sphere cylinder addition prism inset upset interpupillary-distance near-object-distance
source
<xs:element name="refraction" type="refractionType"/>

element lensType/decentration
diagram
children length direction
attributes
Name  Type  Use  Default  Fixed  Annotation
origin  xs:string  optional  internal    
source
<xs:element name="decentration" minOccurs="0" maxOccurs="2">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="length">
        <xs:simpleType>
          <xs:restriction base="xs:float">
            <xs:minInclusive value="0.1"/>
            <xs:maxInclusive value="40.0"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="direction">
        <xs:simpleType>
          <xs:restriction base="xs:float">
            <xs:minInclusive value="0.0"/>
            <xs:maxInclusive value="360.0"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
    </xs:sequence>
    <xs:attribute name="origin" use="optional" default="internal">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="internal"/>
          <xs:enumeration value="customer"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
</xs:element>

element lensType/decentration/length
diagram
type restriction of xs:float
facets
minInclusive 0.1
maxInclusive 40.0
source
<xs:element name="length">
  <xs:simpleType>
    <xs:restriction base="xs:float">
      <xs:minInclusive value="0.1"/>
      <xs:maxInclusive value="40.0"/>
    </xs:restriction>
  </xs:simpleType>
</xs:element>

element lensType/decentration/direction
diagram
type restriction of xs:float
facets
minInclusive 0.0
maxInclusive 360.0
source
<xs:element name="direction">
  <xs:simpleType>
    <xs:restriction base="xs:float">
      <xs:minInclusive value="0.0"/>
      <xs:maxInclusive value="360.0"/>
    </xs:restriction>
  </xs:simpleType>
</xs:element>

element lensType/modify-thickness-flag
diagram
type xs:boolean
annotation
documentation 
Dickenaenderung zulaessig
source
<xs:element name="modify-thickness-flag" type="xs:boolean">
  <xs:annotation>
    <xs:documentation>Dickenaenderung zulaessig</xs:documentation>
  </xs:annotation>
</xs:element>

element lensType/optima-flag
diagram
type xs:boolean
source
<xs:element name="optima-flag" type="xs:boolean"/>

element lensType/options
diagram
type optionsType
children tint coating thin flat approximate plano-concave plano-convex bi-concave bi-convex centre-thickness edge-thickness nylor toric lenticular aniseicony slab-off occlusion frosted
source
<xs:element name="options" type="optionsType" minOccurs="0"/>

element lensType/pre-calc
diagram
type pre-calcType
children edge-thickness-demo focal-type material-category refractive-index refractive-index-type surface-type phototrophic diameter-type density
source
<xs:element name="pre-calc" type="pre-calcType" minOccurs="0"/>

complexType holesType
diagram
children reference-point minimal-thickness cartesian polar
used by
elements sales-orderType/frame/pair/right/holes sales-orderType/frame/pair/left/holes sales-orderType/frame/single/right/holes sales-orderType/frame/single/left/holes
source
<xs:complexType name="holesType">
  <xs:sequence>
    <xs:element name="reference-point" type="xs:int">
      <xs:annotation>
        <xs:documentation>1=bzgl.Boxmitte  2=bzgl.Zentrierkreuz</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="minimal-thickness" type="xs:float" minOccurs="0"/>
    <xs:choice>
      <xs:element name="cartesian" maxOccurs="4">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="x" type="xs:float"/>
            <xs:element name="y" type="xs:float"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="polar" maxOccurs="4">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="angle" type="xs:float"/>
            <xs:element name="radius" type="xs:float"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:choice>
  </xs:sequence>
</xs:complexType>

element holesType/reference-point
diagram
type xs:int
annotation
documentation 
1=bzgl.Boxmitte  2=bzgl.Zentrierkreuz
source
<xs:element name="reference-point" type="xs:int">
  <xs:annotation>
    <xs:documentation>1=bzgl.Boxmitte  2=bzgl.Zentrierkreuz</xs:documentation>
  </xs:annotation>
</xs:element>

element holesType/minimal-thickness
diagram
type xs:float
source
<xs:element name="minimal-thickness" type="xs:float" minOccurs="0"/>

element holesType/cartesian
diagram
children x y
source
<xs:element name="cartesian" maxOccurs="4">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="x" type="xs:float"/>
      <xs:element name="y" type="xs:float"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element holesType/cartesian/x
diagram
type xs:float
source
<xs:element name="x" type="xs:float"/>

element holesType/cartesian/y
diagram
type xs:float
source
<xs:element name="y" type="xs:float"/>

element holesType/polar
diagram
children angle radius
source
<xs:element name="polar" maxOccurs="4">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="angle" type="xs:float"/>
      <xs:element name="radius" type="xs:float"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element holesType/polar/angle
diagram
type xs:float
source
<xs:element name="angle" type="xs:float"/>

element holesType/polar/radius
diagram
type xs:float
source
<xs:element name="radius" type="xs:float"/>

complexType optionsType
diagram
children tint coating thin flat approximate plano-concave plano-convex bi-concave bi-convex centre-thickness edge-thickness nylor toric lenticular aniseicony slab-off occlusion frosted
used by
element lensType/options
source
<xs:complexType name="optionsType">
  <xs:sequence>
    <xs:element name="tint" minOccurs="0">
      <xs:complexType>
        <xs:simpleContent>
          <xs:extension base="xs:string">
            <xs:attribute name="note" type="xs:string" use="optional"/>
          </xs:extension>
        </xs:simpleContent>
      </xs:complexType>
    </xs:element>
    <xs:element name="coating" minOccurs="0">
      <xs:complexType>
        <xs:sequence>
          <xs:element name="antireflection" minOccurs="0">
            <xs:complexType>
              <xs:simpleContent>
                <xs:extension base="xs:string">
                  <xs:attribute name="side" use="required">
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:enumeration value="both"/>
                        <xs:enumeration value="front"/>
                        <xs:enumeration value="back"/>
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                </xs:extension>
              </xs:simpleContent>
            </xs:complexType>
          </xs:element>
          <xs:element name="hard" type="xs:string" minOccurs="0"/>
          <xs:choice minOccurs="0">
            <xs:element name="tint">
              <xs:annotation>
                <xs:documentation>Umbra</xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:simpleContent>
                  <xs:extension base="xs:string">
                    <xs:attribute name="side" use="optional">
                      <xs:simpleType>
                        <xs:restriction base="xs:string">
                          <xs:enumeration value="both"/>
                          <xs:enumeration value="front"/>
                          <xs:enumeration value="back"/>
                        </xs:restriction>
                      </xs:simpleType>
                    </xs:attribute>
                  </xs:extension>
                </xs:simpleContent>
              </xs:complexType>
            </xs:element>
            <xs:element name="uv-protection" type="xs:string"/>
          </xs:choice>
        </xs:sequence>
      </xs:complexType>
    </xs:element>
    <xs:element name="thin" type="xs:boolean" minOccurs="0"/>
    <xs:element name="flat" minOccurs="0">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="flat"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:element>
    <xs:element name="approximate" minOccurs="0">
      <xs:annotation>
        <xs:documentation>1 = Grundkurve
2 = Mittendicke
3 = Randdicke
4 = G + M
5 = G + R
6 = G + Dicke allge</xs:documentation>
      </xs:annotation>
      <xs:complexType>
        <xs:simpleContent>
          <xs:extension base="xs:integer"/>
        </xs:simpleContent>
      </xs:complexType>
    </xs:element>
    <xs:choice minOccurs="0">
      <xs:element name="plano-concave" type="xs:boolean"/>
      <xs:element name="plano-convex" type="xs:boolean"/>
      <xs:element name="bi-concave" type="xs:boolean"/>
      <xs:element name="bi-convex" type="xs:boolean"/>
    </xs:choice>
    <xs:choice minOccurs="0">
      <xs:element name="centre-thickness">
        <xs:annotation>
          <xs:documentation>Wunsch-Mittendicke</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:float">
            <xs:minExclusive value="0.2"/>
            <xs:maxExclusive value="30.0"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="edge-thickness">
        <xs:annotation>
          <xs:documentation>Wunsch-Randdicke</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:float">
            <xs:minExclusive value="0.2"/>
            <xs:maxExclusive value="30.0"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="nylor" type="xs:boolean">
        <xs:annotation>
          <xs:documentation>Randdickenvorgabe als Flag</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:choice>
    <xs:element name="toric" default="back" minOccurs="0">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="front"/>
          <xs:enumeration value="back"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:element>
    <xs:element name="lenticular" type="xs:boolean" minOccurs="0"/>
    <xs:element name="aniseicony" minOccurs="0">
      <xs:complexType>
        <xs:simpleContent>
          <xs:extension base="xs:boolean">
            <xs:attribute name="value" type="xs:float" use="optional"/>
          </xs:extension>
        </xs:simpleContent>
      </xs:complexType>
    </xs:element>
    <xs:element name="slab-off" minOccurs="0">
      <xs:complexType>
        <xs:simpleContent>
          <xs:extension base="xs:boolean">
            <xs:attribute name="value" use="optional">
              <xs:simpleType>
                <xs:restriction base="xs:float">
                  <xs:minInclusive value="1.3"/>
                </xs:restriction>
              </xs:simpleType>
            </xs:attribute>
          </xs:extension>
        </xs:simpleContent>
      </xs:complexType>
    </xs:element>
    <xs:choice minOccurs="0">
      <xs:element name="occlusion" type="xs:boolean"/>
      <xs:element name="frosted" type="xs:boolean">
        <xs:annotation>
          <xs:documentation>mattieren</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:choice>
  </xs:sequence>
</xs:complexType>

element optionsType/tint
diagram
type extension of xs:string
attributes
Name  Type  Use  Default  Fixed  Annotation
note  xs:string  optional      
source
<xs:element name="tint" minOccurs="0">
  <xs:complexType>
    <xs:simpleContent>
      <xs:extension base="xs:string">
        <xs:attribute name="note" type="xs:string" use="optional"/>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
</xs:element>

element optionsType/coating
diagram
children antireflection hard tint uv-protection
source
<xs:element name="coating" minOccurs="0">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="antireflection" minOccurs="0">
        <xs:complexType>
          <xs:simpleContent>
            <xs:extension base="xs:string">
              <xs:attribute name="side" use="required">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:enumeration value="both"/>
                    <xs:enumeration value="front"/>
                    <xs:enumeration value="back"/>
                  </xs:restriction>
                </xs:simpleType>
              </xs:attribute>
            </xs:extension>
          </xs:simpleContent>
        </xs:complexType>
      </xs:element>
      <xs:element name="hard" type="xs:string" minOccurs="0"/>
      <xs:choice minOccurs="0">
        <xs:element name="tint">
          <xs:annotation>
            <xs:documentation>Umbra</xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:simpleContent>
              <xs:extension base="xs:string">
                <xs:attribute name="side" use="optional">
                  <xs:simpleType>
                    <xs:restriction base="xs:string">
                      <xs:enumeration value="both"/>
                      <xs:enumeration value="front"/>
                      <xs:enumeration value="back"/>
                    </xs:restriction>
                  </xs:simpleType>
                </xs:attribute>
              </xs:extension>
            </xs:simpleContent>
          </xs:complexType>
        </xs:element>
        <xs:element name="uv-protection" type="xs:string"/>
      </xs:choice>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element optionsType/coating/antireflection
diagram
type extension of xs:string
attributes
Name  Type  Use  Default  Fixed  Annotation
side  xs:string  required      
source
<xs:element name="antireflection" minOccurs="0">
  <xs:complexType>
    <xs:simpleContent>
      <xs:extension base="xs:string">
        <xs:attribute name="side" use="required">
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:enumeration value="both"/>
              <xs:enumeration value="front"/>
              <xs:enumeration value="back"/>
            </xs:restriction>
          </xs:simpleType>
        </xs:attribute>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
</xs:element>

element optionsType/coating/hard
diagram
type xs:string
source
<xs:element name="hard" type="xs:string" minOccurs="0"/>

element optionsType/coating/tint
diagram
type extension of xs:string
attributes
Name  Type  Use  Default  Fixed  Annotation
side  xs:string  optional      
annotation
documentation 
Umbra
source
<xs:element name="tint">
  <xs:annotation>
    <xs:documentation>Umbra</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:simpleContent>
      <xs:extension base="xs:string">
        <xs:attribute name="side" use="optional">
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:enumeration value="both"/>
              <xs:enumeration value="front"/>
              <xs:enumeration value="back"/>
            </xs:restriction>
          </xs:simpleType>
        </xs:attribute>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
</xs:element>

element optionsType/coating/uv-protection
diagram
type xs:string
source
<xs:element name="uv-protection" type="xs:string"/>

element optionsType/thin
diagram
type xs:boolean
source
<xs:element name="thin" type="xs:boolean" minOccurs="0"/>

element optionsType/flat
diagram
type restriction of xs:string
facets
enumeration flat
source
<xs:element name="flat" minOccurs="0">
  <xs:simpleType>
    <xs:restriction base="xs:string">
      <xs:enumeration value="flat"/>
    </xs:restriction>
  </xs:simpleType>
</xs:element>

element optionsType/approximate
diagram
type extension of xs:integer
annotation
documentation 
1 = Grundkurve
2 = Mittendicke
3 = Randdicke
4 = G + M
5 = G + R
6 = G + Dicke allge
source
<xs:element name="approximate" minOccurs="0">
  <xs:annotation>
    <xs:documentation>1 = Grundkurve
2 = Mittendicke
3 = Randdicke
4 = G + M
5 = G + R
6 = G + Dicke allge</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:simpleContent>
      <xs:extension base="xs:integer"/>
    </xs:simpleContent>
  </xs:complexType>
</xs:element>

element optionsType/plano-concave
diagram
type xs:boolean
source
<xs:element name="plano-concave" type="xs:boolean"/>

element optionsType/plano-convex
diagram
type xs:boolean
source
<xs:element name="plano-convex" type="xs:boolean"/>

element optionsType/bi-concave
diagram
type xs:boolean
source
<xs:element name="bi-concave" type="xs:boolean"/>

element optionsType/bi-convex
diagram
type xs:boolean
source
<xs:element name="bi-convex" type="xs:boolean"/>

element optionsType/centre-thickness
diagram
type restriction of xs:float
facets
minExclusive 0.2
maxExclusive 30.0
annotation
documentation 
Wunsch-Mittendicke
source
<xs:element name="centre-thickness">
  <xs:annotation>
    <xs:documentation>Wunsch-Mittendicke</xs:documentation>
  </xs:annotation>
  <xs:simpleType>
    <xs:restriction base="xs:float">
      <xs:minExclusive value="0.2"/>
      <xs:maxExclusive value="30.0"/>
    </xs:restriction>
  </xs:simpleType>
</xs:element>

element optionsType/edge-thickness
diagram
type restriction of xs:float
facets
minExclusive 0.2
maxExclusive 30.0
annotation
documentation 
Wunsch-Randdicke
source
<xs:element name="edge-thickness">
  <xs:annotation>
    <xs:documentation>Wunsch-Randdicke</xs:documentation>
  </xs:annotation>
  <xs:simpleType>
    <xs:restriction base="xs:float">
      <xs:minExclusive value="0.2"/>
      <xs:maxExclusive value="30.0"/>
    </xs:restriction>
  </xs:simpleType>
</xs:element>

element optionsType/nylor
diagram
type xs:boolean
annotation
documentation 
Randdickenvorgabe als Flag
source
<xs:element name="nylor" type="xs:boolean">
  <xs:annotation>
    <xs:documentation>Randdickenvorgabe als Flag</xs:documentation>
  </xs:annotation>
</xs:element>

element optionsType/toric
diagram
type restriction of xs:string
facets
enumeration front
enumeration back
source
<xs:element name="toric" default="back" minOccurs="0">
  <xs:simpleType>
    <xs:restriction base="xs:string">
      <xs:enumeration value="front"/>
      <xs:enumeration value="back"/>
    </xs:restriction>
  </xs:simpleType>
</xs:element>

element optionsType/lenticular
diagram
type xs:boolean
source
<xs:element name="lenticular" type="xs:boolean" minOccurs="0"/>

element optionsType/aniseicony
diagram
type extension of xs:boolean
attributes
Name  Type  Use  Default  Fixed  Annotation
value  xs:float  optional      
source
<xs:element name="aniseicony" minOccurs="0">
  <xs:complexType>
    <xs:simpleContent>
      <xs:extension base="xs:boolean">
        <xs:attribute name="value" type="xs:float" use="optional"/>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
</xs:element>

element optionsType/slab-off
diagram
type extension of xs:boolean
attributes
Name  Type  Use  Default  Fixed  Annotation
value  xs:float  optional      
source
<xs:element name="slab-off" minOccurs="0">
  <xs:complexType>
    <xs:simpleContent>
      <xs:extension base="xs:boolean">
        <xs:attribute name="value" use="optional">
          <xs:simpleType>
            <xs:restriction base="xs:float">
              <xs:minInclusive value="1.3"/>
            </xs:restriction>
          </xs:simpleType>
        </xs:attribute>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
</xs:element>

element optionsType/occlusion
diagram
type xs:boolean
source
<xs:element name="occlusion" type="xs:boolean"/>

element optionsType/frosted
diagram
type xs:boolean
annotation
documentation 
mattieren
source
<xs:element name="frosted" type="xs:boolean">
  <xs:annotation>
    <xs:documentation>mattieren</xs:documentation>
  </xs:annotation>
</xs:element>

complexType pre-calcType
diagram
children edge-thickness-demo focal-type material-category refractive-index refractive-index-type surface-type phototrophic diameter-type density
used by
element lensType/pre-calc
source
<xs:complexType name="pre-calcType">
  <xs:sequence>
    <xs:element name="edge-thickness-demo" type="xs:boolean" minOccurs="0">
      <xs:annotation>
        <xs:documentation>Randdickenverlauf
Bei consult default true</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="focal-type" minOccurs="0">
      <xs:annotation>
        <xs:documentation>1 = Einstaerkenglas
2 = Bifokalglas
3 = Trifokalglas
4 = Gleitsichtglas</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:integer">
          <xs:minInclusive value="1"/>
          <xs:maxInclusive value="4"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:element>
    <xs:element name="material-category" minOccurs="0">
      <xs:annotation>
        <xs:documentation>0 = Silikat
1 = Kunststoff</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:integer">
          <xs:minInclusive value="0"/>
          <xs:maxInclusive value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:element>
    <xs:element name="refractive-index" type="xs:decimal" minOccurs="0"/>
    <xs:element name="refractive-index-type" minOccurs="0">
      <xs:annotation>
        <xs:documentation>1=1.501   2=1.5251   3=1.604   4=1.706
5=1.800   6=1.600 Kunst
7=1.664   8=1.8930
9=1.586  10=1.74
11=1.533</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:integer">
          <xs:minInclusive value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:element>
    <xs:element name="surface-type" minOccurs="0">
      <xs:annotation>
        <xs:documentation>1=normales Glas
2=Clet Hypal, Hypal
3=frei
4=Ueberfang
5=Aphal
6=Einstaerken asphaerisch
7=Lupenglas
8=Arbeitsplatzbrille(RD+Busi
9=Individual</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:integer">
          <xs:minInclusive value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:element>
    <xs:element name="phototrophic" type="xs:boolean" minOccurs="0"/>
    <xs:element name="diameter-type" minOccurs="0">
      <xs:annotation>
        <xs:documentation>0=zentriert
1=75/80 bis 55/60,60,55,50
4=80E bis 55E  </xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:integer">
          <xs:minInclusive value="0"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:element>
    <xs:element name="density" type="xs:float" minOccurs="0"/>
  </xs:sequence>
</xs:complexType>

element pre-calcType/edge-thickness-demo
diagram
type xs:boolean
annotation
documentation 
Randdickenverlauf
Bei consult default true
source
<xs:element name="edge-thickness-demo" type="xs:boolean" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Randdickenverlauf
Bei consult default true</xs:documentation>
  </xs:annotation>
</xs:element>

element pre-calcType/focal-type
diagram
type restriction of xs:integer
facets
minInclusive 1
maxInclusive 4
annotation
documentation 
1 = Einstaerkenglas
2 = Bifokalglas
3 = Trifokalglas
4 = Gleitsichtglas
source
<xs:element name="focal-type" minOccurs="0">
  <xs:annotation>
    <xs:documentation>1 = Einstaerkenglas
2 = Bifokalglas
3 = Trifokalglas
4 = Gleitsichtglas</xs:documentation>
  </xs:annotation>
  <xs:simpleType>
    <xs:restriction base="xs:integer">
      <xs:minInclusive value="1"/>
      <xs:maxInclusive value="4"/>
    </xs:restriction>
  </xs:simpleType>
</xs:element>

element pre-calcType/material-category
diagram
type restriction of xs:integer
facets
minInclusive 0
maxInclusive 1
annotation
documentation 
0 = Silikat
1 = Kunststoff
source
<xs:element name="material-category" minOccurs="0">
  <xs:annotation>
    <xs:documentation>0 = Silikat
1 = Kunststoff</xs:documentation>
  </xs:annotation>
  <xs:simpleType>
    <xs:restriction base="xs:integer">
      <xs:minInclusive value="0"/>
      <xs:maxInclusive value="1"/>
    </xs:restriction>
  </xs:simpleType>
</xs:element>

element pre-calcType/refractive-index
diagram
type xs:decimal
source
<xs:element name="refractive-index" type="xs:decimal" minOccurs="0"/>

element pre-calcType/refractive-index-type
diagram
type restriction of xs:integer
facets
minInclusive 1
annotation
documentation 
1=1.501   2=1.5251   3=1.604   4=1.706
5=1.800   6=1.600 Kunst
7=1.664   8=1.8930
9=1.586  10=1.74
11=1.533
source
<xs:element name="refractive-index-type" minOccurs="0">
  <xs:annotation>
    <xs:documentation>1=1.501   2=1.5251   3=1.604   4=1.706
5=1.800   6=1.600 Kunst
7=1.664   8=1.8930
9=1.586  10=1.74
11=1.533</xs:documentation>
  </xs:annotation>
  <xs:simpleType>
    <xs:restriction base="xs:integer">
      <xs:minInclusive value="1"/>
    </xs:restriction>
  </xs:simpleType>
</xs:element>

element pre-calcType/surface-type
diagram
type restriction of xs:integer
facets
minInclusive 1
annotation
documentation 
1=normales Glas
2=Clet Hypal, Hypal
3=frei
4=Ueberfang
5=Aphal
6=Einstaerken asphaerisch
7=Lupenglas
8=Arbeitsplatzbrille(RD+Busi
9=Individual
source
<xs:element name="surface-type" minOccurs="0">
  <xs:annotation>
    <xs:documentation>1=normales Glas
2=Clet Hypal, Hypal
3=frei
4=Ueberfang
5=Aphal
6=Einstaerken asphaerisch
7=Lupenglas
8=Arbeitsplatzbrille(RD+Busi
9=Individual</xs:documentation>
  </xs:annotation>
  <xs:simpleType>
    <xs:restriction base="xs:integer">
      <xs:minInclusive value="1"/>
    </xs:restriction>
  </xs:simpleType>
</xs:element>

element pre-calcType/phototrophic
diagram
type xs:boolean
source
<xs:element name="phototrophic" type="xs:boolean" minOccurs="0"/>

element pre-calcType/diameter-type
diagram
type restriction of xs:integer
facets
minInclusive 0
annotation
documentation 
0=zentriert
1=75/80 bis 55/60,60,55,50
4=80E bis 55E  
source
<xs:element name="diameter-type" minOccurs="0">
  <xs:annotation>
    <xs:documentation>0=zentriert
1=75/80 bis 55/60,60,55,50
4=80E bis 55E  </xs:documentation>
  </xs:annotation>
  <xs:simpleType>
    <xs:restriction base="xs:integer">
      <xs:minInclusive value="0"/>
    </xs:restriction>
  </xs:simpleType>
</xs:element>

element pre-calcType/density
diagram
type xs:float
source
<xs:element name="density" type="xs:float" minOccurs="0"/>

complexType prismType
diagram
children power base
used by
element refractionType/prism
source
<xs:complexType name="prismType">
  <xs:sequence>
    <xs:element name="power" type="xs:float"/>
    <xs:element name="base">
      <xs:simpleType>
        <xs:restriction base="xs:float">
          <xs:minInclusive value="0.0"/>
          <xs:maxInclusive value="360.0"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:element>
  </xs:sequence>
</xs:complexType>

element prismType/power
diagram
type xs:float
source
<xs:element name="power" type="xs:float"/>

element prismType/base
diagram
type restriction of xs:float
facets
minInclusive 0.0
maxInclusive 360.0
source
<xs:element name="base">
  <xs:simpleType>
    <xs:restriction base="xs:float">
      <xs:minInclusive value="0.0"/>
      <xs:maxInclusive value="360.0"/>
    </xs:restriction>
  </xs:simpleType>
</xs:element>

complexType shapeType
diagram
children source-type reference-point start-point point
used by
element frame-dataType/shape
source
<xs:complexType name="shapeType">
  <xs:sequence>
    <xs:element name="source-type" type="xs:string" minOccurs="0">
      <xs:annotation>
        <xs:documentation>z.B. scann, tracer,</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="reference-point" type="xs:int">
      <xs:annotation>
        <xs:documentation>1=bzgl.Boxmitte  2=bzgl.Zentrierkreuz</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="start-point">
      <xs:annotation>
        <xs:documentation>last-point = start-point = true</xs:documentation>
      </xs:annotation>
      <xs:complexType>
        <xs:sequence>
          <xs:element name="angle">
            <xs:simpleType>
              <xs:restriction base="xs:float">
                <xs:minInclusive value="0.00"/>
                <xs:maxInclusive value="360.00"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:element>
          <xs:element name="radius" type="xs:float"/>
        </xs:sequence>
        <xs:attribute name="lastpoint" use="required">
          <xs:simpleType>
            <xs:restriction base="xs:boolean">
              <xs:pattern value="true"/>
              <xs:pattern value="false"/>
            </xs:restriction>
          </xs:simpleType>
        </xs:attribute>
      </xs:complexType>
    </xs:element>
    <xs:element name="point" minOccurs="17" maxOccurs="unbounded">
      <xs:complexType>
        <xs:sequence>
          <xs:element name="angle" minOccurs="0">
            <xs:simpleType>
              <xs:restriction base="xs:float">
                <xs:minInclusive value="0.00"/>
                <xs:maxInclusive value="360.00"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:element>
          <xs:choice>
            <xs:element name="radius">
              <xs:simpleType>
                <xs:restriction base="xs:float">
                  <xs:minInclusive value="0.1"/>
                </xs:restriction>
              </xs:simpleType>
            </xs:element>
            <xs:element name="delta-radius" type="xs:float"/>
          </xs:choice>
        </xs:sequence>
      </xs:complexType>
    </xs:element>
  </xs:sequence>
</xs:complexType>

element shapeType/source-type
diagram
type xs:string
annotation
documentation 
z.B. scann, tracer,
source
<xs:element name="source-type" type="xs:string" minOccurs="0">
  <xs:annotation>
    <xs:documentation>z.B. scann, tracer,</xs:documentation>
  </xs:annotation>
</xs:element>

element shapeType/reference-point
diagram
type xs:int
annotation
documentation 
1=bzgl.Boxmitte  2=bzgl.Zentrierkreuz
source
<xs:element name="reference-point" type="xs:int">
  <xs:annotation>
    <xs:documentation>1=bzgl.Boxmitte  2=bzgl.Zentrierkreuz</xs:documentation>
  </xs:annotation>
</xs:element>

element shapeType/start-point
diagram
children angle radius
attributes
Name  Type  Use  Default  Fixed  Annotation
lastpoint  xs:boolean  required      
annotation
documentation 
last-point = start-point = true
source
<xs:element name="start-point">
  <xs:annotation>
    <xs:documentation>last-point = start-point = true</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element name="angle">
        <xs:simpleType>
          <xs:restriction base="xs:float">
            <xs:minInclusive value="0.00"/>
            <xs:maxInclusive value="360.00"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="radius" type="xs:float"/>
    </xs:sequence>
    <xs:attribute name="lastpoint" use="required">
      <xs:simpleType>
        <xs:restriction base="xs:boolean">
          <xs:pattern value="true"/>
          <xs:pattern value="false"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
</xs:element>

element shapeType/start-point/angle
diagram
type restriction of xs:float
facets
minInclusive 0.00
maxInclusive 360.00
source
<xs:element name="angle">
  <xs:simpleType>
    <xs:restriction base="xs:float">
      <xs:minInclusive value="0.00"/>
      <xs:maxInclusive value="360.00"/>
    </xs:restriction>
  </xs:simpleType>
</xs:element>

element shapeType/start-point/radius
diagram
type xs:float
source
<xs:element name="radius" type="xs:float"/>

element shapeType/point
diagram
children angle radius delta-radius
source
<xs:element name="point" minOccurs="17" maxOccurs="unbounded">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="angle" minOccurs="0">
        <xs:simpleType>
          <xs:restriction base="xs:float">
            <xs:minInclusive value="0.00"/>
            <xs:maxInclusive value="360.00"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:choice>
        <xs:element name="radius">
          <xs:simpleType>
            <xs:restriction base="xs:float">
              <xs:minInclusive value="0.1"/>
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element name="delta-radius" type="xs:float"/>
      </xs:choice>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element shapeType/point/angle
diagram
type restriction of xs:float
facets
minInclusive 0.00
maxInclusive 360.00
source
<xs:element name="angle" minOccurs="0">
  <xs:simpleType>
    <xs:restriction base="xs:float">
      <xs:minInclusive value="0.00"/>
      <xs:maxInclusive value="360.00"/>
    </xs:restriction>
  </xs:simpleType>
</xs:element>

element shapeType/point/radius
diagram
type restriction of xs:float
facets
minInclusive 0.1
source
<xs:element name="radius">
  <xs:simpleType>
    <xs:restriction base="xs:float">
      <xs:minInclusive value="0.1"/>
    </xs:restriction>
  </xs:simpleType>
</xs:element>

element shapeType/point/delta-radius
diagram
type xs:float
source
<xs:element name="delta-radius" type="xs:float"/>


XML Schema documentation generated with
XML Spy Schema Editor www.xmlspy.com