DataTopic Packaging: Difference between revisions

From imde.io

No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 403: Line 403:


===Downloads===
===Downloads===
* [https://imde.io/schema/Sample%20XML%20message%20DataTopic%20Packaging.xml Sample XML] 1.1
* [https://imde.io/schema/Sample%20XML%20message%20DataTopic%20Packaging.xml Sample XML]
* [https://imde.io/schema/Sample%20JSON%20message%20DataTopic%20Packaging.json Sample JSON] 1.1
* [https://imde.io/schema/Sample%20JSON%20message%20DataTopic%20Packaging.json Sample JSON]
* [https://imde.io/schema/azlon/1.0/packaging.xsd XSD schema] 1.0
* [https://imde.io/schema/azlon/1.2/packaging.xsd XSD schema] 1.2
* [https://imde.io/schema/azlon/1.0/packaging.json JSON schema] 1.0
* [https://imde.io/schema/azlon/1.2/packaging.json JSON schema] 1.2
* [https://imde.io/schema/azlon/1.1/packaging.xsd XSD schema] 1.1
* [https://imde.io/schema/azlon/1.1/packaging.json JSON schema] 1.1
* [https://imde.io/schema/codelists/IMDE_PackagingTypeCode.xml Codelist IMDE_PackagingTypeCode]
* [https://imde.io/schema/codelists/IMDE_PackagingTypeCode.xml Codelist IMDE_PackagingTypeCode]
* [https://imde.io/schema/codelists/IMDE_PackagingTypeCodeType.xml Codelist IMDE_PackagingTypeCodeType]
* [https://imde.io/schema/codelists/IMDE_PackagingTypeCodeType.xml Codelist IMDE_PackagingTypeCodeType]
Line 422: Line 420:


===Old versions===
===Old versions===
* [https://imde.io/schema/azlon/1.0/packaging.xsd XSD] version 1.0
* [https://imde.io/schema/azlon/1.1/packaging.xsd XSD schema] 1.1
* [https://imde.io/schema/azlon/1.1/packaging.json JSON schema] 1.1
* [https://imde.io/schema/azlon/1.0/packaging.xsd XSD schema] 1.0
* [https://imde.io/schema/azlon/1.0/packaging.json JSON schema] 1.0


[[Category:Packaging]]
[[Category:Packaging]]
[[Category:DataTopic]]
[[Category:DataTopic]]

Latest revision as of 16:09, 13 October 2026

Part of DataContainer: Item

For more information on the Packaging Datatopic, see presentation.

XML:

	<Packaging xmlns="https://imde.io/schema/azlon/1.2/packaging">
		<PackagingElements>
			<PackagingElement IsMainElement="true" IsReturnable="false">
				<PackagingType>
					<!-- Codelists: IMDE_PackagingTypeCode & IMDE_PackagingTypeCodeType -->
					<Code Type="IMDE">CG</Code>
				</PackagingType>
				<PackagingSubType>
					<!-- Codelists: IMDE_PackagingSubTypeCode & IMDE_PackagingSubTypeCodeType -->
					<Code Type="IMDE">PXT1X11</Code>
				</PackagingSubType>
				<ContactSensitivityClass>
					<!-- Codelist: https://metadata.imde.io/codelists/CONTACT_SENSITIVITY_CLASS -->
					<Code Type="IMDE">FOOD</Code>
				</ContactSensitivityClass>
				<RecyclingCodes>
					<!-- Codelist: https://metadata.imde.io/codelists/RECYCLING_CODES -->
					<Code Type="IMDE">RC21MP</Code>
					<Code Type="IMDE">RC22PAP</Code>
				</RecyclingCodes>								
			</PackagingElement>
			<PackagingElement IsMainElement="false" IsReturnable="true">
				<PackagingType>
					<!-- Codelists: IMDE_PackagingTypeCode & IMDE_PackagingTypeCodeType -->
					<Code Type="IMDE">CAP</Code>
				</PackagingType>
				<Returnable>
					<!-- Codelist: IMDE_ReturnableIdentifierType -->
					<Code Type="DataSender">54</Code>
					<Code Type="DataReceiver">22</Code>
					<Code Type="GRAI">8710547991113</Code>
				</Returnable>
				<Materials>
					<Material Quantity="9">
						<Class>
							<!-- Codelists: IMDE_MaterialClassCode-->
							<Code Type="IMDE">COMPOSITE</Code>
						</Class>
						<Definition>
							<!-- Codelists: IMDE_MaterialCode-->
							<Code Type="IMDE">COMPOSITE</Code>
						</Definition>
						<QuantityUnits>
							<!-- Codelists: IMDE_UOMCode-->
							<QuantityUnit Type="IMDE">GRM</QuantityUnit>
						</QuantityUnits>
						<Materials>
							<Material Quantity="4">
								<Class>
									<!-- Codelists: IMDE_MaterialClassCode-->
									<Code Type="IMDE">METAL</Code>
								</Class>
								<Definition>
									<!-- Codelists: IMDE_MaterialCode-->
									<Code Type="IMDE">METAL_ALUMINUM</Code>
								</Definition>
								<QuantityUnits>
									<!-- Codelists: IMDE_UOMCode-->
									<QuantityUnit Type="IMDE">GRM</QuantityUnit>
								</QuantityUnits>
								<Attributes>
									<Attribute>
										<Key>
											<!-- Codelists: IMDE_MaterialAttributeCode-->
											<Code Type="IMDE">Thickness</Code>
										</Key>
										<ValueUnits>
											<!-- Codelists: IMDE_UOMCode-->
											<ValueUnit Type="IMDE">MMT</ValueUnit>
										</ValueUnits>
										<Values>
											<Value>0.07</Value>
										</Values>
									</Attribute>
									<Attribute>
										<Key>
											<!-- Codelists: IMDE_MaterialAttributeCode-->
											<Code Type="IMDE">ContentRecycledPI</Code>
										</Key>
										<ValueUnits>
											<!-- Codelists: IMDE_UOMCode-->
											<ValueUnit Type="IMDE">PERC</ValueUnit>
										</ValueUnits>
										<Values>
											<Value>5</Value>
										</Values>
									</Attribute>
									<Attribute>
										<Key>
											<!-- Codelists: IMDE_MaterialAttributeCode-->
											<Code Type="IMDE">ContentRecycledPC</Code>
										</Key>
										<ValueUnits>
											<!-- Codelists: IMDE_UOMCode-->
											<ValueUnit Type="IMDE">PERC</ValueUnit>
										</ValueUnits>
										<Values>
											<Value>6</Value>
										</Values>
									</Attribute>
									<Attribute>
										<Key>
											<!-- Codelists: IMDE_MaterialAttributeCode-->
											<Code Type="IMDE">ContentRecycledOther</Code>
										</Key>
										<ValueUnits>
											<!-- Codelists: IMDE_UOMCode-->
											<ValueUnit Type="IMDE">PERC</ValueUnit>
										</ValueUnits>
										<Values>
											<Value>7</Value>
										</Values>
									</Attribute>
									<Attribute>
										<Key>
											<!-- Codelists: IMDE_MaterialAttributeCode-->
											<Code Type="IMDE">ContentVirginMined</Code>
										</Key>
										<ValueUnits>
											<!-- Codelists: IMDE_UOMCode-->
											<ValueUnit Type="IMDE">PERC</ValueUnit>
										</ValueUnits>
										<Values>
											<Value>8</Value>
										</Values>
									</Attribute>
									<Attribute>
										<Key>
											<!-- Codelists: IMDE_MaterialAttributeCode-->
											<Code Type="IMDE">ContentVirginOther</Code>
										</Key>
										<ValueUnits>
											<!-- Codelists: IMDE_UOMCode-->
											<ValueUnit Type="IMDE">PERC</ValueUnit>
										</ValueUnits>
										<Values>
											<Value>9</Value>
										</Values>
									</Attribute>
								</Attributes>
							</Material>
							<Material Quantity="2">
								<Class>
									<!-- Codelists: IMDE_MaterialClassCode-->
									<Code Type="IMDE">POLYMER</Code>
								</Class>
								<Definition>
									<!-- Codelists: IMDE_MaterialCode-->
									<Code Type="IMDE">POLYMER_LLDPE</Code>
								</Definition>
								<QuantityUnits>
									<!-- Codelists: IMDE_MaterialAttributeUOMCode-->
									<QuantityUnit Type="IMDE">GRM</QuantityUnit>
								</QuantityUnits>
								<Attributes>
									<Attribute>
										<Key>
											<!-- Codelists: IMDE_MaterialAttributeCode-->
											<Code Type="IMDE">ContentRecycledPI</Code>
										</Key>
										<ValueUnits>
											<!-- Codelists: IMDE_UOMCode-->
											<ValueUnit Type="IMDE">PERC</ValueUnit>
										</ValueUnits>
										<Values>
											<Value>5</Value>
										</Values>
									</Attribute>
									<Attribute>
										<Key>
											<!-- Codelists: IMDE_MaterialAttributeCode-->
											<Code Type="IMDE">ContentRecycledPC</Code>
										</Key>
										<ValueUnits>
											<!-- Codelists: IMDE_UOMCode-->
											<ValueUnit Type="IMDE">PERC</ValueUnit>
										</ValueUnits>
										<Values>
											<Value>55</Value>
										</Values>
									</Attribute>
									<Attribute>
										<Key>
											<!-- Codelists: IMDE_MaterialAttributeCode-->
											<Code Type="IMDE">ContentRecycledOther</Code>
										</Key>
										<ValueUnits>
											<!-- Codelists: IMDE_UOMCode-->
											<ValueUnit Type="IMDE">PERC</ValueUnit>
										</ValueUnits>
										<Values>
											<Value>7</Value>
										</Values>
									</Attribute>
									<Attribute>
										<Key>
											<!-- Codelists: IMDE_MaterialAttributeCode-->
											<Code Type="IMDE">ContentVirginBiorenewable</Code>
										</Key>
										<ValueUnits>
											<!-- Codelists: IMDE_UOMCode-->
											<ValueUnit Type="IMDE">PERC</ValueUnit>
										</ValueUnits>
										<Values>
											<Value>6</Value>
										</Values>
									</Attribute>
									<Attribute>
										<Key>
											<!-- Codelists: IMDE_MaterialAttributeCode-->
											<Code Type="IMDE">ContentVirginCrudeoil</Code>
										</Key>
										<ValueUnits>
											<!-- Codelists: IMDE_UOMCode-->
											<ValueUnit Type="IMDE">PERC</ValueUnit>
										</ValueUnits>
										<Values>
											<Value>6</Value>
										</Values>
									</Attribute>
									<Attribute>
										<Key>
											<!-- Codelists: IMDE_MaterialAttributeCode-->
											<Code Type="IMDE">ContentVirginOther</Code>
										</Key>
										<ValueUnits>
											<!-- Codelists: IMDE_UOMCode-->
											<ValueUnit Type="IMDE">PERC</ValueUnit>
										</ValueUnits>
										<Values>
											<Value>9</Value>
										</Values>
									</Attribute>
									<Attribute>
										<Key>
											<!-- Codelists: IMDE_MaterialAttributeCode-->
											<Code Type="IMDE">ContentVirginNaturalgas</Code>
										</Key>
										<ValueUnits>
											<!-- Codelists: IMDE_UOMCode-->
											<ValueUnit Type="IMDE">PERC</ValueUnit>
										</ValueUnits>
										<Values>
											<Value>7</Value>
										</Values>
									</Attribute>
									<Attribute>
										<Key>
											<!-- Codelists: IMDE_MaterialAttributeCode-->
											<Code Type="IMDE">ContentVirginOther</Code>
										</Key>
										<ValueUnits>
											<!-- Codelists: IMDE_UOMCode-->
											<ValueUnit Type="IMDE">PERC</ValueUnit>
										</ValueUnits>
										<Values>
											<Value>7</Value>
										</Values>
									</Attribute>
								</Attributes>
							</Material>
							<Material Quantity="45">
								<Class>
									<!-- Codelists: IMDE_MaterialClassCode-->
									<Code Type="IMDE">POLYMER</Code>
								</Class>
								<Definition>
									<!-- Codelists: IMDE_MaterialCode-->
									<Code Type="IMDE">POLYMER_PET</Code>
								</Definition>
								<QuantityUnits>
									<!-- Codelists: IMDE_MaterialAttributeUOMCode-->
									<QuantityUnit Type="IMDE">GRM</QuantityUnit>
								</QuantityUnits>
								<Attributes>
									<Attribute>
										<Key>
											<!-- Codelists: IMDE_MaterialAttributeCode-->
											<Code Type="IMDE">MaterialColour</Code>
										</Key>
										<CodeList>IMDE</CodeList>
										<Values>
											<!-- Codelists: IMDE_MaterialAttributeValueCode-->
											<Value>Colourless</Value>
										</Values>
									</Attribute>
									<Attribute>
										<Key>
											<!-- Codelists: IMDE_MaterialAttributeCode-->
											<Code Type="IMDE">FormType</Code>
										</Key>
										<CodeList>IMDE</CodeList>
										<Values>
											<!-- Codelists: IMDE_MaterialAttributeValueCode-->
											<Value>Rigid</Value>
										</Values>
									</Attribute>
								</Attributes>
							</Material>
						</Materials>
					</Material>
				</Materials>
			</PackagingElement>
		</PackagingElements>
	</Packaging>
</DataTopic>			

JSON:

  {
	"Format": "Azlon",
	"Topic": "Packaging",
	"Version": "1.2",
	"Content": {
	  "PackagingElements": {
		"PackagingElement": [
		  {
			"IsMainElement": true,
			"IsReturnable": false,
			"PackagingType": { "Code": [ { "Type": "IMDE", "Value": "CG" } ] },
			"PackagingSubType": { "Code": [ { "Type": "IMDE", "Value": "PXT1X11" } ] },
			"ContactSensitivityClass": { "Code": [ { "Type": "IMDE", "Value": "FOOD" } ] },
			"RecyclingCodes": { "Code": [ { "Type": "IMDE", "Value": "RC21MP" }, { "Type": "IMDE", "Value": "RC22PAP" } ] }
		  },
		  {
			"IsMainElement": false,
			"IsReturnable": true,
			"PackagingType": { "Code": [ { "Type": "IMDE", "Value": "CAP" } ] },
			"Returnable": {
			  "Code": [
				{ "Type": "DataSender", "Value": "54" },
				{ "Type": "DataReceiver", "Value": "22" },
				{ "Type": "GRAI", "Value": "8710547991113" }
			  ]
			},
			"Materials": {
			  "Material": [
				{
				  "Quantity": 9,
				  "Class": { "Code": [ { "Type": "IMDE", "Value": "COMPOSITE" } ] },
				  "Definition": { "Code": [ { "Type": "IMDE", "Value": "COMPOSITE" } ] },
				  "QuantityUnits": { "QuantityUnit": [ { "Type": "IMDE", "Value": "GRM" } ] },
				  "Materials": {
					"Material": [
					  {
						"Quantity": 4,
						"Class": { "Code": [ { "Type": "IMDE", "Value": "METAL" } ] },
						"Definition": { "Code": [ { "Type": "IMDE", "Value": "METAL_ALUMINUM" } ] },
						"QuantityUnits": { "QuantityUnit": [ { "Type": "IMDE", "Value": "GRM" } ] },
						"Attributes": {
						  "Attribute": [
							{
							  "Key": { "Code": [ { "Type": "IMDE", "Value": "Thickness" } ] },
							  "ValueUnits": { "ValueUnit": [ { "Type": "IMDE", "Value": "MMT" } ] },
							  "Values": { "Value": [ "0.07" ] }
							},
							{
							  "Key": { "Code": [ { "Type": "IMDE", "Value": "ContentRecycledPI" } ] },
							  "ValueUnits": { "ValueUnit": [ { "Type": "IMDE", "Value": "PERC" } ] },
							  "Values": { "Value": [ "5" ] }
							}
						  ]
						}
					  },
					  {
						"Quantity": 45,
						"Class": { "Code": [ { "Type": "IMDE", "Value": "POLYMER" } ] },
						"Definition": { "Code": [ { "Type": "IMDE", "Value": "POLYMER_PET" } ] },
						"QuantityUnits": { "QuantityUnit": [ { "Type": "IMDE", "Value": "GRM" } ] },
						"Attributes": {
						  "Attribute": [
							{
							  "Key": { "Code": [ { "Type": "IMDE", "Value": "MaterialColour" } ] },
							  "CodeList": "IMDE",
							  "Values": { "Value": [ "Colourless" ] }
							},
							{
							  "Key": { "Code": [ { "Type": "IMDE", "Value": "FormType" } ] },
							  "CodeList": "IMDE",
							  "Values": { "Value": [ "Rigid" ] }
							}
						  ]
						}
					  }
					]
				  }
				}
			  ]
			}
		  }
		]
	  }
	}
  }

Downloads

Old versions