User Tools

Site Tools

Translations of this page:

Action unknown: exportreexport1
en:lensorder:version010601:structure

XML-Structure

Root-Element: b2boptic

B2BOptic

In the root-element the location of the XSD at schema.b2boptic.com should be set, so the receiver could identify the version of XML. In next version it will be mandatory.

<b2bOptic xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://schema.b2boptic.com/b2boptic_v1.6.0.xsd">
header
type Header
occurs 1
description head section with information about all orders in this xml
items
type sequence of item
occurs 1
description main tag that include a list of order items
item (element of items)
type Item
occurs 1..n
description one order
experimental
type anyType
occurs 0..n
description section for internal tests at development
  <xs:element name="b2bOptic">
    <xs:complexType>
      <xs:sequence>
	<xs:element name="header" type="Header"/>
	<xs:element name="items">
	  <xs:complexType>
	    <xs:sequence>
              <xs:element name="item" type="Item" maxOccurs="unbounded"/>
	    </xs:sequence>
	  </xs:complexType>
        </xs:element>
        <xs:element name="experimental" type="xs:anyType" minOccurs="0" maxOccurs="unbounded"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
en/lensorder/version010601/structure.txt · Last modified: 2014/06/17 22:33 by gerdbernau