Schema purchase-order.xsd


schema location:  D:\projects\XML-Interfaces\xsd\generic\purchase-order.xsd
 
Elements 
purchase-order 


schema location:  D:\projects\XML-Interfaces\xsd\generic/customer/customerExtType.xsd
 
Complex types 
customerExtType 


schema location:  D:\projects\XML-Interfaces\xsd\generic/general/positionType.xsd
 
Complex types 
positionType 


schema location:  D:\projects\XML-Interfaces\xsd\generic/customer/customerType.xsd
 
Complex types 
customerType 


schema location:  D:\projects\XML-Interfaces\xsd\generic/customer/rsaPublicKeyType.xsd
 
Complex types 
rsaPublicKeyType 


schema location:  D:\projects\XML-Interfaces\xsd\generic/general/salesOrderExtType.xsd
 
Complex types 
salesOrderExtType 


schema location:  D:\projects\XML-Interfaces\xsd\generic/customer/addressType.xsd
 
Complex types 
addressType 


schema location:  D:\projects\XML-Interfaces\xsd\generic/customer/internalCustomerType.xsd
 
Complex types 
internalCustomerType 


schema location:  D:\projects\XML-Interfaces\xsd\generic/general/salesOrderType.xsd
 
Complex types 
salesOrderType 


schema location:  D:\projects\XML-Interfaces\xsd\generic/frame/frameExtType.xsd
 
Complex types 
frameExtType 


schema location:  D:\projects\XML-Interfaces\xsd\generic/lens/lensType.xsd
 
Complex types 
lensType 


schema location:  D:\projects\XML-Interfaces\xsd\generic/customer/orderEntryType.xsd
 
Complex types 
orderEntryType 


schema location:  D:\projects\XML-Interfaces\xsd\generic/frame/frameType.xsd
 
Complex types 
frameType 


schema location:  D:\projects\XML-Interfaces\xsd\generic/general/generalPreCalcType.xsd
 
Complex types 
generalPreCalcType 


schema location:  D:\projects\XML-Interfaces\xsd\generic/general/generalSideType.xsd
 
Complex types 
generalSideType 


schema location:  D:\projects\XML-Interfaces\xsd\generic/lens/salesOrderLensType.xsd
 
Complex types 
salesOrderLensType 


schema location:  D:\projects\XML-Interfaces\xsd\generic/frame/remoteEdgingType.xsd
 
Complex types 
remoteEdgingType 


schema location:  D:\projects\XML-Interfaces\xsd\generic/frame/frameSideExtType.xsd
 
Complex types 
frameSideExtType 


schema location:  D:\projects\XML-Interfaces\xsd\generic/lens/refractionType.xsd
 
Complex types 
refractionType 


schema location:  D:\projects\XML-Interfaces\xsd\generic/lens/optionsType.xsd
 
Complex types 
optionsType 


schema location:  D:\projects\XML-Interfaces\xsd\generic/lens/preCalcType.xsd
 
Complex types 
preCalcType 


schema location:  D:\projects\XML-Interfaces\xsd\generic/frame/frameSideType.xsd
 
Complex types 
frameSideType 


schema location:  D:\projects\XML-Interfaces\xsd\generic/lens/preCalcLensType.xsd
 
Complex types 
preCalcLensType 


schema location:  D:\projects\XML-Interfaces\xsd\generic/lens/salesOrderLensPreProcessType.xsd
 
Complex types 
salesOrderLensPreProcessType 


schema location:  D:\projects\XML-Interfaces\xsd\generic/lens/cylinderType.xsd
 
Complex types 
cylinderType 


schema location:  D:\projects\XML-Interfaces\xsd\generic/lens/prismType.xsd
 
Complex types 
prismType 


schema location:  D:\projects\XML-Interfaces\xsd\generic/frame/frameDataType.xsd
 
Complex types 
frameDataType 


schema location:  D:\projects\XML-Interfaces\xsd\generic/frame/frameSourceType.xsd
 
Complex types 
frameSourceType 


schema location:  D:\projects\XML-Interfaces\xsd\generic/frame/frameSpecialType.xsd
 
Complex types 
frameSpecialType 


schema location:  D:\projects\XML-Interfaces\xsd\generic/frame/holesType.xsd
 
Complex types 
holesType 


schema location:  D:\projects\XML-Interfaces\xsd\generic/frame/centrationType.xsd
 
Complex types 
centrationType 


schema location:  D:\projects\XML-Interfaces\xsd\generic/frame/shapeType.xsd
 
Complex types 
shapeType 


element purchase-order
diagram
children customer order-id order-date order-time position
annotation
documentation 
Comment describing your root element
source
<xs:element name="purchase-order">
  <xs:annotation>
    <xs:documentation>Comment describing your root element</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element name="customer" type="customerExtType"/>
      <xs:element name="order-id" type="xs:string"/>
      <xs:element name="order-date" type="xs:date"/>
      <xs:element name="order-time" type="xs:time"/>
      <xs:element name="position" type="positionType" maxOccurs="unbounded"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element purchase-order/customer
diagram
type customerExtType
children customer-id order-generator country
source
<xs:element name="customer" type="customerExtType"/>

element purchase-order/order-id
diagram
type xs:string
source
<xs:element name="order-id" type="xs:string"/>

element purchase-order/order-date
diagram
type xs:date
source
<xs:element name="order-date" type="xs:date"/>

element purchase-order/order-time
diagram
type xs:time
source
<xs:element name="order-time" type="xs:time"/>

element purchase-order/position
diagram
type positionType
children consignee commission delivery-date notes quantity pair single frame
source
<xs:element name="position" type="positionType" maxOccurs="unbounded"/>

complexType customerExtType
diagram
type restriction of customerType
children customer-id order-generator country
used by
element purchase-order/customer
source
<xs:complexType name="customerExtType">
  <xs:complexContent>
    <xs:restriction base="customerType">
      <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="1"/>
              <xs:maxLength value="20"/>
            </xs:restriction>
          </xs:simpleType>
        </xs:element>
        <xs:element name="order-generator" type="xs:string">
          <xs:annotation>
            <xs:documentation>System, mit dem der Auftrag erzeugt wurde </xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="country" type="xs:string">
          <xs:annotation>
            <xs:documentation>Kurzschluessel ISO Code 2stellig</xs:documentation>
          </xs:annotation>
        </xs:element>
      </xs:sequence>
    </xs:restriction>
  </xs:complexContent>
</xs:complexType>

element customerExtType/customer-id
diagram
type restriction of xs:string
facets
minLength 1
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="1"/>
      <xs:maxLength value="20"/>
    </xs:restriction>
  </xs:simpleType>
</xs:element>

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

element customerExtType/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>

