Skip to content
Permalink
Browse files

Merge pull request #160 from digipost/xsd-forslag

la til returHaandtering, addresselinje3, mandatory posttype
  • Loading branch information...
aberner committed Nov 17, 2014
2 parents c4df7c1 + 713c0b8 commit fdf711188bb4d9a7f9a72677367e68472cd97afa
Showing with 10 additions and 1 deletion.
  1. +10 −1 xsd/sdp-melding.xsd
@@ -195,14 +195,22 @@
<xsd:element name="norskMottakeradresse" type="NorskPostadresse" minOccurs="1" maxOccurs="1"/>
<xsd:element name="utenlandskMottakeradresse" type="UtenlandskPostadresse" minOccurs="1" maxOccurs="1"/>
</xsd:choice>
<xsd:element name="posttype" default="A" minOccurs="0" maxOccurs="1">
<xsd:element name="posttype" minOccurs="1" maxOccurs="1">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="A"/>
<xsd:enumeration value="B"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="returHaandtering" minOccurs="1" maxOccurs="1">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="RETURNER"/>
<xsd:enumeration value="MAKULER"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="returPostmottaker" type="Navn" minOccurs="1" maxOccurs="1"/>
<xsd:element name="returadresse" type="NorskPostadresse" minOccurs="1" maxOccurs="1"/>
</xsd:sequence>
@@ -212,6 +220,7 @@
<xsd:sequence>
<xsd:element name="adresselinje1" type="Adresselinje" minOccurs="0" maxOccurs="1"/>
<xsd:element name="adresselinje2" type="Adresselinje" minOccurs="0" maxOccurs="1"/>
<xsd:element name="adresselinje3" type="Adresselinje" minOccurs="0" maxOccurs="1"/>
<xsd:element name="postnummer" type="NorskPostnummer" minOccurs="1" maxOccurs="1"/>
<xsd:element name="poststed" type="Poststed" minOccurs="1" maxOccurs="1"/>
</xsd:sequence>

0 comments on commit fdf7111

Please sign in to comment.
You can’t perform that action at this time.