lib/metanorma/un/biblio.rng in metanorma-un-0.12.3 vs lib/metanorma/un/biblio.rng in metanorma-un-0.12.4
- old
+ new
@@ -336,46 +336,49 @@
<ref name="FormattedString"/>
</element>
</define>
<define name="organization">
<element name="organization">
- <oneOrMore>
- <ref name="orgname"/>
- </oneOrMore>
- <zeroOrMore>
- <ref name="subdivision"/>
- </zeroOrMore>
- <optional>
- <ref name="abbreviation"/>
- </optional>
- <zeroOrMore>
- <ref name="uri"/>
- </zeroOrMore>
- <zeroOrMore>
- <ref name="org-identifier"/>
- </zeroOrMore>
- <zeroOrMore>
- <ref name="contact"/>
- </zeroOrMore>
- <optional>
- <ref name="logo"/>
- </optional>
+ <ref name="OrganizationType"/>
</element>
</define>
+ <define name="OrganizationType">
+ <oneOrMore>
+ <ref name="orgname"/>
+ </oneOrMore>
+ <zeroOrMore>
+ <ref name="subdivision"/>
+ </zeroOrMore>
+ <optional>
+ <ref name="abbreviation"/>
+ </optional>
+ <zeroOrMore>
+ <ref name="uri"/>
+ </zeroOrMore>
+ <zeroOrMore>
+ <ref name="org-identifier"/>
+ </zeroOrMore>
+ <zeroOrMore>
+ <ref name="contact"/>
+ </zeroOrMore>
+ <optional>
+ <ref name="logo"/>
+ </optional>
+ </define>
<define name="orgname">
<element name="name">
<choice>
<ref name="LocalizedString"/>
<ref name="NameWithVariants"/>
</choice>
</element>
</define>
<define name="subdivision">
<element name="subdivision">
- <choice>
- <ref name="LocalizedString"/>
- <ref name="NameWithVariants"/>
- </choice>
+ <optional>
+ <attribute name="type"/>
+ </optional>
+ <ref name="OrganizationType"/>
</element>
</define>
<define name="logo">
<element name="logo">
<ref name="image"/>