Closed ddoeppner closed 6 months 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
Fixed with the release of the ONE Record API specification v2.0.0, see https://onerecord.iata.org/ns/api#hasRevision
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