complexType positionType
diagram
type restriction of salesOrderExtType
children consignee commission delivery-date notes quantity pair single frame
used by
element purchase-order/position
source
<xs:complexType name="positionType">
  <xs:complexContent>
    <xs:restriction base="salesOrderExtType">
      <xs:sequence>
        <xs:element name="consignee" minOccurs="0">
          <xs:complexType>
            <xs:choice>
              <xs:element name="customer-id">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:minLength value="1"/>
                    <xs:maxLength value="20"/>
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="address" type="addressType"/>
            </xs:choice>
          </xs:complexType>
        </xs:element>
        <xs:element name="commission" type="xs:string" minOccurs="0">
          <xs:annotation>
            <xs:documentation>Einzelauftragsidentifikation </xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="delivery-date" type="xs:date" 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="quantity">
          <xs:simpleType>
            <xs:restriction base="xs:int">
              <xs:minInclusive value="1"/>
            </xs:restriction>
          </xs:simpleType>
        </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" type="generalSideType"/>
                      <xs:element name="left" type="generalSideType"/>
                    </xs:choice>
                  </xs:complexType>
                </xs:element>
                <xs:element name="right" type="lensType"/>
                <xs:element name="left" type="lensType"/>
              </xs:sequence>
            </xs:complexType>
          </xs:element>
          <xs:element name="single">
            <xs:complexType>
              <xs:choice>
                <xs:element name="right" type="lensType"/>
                <xs:element name="left" type="lensType"/>
              </xs:choice>
            </xs:complexType>
          </xs:element>
        </xs:choice>
        <xs:element name="frame" type="frameExtType" minOccurs="0"/>
      </xs:sequence>
    </xs:restriction>
  </xs:complexContent>
</xs:complexType>

element positionType/consignee
diagram
children customer-id address
source
<xs:element name="consignee" minOccurs="0">
  <xs:complexType>
    <xs:choice>
      <xs:element name="customer-id">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="20"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="address" type="addressType"/>
    </xs:choice>
  </xs:complexType>
</xs:element>

element positionType/consignee/customer-id
diagram
type restriction of xs:string
facets
minLength 1
maxLength 20
source
<xs:element name="customer-id">
  <xs:simpleType>
    <xs:restriction base="xs:string">
      <xs:minLength value="1"/>
      <xs:maxLength value="20"/>
    </xs:restriction>
  </xs:simpleType>
</xs:element>

element positionType/consignee/address
diagram
type addressType
children name street po-box zip-code city province region state country phone fax email
source
<xs:element name="address" type="addressType"/>

element positionType/commission
diagram
type xs:string
annotation
documentation 
Einzelauftragsidentifikation 
source
<xs:element name="commission" type="xs:string" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Einzelauftragsidentifikation </xs:documentation>
  </xs:annotation>
</xs:element>

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

element positionType/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 positionType/quantity
diagram
type restriction of xs:int
facets
minInclusive 1
source
<xs:element name="quantity">
  <xs:simpleType>
    <xs:restriction base="xs:int">
      <xs:minInclusive value="1"/>
    </xs:restriction>
  </xs:simpleType>
</xs:element>

element positionType/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" type="generalSideType"/>
            <xs:element name="left" type="generalSideType"/>
          </xs:choice>
        </xs:complexType>
      </xs:element>
      <xs:element name="right" type="lensType"/>
      <xs:element name="left" type="lensType"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element positionType/pair/general
diagram
children right left
source
<xs:element name="general" minOccurs="0">
  <xs:complexType>
    <xs:choice>
      <xs:element name="right" type="generalSideType"/>
      <xs:element name="left" type="generalSideType"/>
    </xs:choice>
  </xs:complexType>
</xs:element>

element positionType/pair/general/right
diagram
type generalSideType
children balancing-lens virtual-lens
source
<xs:element name="right" type="generalSideType"/>

element positionType/pair/general/left
diagram
type generalSideType
children balancing-lens virtual-lens
source
<xs:element name="left" type="generalSideType"/>

element positionType/pair/right
diagram
type lensType
children lens-code lens-id edi-code product-line diameter description refraction decentration modify-thickness-flag optima-flag options
source
<xs:element name="right" type="lensType"/>

element positionType/pair/left
diagram
type lensType
children lens-code lens-id edi-code product-line diameter description refraction decentration modify-thickness-flag optima-flag options
source
<xs:element name="left" type="lensType"/>

element positionType/single
diagram
children right left
source
<xs:element name="single">
  <xs:complexType>
    <xs:choice>
      <xs:element name="right" type="lensType"/>
      <xs:element name="left" type="lensType"/>
    </xs:choice>
  </xs:complexType>
</xs:element>

element positionType/single/right
diagram
type lensType
children lens-code lens-id edi-code product-line diameter description refraction decentration modify-thickness-flag optima-flag options
source
<xs:element name="right" type="lensType"/>

element positionType/single/left
diagram
type lensType
children lens-code lens-id edi-code product-line diameter description refraction decentration modify-thickness-flag optima-flag options
source
<xs:element name="left" type="lensType"/>

element positionType/frame
diagram
type frameExtType
children material pair single pantoscopic-angle frame-bow-angle remote-edging
source
<xs:element name="frame" type="frameExtType" minOccurs="0"/>

complexType customerType
diagram
children customer-id order-generator country internal
used by
elements salesOrderExtType/customer salesOrderType/customer
complexType customerExtType
source
<xs:complexType name="customerType">
  <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="1"/>
          <xs:maxLength value="20"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:element>
    <xs:element name="order-generator" type="xs:string">
      <xs:annotation>
        <xs:documentation>System, mit dem der Auftrag erzeugt wurde </xs:documentation>
      </xs:annotation>
    </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="internal" type="internalCustomerType" minOccurs="0"/>
  </xs:sequence>
</xs:complexType>

element customerType/customer-id
diagram
type restriction of xs:string
facets
minLength 1
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="1"/>
      <xs:maxLength value="20"/>
    </xs:restriction>
  </xs:simpleType>
</xs:element>

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

element customerType/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 customerType/internal
diagram
type internalCustomerType
children name address delivery-typ courier-id additional-order-id barcode order-entry
source
<xs:element name="internal" type="internalCustomerType" minOccurs="0"/>

complexType rsaPublicKeyType
diagram
children modulus exponent
source
<xs:complexType name="rsaPublicKeyType">
  <xs:sequence>
    <xs:element name="modulus" type="xs:string"/>
    <xs:element name="exponent" type="xs:string"/>
  </xs:sequence>
</xs:complexType>

element rsaPublicKeyType/modulus
diagram
type xs:string
source
<xs:element name="modulus" type="xs:string"/>

element rsaPublicKeyType/exponent
diagram
type xs:string
source
<xs:element name="exponent" type="xs:string"/>

