From: Robin Gohmert Date: Wed, 22 Jan 2025 10:50:30 +0000 (+0100) Subject: Fixed cardinality for electronic address (#48) X-Git-Tag: 2025.1.0~18 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8ca677873169f0778828b3efdf87e0587177ca5c;p=thirdparty%2Fpython-drafthorse.git Fixed cardinality for electronic address (#48) --- diff --git a/drafthorse/models/party.py b/drafthorse/models/party.py index 3d0dd5d..fa8d00e 100644 --- a/drafthorse/models/party.py +++ b/drafthorse/models/party.py @@ -130,7 +130,7 @@ class TradeParty(Element): profile=BASIC, _d="Anschrift des Handelspartners", ) - electronic_address: Container = MultiField( + electronic_address: Container = Field( URIUniversalCommunication, required=False, profile=BASIC ) tax_registrations: Container = MultiField(