Skip to content

Commit

Permalink
Updated Hazardous Item
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterLBorresen committed Oct 30, 2023
1 parent 26c71c9 commit 0f5b8dd
Show file tree
Hide file tree
Showing 3 changed files with 309 additions and 153 deletions.
87 changes: 70 additions & 17 deletions structure/source/ubl-transport-execution-plan-request.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1710,29 +1710,82 @@
</cbc:ItemClassificationCode>
</cac:CommodityClassification>
<cac:HazardousItem>
<?Name Hazardous Item ?>
<?Description Description of hazardous item. ?>
<?Cardinality 0..1?>
<cbc:UNDGCode>ADR
<?Name UNDGCode ?>
<?Description The UN code for this kind of hazardous item. ?>
<?Description Contains information on the Hazardous item.?>
<cbc:ID>123
<?Name Identifier?>
<?Description An identifier for this hazardous item. ?>
<?Cardinality 0..1?>
</cbc:ID>
<cbc:AdditionalIformation>Information about the hazardous item
<?Name Additional Information?>
<?Description Text providing further information about the hazardous substance. ?>
<?Cardinality 0..1?>
<?CodeList UNCL8273?>
</cbc:AdditionalIformation>
<cbc:UNDGCode> ADR <?CodeList UNCL8273?>
</cbc:UNDGCode>
<cbc:HazardClassID>2
<?Name UNDGCode ?>
<?Description The UN code for this kind of hazardous item. ?>
<cbc:TechnicalName>Corrosive liquid, n.o.s., 8, UN 1760, II (contains Octanoyl chloride)
<?Name Technical Name?>
<?Description The full technical name of a specific hazardous substance contained in this goods item. ?>
<?Cardinality 0..1?>
<?CodeList HazardClasses?>
</cbc:HazardClassID>
<cbc:NetWeightMeasure unitCode="KGM">40.8
<?Description The net weight for the item. Use if the Hazard class ID requires it?>
</cbc:TechnicalName>
<cbc:CategoryName>Acute toxicity
<?Name Category Name?>
<?Description The name of the category of hazard that applies to the Item. ?>
<?Cardinality 0..1?>
</cbc:CategoryName>
<cbc:HazardousCategoryCode>123
<?Name Hazardous Category Code?>
<?Description A code signifying a kind of hazard for a material. ?>
<?Cardinality 0..1?>
</cbc:HazardousCategoryCode>
<cbc:HazardClassID>Code</cbc:HazardClassID>
<cbc:NetWeightMeasure unitCode="KGM">123
<?Name Net Weight Measure ?>
<?Description Net weight of the Hazardous item. ?>
<?Cardinality 0..1?>
<?unitCode-Name Latitude degrees unit of measure?>
<?unitCode-Description The unit of measure that applies to the latitude degrees.?>
<?unitCode-usage Mandatory?>
<?unitCode-CodeList UNECERec20?>
<?unitCode-Name Measure unit of measure?>
<?unitCode-Description The unit of measure that applies to the Net Weight.?>
<?unitCode-usage Mandatory?>
</cbc:NetWeightMeasure>
<cbc:NetVolumeMeasure unitCode="MTQ">12.3
<?Name Net Volume Measure ?>
<?Description Net volume of the Hazardous item. ?>
<?Cardinality 0..1?>
<?unitCode-CodeList UNECERec20?>
<?unitCode-Name Measure unit of measure?>
<?unitCode-Description The unit of measure that applies to the Net Volume.?>
<?unitCode-usage Mandatory?>
</cbc:NetVolumeMeasure>
<cac:HazardousGoodsTransit>
<?Name Hazardous Goods Transit ?>
<?Description Information related to the transit of this kind of hazardous goods. ?>
<?Cardinality 0..n?>
<cbc:PackingCriteriaCode>123
<?Name Packing Criteria Code ?>
<?Description A code signifying the packaging requirement for transportation of the hazardous goods as assigned by IATA, IMDB, ADR, RID etc. ?>
<?Cardinality 1..1?>
</cbc:PackingCriteriaCode>
</cac:HazardousGoodsTransit>
<cac:EmergencyTemperature>
<?Name Emergency Temperature ?>
<?Description The threshold temperature at which emergency procedures apply in the handling of temperature-controlled goods. ?>
<?Cardinality 0..1?>
<cbc:AttributeID>ABC
<?Name Attribute ID ?>
<?Description An identifier for this temperature measurement. ?>
<?Cardinality 1..1?>
</cbc:AttributeID>
<cbc:Measure unitCode="CEL">78
<?Name Measure ?>
<?Description The value of this temperature measurement. ?>
<?Cardinality 1..1?>
<?unitCode-CodeList UNECERec20?>
<?unitCode-Name Measure unit of measure?>
<?unitCode-Description The unit of measure that applies to the Emergency Temperature.?>
<?unitCode-usage Mandatory?>
</cbc:Measure>
</cac:EmergencyTemperature>
</cac:HazardousItem>
</cac:Item>
</cac:GoodsItem>
Expand Down
114 changes: 84 additions & 30 deletions structure/source/ubl-transport-execution-plan.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
<?DocumentTerm TransportExecutionPlan?>
<?Property key="sch:prefix" PEPPOL-T124?>
<?Property key="sch:identifier" T124-basic?>
<cbc:CustomizationID>urn:fdc:peppol.eu:logistics:trns:transport_execution_plan:1<?Rule PEPPOL-T124-R001?></cbc:CustomizationID>
<cbc:CustomizationID>urn:fdc:peppol.eu:logistics:trns:transport_execution_plan:1<?Rule PEPPOL-T124-R001?>
</cbc:CustomizationID>
<cbc:ProfileID>urn:fdc:peppol.eu:logistics:bis:transport_execution_plan_w_request:1
<?Description Identifies the BII profile or business process context in which the transaction appears. There are two ProfileIDs defined for the Transport Execution Plan. One profile is used when a request is expected, the other is used when no request message is expected. Possible choices are: "urn:fdc:peppol.eu:logistics:bis:transport_execution_plan_w_request:1" and "urn:fdc:peppol.eu:logistics:bis:transport_execution_plan_only:1".?>
<?Rule PEPPOL-T124-R002?>
Expand Down Expand Up @@ -2023,7 +2024,7 @@
<?Description The electronic mail of the contact.?>
<?Cardinality 0..1?>
</cbc:ElectronicMail>
</cac:Contact>
</cac:Contact>
<cac:Person>
<?Name Person?>
<?Description The driver or master person for the carrier party.?>
Expand Down Expand Up @@ -2187,7 +2188,7 @@
<?Rule PEPPOL-T124-R013?>
<?Rule PEPPOL-T124-R014?>
<?Rule PEPPOL-T124-R017?>
</cbc:EndTime>
</cbc:EndTime>
</cac:Period>
</cac:PlannedDepartureTransportEvent>
<cac:PlannedArrivalTransportEvent>
Expand Down Expand Up @@ -2274,7 +2275,7 @@
<?Rule PEPPOL-T124-R013?>
<?Rule PEPPOL-T124-R014?>
<?Rule PEPPOL-T124-R017?>
</cbc:EndTime>
</cbc:EndTime>
</cac:Period>
</cac:PlannedArrivalTransportEvent>
</cac:MainCarriageShipmentStage>
Expand Down Expand Up @@ -2418,7 +2419,7 @@
<?Description The electronic mail of the contact.?>
<?Cardinality 0..1?>
</cbc:ElectronicMail>
</cac:Contact>
</cac:Contact>
<cac:Person>
<?Name Person?>
<?Description The driver or master person for the carrier party.?>
Expand Down Expand Up @@ -2582,7 +2583,7 @@
<?Rule PEPPOL-T124-R013?>
<?Rule PEPPOL-T124-R014?>
<?Rule PEPPOL-T124-R017?>
</cbc:EndTime>
</cbc:EndTime>
</cac:Period>
</cac:PlannedDepartureTransportEvent>
<cac:PlannedArrivalTransportEvent>
Expand Down Expand Up @@ -2669,7 +2670,7 @@
<?Rule PEPPOL-T124-R013?>
<?Rule PEPPOL-T124-R014?>
<?Rule PEPPOL-T124-R017?>
</cbc:EndTime>
</cbc:EndTime>
</cac:Period>
</cac:PlannedArrivalTransportEvent>
</cac:PreCarriageShipmentStage>
Expand Down Expand Up @@ -2727,17 +2728,17 @@
<?Description An additional address line in a postal address that can be used to give further details supplementing the main line. Common use are secondary house number in a complex or in a building. ?>
<?Cardinality 0..1?>
</cbc:AdditionalStreetName>
<cbc:CityName>Vantaa
<cbc:CityName>Vantaa
<?Name City ?>
<?Description The common name of the city where the postal address is. The name is written in full rather than as a code. ?>
<?Cardinality 0..1?>
</cbc:CityName>
<cbc:PostalZone>01530
<cbc:PostalZone>01530
<?Name Post code ?>
<?Description The identifier for an addressable group of properties according to the relevant national postal service, such as a ZIP code or Post Code. ?>
<?Cardinality 0..1?>
</cbc:PostalZone>
<cbc:CountrySubentity>Region Hovedstaden
<cbc:CountrySubentity>Region Hovedstaden
<?Name Country sub entity ?>
<?Description For specifying a region, county, state, province etc. within a country by using text. ?>
<?Cardinality 0..1?>
Expand Down Expand Up @@ -2818,7 +2819,7 @@
<?Description The electronic mail of the contact.?>
<?Cardinality 0..1?>
</cbc:ElectronicMail>
</cac:Contact>
</cac:Contact>
<cac:Person>
<?Name Person?>
<?Description The driver or master person for the carrier party.?>
Expand Down Expand Up @@ -2982,7 +2983,7 @@
<?Rule PEPPOL-T124-R013?>
<?Rule PEPPOL-T124-R014?>
<?Rule PEPPOL-T124-R017?>
</cbc:EndTime>
</cbc:EndTime>
</cac:Period>
</cac:PlannedDepartureTransportEvent>
<cac:PlannedArrivalTransportEvent>
Expand Down Expand Up @@ -3069,7 +3070,7 @@
<?Rule PEPPOL-T124-R013?>
<?Rule PEPPOL-T124-R014?>
<?Rule PEPPOL-T124-R017?>
</cbc:EndTime>
</cbc:EndTime>
</cac:Period>
</cac:PlannedArrivalTransportEvent>
</cac:OnCarriageShipmentStage>
Expand Down Expand Up @@ -3248,29 +3249,82 @@
</cbc:ItemClassificationCode>
</cac:CommodityClassification>
<cac:HazardousItem>
<?Name Hazardous Item ?>
<?Description Description of hazardous item. ?>
<?Cardinality 0..1?>
<cbc:UNDGCode>ADR
<?Name UNDGCode ?>
<?Description The UN code for this kind of hazardous item. ?>
<?Description Contains information on the Hazardous item.?>
<cbc:ID>123
<?Name Identifier?>
<?Description An identifier for this hazardous item. ?>
<?Cardinality 0..1?>
</cbc:ID>
<cbc:AdditionalIformation>Information about the hazardous item
<?Name Additional Information?>
<?Description Text providing further information about the hazardous substance. ?>
<?Cardinality 0..1?>
<?CodeList UNCL8273?>
</cbc:AdditionalIformation>
<cbc:UNDGCode> ADR <?CodeList UNCL8273?>
</cbc:UNDGCode>
<cbc:HazardClassID>2
<?Name UNDGCode ?>
<?Description The UN code for this kind of hazardous item. ?>
<cbc:TechnicalName>Corrosive liquid, n.o.s., 8, UN 1760, II (contains Octanoyl chloride)
<?Name Technical Name?>
<?Description The full technical name of a specific hazardous substance contained in this goods item. ?>
<?Cardinality 0..1?>
<?CodeList HazardClasses?>
</cbc:HazardClassID>
<cbc:NetWeightMeasure unitCode="KGM">40.8
<?Description The net weight for the item. Use if the Hazard class ID requires it?>
</cbc:TechnicalName>
<cbc:CategoryName>Acute toxicity
<?Name Category Name?>
<?Description The name of the category of hazard that applies to the Item. ?>
<?Cardinality 0..1?>
</cbc:CategoryName>
<cbc:HazardousCategoryCode>123
<?Name Hazardous Category Code?>
<?Description A code signifying a kind of hazard for a material. ?>
<?Cardinality 0..1?>
</cbc:HazardousCategoryCode>
<cbc:HazardClassID>Code</cbc:HazardClassID>
<cbc:NetWeightMeasure unitCode="KGM">123
<?Name Net Weight Measure ?>
<?Description Net weight of the Hazardous item. ?>
<?Cardinality 0..1?>
<?unitCode-Name Latitude degrees unit of measure?>
<?unitCode-Description The unit of measure that applies to the latitude degrees.?>
<?unitCode-usage Mandatory?>
<?unitCode-CodeList UNECERec20?>
<?unitCode-Name Measure unit of measure?>
<?unitCode-Description The unit of measure that applies to the Net Weight.?>
<?unitCode-usage Mandatory?>
</cbc:NetWeightMeasure>
<cbc:NetVolumeMeasure unitCode="MTQ">12.3
<?Name Net Volume Measure ?>
<?Description Net volume of the Hazardous item. ?>
<?Cardinality 0..1?>
<?unitCode-CodeList UNECERec20?>
<?unitCode-Name Measure unit of measure?>
<?unitCode-Description The unit of measure that applies to the Net Volume.?>
<?unitCode-usage Mandatory?>
</cbc:NetVolumeMeasure>
<cac:HazardousGoodsTransit>
<?Name Hazardous Goods Transit ?>
<?Description Information related to the transit of this kind of hazardous goods. ?>
<?Cardinality 0..n?>
<cbc:PackingCriteriaCode>123
<?Name Packing Criteria Code ?>
<?Description A code signifying the packaging requirement for transportation of the hazardous goods as assigned by IATA, IMDB, ADR, RID etc. ?>
<?Cardinality 1..1?>
</cbc:PackingCriteriaCode>
</cac:HazardousGoodsTransit>
<cac:EmergencyTemperature>
<?Name Emergency Temperature ?>
<?Description The threshold temperature at which emergency procedures apply in the handling of temperature-controlled goods. ?>
<?Cardinality 0..1?>
<cbc:AttributeID>ABC
<?Name Attribute ID ?>
<?Description An identifier for this temperature measurement. ?>
<?Cardinality 1..1?>
</cbc:AttributeID>
<cbc:Measure unitCode="CEL">78
<?Name Measure ?>
<?Description The value of this temperature measurement. ?>
<?Cardinality 1..1?>
<?unitCode-CodeList UNECERec20?>
<?unitCode-Name Measure unit of measure?>
<?unitCode-Description The unit of measure that applies to the Emergency Temperature.?>
<?unitCode-usage Mandatory?>
</cbc:Measure>
</cac:EmergencyTemperature>
</cac:HazardousItem>
</cac:Item>
</cac:GoodsItem>
Expand Down
Loading

0 comments on commit 0f5b8dd

Please sign in to comment.