Reference for https://webservices.seabourne-group.com/cogiwebservice/CogiWebService.svc/XMLService/CreateShipment

Url: https://webservices.seabourne-group.com/cogiwebservice/CogiWebService.svc/XMLService/CreateShipment

HTTP Method: POST

Message direction Format Body
Request Xml Example,Schema
Request Json Example
Response Xml Example,Schema
Response Json Example

The following is an example request Xml body:

<Shipment xmlns="http://schemas.datacontract.org/2004/07/CogiWebService">
  <Authorisation>
    <Password>String content</Password>
    <Username>String content</Username>
  </Authorisation>
  <AccountCode>String content</AccountCode>
  <ShipmentType>String content</ShipmentType>
  <AirwayBill>String content</AirwayBill>
  <ShipmentDate>String content</ShipmentDate>
  <Service>String content</Service>
  <NoOfPieces>2147483647</NoOfPieces>
  <Weight>12678967.543233</Weight>
  <VolumetricWeight>12678967.543233</VolumetricWeight>
  <TransportMode>String content</TransportMode>
  <ConsignorAddress>
    <Address1>String content</Address1>
    <Address2>String content</Address2>
    <Address3>String content</Address3>
    <AttentionTo>String content</AttentionTo>
    <City>String content</City>
    <CompanyName>String content</CompanyName>
    <Country>String content</Country>
    <Department>String content</Department>
    <EORINumber>String content</EORINumber>
    <IsCompany>true</IsCompany>
    <Postcode>String content</Postcode>
    <State>String content</State>
    <StateCode>String content</StateCode>
    <VATNumber>String content</VATNumber>
  </ConsignorAddress>
  <ConsigneeAddress>
    <Address1>String content</Address1>
    <Address2>String content</Address2>
    <Address3>String content</Address3>
    <AttentionTo>String content</AttentionTo>
    <City>String content</City>
    <CompanyName>String content</CompanyName>
    <Country>String content</Country>
    <Department>String content</Department>
    <EORINumber>String content</EORINumber>
    <IsCompany>true</IsCompany>
    <Postcode>String content</Postcode>
    <State>String content</State>
    <StateCode>String content</StateCode>
    <VATNumber>String content</VATNumber>
  </ConsigneeAddress>
  <ConsignorRef>String content</ConsignorRef>
  <ConsigneeRef>String content</ConsigneeRef>
  <ConsignorTel>String content</ConsignorTel>
  <ConsignorEmail>String content</ConsignorEmail>
  <ConsigneeTel>String content</ConsigneeTel>
  <ConsigneeEmail>String content</ConsigneeEmail>
  <PickupInstructions>String content</PickupInstructions>
  <DeliveryInstructions>String content</DeliveryInstructions>
  <PickupReadyFrom>String content</PickupReadyFrom>
  <PickupReadyUntil>String content</PickupReadyUntil>
  <DeliveryReadyFrom>String content</DeliveryReadyFrom>
  <DeliveryReadyUntil>String content</DeliveryReadyUntil>
  <IncoTerm>String content</IncoTerm>
  <AdditionalCover>
    <AdditionalCoverIncluded>true</AdditionalCoverIncluded>
    <CoverAmount>12678967.543233</CoverAmount>
    <Description>String content</Description>
  </AdditionalCover>
  <Pieces>
    <Piece>
      <PieceNumber>2147483647</PieceNumber>
      <Weight>12678967.543233</Weight>
      <Width>2147483647</Width>
      <Height>2147483647</Height>
      <Length>2147483647</Length>
      <AirwayBill>String content</AirwayBill>
      <Proformas>
        <Proforma>
          <AdditionalCost>12678967.543233</AdditionalCost>
          <CountryOfOrigin>String content</CountryOfOrigin>
          <Currency>String content</Currency>
          <Description>String content</Description>
          <ExpiryDate>String content</ExpiryDate>
          <FreightCost>12678967.543233</FreightCost>
          <GrossWeight>12678967.543233</GrossWeight>
          <HSCode>String content</HSCode>
          <ItemValue>12678967.543233</ItemValue>
          <NetWeight>12678967.543233</NetWeight>
          <Qty>12678967.543233</Qty>
          <QuantityUnitOfMeasureId>2147483647</QuantityUnitOfMeasureId>
        </Proforma>
        <Proforma>
          <AdditionalCost>12678967.543233</AdditionalCost>
          <CountryOfOrigin>String content</CountryOfOrigin>
          <Currency>String content</Currency>
          <Description>String content</Description>
          <ExpiryDate>String content</ExpiryDate>
          <FreightCost>12678967.543233</FreightCost>
          <GrossWeight>12678967.543233</GrossWeight>
          <HSCode>String content</HSCode>
          <ItemValue>12678967.543233</ItemValue>
          <NetWeight>12678967.543233</NetWeight>
          <Qty>12678967.543233</Qty>
          <QuantityUnitOfMeasureId>2147483647</QuantityUnitOfMeasureId>
        </Proforma>
      </Proformas>
      <NonStackable>true</NonStackable>
      <PackageType>String content</PackageType>
    </Piece>
    <Piece>
      <PieceNumber>2147483647</PieceNumber>
      <Weight>12678967.543233</Weight>
      <Width>2147483647</Width>
      <Height>2147483647</Height>
      <Length>2147483647</Length>
      <AirwayBill>String content</AirwayBill>
      <Proformas>
        <Proforma>
          <AdditionalCost>12678967.543233</AdditionalCost>
          <CountryOfOrigin>String content</CountryOfOrigin>
          <Currency>String content</Currency>
          <Description>String content</Description>
          <ExpiryDate>String content</ExpiryDate>
          <FreightCost>12678967.543233</FreightCost>
          <GrossWeight>12678967.543233</GrossWeight>
          <HSCode>String content</HSCode>
          <ItemValue>12678967.543233</ItemValue>
          <NetWeight>12678967.543233</NetWeight>
          <Qty>12678967.543233</Qty>
          <QuantityUnitOfMeasureId>2147483647</QuantityUnitOfMeasureId>
        </Proforma>
        <Proforma>
          <AdditionalCost>12678967.543233</AdditionalCost>
          <CountryOfOrigin>String content</CountryOfOrigin>
          <Currency>String content</Currency>
          <Description>String content</Description>
          <ExpiryDate>String content</ExpiryDate>
          <FreightCost>12678967.543233</FreightCost>
          <GrossWeight>12678967.543233</GrossWeight>
          <HSCode>String content</HSCode>
          <ItemValue>12678967.543233</ItemValue>
          <NetWeight>12678967.543233</NetWeight>
          <Qty>12678967.543233</Qty>
          <QuantityUnitOfMeasureId>2147483647</QuantityUnitOfMeasureId>
        </Proforma>
      </Proformas>
      <NonStackable>true</NonStackable>
      <PackageType>String content</PackageType>
    </Piece>
  </Pieces>
  <ProcessID>String content</ProcessID>
  <BookedBy>String content</BookedBy>
  <ParcelShopCountry>String content</ParcelShopCountry>
  <ParcelShopID>String content</ParcelShopID>
  <ParcelShopAgent>String content</ParcelShopAgent>
  <TailLift>true</TailLift>
  <NeutralDelivery>true</NeutralDelivery>
  <CustomerVAT>String content</CustomerVAT>
  <SampleShipment>true</SampleShipment>
  <ETA>String content</ETA>
  <UKEORINumber>String content</UKEORINumber>
