IATA-Cargo / ONE-Record

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

[Ontology] Recommended units for https://onerecord.iata.org/cargo/Value#unit #151

Closed ddoeppner closed 7 months ago

ddoeppner commented 2 years ago

When converting data from different source systems into the ONE Record data standard, it is often the case that units of measurement and currencies have to be converted. Accordingly, codes or units must be defined for the Value#unit property.

It might be helpful to agree on and recommend a list of codes that should be used for the Value#unit property, or provide references to preferred code collections, such as the GS1 US Unit of Measure list or ISO (currency) codes that should be used.

See GS1 US Unit of Measure Codes

See ISO 4217

ddoeppner commented 2 years ago

Maybe similar to https://github.com/IATA-Cargo/ONE-Record/blob/master/working_draft/ontology/IATA-1R-DM-Ontology.ttl#L4739

###  https://onerecord.iata.org/Waybill#destinationCurrencyCode
waybill:destinationCurrencyCode rdf:type owl:DatatypeProperty ;
                                rdfs:domain :Waybill ;
                                rdfs:range xsd:string ;
                                rdfs:comment "ISO 3-letter currency code of destination. Refer to ISO 4217"@en ;
                                rdfs:label "destinationCurrencyCode"@en .
lambertciata commented 1 year ago

Hi,

Interesting point, I guess it all depends on which standard we can rely on. To be discussed by the task force.

mskopp commented 1 year ago

AFAIK this has been discussed with task force already and outcome was that the units/unit-codes used in CargoXML should be used in 1R as well.

lambertciata commented 7 months ago

Cleared with 3.0.0