IATA-Cargo / ONE-Record

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

[DM Ontology] add revision attribute to LogisticsObject #158

Closed ddoeppner closed 6 months ago

ddoeppner commented 1 year ago

While investigating the PatchRequest functionality, I noticed that the LogisticsObject class is missing a revision number that can be compared when applying a PatchRequest

I suggest that we will add an attribute 'revision' of type int to the general LogisticsObject class

ddoeppner commented 6 months ago

Solved with the latest ONE Record API version 2.0.0, cf. https://onerecord.iata.org/ns/api#hasLatestRevision that is used in https://onerecord.iata.org/ns/api#AuditTrail