Skip to content

Usage of repeatable fields #29

Answered by rousso
fpoort asked this question in Q&A
Discussion options

You must be logged in to vote

Hi again @fpoort,

This is to follow-up on the third point in your question about the apparent discrepancy between the cardinality of cbc:RegulatoryDomain (BT-01-notice) in fields.json and in the schema.

So here is the thing: cbc:RegulatoryDomain is a UBL element, that is being reused by eForms. UBL defines this as maxOccurs="unbounded" and that is why it appears like that in the schema. However, eFroms is not as permissive as UBL, so fields.json restricts this field to one occurrence (not-repeatable).

I hope this covers you. In general, similar apparent "discrepancies" must exist for several other fields. For eForms, the correct definition is the one provided in fields.json.

Regards,
Yannis

Replies: 2 comments

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 rousso
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
Converted from issue

This discussion was converted from issue #28 on June 23, 2022 12:15.