complexType salesOrderExtType
diagram
type restriction of salesOrderType
children customer order-id commission delivery-date notes quantity pair single frame
used by
complexType positionType
source
<xs:complexType name="salesOrderExtType">
  <xs:complexContent>
    <xs:restriction base="salesOrderType">
      <xs:sequence>
        <xs:element name="customer" type="customerType"/>
        <xs:element name="order-id" type="xs:string">
          <xs:annotation>
            <xs:documentation>Eindeutige Identifikation auf Kundenseite (laufende Nummer der Ãœbertrgagung)</xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="commission" type="xs:string" minOccurs="0">
          <xs:annotation>
            <xs:documentation>Einzelauftragsidentifikation </xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="delivery-date" type="xs:date" 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="quantity">
          <xs:simpleType>
            <xs:restriction base="xs:int">
              <xs:minInclusive value="1"/>
            </xs:restriction>
          </xs:simpleType>
        </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" type="generalSideType"/>
                      <xs:element name="left" type="generalSideType"/>
                    </xs:choice>
                  </xs:complexType>
                </xs:element>
                <xs:element name="right" type="lensType"/>
                <xs:element name="left" type="lensType"/>
              </xs:sequence>
            </xs:complexType>
          </xs:element>
          <xs:element name="single">
            <xs:complexType>
              <xs:choice>
                <xs:element name="right" type="lensType"/>
                <xs:element name="left" type="lensType"/>
              </xs:choice>
            </xs:complexType>
          </xs:element>
        </xs:choice>
        <xs:element name="frame" type="frameExtType" minOccurs="0"/>
      </xs:sequence>
    </xs:restriction>
  </xs:complexContent>
</xs:complexType>

element salesOrderExtType/customer
diagram
type customerType
children customer-id order-generator country internal
source
<xs:element name="customer" type="customerType"/>

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

element salesOrderExtType/commission
diagram
type xs:string
annotation
documentation 
Einzelauftragsidentifikation 
source
<xs:element name="commission" type="xs:string" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Einzelauftragsidentifikation </xs:documentation>
  </xs:annotation>
</xs:element>

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

element salesOrderExtType/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 salesOrderExtType/quantity
diagram
type restriction of xs:int
facets
minInclusive 1
source
<xs:element name="quantity">
  <xs:simpleType>
    <xs:restriction base="xs:int">
      <xs:minInclusive value="1"/>
    </xs:restriction>
  </xs:simpleType>
</xs:element>

element salesOrderExtType/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" type="generalSideType"/>
            <xs:element name="left" type="generalSideType"/>
          </xs:choice>
        </xs:complexType>
      </xs:element>
      <xs:element name="right" type="lensType"/>
      <xs:element name="left" type="lensType"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element salesOrderExtType/pair/general
diagram
children right left
source
<xs:element name="general" minOccurs="0">
  <xs:complexType>
    <xs:choice>
      <xs:element name="right" type="generalSideType"/>
      <xs:element name="left" type="generalSideType"/>
    </xs:choice>
  </xs:complexType>
</xs:element>

element salesOrderExtType/pair/general/right
diagram
type generalSideType
children balancing-lens virtual-lens
source
<xs:element name="right" type="generalSideType"/>

element salesOrderExtType/pair/general/left
diagram
type generalSideType
children balancing-lens virtual-lens
source
<xs:element name="left" type="generalSideType"/>

element salesOrderExtType/pair/right
diagram
type lensType
children lens-code lens-id edi-code product-line diameter description refraction decentration modify-thickness-flag optima-flag options
source
<xs:element name="right" type="lensType"/>

element salesOrderExtType/pair/left
diagram
type lensType
children lens-code lens-id edi-code product-line diameter description refraction decentration modify-thickness-flag optima-flag options
source
<xs:element name="left" type="lensType"/>

element salesOrderExtType/single
diagram
children right left
source
<xs:element name="single">
  <xs:complexType>
    <xs:choice>
      <xs:element name="right" type="lensType"/>
      <xs:element name="left" type="lensType"/>
    </xs:choice>
  </xs:complexType>
</xs:element>

element salesOrderExtType/single/right
diagram
type lensType
children lens-code lens-id edi-code product-line diameter description refraction decentration modify-thickness-flag optima-flag options
source
<xs:element name="right" type="lensType"/>

element salesOrderExtType/single/left
diagram
type lensType
children lens-code lens-id edi-code product-line diameter description refraction decentration modify-thickness-flag optima-flag options
source
<xs:element name="left" type="lensType"/>

element salesOrderExtType/frame
diagram
type frameExtType
children material pair single pantoscopic-angle frame-bow-angle remote-edging
source
<xs:element name="frame" type="frameExtType" minOccurs="0"/>

complexType addressType
diagram
children name street po-box zip-code city province region state country phone fax email
used by
elements positionType/consignee/address internalCustomerType/address
source
<xs:complexType name="addressType">
  <xs:sequence>
    <xs:element name="name" type="xs:string"/>
    <xs:element name="street" type="xs:string"/>
    <xs:element name="po-box" type="xs:string" minOccurs="0"/>
    <xs:element name="zip-code" type="xs:string"/>
    <xs:element name="city" type="xs:string"/>
    <xs:choice minOccurs="0">
      <xs:element name="province" type="xs:string"/>
      <xs:element name="region" type="xs:string"/>
      <xs:element name="state" type="xs:string"/>
    </xs:choice>
    <xs:element name="country">
      <xs:complexType>
        <xs:simpleContent>
          <xs:extension base="xs:string">
            <xs:attribute name="iso-code" type="xs:string" use="optional"/>
          </xs:extension>
        </xs:simpleContent>
      </xs:complexType>
    </xs:element>
    <xs:element name="phone" type="xs:string" minOccurs="0"/>
    <xs:element name="fax" type="xs:string" minOccurs="0"/>
    <xs:element name="email" type="xs:string" minOccurs="0"/>
  </xs:sequence>
</xs:complexType>

element addressType/name
diagram
type xs:string
source
<xs:element name="name" type="xs:string"/>

element addressType/street
diagram
type xs:string
source
<xs:element name="street" type="xs:string"/>

element addressType/po-box
diagram
type xs:string
source
<xs:element name="po-box" type="xs:string" minOccurs="0"/>

element addressType/zip-code
diagram
type xs:string
source
<xs:element name="zip-code" type="xs:string"/>

element addressType/city
diagram
type xs:string
source
<xs:element name="city" type="xs:string"/>

element addressType/province
diagram
type xs:string
source
<xs:element name="province" type="xs:string"/>

element addressType/region
diagram
type xs:string
source
<xs:element name="region" type="xs:string"/>

element addressType/state
diagram
type xs:string
source
<xs:element name="state" type="xs:string"/>

element addressType/country
diagram
type extension of xs:string
attributes
Name  Type  Use  Default  Fixed  Annotation
iso-code  xs:string  optional      
source
<xs:element name="country">
  <xs:complexType>
    <xs:simpleContent>
      <xs:extension base="xs:string">
        <xs:attribute name="iso-code" type="xs:string" use="optional"/>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
</xs:element>

element addressType/phone
diagram
type xs:string
source
<xs:element name="phone" type="xs:string" minOccurs="0"/>

element addressType/fax
diagram
type xs:string
source
<xs:element name="fax" type="xs:string" minOccurs="0"/>

