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.
What is needed
specification/module/andspecification/component/.applies-ifis only used for agreed field applicability patterns, such asapplication-type.required-ifonly uses the agreed condition vocabulary, such asvalue,in,contains,operator,anyandall.equals, and multi-condition rules that do not use explicitanyorall.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.