-
Notifications
You must be signed in to change notification settings - Fork 4
Description
shipFromLocation and ShipToLocation have many occurences in existing schemas and would also be common in future schemas.
shipFromLocation and ShipToLocation have the same properties and the same enumerations of type. It will be the same in the future because if you ship to a location then you might also need to ship from that location.
By having a reference to a global property Location for shipFromLocation and ShipToLocation the number of lines in papiNet-API.yaml would decrease with 780 lines. The schema would also be easier to read.
storageLocation will still be locally defined because enumerations of type is not the same as for shipFromLocation and ShipToLocation. Enumeration BorderCrossing of the type is not specified in storageLocation.
There are only 2 occurences of storageLocation.