User Tools

Site Tools


en:lensorder:version010600:complextypes:lens

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en:lensorder:version010600:complextypes:lens [2013/05/23 15:44] – created sebastianraringen:lensorder:version010600:complextypes:lens [2014/06/12 16:14] (current) sebastianraring
Line 1: Line 1:
 +====== lens (Lens) ======
  
 +[[en:lensorder:version010600:structure|b2boptic]] -> [[en:lensorder:version010600:structure|items]] -> [[en:lensorder:version010600:complextypes:item|item]] -> [[en:lensorder:version010600:complextypes:pair|pair]] -> lens
 +
 +{{:en:lensorder:version010600:complextypes:xsd_lens.png?nolink|Lens}}
 +
 +^ //[[en:lensorder:version010600:simpletypes:sides:lens|side]]// ^^
 +^ type | [[en:lensorder:version010600:simpletypes:sides|Sides]] |
 +^ use | required |
 +^ description | the side of eye the lens are for |
 +
 +^ //balancingLens// ^^
 +^ type | boolean |
 +^ use | optional |
 +^ default | false |
 +^ description | only allowed at one side; the supplier should select a single vision lens for this side that fits to the multi vision lens of the other side |
 +
 +^ //virtualLens// ^^
 +^ type | boolean |
 +^ use | optional |
 +^ default | false |
 +^ description | only allowed at one side; if a single lens is ordered and the data of the other side is necessary for calculation; if virtualLens is set to true, the attribute quantity of lens is set to 0 (?) |
 +
 +^ commercialCode ^^
 +^ type | string |
 +^ occurs | 1 |
 +^ description | productcode of the lens like in product catalog (e.g. B2BOptic LensCatalog) |
 +
 +^ ignoreFlags ^^
 +^ type | string |
 +^ occurs | 0..n |
 +^ description | special codes to the receiver that an error should not be raised (e.g. diameter to small); these flags should be explicitly set by the customer |
 +
 +^ [[en:lensorder:version010600:complextypes:rxdatatype|rxData]] ^^
 +^ type | [[en:lensorder:version010600:complextypes:rxdatatype|RXDataType]] |
 +^ occurs | 1 or if rxDataFn is present then 0 |
 +^ description | there are refraction values only for far |
 +
 +^ [[en:lensorder:version010600:complextypes:rxdatatypefarnear|rxDataFn]] ^^
 +^ type | [[en:lensorder:version010600:complextypes:rxdatatypefarnear|RXDataTypeFarNear]] |
 +^ occurs | 1..2 or if rxData is present then 0 |
 +^ description | there are refraction values only for near or values for both far and near at the same time without a addition |
 +
 +^ [[en:lensorder:version010600:complextypes:coating:lens|coating]] ^^
 +^ type | [[en:lensorder:version010600:complextypes:coating|Coating]] |
 +^ occurs | 0..n |
 +^ description | the coatings and options for the lens |
 +
 +^ [[en:lensorder:version010600:complextypes:centration|centration]] ^^
 +^ type | [[en:lensorder:version010600:complextypes:centration|Centration]] |
 +^ occurs | 0..1 |
 +^ description | centration data |
 +
 +^ [[en:lensorder:version010600:complextypes:geometrytype|geometry]] ^^
 +^ type | [[en:lensorder:version010600:complextypes:geometrytype|GeometryType]] |
 +^ occurs | 1 |
 +^ description |  |
 +
 +^ options ^^
 +^ occurs | 0..1 |
 +
 +^ occlusion (element of options) ^^
 +^ type | boolean |
 +^ occurs | 0..1, only allowed if frosted not present |
 +^ description |  |
 +
 +^ frosted (element of options) ^^
 +^ type | boolean |
 +^ occurs | 0..1, only allowed if occlusion not present |
 +^ description |  |
 +
 +^ slabOff (element of options) ^^
 +^ type | boolean |
 +^ default | false |
 +^ occurs | 0..1 |
 +^ description |  |
 +
 +^ frameFit ^^
 +^ type | float |
 +^ unity | ? |
 +^ occurs | 0..1 |
 +^ description | size correction for the length of progression zone |
 +
 +^ engraving ^^
 +^ type | string |
 +^ occurs | 0..1 |
 +^ description | individual gravure text |
 +
 +^ [[en:lensorder:version010600:complextypes:branding|branding]] ^^
 +^ type | [[en:lensorder:version010600:complextypes:branding|Branding]] |
 +^ occurs | 0..1 |
 +^ description | the trademark of the supplier is engraved to the lens |
 +
 +^ experimental ^^
 +^ type | anyType |
 +^ occurs | 0..n |
 +^ description | deprecated; only for internal tests within a company system |
 +
 +<code xml>
 +<xs:complexType name="Lens">
 +  <xs:sequence>
 +    <xs:element name="commercialCode" type="xs:string" />
 +    <xs:element minOccurs="0" maxOccurs="unbounded" name="ignoreFlags" type="xs:string" />
 +    <xs:choice>
 +      <xs:element name="rxData" type="RXDataType" />
 +      <xs:element maxOccurs="2" name="rxDataFn" type="RXDataTypeFarNear" />
 +    </xs:choice>
 +    <xs:element minOccurs="0" maxOccurs="unbounded" name="coating" type="Coating" />
 +    <xs:element minOccurs="0" name="centration" type="Centration" />
 +    <xs:element name="geometry" type="GeometryType" />
 +    <xs:element minOccurs="0" name="options">
 +      <xs:complexType>
 +        <xs:sequence>
 +          <xs:choice minOccurs="0">
 +            <xs:element name="occlusion" type="xs:boolean" />
 +            <xs:element name="frosted" type="xs:boolean" />
 +          </xs:choice>
 +          <xs:element minOccurs="0" default="false" name="slabOff" type="xs:boolean" />
 +        </xs:sequence>
 +      </xs:complexType>
 +    </xs:element>
 +    <xs:element minOccurs="0" name="frameFit" type="xs:float" />
 +    <xs:element minOccurs="0" name="engraving" type="xs:string" />
 +    <xs:element minOccurs="0" name="branding" type="Branding" />
 +    <xs:element minOccurs="0" maxOccurs="unbounded" name="experimental" type="xs:anyType" />
 +  </xs:sequence>
 +  <xs:attribute name="side" type="Sides" use="required" />
 +  <xs:attribute default="false" name="balancingLens" type="xs:boolean" use="optional" />
 +  <xs:attribute default="false" name="virtualLens" type="xs:boolean" use="optional" />
 +</xs:complexType>
 +</code>