Skip to content

Extend collection validation features #414

Open
@jeswr

Description

@jeswr

In #403 we implement support for #391 (sh:memberShape). As discussed in #403 (comment) we may wish to support some other constraints on collections - including:

  • sh:minCollectionLength and sh:maxCollectionLength (I think we SHOULD support this)
  • sh:uniqCollection to check that all elements in the list are unique (I think we SHOULD support this)
  • sh:memberCompare which operates similarly to property pair constraints by comparing adjacent elements; e.g. to enforce numeric ordering. (I am on the fence about supporting this)

I would like to land #403 before implementing these if we choose to proceed.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions