IATA-Cargo / ONE-Record

This repository contains the documentation & specs for the ONE Record standard.
https://iata-cargo.github.io/ONE-Record/
MIT License
106 stars 53 forks source link

[Data Model] Recommended to change the attribute linkedObject of the Event from ObjectProperty to String #142

Closed scott-wong closed 2 years ago

scott-wong commented 2 years ago

Changed the attribute linkedObject of the Event from ObjectProperty to String to facilitate API requests.

{ ... "iata-cargo:Event#linkedObject": "http://localhost:8080/companies/iata/los/Piece_017876", ... }

lambertciata commented 2 years ago

Hi, Actually, linkedObject property uses the URIs of the LOs so it is basically the same as strings except no "" should be necessary.

scott-wong commented 2 years ago

Got it, thank you.