element addressType/email
diagram
type xs:string
source
<xs:element name="email" type="xs:string" minOccurs="0"/>

complexType internalCustomerType
diagram
children name address delivery-typ courier-id additional-order-id barcode order-entry
used by
element customerType/internal
source
<xs:complexType name="internalCustomerType">
  <xs:sequence>
    <xs:element name="name" type="xs:string" minOccurs="0"/>
    <xs:element name="address" type="addressType" minOccurs="0"/>
    <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="order-entry" type="orderEntryType" minOccurs="0"/>
  </xs:sequence>
</xs:complexType>

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

element internalCustomerType/address
diagram
type addressType
children name street po-box zip-code city province region state country phone fax email
source
<xs:element name="address" type="addressType" minOccurs="0"/>

element internalCustomerType/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 internalCustomerType/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 internalCustomerType/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 internalCustomerType/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 internalCustomerType/order-entry
diagram
type orderEntryType
children order-typ arrangement complaint model-lens terminal time date duration-of-delivery
source
<xs:element name="order-entry" type="orderEntryType" minOccurs="0"/>

complexType salesOrderType
diagram
children customer order-id commission delivery-date notes quantity general-pre-calc pair single frame
used by
complexType salesOrderExtType
source
<xs:complexType name="salesOrderType">
  <xs:sequence>
    <xs:element name="customer" type="customerType"/>
    <xs:element name="order-id" type="xs:string">
      <xs:annotation>
        <xs:documentation>Eindeutige Identifikation auf Kundenseite (laufende Nummer der Ãœbertrgagung)</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="commission" type="xs:string" minOccurs="0">
      <xs:annotation>
        <xs:documentation>Einzelauftragsidentifikation </xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="delivery-date" type="xs:date" 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="quantity">
      <xs:simpleType>
        <xs:restriction base="xs:int">
          <xs:minInclusive value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:element>
    <xs:element name="general-pre-calc" type="generalPreCalcType" minOccurs="0"/>
    <xs:choice>
      <xs:element name="pair">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="general" minOccurs="0">
              <xs:complexType>
                <xs:choice>
                  <xs:element name="right" type="generalSideType"/>
                  <xs:element name="left" type="generalSideType"/>
                </xs:choice>
              </xs:complexType>
            </xs:element>
            <xs:element name="right" type="salesOrderLensType"/>
            <xs:element name="left" type="salesOrderLensType"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="single">
        <xs:complexType>
          <xs:choice>
            <xs:element name="right" type="salesOrderLensType"/>
            <xs:element name="left" type="salesOrderLensType"/>
          </xs:choice>
        </xs:complexType>
      </xs:element>
    </xs:choice>
    <xs:element name="frame" type="frameType" minOccurs="0"/>
  </xs:sequence>
</xs:complexType>

element salesOrderType/customer
diagram
type customerType
children customer-id order-generator country internal
source
<xs:element name="customer" type="customerType"/>

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

element salesOrderType/commission
diagram
type xs:string
annotation
documentation 
Einzelauftragsidentifikation 
source
<xs:element name="commission" type="xs:string" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Einzelauftragsidentifikation </xs:documentation>
  </xs:annotation>
</xs:element>

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

element salesOrderType/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 salesOrderType/quantity
diagram
type restriction of xs:int
facets
minInclusive 1
source
<xs:element name="quantity">
  <xs:simpleType>
    <xs:restriction base="xs:int">
      <xs:minInclusive value="1"/>
    </xs:restriction>
  </xs:simpleType>
</xs:element>

element salesOrderType/general-pre-calc
diagram
type generalPreCalcType
children generate-process-data control-level order-sign lab-id internal-recept-id
source
<xs:element name="general-pre-calc" type="generalPreCalcType" minOccurs="0"/>

element salesOrderType/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" type="generalSideType"/>
            <xs:element name="left" type="generalSideType"/>
          </xs:choice>
        </xs:complexType>
      </xs:element>
      <xs:element name="right" type="salesOrderLensType"/>
      <xs:element name="left" type="salesOrderLensType"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element salesOrderType/pair/general
diagram
children right left
source
<xs:element name="general" minOccurs="0">
  <xs:complexType>
    <xs:choice>
      <xs:element name="right" type="generalSideType"/>
      <xs:element name="left" type="generalSideType"/>
    </xs:choice>
  </xs:complexType>
</xs:element>

element salesOrderType/pair/general/right
diagram
type generalSideType
children balancing-lens virtual-lens
source
<xs:element name="right" type="generalSideType"/>

element salesOrderType/pair/general/left
diagram
type generalSideType
children balancing-lens virtual-lens
source
<xs:element name="left" type="generalSideType"/>

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

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

element salesOrderType/single
diagram
children right left
source
<xs:element name="single">
  <xs:complexType>
    <xs:choice>
      <xs:element name="right" type="salesOrderLensType"/>
      <xs:element name="left" type="salesOrderLensType"/>
    </xs:choice>
  </xs:complexType>
</xs:element>

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

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

element salesOrderType/frame
diagram
type frameType
children material pair single pantoscopic-angle frame-bow-angle remote-edging
source
<xs:element name="frame" type="frameType" minOccurs="0"/>

complexType frameExtType
diagram
type restriction of frameType
children material pair single pantoscopic-angle frame-bow-angle remote-edging
used by
elements positionType/frame salesOrderExtType/frame
source
<xs:complexType name="frameExtType">
  <xs:complexContent>
    <xs:restriction base="frameType">
      <xs:sequence>
        <xs:element name="material" minOccurs="0">
          <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" type="frameSideExtType"/>
                <xs:element name="left" type="frameSideExtType"/>
              </xs:sequence>
            </xs:complexType>
          </xs:element>
          <xs:element name="single">
            <xs:complexType>
              <xs:choice>
                <xs:element name="right" type="frameSideExtType"/>
                <xs:element name="left" type="frameSideExtType"/>
              </xs:choice>
            </xs:complexType>
          </xs:element>
        </xs:choice>
        <xs:element name="pantoscopic-angle" type="xs:float" minOccurs="0"/>
        <xs:element name="frame-bow-angle" type="xs:float" minOccurs="0"/>
        <xs:element name="remote-edging" type="remoteEdgingType" minOccurs="0"/>
      </xs:sequence>
    </xs:restriction>
  </xs:complexContent>
</xs:complexType>

element frameExtType/material
diagram
type restriction of xs:int
facets
minInclusive 1
maxInclusive 5
source
<xs:element name="material" minOccurs="0">
  <xs:simpleType>
    <xs:restriction base="xs:int">
      <xs:minInclusive value="1"/>
      <xs:maxInclusive value="5"/>
    </xs:restriction>
  </xs:simpleType>
</xs:element>

element frameExtType/pair
diagram
children right left
source
<xs:element name="pair">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="right" type="frameSideExtType"/>
      <xs:element name="left" type="frameSideExtType"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element frameExtType/pair/right
