Skip to content
Permalink
Browse files

Dokument.tittel, DigitalPostInfo.tittel, tekst i varsler ikke mandato…

…ry, men må ha minst ett tegn dersom de angis.
  • Loading branch information...
runeflobakk committed Apr 14, 2014
1 parent af12ff5 commit af2b6919e81add82a8d1de9a97fdb8e3540b29ca
Showing with 7 additions and 3 deletions.
  1. +2 −1 xsd/sdp-manifest.xsd
  2. +5 −2 xsd/sdp-melding.xsd
@@ -27,7 +27,7 @@

<xsd:complexType name="Dokument">
<xsd:sequence>
<xsd:element name="tittel" minOccurs="1" maxOccurs="1">
<xsd:element name="tittel" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>
Emnet på dokumentet som skal vises til bruker når innlogget riktig sikkerhetsnivå.
@@ -36,6 +36,7 @@
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="100" />
<xsd:minLength value="1" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
@@ -135,6 +135,7 @@
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="100" />
<xsd:minLength value="1" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
@@ -168,10 +169,11 @@

<xsd:complexType name="EpostVarsel">
<xsd:sequence>
<xsd:element name="varselTekst">
<xsd:element name="tekst" minOccurs="0" maxOccurs="1">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="500" />
<xsd:minLength value="1" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
@@ -187,10 +189,11 @@

<xsd:complexType name="SmsVarsel">
<xsd:sequence>
<xsd:element name="varselTekst">
<xsd:element name="tekst" minOccurs="0" maxOccurs="1">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="160" />
<xsd:minLength value="1" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>

0 comments on commit af2b691

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