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

[API Ontology] Change type of PatchRequest#revision to int #157

Closed ddoeppner closed 6 months ago

ddoeppner commented 1 year ago

Change the type of https://onerecord.iata.org/api/PatchRequest#revision from string to integer See https://github.com/IATA-Cargo/ONE-Record/blob/master/working_draft/ontology/IATA-1R-API-Ontology.ttl#L458

revision should be of type integer as we are going to compare the revision of a LogisticsObject with the revision provided in a PatchRequest when a PatchRequest is applied

Compare with latest_revision in AuditTail - which is also of type int

ddoeppner commented 6 months ago

Fixed with the release of the ONE Record API specification v2.0.0, see https://onerecord.iata.org/ns/api#hasRevision