In implementation.milestones the uniqueItems property is set to true, however the milestones arrays in planning, tender and contract do not have this property set.
This means that data with duplicate milestones (or duplicate milestone ids) in these sections doesn't result in a validation error.
The definition of milestone.id states:
A local identifier for this milestone, unique within this block
So uniqueItems should be set to true in all milestones arrays.
Adding this to the 2.0 milestone as it could make existing data invalid.
I'll open an issue on the CoVE tracker to add an additional check for duplicate milestones ids until we can add this to the schema.
cc @pindec
In
implementation.milestonestheuniqueItemsproperty is set totrue, however themilestonesarrays inplanning,tenderandcontractdo not have this property set.This means that data with duplicate milestones (or duplicate milestone ids) in these sections doesn't result in a validation error.
The definition of
milestone.idstates:So
uniqueItemsshould be set totruein allmilestonesarrays.Adding this to the 2.0 milestone as it could make existing data invalid.
I'll open an issue on the CoVE tracker to add an additional check for duplicate milestones ids until we can add this to the schema.
cc @pindec