Skip to content
Permalink
Browse files

Tatt ut Iso6523Authority og Sikkerhetsnivaa som egne enumtyper istede…

…t for inline
  • Loading branch information...
runeflobakk committed Apr 14, 2014
1 parent 0849d59 commit b0ecb579c21e83bb30de0230728ce3c523a8523d
Showing with 15 additions and 15 deletions.
  1. +15 −15 xsd/sdp-melding.xsd
@@ -108,31 +108,24 @@
<xsd:complexType name="Organisasjon">
<xsd:simpleContent>
<xsd:extension base="Iso6523Identitet">
<xsd:attribute name="authority" use="optional" default="iso6523-actorid-upis">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="iso6523-actorid-upis" />
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute name="authority" type="Iso6523Authority" use="optional" default="iso6523-actorid-upis" />
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>

<xsd:simpleType name="Iso6523Authority">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="iso6523-actorid-upis" />
</xsd:restriction>
</xsd:simpleType>


<xsd:complexType name="DigitalPostInfo">
<xsd:sequence>
<xsd:element name="mottaker" type="Mottaker" minOccurs="1" maxOccurs="1" />
<xsd:element name="virkningsdato" type="xsd:date" minOccurs="0" maxOccurs="1" />
<xsd:element name="aapningskvittering" type="xsd:boolean" minOccurs="0" maxOccurs="1" default="false" />
<xsd:element name="sikkerhetsnivaa" minOccurs="0" maxOccurs="1" default="3">
<xsd:simpleType>
<xsd:restriction base="xsd:integer">
<xsd:enumeration value="3" />
<xsd:enumeration value="4" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="sikkerhetsnivaa" type="Sikkerhetsnivaa" minOccurs="0" maxOccurs="1" default="3" />
<xsd:element name="tittel" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>
@@ -149,6 +142,13 @@
</xsd:sequence>
</xsd:complexType>

<xsd:simpleType name="Sikkerhetsnivaa">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="3" />
<xsd:enumeration value="4" />
</xsd:restriction>
</xsd:simpleType>


<xsd:complexType name="Mottaker">
<xsd:choice>

0 comments on commit b0ecb57

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