IATA-Cargo / ONE-Record

This repository contains the documentation & specs for the ONE Record standard.
https://onerecord.iata.org
MIT License
99 stars 51 forks source link

Dimensions - Limited to one set of Dim (height, length..etc). Need to support multiple sets, suggest to add sequence #214

Closed chewjin closed 5 months ago

chewjin commented 8 months ago

https://onerecord.iata.org/ns/cargo#Dimensions

:Dimensions rdf:type owl:Class ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:onProperty :height ; owl:allValuesFrom :Value ] , [ rdf:type owl:Restriction ; owl:onProperty :length ; owl:allValuesFrom :Value ] , [ rdf:type owl:Restriction ; owl:onProperty :volume ; owl:allValuesFrom :Value ] , [ rdf:type owl:Restriction ; owl:onProperty :width ; owl:allValuesFrom :Value ] , [ rdf:type owl:Restriction ; owl:onProperty :height ; owl:maxCardinality "1"^^xsd:nonNegativeInteger ] , [ rdf:type owl:Restriction ; owl:onProperty :length ; owl:maxCardinality "1"^^xsd:nonNegativeInteger ] , [ rdf:type owl:Restriction ; owl:onProperty :volume ; owl:maxCardinality "1"^^xsd:nonNegativeInteger ] , [ rdf:type owl:Restriction ; owl:onProperty :width ; owl:maxCardinality "1"^^xsd:nonNegativeInteger ] ; rdfs:comment "Dimension details"@en ; rdfs:label "Dimensions"@en .

NiclasScheiber commented 8 months ago

Please elaborate why you need to support multiple sets?

A Piece, as Physical LogisticsObjects, represents the twin of a physical entity which by definition has one length, width, height and volume each.

chewjin commented 8 months ago

Good morning Niclas Thanks for the reply. We have shipments that contained 1 or more pieces (each with own dimension set). I would try to model via Shipment – Piece ( – pieces ) Please ignore the suggestion to add sequence.

Thanks again From: Niclas Scheiber @.> Sent: Friday, 1 December 2023 4:46 pm To: IATA-Cargo/ONE-Record @.> Cc: Koh Chew Jin @.>; Author @.> Subject: Re: [IATA-Cargo/ONE-Record] Dimensions - Limited to one set of Dim (height, length..etc). Need to support multiple sets, suggest to add sequence (Issue #214)

⚠ External Email: This email originated from outside the organisation. Do not click links or open attachment unless you recognise the sender and know the content is safe.

Please elaborate why you need to support multiple sets?

A Piece, as Physical LogisticsObjects, represents the twin of a physical entity which by definition has one length, width, height and volume each.

— Reply to this email directly, view it on GitHubhttps://us-west-2.protection.sophos.com?d=github.com&u=aHR0cHM6Ly9naXRodWIuY29tL0lBVEEtQ2FyZ28vT05FLVJlY29yZC9pc3N1ZXMvMjE0I2lzc3VlY29tbWVudC0xODM1Njk4NzE1&i=NWZjODRlOWU4NzA1ZTkwZmE1M2M0OWQ5&t=d2NuempJcDg2Uml1c1dsVVpxb0FGdGQ5SndJdzVXMzVSQnpFdUdvQ1hkYz0=&h=08c85faa4be04319abf7f172dd1d8ee9&s=AVNPUEhUT0NFTkNSWVBUSVZ-CzEl059Ym1RlqwKl3ZhNfC-dR2N5IDL9CUAdMA_6tA, or unsubscribehttps://us-west-2.protection.sophos.com?d=github.com&u=aHR0cHM6Ly9naXRodWIuY29tL25vdGlmaWNhdGlvbnMvdW5zdWJzY3JpYmUtYXV0aC9BS000SzdQWUdEUDJIUlBJUVdORUZaRFlIR0tNREFWQ05GU002QUFBQUFCQUNDS1hFT1ZISTJEU01WUVdJWDNMTVY0M09TTFRPTjJXS1EzUE5WV1dLM1RVSE1ZVFFNWlZHWTRUUU5aUkdV&i=NWZjODRlOWU4NzA1ZTkwZmE1M2M0OWQ5&t=Nm1ZZUhodzcwZjBHY2xjM0xHN0J6UVJUaVlXdWxka2hPUzAzbFlzT3gzcz0=&h=08c85faa4be04319abf7f172dd1d8ee9&s=AVNPUEhUT0NFTkNSWVBUSVZ-CzEl059Ym1RlqwKl3ZhNfC-dR2N5IDL9CUAdMA_6tA. You are receiving this because you authored the thread.Message ID: @.***>

NiclasScheiber commented 8 months ago

This is valid. If you need any assistence with the data model, feel free to contact me - I am happy to help!