diagram
type frameSideExtType
children frame-data frame-special holes back-vertex-distance
source
<xs:element name="right" type="frameSideExtType"/>

element frameExtType/pair/left
diagram
type frameSideExtType
children frame-data frame-special holes back-vertex-distance
source
<xs:element name="left" type="frameSideExtType"/>

element frameExtType/single
diagram
children right left
source
<xs:element name="single">
  <xs:complexType>
    <xs:choice>
      <xs:element name="right" type="frameSideExtType"/>
      <xs:element name="left" type="frameSideExtType"/>
    </xs:choice>
  </xs:complexType>
</xs:element>

element frameExtType/single/right
diagram
type frameSideExtType
children frame-data frame-special holes back-vertex-distance
source
<xs:element name="right" type="frameSideExtType"/>

element frameExtType/single/left
diagram
type frameSideExtType
children frame-data frame-special holes back-vertex-distance
source
<xs:element name="left" type="frameSideExtType"/>

element frameExtType/pantoscopic-angle
diagram
type xs:float
source
<xs:element name="pantoscopic-angle" type="xs:float" minOccurs="0"/>

element frameExtType/frame-bow-angle
diagram
type xs:float
source
<xs:element name="frame-bow-angle" type="xs:float" minOccurs="0"/>

element frameExtType/remote-edging
diagram
type remoteEdgingType
children bevel
source
<xs:element name="remote-edging" type="remoteEdgingType" minOccurs="0"/>

complexType lensType
diagram
children lens-code lens-id edi-code product-line diameter description refraction decentration modify-thickness-flag optima-flag options
used by
elements positionType/pair/left positionType/single/left salesOrderExtType/pair/left salesOrderExtType/single/left positionType/pair/right positionType/single/right salesOrderExtType/pair/right salesOrderExtType/single/right
complexType preCalcLensType
source
<xs:complexType name="lensType">
  <xs:sequence>
    <xs:choice>
      <xs:element name="lens-code">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="6"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="lens-id">
        <xs:annotation>
          <xs:documentation>Temporaer vorhanden zu Kompatibilitaetszwecken - wird in Kuerze entfernt!</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="6"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="edi-code">
        <xs:annotation>
          <xs:documentation>Eigentlich redundant - eventuell ueber Entfernung nachdenken?!</xs:documentation>
        </xs:annotation>
        <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">
      <xs:simpleType>
        <xs:restriction base="xs:integer">
          <xs:minInclusive value="0"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:element>
    <xs:element name="diameter">
      <xs:annotation>
        <xs:documentation>Bestelldurchmesser</xs:documentation>
      </xs:annotation>
      <xs:complexType>
        <xs:sequence>
          <xs:element name="physical">
            <xs:annotation>
              <xs:documentation>Physikalischer Durchmesser</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:integer">
                <xs:minInclusive value="1"/>
                <xs:maxInclusive value="99"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:element>
          <xs:element name="optical" minOccurs="0">
            <xs:annotation>
              <xs:documentation>Optisch wirksamer Durchmesser - nur vorhanden, falls unterschiedlich vom physikalischen Durchmesser (also bei vordezentrierten Glaesern)</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:integer">
                <xs:minInclusive value="1"/>
                <xs:maxInclusive value="99"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:element>
        </xs:sequence>
      </xs:complexType>
    </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:annotation>
        <xs:documentation>nur noch vorübergehend aus Kompatibilitätsgründen vorhanden und wird demnächst entfernt - bitte optima-flag unter frame-data, bzw. frame-source verwenden!</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="options" type="optionsType" minOccurs="0"/>
  </xs:sequence>
</xs:complexType>

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

element lensType/lens-id
diagram
type restriction of xs:string
facets
minLength 1
maxLength 6
annotation
documentation 
Temporaer vorhanden zu Kompatibilitaetszwecken - wird in Kuerze entfernt!
source
<xs:element name="lens-id">
  <xs:annotation>
    <xs:documentation>Temporaer vorhanden zu Kompatibilitaetszwecken - wird in Kuerze entfernt!</xs:documentation>
  </xs:annotation>
  <xs:simpleType>
    <xs:restriction base="xs:string">
      <xs:minLength value="1"/>
      <xs:maxLength value="6"/>
    </xs:restriction>
  </xs:simpleType>
</xs:element>

element lensType/edi-code
diagram
type restriction of xs:integer
facets
minInclusive -9999
maxInclusive 9999
annotation
documentation 
Eigentlich redundant - eventuell ueber Entfernung nachdenken?!
source
<xs:element name="edi-code">
  <xs:annotation>
    <xs:documentation>Eigentlich redundant - eventuell ueber Entfernung nachdenken?!</xs:documentation>
  </xs:annotation>
  <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 restriction of xs:integer
facets
minInclusive 0
source
<xs:element name="product-line">
  <xs:simpleType>
    <xs:restriction base="xs:integer">
      <xs:minInclusive value="0"/>
    </xs:restriction>
  </xs:simpleType>
</xs:element>

element lensType/diameter
diagram
children physical optical
annotation
documentation 
Bestelldurchmesser
source
<xs:element name="diameter">
  <xs:annotation>
    <xs:documentation>Bestelldurchmesser</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element name="physical">
        <xs:annotation>
          <xs:documentation>Physikalischer Durchmesser</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:integer">
            <xs:minInclusive value="1"/>
            <xs:maxInclusive value="99"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="optical" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Optisch wirksamer Durchmesser - nur vorhanden, falls unterschiedlich vom physikalischen Durchmesser (also bei vordezentrierten Glaesern)</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:integer">
            <xs:minInclusive value="1"/>
            <xs:maxInclusive value="99"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:element>

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

element lensType/diameter/optical
diagram
type restriction of xs:integer
facets
minInclusive 1
maxInclusive 99
annotation
documentation 
Optisch wirksamer Durchmesser - nur vorhanden, falls unterschiedlich vom physikalischen Durchmesser (also bei vordezentrierten Glaesern)
source
<xs:element name="optical" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Optisch wirksamer Durchmesser - nur vorhanden, falls unterschiedlich vom physikalischen Durchmesser (also bei vordezentrierten Glaesern)</xs:documentation>
  </xs:annotation>
  <xs:simpleType>
    <xs:restriction base="xs:integer">
      <xs:minInclusive value="1"/>
      <xs:maxInclusive value="99"/>
    </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
annotation
documentation 
nur noch vorübergehend aus Kompatibilitätsgründen vorhanden und wird demnächst entfernt - bitte optima-flag unter frame-data, bzw. frame-source verwenden!
source
<xs:element name="optima-flag" type="xs:boolean">
  <xs:annotation>
    <xs:documentation>nur noch vorübergehend aus Kompatibilitätsgründen vorhanden und wird demnächst entfernt - bitte optima-flag unter frame-data, bzw. frame-source verwenden!</xs:documentation>
  </xs:annotation>
</xs:element>

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"/>

