Skip to content

Commit

Permalink
Oppdateringer
Browse files Browse the repository at this point in the history
  • Loading branch information
landro committed Apr 11, 2014
1 parent 48851ec commit ed54959
Show file tree
Hide file tree
Showing 3 changed files with 125 additions and 112 deletions.
17 changes: 9 additions & 8 deletions xsd/sdp-kvittering.xsd
Expand Up @@ -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>
Expand Down Expand Up @@ -64,7 +57,15 @@
</xsd:simpleType>


<xsd:simpleType name="Feiltype">
<xsd:complexType name="Feil">
<xsd:sequence>
<xsd:element name="feiltype" type="Feilkilde" minOccurs="1" maxOccurs="1"/>
<xsd:element name="feilinformasjon" 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" />
Expand Down
22 changes: 8 additions & 14 deletions xsd/sdp-manifest.xsd
Expand Up @@ -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"/>
Expand All @@ -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">
Expand All @@ -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>
Expand Down

0 comments on commit ed54959

Please sign in to comment.