</Shipment>

The following is an example request Json body:

{
	"Authorisation":{
		"Password":"String content",
		"Username":"String content"
	},
	"AccountCode":"String content",
	"ShipmentType":"String content",
	"AirwayBill":"String content",
	"ShipmentDate":"String content",
	"Service":"String content",
	"NoOfPieces":2147483647,
	"Weight":12678967.543233,
	"VolumetricWeight":12678967.543233,
	"TransportMode":"String content",
	"ConsignorAddress":{
		"Address1":"String content",
		"Address2":"String content",
		"Address3":"String content",
		"AttentionTo":"String content",
		"City":"String content",
		"CompanyName":"String content",
		"Country":"String content",
		"Department":"String content",
		"EORINumber":"String content",
		"IsCompany":true,
		"Postcode":"String content",
		"State":"String content",
		"StateCode":"String content",
		"VATNumber":"String content"
	},
	"ConsigneeAddress":{
		"Address1":"String content",
		"Address2":"String content",
		"Address3":"String content",
		"AttentionTo":"String content",
		"City":"String content",
		"CompanyName":"String content",
		"Country":"String content",
		"Department":"String content",
		"EORINumber":"String content",
		"IsCompany":true,
		"Postcode":"String content",
		"State":"String content",
		"StateCode":"String content",
		"VATNumber":"String content"
	},
	"ConsignorRef":"String content",
	"ConsigneeRef":"String content",
	"ConsignorTel":"String content",
	"ConsignorEmail":"String content",
	"ConsigneeTel":"String content",
	"ConsigneeEmail":"String content",
	"PickupInstructions":"String content",
	"DeliveryInstructions":"String content",
	"PickupReadyFrom":"String content",
	"PickupReadyUntil":"String content",
	"DeliveryReadyFrom":"String content",
	"DeliveryReadyUntil":"String content",
	"IncoTerm":"String content",
	"AdditionalCover":{
		"AdditionalCoverIncluded":true,
		"CoverAmount":12678967.543233,
		"Description":"String content"
	},
	"Pieces":[{
		"PieceNumber":2147483647,
		"Weight":12678967.543233,
		"Width":2147483647,
		"Height":2147483647,
		"Length":2147483647,
		"AirwayBill":"String content",
		"Proformas":[{
			"AdditionalCost":12678967.543233,
			"CountryOfOrigin":"String content",
			"Currency":"String content",
			"Description":"String content",
			"ExpiryDate":"String content",
			"FreightCost":12678967.543233,
			"GrossWeight":12678967.543233,
			"HSCode":"String content",
			"ItemValue":12678967.543233,
			"NetWeight":12678967.543233,
			"Qty":12678967.543233,
			"QuantityUnitOfMeasureId":2147483647
		}],
		"NonStackable":true,
		"PackageType":"String content"
	}],
	"ProcessID":"String content",
	"BookedBy":"String content",
	"ParcelShopCountry":"String content",
	"ParcelShopID":"String content",
	"ParcelShopAgent":"String content",
	"TailLift":true,
	"NeutralDelivery":true,
	"CustomerVAT":"String content",
	"SampleShipment":true,
	"ETA":"String content",
	"UKEORINumber":"String content"
}