complexType orderEntryType
diagram
children order-typ arrangement complaint model-lens terminal time date duration-of-delivery
used by
element internalCustomerType/order-entry
source
<xs:complexType name="orderEntryType">
  <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>

element orderEntryType/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 orderEntryType/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 orderEntryType/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 orderEntryType/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 orderEntryType/terminal
diagram
type xs:string
source
<xs:element name="terminal" type="xs:string" minOccurs="0"/>

element orderEntryType/time
diagram
type xs:string
source
<xs:element name="time" type="xs:string" minOccurs="0"/>

element orderEntryType/date
diagram
type xs:string
source
<xs:element name="date" type="xs:string" minOccurs="0"/>

element orderEntryType/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>

complexType frameType
diagram
children material pair single pantoscopic-angle frame-bow-angle remote-edging
used by
element salesOrderType/frame
complexType frameExtType
source
<xs:complexType name="frameType">
  <xs:sequence>
    <xs:element name="material" minOccurs="0">
      <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" type="frameSideType"/>
            <xs:element name="left" type="frameSideType"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="single">
        <xs:complexType>
          <xs:choice>
            <xs:element name="right" type="frameSideType"/>
            <xs:element name="left" type="frameSideType"/>
          </xs:choice>
        </xs:complexType>
      </xs:element>
    </xs:choice>
    <xs:element name="pantoscopic-angle" type="xs:float" minOccurs="0"/>
    <xs:element name="frame-bow-angle" type="xs:float" minOccurs="0"/>
    <xs:element name="remote-edging" type="remoteEdgingType" minOccurs="0"/>
  </xs:sequence>
</xs:complexType>

element frameType/material
diagram
type restriction of xs:int
facets
minInclusive 1
maxInclusive 5
source
<xs:element name="material" minOccurs="0">
  <xs:simpleType>
    <xs:restriction base="xs:int">
      <xs:minInclusive value="1"/>
      <xs:maxInclusive value="5"/>
    </xs:restriction>
  </xs:simpleType>
</xs:element>

element frameType/pair
diagram
children right left
source
<xs:element name="pair">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="right" type="frameSideType"/>
      <xs:element name="left" type="frameSideType"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element frameType/pair/right
diagram
type frameSideType
children frame-data frame-source frame-special holes back-vertex-distance
source
<xs:element name="right" type="frameSideType"/>

element frameType/pair/left
diagram
type frameSideType
children frame-data frame-source frame-special holes back-vertex-distance
source
<xs:element name="left" type="frameSideType"/>

element frameType/single
diagram
children right left
source
<xs:element name="single">
  <xs:complexType>
    <xs:choice>
      <xs:element name="right" type="frameSideType"/>
      <xs:element name="left" type="frameSideType"/>
    </xs:choice>
  </xs:complexType>
</xs:element>

element frameType/single/right
diagram
type frameSideType
children frame-data frame-source frame-special holes back-vertex-distance
source
<xs:element name="right" type="frameSideType"/>

element frameType/single/left
diagram
type frameSideType
children frame-data frame-source frame-special holes back-vertex-distance
source
<xs:element name="left" type="frameSideType"/>

element frameType/pantoscopic-angle
diagram
type xs:float
source
<xs:element name="pantoscopic-angle" type="xs:float" minOccurs="0"/>

element frameType/frame-bow-angle
diagram
type xs:float
source
<xs:element name="frame-bow-angle" type="xs:float" minOccurs="0"/>

element frameType/remote-edging
diagram
type remoteEdgingType
children bevel
source
<xs:element name="remote-edging" type="remoteEdgingType" minOccurs="0"/>

complexType generalPreCalcType
diagram
children generate-process-data control-level order-sign lab-id internal-recept-id
used by
element salesOrderType/general-pre-calc
source
<xs:complexType name="generalPreCalcType">
  <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: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="internal-recept-id" type="xs:string" minOccurs="0">
      <xs:annotation>
        <xs:documentation>interne PC-Rezept- rechnungsnummer</xs:documentation>
      </xs:annotation>
    </xs:element>
  </xs:sequence>
</xs:complexType>

element generalPreCalcType/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 generalPreCalcType/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 generalPreCalcType/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 generalPreCalcType/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 generalPreCalcType/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>

complexType generalSideType
diagram
children balancing-lens virtual-lens
used by
elements positionType/pair/general/left salesOrderExtType/pair/general/left salesOrderType/pair/general/left positionType/pair/general/right salesOrderExtType/pair/general/right salesOrderType/pair/general/right
source
<xs:complexType name="generalSideType">
  <xs:choice>
    <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>

element generalSideType/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 generalSideType/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>

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

element salesOrderLensType/pre-process
diagram
type salesOrderLensPreProcessType
children position-number lens-sign blocker blocker-support correction-rx-surface semi-finished-produce-flag disabled-blanks radius disable-thickness-reduction-prism edging
source
<xs:element name="pre-process" type="salesOrderLensPreProcessType"/>

complexType remoteEdgingType
diagram
children bevel
used by
elements frameExtType/remote-edging frameType/remote-edging
source
<xs:complexType name="remoteEdgingType">
  <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>

element remoteEdgingType/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 remoteEdgingType/bevel/type
diagram
source
<xs:element name="type"/>

element remoteEdgingType/bevel/position
diagram
source
<xs:element name="position" minOccurs="2" maxOccurs="2"/>

element remoteEdgingType/bevel/size-correction
diagram
source
<xs:element name="size-correction" minOccurs="0"/>

complexType frameSideExtType
diagram
type restriction of frameSideType
children frame-data frame-special holes back-vertex-distance
used by
elements frameExtType/pair/left frameExtType/single/left frameExtType/pair/right frameExtType/single/right
source
<xs:complexType name="frameSideExtType">
  <xs:complexContent>
    <xs:restriction base="frameSideType">
      <xs:sequence>
        <xs:choice minOccurs="0">
          <xs:element name="frame-data" type="frameDataType">
            <xs:annotation>
              <xs:documentation>'Normale' externe Bestellung</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="frame-special" type="frameSpecialType">
            <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:restriction>
  </xs:complexContent>
</xs:complexType>

element frameSideExtType/frame-data
diagram
type frameDataType
children id-number manufacturer box-length box-height shape model centration optima-flag
annotation
documentation 
'Normale' externe Bestellung
source
<xs:element name="frame-data" type="frameDataType">
  <xs:annotation>
    <xs:documentation>'Normale' externe Bestellung</xs:documentation>
  </xs:annotation>
</xs:element>

element frameSideExtType/frame-special
diagram
type frameSpecialType
children box-length box-height centration
annotation
documentation 
Bestelldaten bei Indi ohne Optima
source
<xs:element name="frame-special" type="frameSpecialType">
  <xs:annotation>
    <xs:documentation>Bestelldaten bei Indi ohne Optima</xs:documentation>
  </xs:annotation>
</xs:element>

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

