Skip to content
Permalink
Browse files

Legger til støtte for å angi printfarge i FysiskPostInfo

  • Loading branch information...
runeflobakk committed Nov 28, 2014
1 parent 11e3862 commit 6358e413bfff6d52b5f73b8f84a84c4518b70b37
Showing with 9 additions and 0 deletions.
  1. +1 −0 eksempler/sdpMelding-print.xml
  2. +8 −0 xsd/sdp-melding.xsd
@@ -68,6 +68,7 @@
<poststed>OSLO</poststed>
</norskMottakeradresse>
<posttype>A</posttype>
<printfarge>SORT_HVIT</printfarge>
<returHaandtering>RETURNER</returHaandtering>
<returPostmottaker>DIFI Returpost</returPostmottaker>
<returadresse>
@@ -198,11 +198,19 @@
<xsd:element name="utenlandskMottakeradresse" type="UtenlandskPostadresse" minOccurs="1" maxOccurs="1"/>
</xsd:choice>
<xsd:element name="posttype" type="FysiskPostType" minOccurs="1" maxOccurs="1" />
<xsd:element name="printfarge" type="Printfarge" 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="Printfarge">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="SORT_HVIT" />
<xsd:enumeration value="FARGE" />
</xsd:restriction>
</xsd:simpleType>

<xsd:simpleType name="FysiskPostType">
<xsd:restriction base="xsd:string">

0 comments on commit 6358e41

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