Skip to content

BT-01(f)-Procedure mandatory in the fields.json but not on the eNotice2 preview site #943

Discussion options

You must be logged in to vote

In the documentation page from your screenshot, there is the following note, indicated with a "CAUTION":

"The value of the forbidden property must take precedence over the value the mandatory property. If a field is forbidden, then it should not be present in the notice regardless of the value of its mandatory property. You should always check first if a field is forbidden or not. Then, consider whether the field is mandatory or optional only if the field is not forbidden."

In your case, for notice subtype 29, the field BT-01(f)-Procedure is forbidden when BT-01(e)-Procedure is not present.
When it is not forbidden (so when BT-01(e)-Procedure is present), it is then mandatory.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by bertrand-lorentz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
fields Related to field metadata (/fields/fields.json)
2 participants