Skip to content

planning, tender and contract sections allow duplicate milestones #814

@duncandewhurst

Description

@duncandewhurst

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

Metadata

Metadata

Labels

Schema: ValidationRelating to constraints in the JSON Schema

Type

No type

Projects

Status

Review in progress

Relationships

None yet

Development

No branches or pull requests

Issue actions