The following is an example response Xml body:

<Response xmlns="http://schemas.datacontract.org/2004/07/CogiWebService">
  <Status>2147483647</Status>
  <Errors>
    <Error>
      <ErrNumber>2147483647</ErrNumber>
      <Description>String content</Description>
    </Error>
    <Error>
      <ErrNumber>2147483647</ErrNumber>
      <Description>String content</Description>
    </Error>
  </Errors>
  <AWB>String content</AWB>
  <Base64PDFLabel>String content</Base64PDFLabel>
</Response>

The following is an example response Json body:

{
	"Status":2147483647,
	"Errors":[{
		"ErrNumber":2147483647,
		"Description":"String content"
	}],
	"AWB":"String content",
	"Base64PDFLabel":"String content"
}

The following is the request Xml Schema:

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/CogiWebService" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/CogiWebService" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType name="Shipment">
    <xs:sequence>
      <xs:element name="Authorisation" nillable="true" type="tns:Authorisation" />
      <xs:element name="AccountCode" nillable="true" type="xs:string" />
      <xs:element name="ShipmentType" nillable="true" type="xs:string" />
      <xs:element name="AirwayBill" nillable="true" type="xs:string" />
      <xs:element name="ShipmentDate" nillable="true" type="xs:string" />
      <xs:element name="Service" nillable="true" type="xs:string" />
      <xs:element name="NoOfPieces" type="xs:int" />
      <xs:element name="Weight" type="xs:decimal" />
      <xs:element name="VolumetricWeight" type="xs:decimal" />
      <xs:element minOccurs="0" name="TransportMode" nillable="true" type="xs:string" />
      <xs:element name="ConsignorAddress" nillable="true" type="tns:Address" />
      <xs:element name="ConsigneeAddress" nillable="true" type="tns:Address" />
      <xs:element minOccurs="0" name="ConsignorRef" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ConsigneeRef" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ConsignorTel" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ConsignorEmail" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ConsigneeTel" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ConsigneeEmail" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="PickupInstructions" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="DeliveryInstructions" nillable="true" type="xs:string" />
      <xs:element name="PickupReadyFrom" nillable="true" type="xs:string" />
      <xs:element name="PickupReadyUntil" nillable="true" type="xs:string" />
      <xs:element name="DeliveryReadyFrom" nillable="true" type="xs:string" />
      <xs:element name="DeliveryReadyUntil" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="IncoTerm" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="AdditionalCover" nillable="true" type="tns:AddtionalCover" />
      <xs:element name="Pieces" nillable="true" type="tns:ArrayOfPiece" />
      <xs:element name="ProcessID" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="BookedBy" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ParcelShopCountry" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ParcelShopID" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ParcelShopAgent" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="TailLift" type="xs:boolean" />
      <xs:element minOccurs="0" name="NeutralDelivery" type="xs:boolean" />
      <xs:element minOccurs="0" name="CustomerVAT" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="SampleShipment" type="xs:boolean" />
      <xs:element minOccurs="0" name="ETA" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="UKEORINumber" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Shipment" nillable="true" type="tns:Shipment" />
  <xs:complexType name="Authorisation">
    <xs:sequence>
      <xs:element name="Password" nillable="true" type="xs:string" />
      <xs:element name="Username" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Authorisation" nillable="true" type="tns:Authorisation" />
  <xs:complexType name="Address">
    <xs:sequence>
      <xs:element minOccurs="0" name="Address1" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Address2" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Address3" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="AttentionTo" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="City" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CompanyName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Country" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Department" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="EORINumber" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="IsCompany" type="xs:boolean" />
      <xs:element minOccurs="0" name="Postcode" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="State" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="StateCode" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="VATNumber" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Address" nillable="true" type="tns:Address" />
  <xs:complexType name="AddtionalCover">
    <xs:sequence>
      <xs:element name="AdditionalCoverIncluded" type="xs:boolean" />
      <xs:element name="CoverAmount" type="xs:decimal" />
      <xs:element name="Description" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="AddtionalCover" nillable="true" type="tns:AddtionalCover" />
  <xs:complexType name="ArrayOfPiece">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Piece" nillable="true" type="tns:Piece" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfPiece" nillable="true" type="tns:ArrayOfPiece" />
  <xs:complexType name="Piece">
    <xs:sequence>
      <xs:element name="PieceNumber" type="xs:int" />
      <xs:element name="Weight" type="xs:decimal" />
      <xs:element name="Width" type="xs:int" />
      <xs:element name="Height" type="xs:int" />
      <xs:element name="Length" type="xs:int" />
      <xs:element name="AirwayBill" nillable="true" type="xs:string" />
      <xs:element name="Proformas" nillable="true" type="tns:ArrayOfProforma" />
      <xs:element minOccurs="0" name="NonStackable" type="xs:boolean" />
      <xs:element minOccurs="0" name="PackageType" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Piece" nillable="true" type="tns:Piece" />
  <xs:complexType name="ArrayOfProforma">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Proforma" nillable="true" type="tns:Proforma" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfProforma" nillable="true" type="tns:ArrayOfProforma" />
  <xs:complexType name="Proforma">
    <xs:sequence>
      <xs:element minOccurs="0" name="AdditionalCost" nillable="true" type="xs:decimal" />
      <xs:element minOccurs="0" name="CountryOfOrigin" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Currency" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Description" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ExpiryDate" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="FreightCost" nillable="true" type="xs:decimal" />
      <xs:element minOccurs="0" name="GrossWeight" nillable="true" type="xs:decimal" />
      <xs:element minOccurs="0" name="HSCode" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ItemValue" type="xs:decimal" />
      <xs:element minOccurs="0" name="NetWeight" nillable="true" type="xs:decimal" />
      <xs:element minOccurs="0" name="Qty" type="xs:decimal" />
      <xs:element minOccurs="0" name="QuantityUnitOfMeasureId" nillable="true" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Proforma" nillable="true" type="tns:Proforma" />
