User Tools

Site Tools


en:lensinfo:version010000:structure

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
en:lensinfo:version010000:structure [2014/01/03 15:15] sebastianraringen:lensinfo:version010000:structure [2014/01/03 15:24] (current) sebastianraring
Line 1: Line 1:
 +====== XML-Structure ======
 +
 +
 +===== Root-Element: b2bOpticInfo =====
 +
 +In the root-element the location of the XSD at schema.b2boptic.com is mandatory, so the receiver could identify the version of XML.
 +<code xml>
 +<b2bOpticInfo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://schema.b2boptic.com/b2boptic_lensinfo_1.0.0.xsd">
 +</code>
 +
 +^ items ^^
 +^ type | sequence of item |
 +^ occurs | 1 |
 +^ description | main tag that include a list of status info items |
 +
 +^ [[en:lensinfo:version010000:complextypes:b2binfoitem|item]] (element of items) ^^
 +^ type | [[en:lensinfo:version010000:complextypes:b2binfoitem|B2BInfoItem]] |
 +^ occurs | 1..n |
 +^ description | a status info for one order |
 +
 +^ experimental ^^
 +^ type | anyType |
 +^ occurs | 0..n |
 +^ description | section for internal tests at development |
 +
 +<code xml>
 +  <xs:element name="b2bOpticInfo">
 +    <xs:complexType>
 +      <xs:sequence>
 +        <xs:element name="items">
 +          <xs:complexType>
 +            <xs:sequence>
 +              <xs:element maxOccurs="unbounded" name="item" type="B2BInfoItem" />
 +            </xs:sequence>
 +          </xs:complexType>
 +        </xs:element>
 +        <xs:element minOccurs="0" maxOccurs="unbounded" name="experimental" type="xs:anyType" />
 +      </xs:sequence>
 +    </xs:complexType>
 +  </xs:element>
 +</code>