Skip to content
Permalink
Browse files

konversasjonsId på Kvittering og Feil.

  • Loading branch information...
runeflobakk committed May 13, 2014
1 parent 1dae5ef commit 75a18a6dd1b3875f8711195b347ed5c03be5d92d
Showing with 19 additions and 12 deletions.
  1. +8 −1 xsd/sdp-feil.xsd
  2. +8 −0 xsd/sdp-felles.xsd
  3. +2 −1 xsd/sdp-kvittering.xsd
  4. +1 −10 xsd/sdp-melding.xsd
@@ -1,8 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns="http://begrep.difi.no/sdp/schema_v10" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://begrep.difi.no/sdp/schema_v10" elementFormDefault="qualified" version="1.0">

<xsd:schema version="1.0" targetNamespace="http://begrep.difi.no/sdp/schema_v10" elementFormDefault="qualified"
xmlns="http://begrep.difi.no/sdp/schema_v10"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<xsd:include schemaLocation="sdp-felles.xsd"/>

<xsd:element name="feil" type="Feil"/>
<xsd:complexType name="Feil">
<xsd:sequence>
<xsd:element name="konversasjonsId" type="KonversasjonsId" minOccurs="1" maxOccurs="1" />
<xsd:element name="tidspunkt" type="xsd:dateTime" minOccurs="1" maxOccurs="1"/>
<xsd:element name="feiltype" type="Feiltype" minOccurs="1" maxOccurs="1"/>
<xsd:element name="detaljer" type="Detaljer" minOccurs="0" maxOccurs="1"/>
@@ -7,6 +7,14 @@

<xsd:import namespace="http://begrep.difi.no" schemaLocation="oppslag/oppslagstjeneste-metadata-14-05.xsd"/>

<xsd:simpleType name="KonversasjonsId">
<xsd:annotation>
<xsd:documentation>ID for forsendelsen. Unik i kontekst av avsender. Maks 36 tegn.</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="36"/>
</xsd:restriction>
</xsd:simpleType>

<xsd:complexType name="Avsender">
<xsd:sequence>
@@ -5,12 +5,13 @@
targetNamespace="http://begrep.difi.no/sdp/schema_v10"
elementFormDefault="qualified" version="1.0">

<xsd:include schemaLocation="sdp-melding.xsd"/>
<xsd:include schemaLocation="sdp-felles.xsd"/>
<xsd:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="w3/xmldsig-core-schema.xsd"/>

<xsd:element name="kvittering" type="Kvittering"/>
<xsd:complexType name="Kvittering">
<xsd:sequence>
<xsd:element name="konversasjonsId" type="KonversasjonsId" minOccurs="1" maxOccurs="1" />
<xsd:element name="tidspunkt" type="xsd:dateTime" minOccurs="1" maxOccurs="1"/>
<xsd:choice>
<xsd:element name="levering" type="Levering"/>
@@ -21,16 +21,7 @@
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="konversasjonsId" minOccurs="1" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>ID for forsendelsen. Unik i kontekst av avsender.</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="36"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="konversasjonsId" type="KonversasjonsId" minOccurs="1" maxOccurs="1" />
<xsd:element name="avsender" type="Avsender" minOccurs="1" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>

0 comments on commit 75a18a6

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