</xs:schema>

Additional request Xml Schemas:

<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="anyType" nillable="true" type="xs:anyType" />
  <xs:element name="anyURI" nillable="true" type="xs:anyURI" />
  <xs:element name="base64Binary" nillable="true" type="xs:base64Binary" />
  <xs:element name="boolean" nillable="true" type="xs:boolean" />
  <xs:element name="byte" nillable="true" type="xs:byte" />
  <xs:element name="dateTime" nillable="true" type="xs:dateTime" />
  <xs:element name="decimal" nillable="true" type="xs:decimal" />
  <xs:element name="double" nillable="true" type="xs:double" />
  <xs:element name="float" nillable="true" type="xs:float" />
  <xs:element name="int" nillable="true" type="xs:int" />
  <xs:element name="long" nillable="true" type="xs:long" />
  <xs:element name="QName" nillable="true" type="xs:QName" />
  <xs:element name="short" nillable="true" type="xs:short" />
  <xs:element name="string" nillable="true" type="xs:string" />
  <xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte" />
  <xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt" />
  <xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong" />
  <xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort" />
  <xs:element name="char" nillable="true" type="tns:char" />
  <xs:simpleType name="char">
    <xs:restriction base="xs:int" />
  </xs:simpleType>
  <xs:element name="duration" nillable="true" type="tns:duration" />
  <xs:simpleType name="duration">
    <xs:restriction base="xs:duration">
      <xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" />
      <xs:minInclusive value="-P10675199DT2H48M5.4775808S" />
      <xs:maxInclusive value="P10675199DT2H48M5.4775807S" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="guid" nillable="true" type="tns:guid" />
  <xs:simpleType name="guid">
    <xs:restriction base="xs:string">
      <xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}" />
    </xs:restriction>
  </xs:simpleType>
  <xs:attribute name="FactoryType" type="xs:QName" />
  <xs:attribute name="Id" type="xs:ID" />
  <xs:attribute name="Ref" type="xs:IDREF" />
