User Tools

Site Tools

Translations of this page:

en:lensinfo:version010000:structure

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.

<b2bOpticInfo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://schema.b2boptic.com/b2boptic_lensinfo_1.0.0.xsd">
items
type sequence of item
occurs 1
description main tag that include a list of status info items
item (element of items)
type B2BInfoItem
occurs 1..n
description a status info for one order
experimental
type anyType
occurs 0..n
description section for internal tests at development
  <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>
en/lensinfo/version010000/structure.txt · Last modified: 2014/01/03 15:24 by sebastianraring