Skip to content

Why is BT-50 field mandatory M not CM? #1135

Answered by YvesJo
EvijaMozga asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,
Only few elements are actually required by the schema itself. Existence rules are mainly managed using schematron.
BT-50 is actually mandatory for Notice Subtype 16. There are however some forbidden rules to prevent the specification of BT-50 where not expected. When allowed, it is then mandatory for form (notice subtype) 16 only (i.e. it is not required for other forms).
You could see this more clearly when looking at fields.json lines 23522 and followings.
As this is not an SDK issue, I convert it to a discussion.
KR

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by YvesJo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
schematrons Related to the Schematron validation (/schematrons SDK folder)
2 participants
Converted from issue

This discussion was converted from issue #1133 on February 11, 2025 10:54.