element frameSideExtType/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>

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 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 preCalcType
diagram
children edge-thickness-demo focal-type material-category refractive-index refractive-index-type surface-type phototrophic diameter-type density
used by
element preCalcLensType/pre-calc
source
<xs:complexType name="preCalcType">
  <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 preCalcType/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 preCalcType/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 preCalcType/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 preCalcType/refractive-index
diagram
type xs:decimal
source
<xs:element name="refractive-index" type="xs:decimal" minOccurs="0"/>

element preCalcType/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 preCalcType/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 preCalcType/phototrophic
diagram
type xs:boolean
source
<xs:element name="phototrophic" type="xs:boolean" minOccurs="0"/>

element preCalcType/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 preCalcType/density
diagram
type xs:float
source
<xs:element name="density" type="xs:float" minOccurs="0"/>

complexType frameSideType
diagram
children frame-data frame-source frame-special holes back-vertex-distance
used by
elements frameType/pair/left frameType/single/left frameType/pair/right frameType/single/right
complexType frameSideExtType
source
<xs:complexType name="frameSideType">
  <xs:sequence>
    <xs:choice minOccurs="0">
      <xs:element name="frame-data" type="frameDataType">
        <xs:annotation>
          <xs:documentation>'Normale' externe Bestellung</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="frame-source" type="frameSourceType">
        <xs:annotation>
          <xs:documentation>Daten aus z.B. Scannerdatei lesen</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="frame-special" type="frameSpecialType">
        <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>

element frameSideType/frame-data
diagram
type frameDataType
children id-number manufacturer box-length box-height shape model centration optima-flag
annotation
documentation 
'Normale' externe Bestellung
source
<xs:element name="frame-data" type="frameDataType">
  <xs:annotation>
    <xs:documentation>'Normale' externe Bestellung</xs:documentation>
  </xs:annotation>
</xs:element>

element frameSideType/frame-source
diagram
type frameSourceType
children id-number source box-length box-height centration optima-flag
annotation
documentation 
Daten aus z.B. Scannerdatei lesen
source
<xs:element name="frame-source" type="frameSourceType">
  <xs:annotation>
    <xs:documentation>Daten aus z.B. Scannerdatei lesen</xs:documentation>
  </xs:annotation>
</xs:element>

element frameSideType/frame-special
diagram
type frameSpecialType
children box-length box-height centration
annotation
documentation 
Bestelldaten bei Indi ohne Optima
source
<xs:element name="frame-special" type="frameSpecialType">
  <xs:annotation>
    <xs:documentation>Bestelldaten bei Indi ohne Optima</xs:documentation>
  </xs:annotation>
</xs:element>

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

element frameSideType/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>

complexType preCalcLensType
diagram
type extension of lensType
children lens-code lens-id edi-code product-line diameter description refraction decentration modify-thickness-flag optima-flag options pre-calc
used by
complexType salesOrderLensType
source
<xs:complexType name="preCalcLensType">
  <xs:complexContent>
    <xs:extension base="lensType">
      <xs:sequence>
        <xs:element name="pre-calc" type="preCalcType"/>
      </xs:sequence>
    </xs:extension>
  </xs:complexContent>
</xs:complexType>

element preCalcLensType/pre-calc
diagram
type preCalcType
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="preCalcType"/>

complexType salesOrderLensPreProcessType
diagram
children position-number lens-sign blocker blocker-support correction-rx-surface semi-finished-produce-flag disabled-blanks radius disable-thickness-reduction-prism edging
used by
element salesOrderLensType/pre-process
source
<xs:complexType name="salesOrderLensPreProcessType">
  <xs:sequence>
    <xs:element name="position-number" type="xs:string" minOccurs="0">
      <xs:annotation>
        <xs:documentation>SAP Positionsnummer</xs:documentation>
      </xs:annotation>
    </xs:element>
    <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="disabled-blanks" minOccurs="0">
      <xs:annotation>
        <xs:documentation>Augenblicklich nicht vorhandene Vorfabrikate</xs:documentation>
      </xs:annotation>
      <xs:complexType>
        <xs:sequence>
          <xs:element name="code" maxOccurs="unbounded">
            <xs:annotation>
              <xs:documentation>OPC oder aehnlicher Code</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:string">
                <xs:length value="40"/>
              </xs:restriction>
            </xs:simpleType>
          </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:element name="disable-thickness-reduction-prism" type="xs:boolean" minOccurs="0">
      <xs:annotation>
        <xs:documentation>false = Standard, also mit DR-Prisma
true = Rechnung ohne DR-Prisma</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="edging" minOccurs="0">
      <xs:annotation>
        <xs:documentation>Nicht mehr verwenden - wird in Kürze entfernt!
Bitte neues Attribut edging im Element optima-flag unter frame-data, bzw. frame-source verwenden!
Art der Optima-Fertigung
- freeform  (Standard)
- thickness</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="freeform"/>
          <xs:enumeration value="thickness"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:element>
  </xs:sequence>
</xs:complexType>

element salesOrderLensPreProcessType/position-number
diagram
type xs:string
annotation
documentation 
SAP Positionsnummer
source
<xs:element name="position-number" type="xs:string" minOccurs="0">
  <xs:annotation>
    <xs:documentation>SAP Positionsnummer</xs:documentation>
  </xs:annotation>
</xs:element>

element salesOrderLensPreProcessType/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 salesOrderLensPreProcessType/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 salesOrderLensPreProcessType/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 salesOrderLensPreProcessType/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 salesOrderLensPreProcessType/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 salesOrderLensPreProcessType/disabled-blanks
diagram
children code
annotation
documentation 
Augenblicklich nicht vorhandene Vorfabrikate
source
<xs:element name="disabled-blanks" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Augenblicklich nicht vorhandene Vorfabrikate</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element name="code" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>OPC oder aehnlicher Code</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:length value="40"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element salesOrderLensPreProcessType/disabled-blanks/code
diagram
type restriction of xs:string
facets
length 40
annotation
documentation 
OPC oder aehnlicher Code
source
<xs:element name="code" maxOccurs="unbounded">
  <xs:annotation>
    <xs:documentation>OPC oder aehnlicher Code</xs:documentation>
  </xs:annotation>
  <xs:simpleType>
    <xs:restriction base="xs:string">
      <xs:length value="40"/>
    </xs:restriction>
  </xs:simpleType>
</xs:element>

element salesOrderLensPreProcessType/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 salesOrderLensPreProcessType/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 salesOrderLensPreProcessType/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 salesOrderLensPreProcessType/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 salesOrderLensPreProcessType/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 salesOrderLensPreProcessType/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>

element salesOrderLensPreProcessType/disable-thickness-reduction-prism
diagram
type xs:boolean
annotation
documentation 
false = Standard, also mit DR-Prisma
true = Rechnung ohne DR-Prisma
source
<xs:element name="disable-thickness-reduction-prism" type="xs:boolean" minOccurs="0">
  <xs:annotation>
    <xs:documentation>false = Standard, also mit DR-Prisma
true = Rechnung ohne DR-Prisma</xs:documentation>
  </xs:annotation>
