Skip to content

Add integrity checks for allowed co-constraint vocabulary #327

Description

@colmjude

What is needed

  • Add integrity checks for the allowed co-constraint vocabulary in specification/module/ and specification/component/.
  • Check that applies-if is only used for agreed field applicability patterns, such as application-type.
  • Check that required-if only uses the agreed condition vocabulary, such as value, in, contains, operator, any and all.
  • Flag unsupported terms, duplicate terms such as equals, and multi-condition rules that do not use explicit any or all.

Why is it needed and by who

This is needed by specification maintainers so conditional field rules stay consistent as the specification changes.
It supports implementers and form-generation work by making the allowed vocabulary explicit and testable.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status
    Future phase

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions