Skip to content
Permalink
Browse files

Skiller ut enum typer for returnHaandtering og posttype som var inlin…

…et i FysiskPostInfo
  • Loading branch information...
runeflobakk committed Nov 25, 2014
1 parent 89765f0 commit 55788842c5e641c2455ea7e7e3743269a5b48a65
Showing with 16 additions and 16 deletions.
  1. +16 −16 xsd/sdp-melding.xsd
@@ -195,27 +195,27 @@
<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" 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="posttype" type="FysiskPostType" minOccurs="1" maxOccurs="1" />
<xsd:element name="returHaandtering" type="FysiskPostReturhaandtering" minOccurs="1" maxOccurs="1" />
<xsd:element name="returPostmottaker" type="Navn" minOccurs="1" maxOccurs="1"/>
<xsd:element name="returadresse" type="NorskPostadresse" minOccurs="1" maxOccurs="1"/>
</xsd:sequence>
</xsd:complexType>

<xsd:simpleType name="FysiskPostType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="A"/>
<xsd:enumeration value="B"/>
</xsd:restriction>
</xsd:simpleType>

<xsd:simpleType name="FysiskPostReturhaandtering">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="RETURNER"/>
<xsd:enumeration value="MAKULER"/>
</xsd:restriction>
</xsd:simpleType>

<xsd:complexType name="NorskPostadresse">
<xsd:sequence>
<xsd:element name="adresselinje1" type="Adresselinje" minOccurs="0" maxOccurs="1"/>

0 comments on commit 5578884

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