</xs:element>

element salesOrderLensPreProcessType/edging
diagram
type restriction of xs:string
facets
enumeration freeform
enumeration thickness
annotation
documentation 
Nicht mehr verwenden - wird in Kürze entfernt!
Bitte neues Attribut edging im Element optima-flag unter frame-data, bzw. frame-source verwenden!
Art der Optima-Fertigung
- freeform  (Standard)
- thickness
source
<xs:element name="edging" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Nicht mehr verwenden - wird in Kürze entfernt!
Bitte neues Attribut edging im Element optima-flag unter frame-data, bzw. frame-source verwenden!
Art der Optima-Fertigung
- freeform  (Standard)
- thickness</xs:documentation>
  </xs:annotation>
  <xs:simpleType>
    <xs:restriction base="xs:string">
      <xs:enumeration value="freeform"/>
      <xs:enumeration value="thickness"/>
    </xs:restriction>
  </xs:simpleType>
</xs:element>

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 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 frameDataType
diagram
children id-number manufacturer box-length box-height shape model centration optima-flag
used by
elements frameSideExtType/frame-data frameSideType/frame-data
source
<xs:complexType name="frameDataType">
  <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:element name="optima-flag" minOccurs="0">
      <xs:annotation>
        <xs:documentation>neues optima-flag - nur vorübergehend optional, bis optima-flag aus lens entfernt ist, danach zwingend!</xs:documentation>
      </xs:annotation>
      <xs:complexType>
        <xs:simpleContent>
          <xs:extension base="xs:boolean">
            <xs:attribute name="edging" use="optional" default="freeform">
              <xs:simpleType>
                <xs:restriction base="xs:string">
                  <xs:enumeration value="freeform"/>
                  <xs:enumeration value="thickness"/>
                </xs:restriction>
              </xs:simpleType>
            </xs:attribute>
          </xs:extension>
        </xs:simpleContent>
      </xs:complexType>
    </xs:element>
  </xs:sequence>
</xs:complexType>

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

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

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

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

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

element frameDataType/model
diagram
type xs:int
source
<xs:element name="model" type="xs:int"/>

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

element frameDataType/optima-flag
diagram
type extension of xs:boolean
attributes
Name  Type  Use  Default  Fixed  Annotation
edging  xs:string  optional  freeform    
annotation
documentation 
neues optima-flag - nur vorübergehend optional, bis optima-flag aus lens entfernt ist, danach zwingend!
source
<xs:element name="optima-flag" minOccurs="0">
  <xs:annotation>
    <xs:documentation>neues optima-flag - nur vorübergehend optional, bis optima-flag aus lens entfernt ist, danach zwingend!</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:simpleContent>
      <xs:extension base="xs:boolean">
        <xs:attribute name="edging" use="optional" default="freeform">
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:enumeration value="freeform"/>
              <xs:enumeration value="thickness"/>
            </xs:restriction>
          </xs:simpleType>
        </xs:attribute>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
</xs:element>

complexType frameSourceType
diagram
children id-number source box-length box-height centration optima-flag
used by
element frameSideType/frame-source
source
<xs:complexType name="frameSourceType">
  <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:element name="optima-flag" minOccurs="0">
      <xs:annotation>
        <xs:documentation>neues optima-flag - nur vorübergehend optional, bis optima-flag aus lens entfernt ist, danach zwingend!</xs:documentation>
      </xs:annotation>
      <xs:complexType>
        <xs:simpleContent>
          <xs:extension base="xs:boolean">
            <xs:attribute name="edging" use="optional" default="freeform">
              <xs:simpleType>
                <xs:restriction base="xs:string">
                  <xs:enumeration value="freeform"/>
                  <xs:enumeration value="thickness"/>
                </xs:restriction>
              </xs:simpleType>
            </xs:attribute>
          </xs:extension>
        </xs:simpleContent>
      </xs:complexType>
    </xs:element>
  </xs:sequence>
</xs:complexType>

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

element frameSourceType/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 frameSourceType/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 frameSourceType/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 frameSourceType/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 frameSourceType/box-length
diagram
type xs:float
source
<xs:element name="box-length" type="xs:float" minOccurs="0"/>

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

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

element frameSourceType/optima-flag
diagram
type extension of xs:boolean
attributes
Name  Type  Use  Default  Fixed  Annotation
edging  xs:string  optional  freeform    
annotation
documentation 
neues optima-flag - nur vorübergehend optional, bis optima-flag aus lens entfernt ist, danach zwingend!
source
<xs:element name="optima-flag" minOccurs="0">
  <xs:annotation>
    <xs:documentation>neues optima-flag - nur vorübergehend optional, bis optima-flag aus lens entfernt ist, danach zwingend!</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:simpleContent>
      <xs:extension base="xs:boolean">
        <xs:attribute name="edging" use="optional" default="freeform">
          <xs:simpleType>
            <xs:restriction base="xs:string">
              <xs:enumeration value="freeform"/>
              <xs:enumeration value="thickness"/>
            </xs:restriction>
          </xs:simpleType>
        </xs:attribute>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
</xs:element>

complexType frameSpecialType
diagram
children box-length box-height centration
used by
elements frameSideExtType/frame-special frameSideType/frame-special
source
<xs:complexType name="frameSpecialType">
  <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 frameSpecialType/box-length
diagram
source
<xs:element name="box-length" minOccurs="0"/>

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

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

complexType holesType
diagram
children reference-point minimal-thickness cartesian polar
used by
elements frameSideExtType/holes frameSideType/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 centrationType
diagram
children case-a case-b case-c y h
used by
elements frameDataType/centration frameSourceType/centration frameSpecialType/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 shapeType
diagram
children source-type reference-point start-point point
used by
element frameDataType/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:element name="reference-delta-radius2start-point" type="xs:boolean" minOccurs="0">
            <xs:annotation>
              <xs:documentation>false=Bezug deta-Radius immer zum Vorgaengerwert =Default
true =delta-radius immer zum start-point addieren</xs:documentation>
            </xs:annotation>
          </xs:element>
        </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 reference-delta-radius2start-point
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:element name="reference-delta-radius2start-point" type="xs:boolean" minOccurs="0">
        <xs:annotation>
          <xs:documentation>false=Bezug deta-Radius immer zum Vorgaengerwert =Default
true =delta-radius immer zum start-point addieren</xs:documentation>
        </xs:annotation>
      </xs:element>
    </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/start-point/reference-delta-radius2start-point
diagram
type xs:boolean
annotation
documentation 
false=Bezug deta-Radius immer zum Vorgaengerwert =Default
true =delta-radius immer zum start-point addieren
source
<xs:element name="reference-delta-radius2start-point" type="xs:boolean" minOccurs="0">
  <xs:annotation>
    <xs:documentation>false=Bezug deta-Radius immer zum Vorgaengerwert =Default
true =delta-radius immer zum start-point addieren</xs:documentation>
  </xs:annotation>
</xs:element>

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