Skip to content
Permalink
Browse files

Flyttet på Repetisjoner typen for å gjøre xsd-en mer lettlest

  • Loading branch information...
landro committed Jul 11, 2014
1 parent 1ae77ad commit 497dada92512ffa2991f43b8d473cdd95086b110
Showing with 13 additions and 13 deletions.
  1. +13 −13 xsd/sdp-melding.xsd
@@ -76,19 +76,6 @@
</xsd:sequence>
</xsd:complexType>

<xsd:complexType name="EpostVarsel">
<xsd:sequence>
<xsd:element name="epostadresse" minOccurs="1" maxOccurs="1" type="xsd:string"/>
<xsd:element name="varslingsTekst" minOccurs="1" maxOccurs="1" type="EpostVarselTekst"/>
<xsd:element name="repetisjoner" type="Repetisjoner" minOccurs="1" maxOccurs="1">
<xsd:unique name="UnikeEpostVarselRepetisjoner">
<xsd:selector xpath="sdp:dagerEtter"/>
<xsd:field xpath="."/>
</xsd:unique>
</xsd:element>
</xsd:sequence>
</xsd:complexType>

<xsd:complexType name="Repetisjoner">
<xsd:sequence>
<xsd:element name="dagerEtter" minOccurs="1" maxOccurs="10">
@@ -108,6 +95,19 @@
</xsd:sequence>
</xsd:complexType>

<xsd:complexType name="EpostVarsel">
<xsd:sequence>
<xsd:element name="epostadresse" minOccurs="1" maxOccurs="1" type="xsd:string"/>
<xsd:element name="varslingsTekst" minOccurs="1" maxOccurs="1" type="EpostVarselTekst"/>
<xsd:element name="repetisjoner" type="Repetisjoner" minOccurs="1" maxOccurs="1">
<xsd:unique name="UnikeEpostVarselRepetisjoner">
<xsd:selector xpath="sdp:dagerEtter"/>
<xsd:field xpath="."/>
</xsd:unique>
</xsd:element>
</xsd:sequence>
</xsd:complexType>

<xsd:complexType name="SmsVarsel">
<xsd:sequence>
<xsd:element name="mobiltelefonnummer" minOccurs="1" maxOccurs="1" type="xsd:string"/>

0 comments on commit 497dada

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