Created
March 15, 2011 16:07
-
-
Save zubairov/870943 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
<xsd:schema xmlns:Q1="urn:org.milyn.edi.unedifact:un:d08a:common" | |
xmlns:cuscar="urn:org.milyn.edi.unedifact:un:d08a:cuscar" xmlns:xsd="http://www.w3.org/2001/XMLSchema" | |
targetNamespace="urn:org.milyn.edi.unedifact:un:d08a:cuscar"> | |
<xsd:import namespace="urn:org.milyn.edi.unedifact:un:d08a:common" /> | |
<xsd:element name="CUSCAR" type="cuscar:CUSCAR" /> | |
<xsd:complexType name="SegmentGroup14"> | |
<xsd:annotation> | |
<xsd:appinfo source="smooks-mapping-data">Segment group 14: | |
CST-LOC-TMD-SG15-SG16 | |
A group of segments specifying goods item details | |
including number and type of packages, handling | |
instructions, quantity variances, package identification, | |
goods description, monetary amounts, measurements, | |
indicators for split goods placement, indicator for | |
dangerous goods, status of the goods, documents.</xsd:appinfo> | |
</xsd:annotation> | |
<xsd:sequence> | |
<xsd:element form="qualified" name="Goods_item_details" | |
type="Q1:GoodsItemDetails" /> | |
<xsd:element form="qualified" maxOccurs="9" minOccurs="0" | |
name="Package" type="Q1:Package" /> | |
<xsd:element form="qualified" maxOccurs="9" minOccurs="0" | |
name="Handling_instructions" type="Q1:HandlingInstructions" /> | |
<xsd:element form="qualified" maxOccurs="99" minOccurs="0" | |
name="Free_text" type="Q1:FreeText" /> | |
<xsd:element form="qualified" maxOccurs="99" minOccurs="0" | |
name="Measurements" type="Q1:Measurements" /> | |
<xsd:element form="qualified" maxOccurs="9" minOccurs="0" | |
name="Monetary_amount" type="Q1:MonetaryAmount" /> | |
<xsd:element form="qualified" maxOccurs="9999" minOccurs="0" | |
name="Split_goods_placement" type="Q1:SplitGoodsPlacement" /> | |
<xsd:element form="qualified" maxOccurs="99" minOccurs="0" | |
name="Dangerous_goods" type="Q1:DangerousGoods" /> | |
<xsd:element form="qualified" maxOccurs="9" minOccurs="0" | |
name="Package_identification" type="Q1:PackageIdentification" /> | |
<xsd:element form="qualified" minOccurs="0" | |
name="Customs_status_of_goods" type="Q1:CustomsStatusOfGoods" /> | |
<xsd:element form="qualified" maxOccurs="9" minOccurs="0" | |
name="Place_location_identification" type="Q1:PlaceLocationIdentification" /> | |
<xsd:element form="qualified" maxOccurs="9" minOccurs="0" | |
name="Transport_movement_details" type="Q1:TransportMovementDetails" /> | |
<xsd:element form="qualified" maxOccurs="9" minOccurs="0" | |
name="Segment_group_15" type="cuscar:SegmentGroup15" /> | |
<xsd:element form="qualified" maxOccurs="9" minOccurs="0" | |
name="Segment_group_16" type="cuscar:SegmentGroup16" /> | |
</xsd:sequence> | |
</xsd:complexType> | |
<xsd:complexType name="SegmentGroup5"> | |
<xsd:annotation> | |
<xsd:appinfo source="smooks-mapping-data">Segment group 5: | |
A group of segments to specify details of the equipment | |
including information related to measurement, dimensions, | |
seals, empty container responsible party, container quarantine | |
indicator, license registration, as well as temperature/range | |
and use indicator.</xsd:appinfo> | |
</xsd:annotation> | |
<xsd:sequence> | |
<xsd:element form="qualified" name="Equipment_details" | |
type="Q1:EquipmentDetails" /> | |
<xsd:element form="qualified" maxOccurs="9" minOccurs="0" | |
name="Transport_service_requirements" type="Q1:TransportServiceRequirements" /> | |
<xsd:element form="qualified" maxOccurs="9" minOccurs="0" | |
name="Measurements" type="Q1:Measurements" /> | |
<xsd:element form="qualified" maxOccurs="9" minOccurs="0" | |
name="Dimensions" type="Q1:Dimensions" /> | |
<xsd:element form="qualified" maxOccurs="9" minOccurs="0" | |
name="Seal_number" type="Q1:SealNumber" /> | |
<xsd:element form="qualified" maxOccurs="9" minOccurs="0" | |
name="Name_and_address" type="Q1:NameAndAddress" /> | |
<xsd:element form="qualified" maxOccurs="9" minOccurs="0" | |
name="Processing_information" type="Q1:ProcessingInformation" /> | |
<xsd:element form="qualified" minOccurs="0" | |
name="Place_location_identification" type="Q1:PlaceLocationIdentification" /> | |
<xsd:element form="qualified" maxOccurs="9" minOccurs="0" | |
name="Segment_group_6" type="cuscar:SegmentGroup6" /> | |
</xsd:sequence> | |
</xsd:complexType> | |
<xsd:complexType name="SegmentGroup7"> | |
<xsd:annotation> | |
<xsd:appinfo source="smooks-mapping-data">Segment group 7: | |
A group of segments to provide details of the consignment(s). | |
</xsd:appinfo> | |
</xsd:annotation> | |
<xsd:sequence> | |
<xsd:element form="qualified" name="Consignment_information" | |
type="Q1:ConsignmentInformation" /> | |
<xsd:element form="qualified" maxOccurs="9" minOccurs="0" | |
name="Control_total" type="Q1:ControlTotal" /> | |
<xsd:element form="qualified" maxOccurs="9999" minOccurs="0" | |
name="Segment_group_8" type="cuscar:SegmentGroup8" /> | |
</xsd:sequence> | |
</xsd:complexType> | |
<xsd:complexType name="SegmentGroup13"> | |
<xsd:annotation> | |
<xsd:appinfo source="smooks-mapping-data">Segment group 13: | |
A group of segments to specify, at the consignment level, | |
the quantity manifested, quantity landed and reason for | |
change.</xsd:appinfo> | |
</xsd:annotation> | |
<xsd:sequence> | |
<xsd:element form="qualified" name="Quantity" type="Q1:Quantity" /> | |
<xsd:element form="qualified" maxOccurs="9" minOccurs="0" | |
name="Free_text" type="Q1:FreeText" /> | |
</xsd:sequence> | |
</xsd:complexType> | |
<xsd:complexType name="SegmentGroup9"> | |
<xsd:annotation> | |
<xsd:appinfo source="smooks-mapping-data">Segment group 9: | |
A group of segments to identify details of onward | |
carriage for each consignment.</xsd:appinfo> | |
</xsd:annotation> | |
<xsd:sequence> | |
<xsd:element form="qualified" name="Transport_information" | |
type="Q1:TransportInformation" /> | |
<xsd:element form="qualified" maxOccurs="9" minOccurs="0" | |
name="Place_location_identification" type="Q1:PlaceLocationIdentification" /> | |
<xsd:element form="qualified" maxOccurs="9" minOccurs="0" | |
name="Date_time_period" type="Q1:DateTimePeriod" /> | |
<xsd:element form="qualified" maxOccurs="9" minOccurs="0" | |
name="Measurements" type="Q1:Measurements" /> | |
<xsd:element form="qualified" maxOccurs="9" minOccurs="0" | |
name="Segment_group_10" type="cuscar:SegmentGroup10" /> | |
</xsd:sequence> | |
</xsd:complexType> | |
<xsd:complexType name="SegmentGroup4"> | |
<xsd:annotation> | |
<xsd:appinfo source="smooks-mapping-data">Segment group 4: | |
A group of segments to identify details of transport, locations | |
and associated dates/times.</xsd:appinfo> | |
</xsd:annotation> | |
<xsd:sequence> | |
<xsd:element form="qualified" name="Transport_information" | |
type="Q1:TransportInformation" /> | |
<xsd:element form="qualified" maxOccurs="99" minOccurs="0" | |
name="Place_location_identification" type="Q1:PlaceLocationIdentification" /> | |
<xsd:element form="qualified" maxOccurs="99" minOccurs="0" | |
name="Date_time_period" type="Q1:DateTimePeriod" /> | |
</xsd:sequence> | |
</xsd:complexType> | |
<xsd:complexType name="SegmentGroup16"> | |
<xsd:annotation> | |
<xsd:appinfo source="smooks-mapping-data">Segment group 16: | |
A group of segments to specify, at goods item level, | |
the quantity manifested, quantity landed and reason | |
for change.</xsd:appinfo> | |
</xsd:annotation> | |
<xsd:sequence> | |
<xsd:element form="qualified" name="Quantity" type="Q1:Quantity" /> | |
<xsd:element form="qualified" minOccurs="0" name="Free_text" | |
type="Q1:FreeText" /> | |
</xsd:sequence> | |
</xsd:complexType> | |
<xsd:complexType name="SegmentGroup3"> | |
<xsd:annotation> | |
<xsd:appinfo source="smooks-mapping-data">Segment group 3: | |
A group of segments to identify a contact and its | |
communication related party.</xsd:appinfo> | |
</xsd:annotation> | |
<xsd:sequence> | |
<xsd:element form="qualified" name="Contact_information" | |
type="Q1:ContactInformation" /> | |
<xsd:element form="qualified" maxOccurs="9" minOccurs="0" | |
name="Communication_contact" type="Q1:CommunicationContact" /> | |
</xsd:sequence> | |
</xsd:complexType> | |
<xsd:complexType name="SegmentGroup10"> | |
<xsd:annotation> | |
<xsd:appinfo source="smooks-mapping-data">Segment group 10: | |
A group of segments to provide booking details | |
(reference and type).</xsd:appinfo> | |
</xsd:annotation> | |
<xsd:sequence> | |
<xsd:element form="qualified" name="Reference" type="Q1:Reference" /> | |
<xsd:element form="qualified" maxOccurs="9" minOccurs="0" | |
name="Transport_service_requirements" type="Q1:TransportServiceRequirements" /> | |
</xsd:sequence> | |
</xsd:complexType> | |
<xsd:complexType name="SegmentGroup12"> | |
<xsd:annotation> | |
<xsd:appinfo source="smooks-mapping-data">Segment group 12: | |
A group of segments identifying a contact and its | |
communication related to the party.</xsd:appinfo> | |
</xsd:annotation> | |
<xsd:sequence> | |
<xsd:element form="qualified" name="Contact_information" | |
type="Q1:ContactInformation" /> | |
<xsd:element form="qualified" maxOccurs="9" minOccurs="0" | |
name="Communication_contact" type="Q1:CommunicationContact" /> | |
</xsd:sequence> | |
</xsd:complexType> | |
<xsd:complexType name="SegmentGroup8"> | |
<xsd:annotation> | |
<xsd:appinfo source="smooks-mapping-data">Segment group 8: | |
SG14 | |
A group of segments specifying the details of each | |
consignment.</xsd:appinfo> | |
</xsd:annotation> | |
<xsd:sequence> | |
<xsd:element form="qualified" name="Reference" type="Q1:Reference" /> | |
<xsd:element form="qualified" maxOccurs="9" minOccurs="0" | |
name="Control_total" type="Q1:ControlTotal" /> | |
<xsd:element form="qualified" maxOccurs="9" minOccurs="0" | |
name="Monetary_amount" type="Q1:MonetaryAmount" /> | |
<xsd:element form="qualified" maxOccurs="99" minOccurs="0" | |
name="Place_location_identification" type="Q1:PlaceLocationIdentification" /> | |
<xsd:element form="qualified" maxOccurs="9" minOccurs="0" | |
name="Processing_information" type="Q1:ProcessingInformation" /> | |
<xsd:element form="qualified" maxOccurs="9" minOccurs="0" | |
name="Currencies" type="Q1:Currencies" /> | |
<xsd:element form="qualified" maxOccurs="9" minOccurs="0" | |
name="Charge_payment_instructions" type="Q1:ChargePaymentInstructions" /> | |
<xsd:element form="qualified" maxOccurs="9" minOccurs="0" | |
name="Segment_group_9" type="cuscar:SegmentGroup9" /> | |
<xsd:element form="qualified" maxOccurs="99" minOccurs="0" | |
name="Segment_group_11" type="cuscar:SegmentGroup11" /> | |
<xsd:element form="qualified" maxOccurs="9" minOccurs="0" | |
name="Segment_group_13" type="cuscar:SegmentGroup13" /> | |
<xsd:element form="qualified" maxOccurs="9999" | |
name="Segment_group_14" type="cuscar:SegmentGroup14" /> | |
</xsd:sequence> | |
</xsd:complexType> | |
<xsd:complexType name="CUSCAR"> | |
<xsd:sequence> | |
<xsd:element form="qualified" name="Beginning_of_message" | |
type="Q1:BeginningOfMessage" /> | |
<xsd:element form="qualified" maxOccurs="9" minOccurs="0" | |
name="Date_time_period" type="Q1:DateTimePeriod" /> | |
<xsd:element form="qualified" maxOccurs="9" minOccurs="0" | |
name="Place_location_identification" type="Q1:PlaceLocationIdentification" /> | |
<xsd:element form="qualified" maxOccurs="9" minOccurs="0" | |
name="Quantity" type="Q1:Quantity" /> | |
<xsd:element form="qualified" maxOccurs="99" minOccurs="0" | |
name="Segment_group_1" type="cuscar:SegmentGroup1" /> | |
<xsd:element form="qualified" maxOccurs="99" minOccurs="0" | |
name="Segment_group_2" type="cuscar:SegmentGroup2" /> | |
<xsd:element form="qualified" maxOccurs="9" minOccurs="0" | |
name="Free_text" type="Q1:FreeText" /> | |
<xsd:element form="qualified" maxOccurs="9" minOccurs="0" | |
name="Segment_group_4" type="cuscar:SegmentGroup4" /> | |
<xsd:element form="qualified" maxOccurs="9" minOccurs="0" | |
name="Processing_information" type="Q1:ProcessingInformation" /> | |
<xsd:element form="qualified" maxOccurs="9999" minOccurs="0" | |
name="Segment_group_5" type="cuscar:SegmentGroup5" /> | |
<xsd:element form="qualified" maxOccurs="9" minOccurs="0" | |
name="Control_total" type="Q1:ControlTotal" /> | |
<xsd:element form="qualified" maxOccurs="9999" minOccurs="0" | |
name="Segment_group_7" type="cuscar:SegmentGroup7" /> | |
<xsd:element form="qualified" minOccurs="0" | |
name="Segment_group_17" type="cuscar:SegmentGroup17" /> | |
</xsd:sequence> | |
</xsd:complexType> | |
<xsd:complexType name="SegmentGroup1"> | |
<xsd:annotation> | |
<xsd:appinfo source="smooks-mapping-data">Segment group 1: | |
A group of segments to identify the unique reference number and | |
date time details for the whole message.</xsd:appinfo> | |
</xsd:annotation> | |
<xsd:sequence> | |
<xsd:element form="qualified" name="Reference" type="Q1:Reference" /> | |
<xsd:element form="qualified" maxOccurs="9" minOccurs="0" | |
name="Date_time_period" type="Q1:DateTimePeriod" /> | |
</xsd:sequence> | |
</xsd:complexType> | |
<xsd:complexType name="SegmentGroup2"> | |
<xsd:annotation> | |
<xsd:appinfo source="smooks-mapping-data">Segment group 2: | |
A group of segments to identify contact and communication | |
contact information related to the person responsible for the | |
cargo reporting and/or to report crew members on a conveyance. | |
</xsd:appinfo> | |
</xsd:annotation> | |
<xsd:sequence> | |
<xsd:element form="qualified" name="Name_and_address" | |
type="Q1:NameAndAddress" /> | |
<xsd:element form="qualified" minOccurs="0" | |
name="Date_time_period" type="Q1:DateTimePeriod" /> | |
<xsd:element form="qualified" maxOccurs="9" minOccurs="0" | |
name="Segment_group_3" type="cuscar:SegmentGroup3" /> | |
</xsd:sequence> | |
</xsd:complexType> | |
<xsd:complexType name="SegmentGroup6"> | |
<xsd:annotation> | |
<xsd:appinfo source="smooks-mapping-data">Segment group 6: | |
A group of segments to indicate temperature information. | |
</xsd:appinfo> | |
</xsd:annotation> | |
<xsd:sequence> | |
<xsd:element form="qualified" name="Temperature" type="Q1:Temperature" /> | |
<xsd:element form="qualified" minOccurs="0" name="Range_details" | |
type="Q1:RangeDetails" /> | |
</xsd:sequence> | |
</xsd:complexType> | |
<xsd:complexType name="SegmentGroup17"> | |
<xsd:annotation> | |
<xsd:appinfo source="smooks-mapping-data">Segment group 17: | |
A group of segments to specify the authentication of the | |
message.</xsd:appinfo> | |
</xsd:annotation> | |
<xsd:sequence> | |
<xsd:element form="qualified" name="Authentication_result" | |
type="Q1:AuthenticationResult" /> | |
<xsd:element form="qualified" maxOccurs="9" minOccurs="0" | |
name="Date_time_period" type="Q1:DateTimePeriod" /> | |
<xsd:element form="qualified" maxOccurs="9" minOccurs="0" | |
name="Reference" type="Q1:Reference" /> | |
</xsd:sequence> | |
</xsd:complexType> | |
<xsd:complexType name="SegmentGroup15"> | |
<xsd:annotation> | |
<xsd:appinfo source="smooks-mapping-data">Segment group 15: | |
A group of segments specifying general indicators, | |
associated date/time/details, documentary requirements | |
and the weight and number of packages transported to | |
another place in the port.</xsd:appinfo> | |
</xsd:annotation> | |
<xsd:sequence> | |
<xsd:element form="qualified" name="Processing_information" | |
type="Q1:ProcessingInformation" /> | |
<xsd:element form="qualified" maxOccurs="9" minOccurs="0" | |
name="Date_time_period" type="Q1:DateTimePeriod" /> | |
<xsd:element form="qualified" maxOccurs="9" minOccurs="0" | |
name="Document_message_details" type="Q1:DocumentMessageDetails" /> | |
<xsd:element form="qualified" maxOccurs="9" minOccurs="0" | |
name="Package" type="Q1:Package" /> | |
<xsd:element form="qualified" maxOccurs="9" minOccurs="0" | |
name="Measurements" type="Q1:Measurements" /> | |
</xsd:sequence> | |
</xsd:complexType> | |
<xsd:complexType name="SegmentGroup11"> | |
<xsd:annotation> | |
<xsd:appinfo source="smooks-mapping-data">Segment group 11: | |
A group of segments to identify the parties, contacts and | |
related references and dates.</xsd:appinfo> | |
</xsd:annotation> | |
<xsd:sequence> | |
<xsd:element form="qualified" name="Name_and_address" | |
type="Q1:NameAndAddress" /> | |
<xsd:element form="qualified" maxOccurs="9" minOccurs="0" | |
name="Date_time_period" type="Q1:DateTimePeriod" /> | |
<xsd:element form="qualified" maxOccurs="9" minOccurs="0" | |
name="Reference" type="Q1:Reference" /> | |
<xsd:element form="qualified" maxOccurs="9" minOccurs="0" | |
name="Segment_group_12" type="cuscar:SegmentGroup12" /> | |
</xsd:sequence> | |
</xsd:complexType> | |
</xsd:schema> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment