Closed Michiel-s closed 3 months ago
Thanks, I'll double check why not the same rules have applied.
Any news on this?
@ESchouten Sorry no news. It does not get any priority at the moment. So I cannot give you a date.
Since TNO is working on a tool that can do this and more we expect that the validation tool can be deprecated and turned off. So we will not fix it (even though we agree that this is a bug).
The JSON validator module is ready and integrated in Semantic Treehouse. The running instance at https://sutc.semantic-treehouse.nl is at the disposal of the OTM team.
OTM profiles need to be registered in order to configure the validator. That is work to be done.
It is possible to either upload a json schema as validation artefact for the profile or let Semantic Treehouse generate the json schema.
Type of bug
Describe the bug The rules for the transport order profile as defined at this page are not evaluated by the validation endpoint for transport orders.
To Reproduce Steps to reproduce the behavior:
https://otm5-documentation-api.services.simacan.com/api/v5/validate/transportOrders
with headerContent-Type: application/json
and the body below.A consignment must have at least one goods item to be transported.
Body
Expected behavior Validation tool to check and report all the rules as mentioned in the transport order profile:
Screenshots