</xs:schema>

<tns:schema targetNamespace="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.w3.org/2001/XMLSchema">
  <tns:element name="schema">
    <tns:complexType />
  </tns:element>
</tns:schema>

The following is the response Xml Schema:

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/CogiWebService" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/CogiWebService" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType name="Response">
    <xs:sequence>
      <xs:element minOccurs="0" name="Status" type="xs:int" />
      <xs:element minOccurs="0" name="Errors" nillable="true" type="tns:ArrayOfError" />
      <xs:element minOccurs="0" name="AWB" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Base64PDFLabel" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Response" nillable="true" type="tns:Response" />
  <xs:complexType name="ArrayOfError">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Error" nillable="true" type="tns:Error" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfError" nillable="true" type="tns:ArrayOfError" />
  <xs:complexType name="Error">
    <xs:sequence>
      <xs:element minOccurs="0" name="ErrNumber" type="xs:int" />
      <xs:element minOccurs="0" name="Description" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Error" nillable="true" type="tns:Error" />
</xs:schema>

Additional response Xml Schemas:

<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="anyType" nillable="true" type="xs:anyType" />
  <xs:element name="anyURI" nillable="true" type="xs:anyURI" />
  <xs:element name="base64Binary" nillable="true" type="xs:base64Binary" />
  <xs:element name="boolean" nillable="true" type="xs:boolean" />
  <xs:element name="byte" nillable="true" type="xs:byte" />
  <xs:element name="dateTime" nillable="true" type="xs:dateTime" />
  <xs:element name="decimal" nillable="true" type="xs:decimal" />
  <xs:element name="double" nillable="true" type="xs:double" />
  <xs:element name="float" nillable="true" type="xs:float" />
  <xs:element name="int" nillable="true" type="xs:int" />
  <xs:element name="long" nillable="true" type="xs:long" />
  <xs:element name="QName" nillable="true" type="xs:QName" />
  <xs:element name="short" nillable="true" type="xs:short" />
  <xs:element name="string" nillable="true" type="xs:string" />
  <xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte" />
  <xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt" />
  <xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong" />
  <xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort" />
  <xs:element name="char" nillable="true" type="tns:char" />
  <xs:simpleType name="char">
    <xs:restriction base="xs:int" />
  </xs:simpleType>
  <xs:element name="duration" nillable="true" type="tns:duration" />
  <xs:simpleType name="duration">
    <xs:restriction base="xs:duration">
      <xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" />
      <xs:minInclusive value="-P10675199DT2H48M5.4775808S" />
      <xs:maxInclusive value="P10675199DT2H48M5.4775807S" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="guid" nillable="true" type="tns:guid" />
  <xs:simpleType name="guid">
    <xs:restriction base="xs:string">
      <xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}" />
    </xs:restriction>
  </xs:simpleType>
  <xs:attribute name="FactoryType" type="xs:QName" />
  <xs:attribute name="Id" type="xs:ID" />
  <xs:attribute name="Ref" type="xs:IDREF" />
</xs:schema>

<tns:schema targetNamespace="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.w3.org/2001/XMLSchema">
  <tns:element name="schema">
    <tns:complexType />
  </tns:element>
</tns:schema>