Skip to content
Permalink
Browse files

Merge branch 'xsd-forslag' of https://github.com/digipost/begrep-Sikk…

…erDigitalPost into xsd-forslag
  • Loading branch information...
tor-kleiberg committed Apr 12, 2014
2 parents 9aff887 + f5b8743 commit 1de56da1f5d3f23a1ccc81ba7d54c69fc7cbc170
Showing with 125 additions and 112 deletions.
  1. +9 −8 xsd/sdp-kvittering.xsd
  2. +8 −14 xsd/sdp-manifest.xsd
  3. +108 −90 xsd/sdp-melding.xsd
@@ -28,13 +28,6 @@
</xsd:complexType>


<xsd:complexType name="Feil">
<xsd:sequence>
<xsd:element name="feilType" type="Feiltype" minOccurs="1" maxOccurs="1"/>
<xsd:element name="feilinformasjon" type="Feilinformasjon" minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
</xsd:complexType>


<xsd:complexType name="AapnetAvMottaker">
</xsd:complexType>
@@ -64,7 +57,15 @@
</xsd:simpleType>


<xsd:simpleType name="Feiltype">
<xsd:complexType name="Feil">
<xsd:sequence>
<xsd:element name="kilde" type="Feilkilde" minOccurs="1" maxOccurs="1" />
<xsd:element name="informasjon" type="Feilinformasjon" minOccurs="0" maxOccurs="1" />
</xsd:sequence>
</xsd:complexType>


<xsd:simpleType name="Feilkilde">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="INPUT" />
<xsd:enumeration value="SERVER" />
@@ -11,10 +11,12 @@


<xsd:complexType name="Manifest">
<xsd:annotation>
<xsd:documentation>
Inneholder metadata relatert til hver fil i en forsendelse.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<!--
<xsd:element name="meldingsId" type="GUID" minOccurs="0" maxOccurs="1"/>
-->
<xsd:element name="mottaker" type="Mottaker" minOccurs="1" maxOccurs="1"/>
<xsd:element name="avsender" type="Avsender" minOccurs="1" maxOccurs="1"/>
<xsd:element name="hoveddokument" type="Dokument" minOccurs="1" maxOccurs="1"/>
@@ -23,13 +25,6 @@
</xsd:complexType>


<xsd:simpleType name="GUID">
<xsd:restriction base="xsd:string">
<xsd:pattern value="[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}"/>
</xsd:restriction>
</xsd:simpleType>


<xsd:complexType name="Dokument">
<xsd:sequence>
<xsd:element name="tittel" minOccurs="1" maxOccurs="1">
@@ -48,12 +43,11 @@
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute name="mime" use="required">
<xsd:attribute name="mime" use="required" type="xsd:string">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="application/pdf"/>
<xsd:enumeration value="text/html"/>
<xsd:enumeration value="text/plain"/>
<xsd:minLength value="1" />
<xsd:maxLength value="100" />
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
Oops, something went wrong.

0 comments on commit 1de56da

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