Technische toelichting B: XSD en element beschrijvingen
Transcription
Technische toelichting B: XSD en element beschrijvingen
Technische toelichting B: XSD en element beschrijvingen Handleiding gegevenslevering in het kader van het depositogarantiestelsel. Versie: 2.0 Datum: 3 maart 2016 1 Inhoud 1. XSD 5 2. Schema documentation for dgsbericht.xsd 18 3. Namespace: "http://www.dnb.nl/dgs" 24 3.1 3.1.1 3.2 3.2.1 3.2.2 3.2.3 3.2.4 3.2.5 3.2.6 3.2.7 3.2.8 3.1.1 3.2.9 3.2.10 3.2.11 3.2.12 3.2.13 3.2.14 3.2.15 3.2.16 3.2.17 3.2.18 3.2.19 3.2.20 3.2.21 3.2.22 3.2.23 3.2.24 3.2.25 3.2.26 3.2.27 3.2.28 3.2.29 3.2.30 3.2.31 3.2.32 3.2.33 3.2.34 3.2.35 3.2.36 3.2.37 3.2.38 3.2.39 3.2.40 3.2.41 3.2.42 Schemas Main schema dgsbericht.xsd Elements Element dgs:bericht Element dgs:bericht / dgs:rekening Element dgs:Rekening / dgs:rekeningnummer Element dgs:Rekening / dgs:label Element dgs:Rekening / dgs:rekeningopgave_corr Element dgs:Rekeningopgave / dgs:rekeninghouder Element dgs:Rekeninghouder / dgs:bSNSofinummer Element dgs:Rekeninghouder / dgs:tinCode Element dgs:Rekeninghouder / dgs:kVKNummer Element dgs:Rekeninghouder / dgs:sbi Element dgs:Rekeninghouder / dgs:nationaliteit Element dgs:Rekeninghouder / dgs:relatienummerBank Element dgs:Rekeninghouder / dgs:naam Element dgs:Rekeninghouder / dgs:voorletters Element dgs:Rekeninghouder / dgs:voorvoegsels Element dgs:Rekeninghouder / dgs:adres Element dgs:Rekeninghouder / dgs:huisnummer Element dgs:Rekeninghouder / dgs:huisnummerToevoeging Element dgs:Rekeninghouder / dgs:adres2 Element dgs:Rekeninghouder / dgs:postcode Element dgs:Rekeninghouder / dgs:woonplaats Element dgs:Rekeninghouder / dgs:provincie Element dgs:Rekeninghouder / dgs:land Element dgs:Rekeninghouder / dgs:geboortedatum Element dgs:Rekeninghouder / dgs:geboorteplaats Element dgs:Rekeninghouder / dgs:geboortelandcode Element dgs:Rekeninghouder / dgs:overigeIdentificatie Element dgs:Rekeninghouder / dgs:indicatieOverleden Element dgs:Rekeninghouder / dgs:rechtsvorm Element dgs:Rekeninghouder / dgs:gezamenlijkBelang Element dgs:Rekeninghouder / dgs:soortPersoon Element dgs:Rekeninghouder / dgs:tegenrekening Element dgs:TegenrekeningType / dgs:tegenrekening Element dgs:TegenrekeningType / dgs:bicCodeBank Element dgs:TegenrekeningType / dgs:naamBank Element dgs:TegenrekeningType / dgs:tenaamstelling Element dgs:Rekeninghouder / dgs:telefoonnummer Element dgs:Rekeninghouder / dgs:mobielnummer Element dgs:Rekeninghouder / dgs:emailadres Element dgs:Rekeninghouder / dgs:vlagBlokkadePersoon Element dgs:Rekeningopgave / dgs:productCode Element dgs:Rekeningopgave / dgs:saldo Element dgs:Rekeningopgave / dgs:rente 24 24 25 25 26 27 27 27 28 31 31 31 32 32 33 33 33 34 34 34 35 35 35 36 36 36 37 37 38 38 38 39 39 40 40 41 41 42 42 42 43 43 43 44 44 45 2 3.2.43 3.2.44 3.2.45 3.2.46 3.2.47 3.2.48 3.2.49 3.2.50 3.2.51 3.2.52 3.2.53 3.2.54 3.2.55 3.2.56 3.2.57 3.2.58 3.2.59 3.2.60 3.2.61 3.2.62 3.3 3.3.1 3.3.2 3.3.3 3.3.4 3.3.5 3.3.6 3.3.7 3.4 3.4.1 3.4.2 3.4.3 3.4.4 3.4.5 3.4.6 3.4.7 3.4.8 3.4.9 3.4.10 3.4.11 3.4.12 3.4.13 3.4.14 3.4.15 3.4.16 3.4.17 3.4.18 3.4.19 3.4.20 3.4.21 3.4.22 3.4.23 3.4.24 Element dgs:Rekeningopgave / dgs:tenaamstelling Element dgs:Rekeningopgave / dgs:blokkadeRekening Element dgs:Rekening / dgs:rekeningopgave Element dgs:bericht / dgs:versienummer Element dgs:bericht / dgs:bank Element dgs:Bank / dgs:vergunningnummer Element dgs:Bank / dgs:naam Element dgs:Bank / dgs:adres Element dgs:Bank / dgs:plaats Element dgs:Bank / dgs:kvkNummerBron Element dgs:Bank / dgs:administratieIdentificatie Element dgs:bericht / dgs:controle Element dgs:Controle / dgs:aantalgegevensrecords Element dgs:Controle / dgs:totaalbedragSaldo Element dgs:Controle / dgs:totaalbedragRente Element dgs:bericht / dgs:soortBestand Element dgs:bericht / dgs:aanleveringnummer Element dgs:bericht / dgs:volgnummerDeellevering Element dgs:bericht / dgs:aantalDeelleveringen Element dgs:bericht / dgs:codeProduktie Complex Types Complex Type dgs:Rekening Complex Type dgs:Rekeningopgave Complex Type dgs:Rekeninghouder Complex Type dgs:TegenrekeningType Complex Type dgs:BedragMetValutaType Complex Type dgs:Bank Complex Type dgs:Controle Simple Types Simple Type dgs:RekeningnummerType Simple Type dgs:StringMin1 Simple Type dgs:StringMax50Min1 Simple Type dgs:StringMax50 Simple Type dgs:BSNSofiType Simple Type dgs:TinType Simple Type dgs:KVKNummerType Simple Type dgs:SbiType Simple Type dgs:LandcodeISO3166Type Simple Type dgs:RelatienummerType Simple Type dgs:StringMax70Min1 Simple Type dgs:StringMax70 Simple Type dgs:StringMax6 Simple Type dgs:StringMax10 Simple Type dgs:StringMax100Min1 Simple Type dgs:StringMax100 Simple Type dgs:StringMaxVijfCijfers Simple Type dgs:StringMax5 Simple Type dgs:PostcodeType Simple Type dgs:GeboortedatumType Simple Type dgs:NulOfEenType Simple Type dgs:RechtsvormType Simple Type dgs:GezamenlijkBelangType Simple Type dgs:SoortPersoonType 3 46 46 47 47 48 48 49 49 50 50 51 51 52 52 52 52 53 53 54 54 54 54 55 56 60 60 61 62 62 62 63 63 63 64 64 65 65 66 66 67 67 67 68 68 69 69 69 70 70 71 71 72 72 3.4.25 3.4.26 3.4.27 3.4.28 3.4.29 3.4.30 3.4.31 3.4.32 3.4.33 3.4.34 3.4.35 3.4.36 3.4.37 3.4.38 3.4.39 3.4.40 3.4.41 3.4.42 3.4.43 3.4.44 3.4.45 3.4.46 3.4.47 3.5 3.5.1 Simple Type dgs:BICType Simple Type dgs:StringMax256 Simple Type dgs:TelefoonnummerType Simple Type dgs:EmailadresType Simple Type dgs:StringMax8Min1 Simple Type dgs:StringMax8 Simple Type dgs:Decimal2 Simple Type dgs:ValutaType Simple Type dgs:StringMax256Min1 Simple Type dgs:VersieNummerType Simple Type dgs:VergunningNummerType Simple Type dgs:StringMax22Min1 Simple Type dgs:StringMax22 Simple Type dgs:KVKNummerTypeMin1 Simple Type dgs:IntegerPositief8 Simple Type dgs:SoortBestandType Simple Type dgs:IntegerPositief10 Simple Type dgs:Deellevering Simple Type dgs:IntegerPositief2 Simple Type dgs:CodeProduktie Simple Type dgs:SoortRekeningType Simple Type dgs:StringMax9 Simple Type dgs:StringMax40 Attributes Attribute dgs:BedragMetValutaType / @valuta 4 73 73 74 74 75 75 75 76 76 77 77 78 78 78 79 79 80 80 80 81 81 82 82 82 82 1. XSD <?xml version="1.0" encoding="UTF-8"?> <!-- De Nederlandsche Bank - Schema Dgs aanlevering --> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:dgs="http://www.dnb.nl/dgs" targetNamespace="http://www.dnb.nl/dgs" elementFormDefault="qualified" version="1.0.4"> <xs:annotation> <xs:documentation> Changes 1.0.4 version: - type EmailadresType pattern removed - type SbiType fixed length restriction replaced by max length restriction Changes 1.0.3 version: - type PostCodeType pattern restriction removed - type VergunningNummerType changed to max 20 positions - type LandcodeISO3166Type made case insentitive - added minLength=1 restriction to all elements of complexType Bank, to VergunningNummerType and RekeningNummerType, to rekeningnummer and label element of complexType Rekening, to productCode and tenaamstelling elements of complexType Rekeningopgave, to naam, adres and woonplaats elements of complexType Rekeninghouder - volgnummerDeellevering and aantalDeelleveringen elements added minValue=1 restriction and totalDigits changed to 2 - emailadres, geboortedatum, geboorteplaats, geboortelandcode, bSNSofinummer, gezamenlijkBelang, sbi elements or complexType Rekeninghouder made optional - removed unused simpleTypes Changes 1.0.2 version: - vergunningnummer element changed from optional to required and changed to alphanumeric - optional elements made nillable - elements volgnummerDeellevering and aantalDeelleveringen changed to IntegerPositief4 - versienummer made fixed value - GeboorteDatumType changed to make entry of 00 or 99 values for month and day possible Changes 1.0.1 version: - element soortRekening removed from complexType rekeningOpgave - element aanleveringnummer changed to IntegerPositief10 - type LandcodeISO3166Type changed to 2 or 3 characters - element versienummer changed to StringMax10 - annotations translated - type SignType removed - type PositiefNegatiefType removed 5 - element blokkadeRekening changed to StringMax5 - element vlagBlokkadePersoon changed to StringMax5 - complextype AdresType removed, elements of AdresType moved to complextype Rekeninghouder - element productCode changed to StringMax8 - type StringAchtCijfers removed </xs:documentation> </xs:annotation> <xs:element name="bericht"> <xs:complexType> <xs:sequence> <xs:element name="rekening" type="dgs:Rekening" maxOccurs="unbounded"/> <xs:element name="versienummer" type="dgs:VersieNummerType"> <xs:annotation> <xs:documentation>The fixed value of the field versienummer given in an officially issued final version of the manual, used for the definition of the file</xs:documentation> </xs:annotation> </xs:element> <xs:element name="bank" type="dgs:Bank"/> <xs:element name="controle" type="dgs:Controle"/> <xs:element name="soortBestand" type="dgs:SoortBestandType"/> <xs:element name="aanleveringnummer" type="dgs:IntegerPositief10"> <xs:annotation> <xs:documentation>Reference number (aanlevernummer) given by DNB for a specific delivery</xs:documentation> </xs:annotation> </xs:element> <xs:element name="volgnummerDeellevering" type="dgs:Deellevering"/> <xs:element name="aantalDeelleveringen" type="dgs:Deellevering"/> <xs:element name="codeProduktie" type="dgs:CodeProduktie"/> </xs:sequence> </xs:complexType> </xs:element> <!-- complex types --> <xs:complexType name="Bank"> <xs:sequence> <xs:element name="vergunningnummer" type="dgs:VergunningNummerType"> <xs:annotation> <xs:documentation>Bank authorisation number (vergunningnummer) received from DNB</xs:documentation> </xs:annotation> 6 </xs:element> <xs:element name="naam" type="dgs:StringMax50Min1"/> <xs:element name="adres" type="dgs:StringMax22Min1"/> <xs:element name="plaats" type="dgs:StringMax22Min1"/> <xs:element name="kvkNummerBron" type="dgs:KVKNummerTypeMin1"/> <xs:element name="administratieIdentificatie" type="dgs:StringMax8Min1"/> </xs:sequence> </xs:complexType> <xs:complexType name="Controle"> <xs:sequence> <xs:element name="aantalgegevensrecords" type="dgs:IntegerPositief8"/> <xs:element name="totaalbedragSaldo" type="dgs:Decimal2" nillable="true" minOccurs="0"/> <xs:element name="totaalbedragRente" type="dgs:Decimal2" nillable="true" minOccurs="0"/> </xs:sequence> </xs:complexType> <xs:complexType name="Rekening"> <xs:sequence> <xs:element name="rekeningnummer" type="dgs:RekeningnummerType"/> <xs:element name="label" type="dgs:StringMax50Min1"/> <xs:element name="rekeningopgave_corr" type="dgs:Rekeningopgave" minOccurs="0"> <xs:annotation> <xs:documentation>Contains the original account data (rekeningopgave) that has to be corrected. The accompanying account data (rekeningopgave) replaces the original data in this element.</xs:documentation> </xs:annotation> </xs:element> <xs:element name="rekeningopgave" type="dgs:Rekeningopgave" minOccurs="0"/> </xs:sequence> </xs:complexType> <xs:complexType name="Rekeningopgave"> <xs:sequence> <xs:element name="rekeninghouder" type="dgs:Rekeninghouder" maxOccurs="unbounded"/> <xs:element name="productCode" type="dgs:StringMax8Min1"> <xs:annotation> <xs:documentation>Product code, defined by the bank, of the label (product description)</xs:documentation> </xs:annotation> 7 </xs:element> <xs:element name="saldo" type="dgs:BedragMetValutaType" nillable="true" minOccurs="0"/> <xs:element name="rente" type="dgs:BedragMetValutaType" nillable="true" minOccurs="0"/> <xs:element name="tenaamstelling" type="dgs:StringMax256Min1"/> <xs:element name="blokkadeRekening" type="dgs:StringMax5" nillable="true" minOccurs="0"> <xs:annotation> <xs:documentation>00000=not blocked (other coding to be delivered by bank)</xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:complexType> <xs:complexType name="Rekeninghouder"> <xs:sequence> <xs:element name="bSNSofinummer" type="dgs:BSNSofiType" nillable="true" minOccurs="0"/> <xs:element name="tinCode" type="dgs:TinType" nillable="true" minOccurs="0"/> <xs:element name="kVKNummer" type="dgs:KVKNummerType" nillable="true" minOccurs="0"/> <xs:element name="sbi" type="dgs:SbiType" nillable="true" minOccurs="0"> <xs:annotation> <xs:documentation>Standard Industrial Classification; see the SBI classification at the Chamber of Commerce.</xs:documentation> </xs:annotation> </xs:element> <xs:element name="nationaliteit" type="dgs:LandcodeISO3166Type" nillable="true" minOccurs="0"/> <xs:element name="relatienummerBank" type="dgs:RelatienummerType" nillable="true" minOccurs="0"/> <xs:element name="naam" type="dgs:StringMax70Min1"/> <xs:element name="voorletters" type="dgs:StringMax6" nillable="true" minOccurs="0"/> <xs:element name="voorvoegsels" type="dgs:StringMax10" nillable="true" minOccurs="0"/> <xs:element name="adres" type="dgs:StringMax100Min1"/> <xs:element name="huisnummer" type="dgs:StringMaxVijfCijfers"/> <xs:element name="huisnummerToevoeging" type="dgs:StringMax5" nillable="true" minOccurs="0"/> <xs:element name="adres2" type="dgs:StringMax100" nillable="true" minOccurs="0"> 8 <xs:annotation> <xs:documentation>Second address line, often used for addresses outside the Netherlands</xs:documentation> </xs:annotation> </xs:element> <xs:element name="postcode" type="dgs:PostcodeType" nillable="true" minOccurs="0"/> <xs:element name="woonplaats" type="dgs:StringMax100Min1"/> <xs:element name="provincie" type="dgs:StringMax100" nillable="true" minOccurs="0"/> <xs:element name="land" type="dgs:LandcodeISO3166Type"/> <xs:element name="geboortedatum" type="dgs:GeboortedatumType" nillable="true" minOccurs="0"/> <xs:element name="geboorteplaats" type="dgs:StringMax100" nillable="true" minOccurs="0"/> <xs:element name="geboortelandcode" type="dgs:LandcodeISO3166Type" nillable="true" minOccurs="0"/> <xs:element name="overigeIdentificatie" type="dgs:StringMax100" nillable="true" minOccurs="0"> <xs:annotation> <xs:documentation>Identifying data other than BSN/TIN, customer number, date of birth, etc.</xs:documentation> </xs:annotation> </xs:element> <xs:element name="indicatieOverleden" type="dgs:NulOfEenType" nillable="true" minOccurs="0"/> <xs:element name="rechtsvorm" type="dgs:RechtsvormType"/> <xs:element name="gezamenlijkBelang" type="dgs:GezamenlijkBelangType" nillable="true" minOccurs="0"/> <xs:element name="soortPersoon" type="dgs:SoortPersoonType"/> <xs:element name="tegenrekening" type="dgs:TegenrekeningType" nillable="true" minOccurs="0"> <xs:annotation> <xs:documentation>Contra account, for example used in some types of internet saving accounts as valid destination for withdrawals.</xs:documentation> </xs:annotation> </xs:element> <xs:element name="telefoonnummer" type="dgs:TelefoonnummerType" nillable="true" minOccurs="0"/> <xs:element name="mobielnummer" type="dgs:TelefoonnummerType" nillable="true" minOccurs="0"/> 9 <xs:element name="emailadres" type="dgs:EmailadresType" nillable="true" minOccurs="0"/> <xs:element name="vlagBlokkadePersoon" type="dgs:StringMax5" nillable="true" minOccurs="0"> <xs:annotation> <xs:documentation>00000=not blocked (other coding to be delivered by bank)</xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:complexType> <xs:complexType name="BedragMetValutaType"> <xs:annotation> <xs:documentation>Amount with two decimal places and with currency code</xs:documentation> </xs:annotation> <xs:simpleContent> <xs:extension base="dgs:Decimal2"> <xs:attribute name="valuta" type="dgs:ValutaType" use="optional"/> </xs:extension> </xs:simpleContent> </xs:complexType> <xs:complexType name="TegenrekeningType"> <xs:sequence> <xs:element name="tegenrekening" type="dgs:RekeningnummerType"> <xs:annotation> <xs:documentation>Valid account number that satisfies any applicable check (like the 11-check or IBANcheck).</xs:documentation> </xs:annotation> </xs:element> <xs:element name="bicCodeBank" type="dgs:BICType" nillable="true" minOccurs="0"/> <xs:element name="naamBank" type="dgs:StringMax50" nillable="true" minOccurs="0"/> <xs:element name="tenaamstelling" type="dgs:StringMax256" nillable="true" minOccurs="0" /> </xs:sequence> </xs:complexType> <!-- simple types speciaal --> <xs:simpleType name="BICType"> <xs:annotation> <xs:documentation>BIC belonging with the contra account.</xs:documentation> </xs:annotation> <xs:restriction base="xs:string"> <xs:maxLength value="11"/> <xs:whiteSpace value="collapse"/> <xs:pattern value="[a-zA-Z0-9]*"/> 10 </xs:restriction> </xs:simpleType> <xs:simpleType name="BSNSofiType"> <xs:annotation> <xs:documentation>Burger Service Nummer (Citizen service number) assigned by a Dutch municipality to a natural person, used in communications with the government, must satisfy the 11-check</xs:documentation> </xs:annotation> <xs:restriction base="xs:string"> <xs:length value="9"/> <xs:whiteSpace value="collapse"/> <xs:pattern value="[0-9]*"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="CodeProduktie"> <xs:restriction base="xs:string"> <xs:enumeration value="P"> <xs:annotation> <xs:documentation>Production file</xs:documentation> </xs:annotation> </xs:enumeration> <xs:enumeration value="T"> <xs:annotation> <xs:documentation>Test file, data in this file will not result in payments under DGS.</xs:documentation> </xs:annotation> </xs:enumeration> </xs:restriction> </xs:simpleType> <xs:simpleType name="EmailadresType"> <xs:restriction base="xs:string"> <xs:maxLength value="100"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="GeboortedatumType"> <xs:annotation> <xs:documentation>Valid date as specified in the manual</xs:documentation> </xs:annotation> <xs:restriction base="xs:string"> <xs:length value="8" /> <xs:pattern value="[1-9]{1}[0-9]{2,8}"></xs:pattern> </xs:restriction> </xs:simpleType> <xs:simpleType name="GezamenlijkBelangType"> <xs:restriction base="xs:string"> <xs:enumeration value="01"> <xs:annotation> <xs:documentation>Joint interest, one person entitled</xs:documentation> </xs:annotation> 11 </xs:enumeration> <xs:enumeration value="02"> <xs:annotation> <xs:documentation>Joint interest, two persons entitled</xs:documentation> </xs:annotation> </xs:enumeration> <xs:enumeration value="03"> <xs:annotation> <xs:documentation>Joint interest, more than two persons entitled</xs:documentation> </xs:annotation> </xs:enumeration> </xs:restriction> </xs:simpleType> <xs:simpleType name="SoortPersoonType"> <xs:restriction base="xs:string"> <xs:enumeration value="00"> <xs:annotation> <xs:documentation>Account holder</xs:documentation> </xs:annotation> </xs:enumeration> <xs:enumeration value="01"> <xs:annotation> <xs:documentation>Fully authorised representatieve</xs:documentation> </xs:annotation> </xs:enumeration> <xs:enumeration value="02"> <xs:annotation> <xs:documentation>Jointly authorised representatieve</xs:documentation> </xs:annotation> </xs:enumeration> </xs:restriction> </xs:simpleType> <xs:simpleType name="KVKNummerType"> <xs:restriction base="xs:string"> <xs:maxLength value="8"/> <xs:whiteSpace value="collapse"/> <xs:pattern value="[0-9]*"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="KVKNummerTypeMin1"> <xs:restriction base="dgs:KVKNummerType"> <xs:minLength value="1"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="LandcodeISO3166Type"> <xs:annotation> <xs:documentation>Country coding in accordance with ISO3166, 2 or 3 letter code</xs:documentation> 12 </xs:annotation> <xs:restriction base="xs:string"> <xs:minLength value="2"/> <xs:maxLength value="3"/> <xs:pattern value="[a-zA-Z]*"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="NulOfEenType"> <xs:restriction base="xs:int"> <xs:enumeration value="0"/> <xs:enumeration value="1"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="PostcodeType"> <xs:restriction base="xs:string"> <xs:maxLength value="9"/> <!-- <xs:pattern value="([0-9]{4}[a-zA-Z]{2})?"/> --> </xs:restriction> </xs:simpleType> <xs:simpleType name="RechtsvormType"> <xs:annotation> <xs:documentation>Legal form (natural or non-natural person)</xs:documentation> </xs:annotation> <xs:restriction base="xs:string"> <xs:enumeration value="01"> <xs:annotation> <xs:documentation>Natural person</xs:documentation> </xs:annotation> </xs:enumeration> <xs:enumeration value="02"> <xs:annotation> <xs:documentation>Non-natural person</xs:documentation> </xs:annotation> </xs:enumeration> </xs:restriction> </xs:simpleType> <xs:simpleType name="RekeningnummerType"> <xs:restriction base="dgs:StringMin1"> <xs:maxLength value="34"/> <xs:pattern value="[0-9a-zA-Z]*"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="SoortRekeningType"> <xs:restriction base="xs:int"> <xs:enumeration value="0"> <xs:annotation> <xs:documentation>Single</xs:documentation> </xs:annotation> 13 </xs:enumeration> <xs:enumeration value="1"> <xs:annotation> <xs:documentation>Joint</xs:documentation> </xs:annotation> </xs:enumeration> </xs:restriction> </xs:simpleType> <xs:simpleType name="RelatienummerType"> <xs:annotation> <xs:documentation>Bank's customer number</xs:documentation> </xs:annotation> <xs:restriction base="xs:string"> <xs:maxLength value="34"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="SbiType"> <xs:annotation> <xs:documentation>Standard Industrial Classification</xs:documentation> </xs:annotation> <xs:restriction base="xs:string"> <xs:maxLength value="6"/> <xs:pattern value="[0-9]*"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="SoortBestandType"> <xs:restriction base="xs:string"> <xs:enumeration value="DGSBETSP"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="StringMaxVijfCijfers"> <xs:restriction base="xs:string"> <xs:maxLength value="5"/> <xs:pattern value="[0-9]*"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="TelefoonnummerType"> <xs:restriction base="xs:string"> <xs:maxLength value="12"/> <xs:whiteSpace value="collapse"/> <xs:pattern value="[\+0-9]*"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="TinType"> <xs:annotation> <xs:documentation>Taxpayer Identification Number</xs:documentation> </xs:annotation> <xs:restriction base="xs:string"> <xs:maxLength value="20"/> 14 </xs:restriction> </xs:simpleType> <xs:simpleType name="ValutaType"> <xs:annotation> <xs:documentation>Value in accordance with ISO4217 (3 character code for currency)</xs:documentation> </xs:annotation> <xs:restriction base="xs:string"> <xs:length value="3"/> <xs:pattern value="[a-zA-Z]*"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="VergunningNummerType"> <xs:annotation> <xs:documentation>Number of the (bank) authorisation you have received from DNB</xs:documentation> </xs:annotation> <xs:restriction base="dgs:StringMin1"> <xs:maxLength value="20"/> <xs:pattern value="[0-9a-zA-Z]*"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="VersieNummerType"> <xs:restriction base="xs:string"> <xs:enumeration value="01"/> </xs:restriction> </xs:simpleType> <!-- simple types generiek --> <xs:simpleType name="Deellevering"> <xs:restriction base="dgs:IntegerPositief2"> <xs:minInclusive value="1"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="IntegerPositief2"> <xs:restriction base="xs:nonNegativeInteger"> <xs:totalDigits value="2"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="IntegerPositief8"> <xs:restriction base="xs:nonNegativeInteger"> <xs:totalDigits value="8"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="IntegerPositief10"> <xs:restriction base="xs:nonNegativeInteger"> <xs:totalDigits value="10"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="StringMax5"> <xs:restriction base="xs:string"> <xs:maxLength value="5"/> </xs:restriction> </xs:simpleType> 15 <xs:simpleType name="StringMax6"> <xs:restriction base="xs:string"> <xs:maxLength value="6"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="StringMax8"> <xs:restriction base="xs:string"> <xs:maxLength value="8"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="StringMax8Min1"> <xs:restriction base="dgs:StringMax8"> <xs:minLength value="1"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="StringMax9"> <xs:restriction base="xs:string"> <xs:maxLength value="9"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="StringMax10"> <xs:restriction base="xs:string"> <xs:maxLength value="10"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="StringMax22"> <xs:restriction base="xs:string"> <xs:maxLength value="22"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="StringMax22Min1"> <xs:restriction base="dgs:StringMax22"> <xs:minLength value="1"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="StringMax40"> <xs:restriction base="xs:string"> <xs:maxLength value="40"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="StringMax50"> <xs:restriction base="xs:string"> <xs:maxLength value="50"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="StringMax50Min1"> <xs:restriction base="dgs:StringMax50"> <xs:minLength value="1"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="StringMax70"> <xs:restriction base="xs:string"> <xs:maxLength value="70"/> 16 </xs:restriction> </xs:simpleType> <xs:simpleType name="StringMax70Min1"> <xs:restriction base="dgs:StringMax70"> <xs:minLength value="1"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="StringMax100"> <xs:restriction base="xs:string"> <xs:maxLength value="100"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="StringMax100Min1"> <xs:restriction base="dgs:StringMax100"> <xs:minLength value="1"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="StringMax256"> <xs:restriction base="xs:string"> <xs:maxLength value="256"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="StringMax256Min1"> <xs:restriction base="dgs:StringMax256"> <xs:minLength value="1"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="Decimal2"> <xs:restriction base="xs:decimal"> <xs:fractionDigits value="2"/> </xs:restriction> </xs:simpleType> <xs:simpleType name="StringMin1"> <xs:restriction base="xs:string"> <xs:minLength value="1"/> </xs:restriction> </xs:simpleType> </xs:schema> 17 2. Schema documentation for dgsbericht.xsd add on (English) 10 juli 2015 Inleiding Er is DNB gevraagd om een vertaling van de XSD 1.0.4 te maken voor buitenlandse banken. In dit document wordt per element uit de XSD de engelse vertaling gegeven. Let op: Dit is slechts een vertaling ter verduidelijking van de manier waarop het XSD is opgebouwd. Het is geenszins de bedoeling om de vertaalde XSD velden op te nemen in XML. DNB accepteert slechts XML die voldoet aan de NL versie van de XSD. Andere talen zullen automatisch worden afgewezen. -Introduction DNB was asked to make a translation of the XSD 1.0.4 for foreign banks/branches. This document provides the English translation per element of the Dutch XSD. Warning: This is merely a translation in order to clarify the way in which the XSD is built up and it doesn’t replace the original Dutch XSD schema. DNB only accepts XML that meets the EN version of the XSD. Other languages will be automatically rejected. 18 Bericht Bericht dgs:rekening dgs:versienummer dgs:bank dgs:controle dgs:soortBestand dgs:aanleveringnummer dgs:volgnummerDeellevering dgs:aantalDeelleveringen dgs:codeProduktie Message account version number bank check file type delivery number tracking number of partial delivery number of partial deliveries file category (either P or T) Rekening Rekening dgs:rekeningnummer dgs:label dgs:rekeningopgave_corr dgs:rekeningopgave Account account number label account statement correction account statement Rekeningopgave_corr Rekeningopgave_corr dgs:rekeninghouder dgs:productCode dgs:saldo dgs:rente dgs:tenaamstelling dgs:blokkadeRekening Account statement correction Account holder Product code Balance Interest Ascription Blocked account Rekeninghouder Rekeninghouder dgs:bSNSofinummer dgs:tinCode dgs:KVKNummer dgs:sbi dgs:nationaliteit dgs:relatienummerBank dgs:naam dgs:voorletters dgs:voorvoegsels dgs:adres dgs:huisnummer dgs:huisnummerToevoeging dgs:adres2 Account holder citizen service number assigned by a Dutch municipality to a natural person TIN code Dutch CoC number SBI code nationality customer number of bank name initials prefixes address house number house number suffix address2 19 dgs:postcode dgs:woonplaats dgs:provincie dgs:land dgs:geboortedatum dgs:geboorteplaats dgs:geboortelandcode dgs:overigeIdentificatie dgs:indicatieOverleden dgs:rechtsvorm dgs:gezamenlijkBelang dgs:soortPersoon dgs:tegenrekening dgs:telefoonnummer dgs:mobielnummer dgs:emailadres dgs:vlagBlokkadePersoon postal code place of residence state/province country date of birth place of birth code place of birth Identification data (other than BSN/TIN, customer number, date of birth, etc.) indication deceased legal form (natural person or legal entity) joint interest type of person (account holder, representative) counter account telephone number mobile phone e-mail address flag blocked person Tegenrekening Tegenrekening dgs:tegenrekening dgs:bicCodeBank dgs:naamBank dgs:tenaamstelling Counter Account counter account BIC code of bank name of bank ascription Rekeningopgave Rekeningopgave dgs:rekeninghouder dgs:productCode dgs:saldo dgs:rente dgs:tenaamstelling dgs:blokkadeRekening Account statement account holder product code balance interest ascription blocked account Bank Bank dgs:vergunningnummer dgs:naam dgs:adres dgs:plaats dgs:kvkNummerBron dgs:administratieidentificatie Bank licence number name address city Source of Dutch CoC number tracking number for administration 20 Controle Check dgs:aantalgegevensrecords dgs:totaalbedragSaldo dgs:totaalbedragRente Check number of data records total total amount balance total total amount in interest 21 TegenrekeningType TegenrekeningType dgs:tegenrekening dgs:bicCodeBank dgs:naamBank dgs:tenaamstelling CounteraccountType Counter account BIC code of Bank Name of Bank Ascription 22 23 3. Namespace: "http://www.dnb.nl/dgs" 3.1 Schemas 3.1.1 Main schema dgsbericht.xsd Namespace Annotations http://www.dnb.nl/dgs - - - Properties Changes 1.0.4 version: type EmailadresType pattern removed type SbiType fixed length restriction replaced by max length restriction Changes 1.0.3 version: type PostCodeType pattern restriction removed type VergunningNummerType changed to max 20 positions type LandcodeISO3166Type made case insentitive- added minLength=1 restriction to all elements of complexType Bank, to VergunningNummerType and RekeningNummerType, to rekeningnummer and label element of complexType Rekening, to productCode and tenaamstelling elements of complexType Rekeningopgave, to naam, adres and woonplaats elements of complexType Rekeninghouder - volgnummerDeellevering and aantalDeelleveringen elements added minValue=1 restriction and totalDigits changed to 2 - emailadres, geboortedatum, geboorteplaats, geboortelandcode, bSNSofinummer, gezamenlijkBelang, sbi elements or complexType Rekeninghouder made optional - removed unused simpleTypes Changes 1.0.2 version: vergunningnummer element changed from optional to required and changed to alphanumeric optional elements made nillable elements volgnummerDeellevering and aantalDeelleveringen changed to IntegerPositief4 versienummer made fixed value GeboorteDatumType changed to make entry of 00 or 99 values for month and day possible Changes 1.0.1 version: element soortRekening removed from complexType rekeningOpgave element aanleveringnummer changed to IntegerPositief10 type LandcodeISO3166Type changed to 2 or 3 characters element versienummer changed to StringMax10 annotations translated type SignType removed type PositiefNegatiefType removed element blokkadeRekening changed to StringMax5 element vlagBlokkadePersoon changed to StringMax5 complextype AdresType removed, elements of AdresType moved to complextype Rekeninghouder element productCode changed to StringMax8 type StringAchtCijfers removed attribute form default: unqualified element form default: qualified version: 1.0.4 24 3.2 Elements 3.2.1 Element dgs:bericht Namespace http://www.dnb.nl/dgs Diagram Properties content: Model dgs:rekening+ , dgs:versienummer , dgs:bank , dgs:controle , dgs:soortBestand , dgs:aanleveringnummer , dgs:volgnummerDeellevering , dgs:aantalDeelleveringen , dgs:codeProduktie Children dgs:aanleveringnummer, dgs:aantalDeelleveringen, dgs:bank, dgs:codeProduktie, dgs:controle, dgs:rekening, dgs:soortBestand, dgs:versienummer, dgs:volgnummerDeellevering Instance <dgs:bericht> <dgs:rekening>{1,unbounded}</dgs:rekening> <dgs:versienummer>{1,1}</dgs:versienummer> <dgs:bank>{1,1}</dgs:bank> <dgs:controle>{1,1}</dgs:controle> <dgs:soortBestand>{1,1}</dgs:soortBestand> <dgs:aanleveringnummer>{1,1}</dgs:aanleveringnummer> <dgs:volgnummerDeellevering>{1,1}</dgs:volgnummerDeellevering> <dgs:aantalDeelleveringen>{1,1}</dgs:aantalDeelleveringen> <dgs:codeProduktie>{1,1}</dgs:codeProduktie> </dgs:bericht> complex 25 Source 3.2.2 <xs:element name="bericht"> <xs:complexType> <xs:sequence> <xs:element name="rekening" type="dgs:Rekening" maxOccurs="unbounded"/> <xs:element name="versienummer" type="dgs:VersieNummerType"> <xs:annotation> <xs:documentation>The fixed value of the field versienummer given in an officially issued final version of the manual, used for the definition of the file</xs:documentation> </xs:annotation> </xs:element> <xs:element name="bank" type="dgs:Bank"/> <xs:element name="controle" type="dgs:Controle"/> <xs:element name="soortBestand" type="dgs:SoortBestandType"/> <xs:element name="aanleveringnummer" type="dgs:IntegerPositief10"> <xs:annotation> <xs:documentation>Reference number (aanlevernummer) given by DNB for a specific delivery</xs:documentation> </xs:annotation> </xs:element> <xs:element name="volgnummerDeellevering" type="dgs:Deellevering"/> <xs:element name="aantalDeelleveringen" type="dgs:Deellevering"/> <xs:element name="codeProduktie" type="dgs:CodeProduktie"/> </xs:sequence> </xs:complexType> </xs:element> Element dgs:bericht / dgs:rekening Namespace http://www.dnb.nl/dgs Diagram Type dgs:Rekening Properties content: complex maxOccurs: unbounded Model dgs:rekeningnummer , dgs:label , dgs:rekeningopgave_corr{0,1} , dgs:rekeningopgave{0,1} Children dgs:label, dgs:rekeningnummer, dgs:rekeningopgave, dgs:rekeningopgave_corr Instance <dgs:rekening> <dgs:rekeningnummer>{1,1}</dgs:rekeningnummer> <dgs:label>{1,1}</dgs:label> <dgs:rekeningopgave_corr>{0,1}</dgs:rekeningopgave_corr> <dgs:rekeningopgave>{0,1}</dgs:rekeningopgave> </dgs:rekening> 26 <xs:element name="rekening" type="dgs:Rekening" maxOccurs="unbounded"/> Source 3.2.3 Element dgs:Rekening / dgs:rekeningnummer Namespace http://www.dnb.nl/dgs Diagram Type dgs:RekeningnummerType Type hierarchy • xs:string • dgs:StringMin1 • dgs:RekeningnummerType Properties content: simple Facets minLength 1 maxLength 34 pattern [0-9a-zA-Z]* <xs:element name="rekeningnummer" type="dgs:RekeningnummerType"/> Source 3.2.4 Element dgs:Rekening / dgs:label Namespace http://www.dnb.nl/dgs Diagram Type dgs:StringMax50Min1 Type hierarchy • xs:string • dgs:StringMax50 • dgs:StringMax50Min1 Properties content: simple Facets minLength 1 maxLength 50 Source 3.2.5 <xs:element name="label" type="dgs:StringMax50Min1"/> Element dgs:Rekening / dgs:rekeningopgave_corr Namespace http://www.dnb.nl/dgs Annotations Contains the original account data (rekeningopgave) that has to be corrected. The accompanying account data (rekeningopgave) replaces the original data in this element. 27 Diagram Type dgs:Rekeningopgave Properties content: minOccurs: complex 0 Model dgs:rekeninghouder+ , dgs:productCode , dgs:saldo{0,1} , dgs:rente{0,1} , dgs:tenaamstelling , dgs:blokkadeRekening{0,1} Children dgs:blokkadeRekening, dgs:productCode, dgs:rekeninghouder, dgs:rente, dgs:saldo, dgs:tenaamstelling Instance <dgs:rekeningopgave_corr> <dgs:rekeninghouder>{1,unbounded}</dgs:rekeninghouder> <dgs:productCode>{1,1}</dgs:productCode> <dgs:saldo valuta="">{0,1}</dgs:saldo> <dgs:rente valuta="">{0,1}</dgs:rente> <dgs:tenaamstelling>{1,1}</dgs:tenaamstelling> <dgs:blokkadeRekening>{0,1}</dgs:blokkadeRekening> </dgs:rekeningopgave_corr> Source <xs:element name="rekeningopgave_corr" type="dgs:Rekeningopgave" minOccurs="0"> <xs:annotation> <xs:documentation>Contains the original account data (rekeningopgave) that has to be corrected. The accompanying account data (rekeningopgave) replaces the original data in this element.</xs:documentation> </xs:annotation> </xs:element> 3.2.6 Element dgs:Rekeningopgave / dgs:rekeninghouder Namespace http://www.dnb.nl/dgs 28 Diagra 29 Type dgs:Rekeninghouder Properties content: complex maxOccurs: unbounded Model dgs:bSNSofinummer{0,1} , dgs:tinCode{0,1} , dgs:kVKNummer{0,1} , dgs:sbi{0,1} , dgs:nationaliteit{0,1} , dgs:relatienummerBank{0,1} , dgs:naam , dgs:voorletters{0,1} , dgs:voorvoegsels{0,1} , dgs:adres , dgs:huisnummer , dgs:huisnummerToevoeging{0,1} , dgs:adres2{0,1} , dgs:postcode{0,1} , dgs:woonplaats , dgs:provincie{0,1} , dgs:land , dgs:geboortedatum{0,1} , dgs:geboorteplaats{0,1} , dgs:geboortelandcode{0,1} , dgs:overigeIdentificatie{0,1} , dgs:indicatieOverleden{0,1} , dgs:rechtsvorm , dgs:gezamenlijkBelang{0,1} , dgs:soortPersoon , dgs:tegenrekening{0,1} , dgs:telefoonnummer{0,1} , dgs:mobielnummer{0,1} , dgs:emailadres{0,1} , dgs:vlagBlokkadePersoon{0,1} Children dgs:adres, dgs:adres2, dgs:bSNSofinummer, dgs:emailadres, dgs:geboortedatum, dgs:geboortelandcode, dgs:geboorteplaats, dgs:gezamenlijkBelang, dgs:huisnummer, dgs:huisnummerToevoeging, dgs:indicatieOverleden, dgs:kVKNummer, dgs:land, dgs:mobielnummer, dgs:naam, dgs:nationaliteit, dgs:overigeIdentificatie, dgs:postcode, dgs:provincie, dgs:rechtsvorm, dgs:relatienummerBank, dgs:sbi, dgs:soortPersoon, dgs:tegenrekening, dgs:telefoonnummer, dgs:tinCode, dgs:vlagBlokkadePersoon, dgs:voorletters, dgs:voorvoegsels, dgs:woonplaats Instance <dgs:rekeninghouder> <dgs:bSNSofinummer>{0,1}</dgs:bSNSofinummer> <dgs:tinCode>{0,1}</dgs:tinCode> <dgs:kVKNummer>{0,1}</dgs:kVKNummer> <dgs:sbi>{0,1}</dgs:sbi> <dgs:nationaliteit>{0,1}</dgs:nationaliteit> <dgs:relatienummerBank>{0,1}</dgs:relatienummerBank> <dgs:naam>{1,1}</dgs:naam> <dgs:voorletters>{0,1}</dgs:voorletters> <dgs:voorvoegsels>{0,1}</dgs:voorvoegsels> <dgs:adres>{1,1}</dgs:adres> <dgs:huisnummer>{1,1}</dgs:huisnummer> <dgs:huisnummerToevoeging>{0,1}</dgs:huisnummerToevoeging> <dgs:adres2>{0,1}</dgs:adres2> <dgs:postcode>{0,1}</dgs:postcode> <dgs:woonplaats>{1,1}</dgs:woonplaats> <dgs:provincie>{0,1}</dgs:provincie> <dgs:land>{1,1}</dgs:land> <dgs:geboortedatum>{0,1}</dgs:geboortedatum> <dgs:geboorteplaats>{0,1}</dgs:geboorteplaats> <dgs:geboortelandcode>{0,1}</dgs:geboortelandcode> <dgs:overigeIdentificatie>{0,1}</dgs:overigeIdentificatie> <dgs:indicatieOverleden>{0,1}</dgs:indicatieOverleden> <dgs:rechtsvorm>{1,1}</dgs:rechtsvorm> <dgs:gezamenlijkBelang>{0,1}</dgs:gezamenlijkBelang> <dgs:soortPersoon>{1,1}</dgs:soortPersoon> <dgs:tegenrekening>{0,1}</dgs:tegenrekening> <dgs:telefoonnummer>{0,1}</dgs:telefoonnummer> <dgs:mobielnummer>{0,1}</dgs:mobielnummer> <dgs:emailadres>{0,1}</dgs:emailadres> <dgs:vlagBlokkadePersoon>{0,1}</dgs:vlagBlokkadePersoon> </dgs:rekeninghouder> Source <xs:element name="rekeninghouder" type="dgs:Rekeninghouder" maxOccurs="unbounded"/> 30 3.2.7 Element dgs:Rekeninghouder / dgs:bSNSofinummer Namespace http://www.dnb.nl/dgs Diagram Type dgs:BSNSofiType Properties content: simple minOccurs: 0 nillable: true whiteSpace collapse length 9 pattern [0-9]* Facets Source 3.2.8 <xs:element name="bSNSofinummer" type="dgs:BSNSofiType" nillable="true" minOccurs="0"/> Element dgs:Rekeninghouder / dgs:tinCode Namespace http://www.dnb.nl/dgs Diagram 3.1.1 Type dgs:TinType Properties content: simple minOccurs: 0 nillable: true Facets maxLength 20 Source <xs:element name="tinCode" type="dgs:TinType" nillable="true" minOccurs="0"/> Element dgs:Rekeninghouder / dgs:kVKNummer Namespace http://www.dnb.nl/dgs Diagram Type dgs:KVKNummerType Properties content: simple minOccurs: 0 nillable: true 31 Facets Source 3.2.9 whiteSpace collapse maxLength 8 pattern [0-9]* <xs:element name="kVKNummer" type="dgs:KVKNummerType" nillable="true" minOccurs="0"/> Element dgs:Rekeninghouder / dgs:sbi Namespace http://www.dnb.nl/dgs Annotations Standard Industrial Classification; see the SBI classification at the Chamber of Commerce. Diagram Type dgs:SbiType Properties content: simple minOccurs: 0 nillable: true maxLength 6 pattern [0-9]* Facets Source <xs:element name="sbi" type="dgs:SbiType" nillable="true" minOccurs="0"> <xs:annotation> <xs:documentation>Standard Industrial Classification; see the SBI classification at the Chamber of Commerce.</xs:documentation> </xs:annotation> </xs:element> 3.2.10 Element dgs:Rekeninghouder / dgs:nationaliteit Namespace http://www.dnb.nl/dgs Diagram Type dgs:LandcodeISO3166Type Properties content: simple minOccurs: 0 nillable: true minLength 2 maxLength 3 pattern [a-zA-Z]* Facets 32 Source <xs:element name="nationaliteit" type="dgs:LandcodeISO3166Type" nillable="true" minOccurs="0"/> 3.2.11 Element dgs:Rekeninghouder / dgs:relatienummerBank Namespace http://www.dnb.nl/dgs Diagram Type dgs:RelatienummerType Properties content: simple minOccurs: 0 nillable: true Facets maxLength 34 Source <xs:element name="relatienummerBank" type="dgs:RelatienummerType" nillable="true" minOccurs="0"/> 3.2.12 Element dgs:Rekeninghouder / dgs:naam Namespace http://www.dnb.nl/dgs Diagram Type dgs:StringMax70Min1 Type hierarchy • xs:string • dgs:StringMax70 • dgs:StringMax70Min1 Properties content: simple Facets minLength 1 maxLength 70 Source <xs:element name="naam" type="dgs:StringMax70Min1"/> 3.2.13 Element dgs:Rekeninghouder / dgs:voorletters Namespace http://www.dnb.nl/dgs Diagram Type dgs:StringMax6 Properties content: minOccurs: simple 0 33 nillable: true Facets maxLength 6 Source <xs:element name="voorletters" type="dgs:StringMax6" nillable="true" minOccurs="0"/> 3.2.14 Element dgs:Rekeninghouder / dgs:voorvoegsels Namespace http://www.dnb.nl/dgs Diagram Type dgs:StringMax10 Properties content: simple minOccurs: 0 nillable: true Facets maxLength 10 Source <xs:element name="voorvoegsels" type="dgs:StringMax10" nillable="true" minOccurs="0"/> 3.2.15 Element dgs:Rekeninghouder / dgs:adres Namespace http://www.dnb.nl/dgs Diagram Type dgs:StringMax100Min1 Type hierarchy • xs:string • dgs:StringMax100 • dgs:StringMax100Min1 Properties content: simple Facets minLength 1 maxLength 100 Source <xs:element name="adres" type="dgs:StringMax100Min1"/> 3.2.16 Element dgs:Rekeninghouder / dgs:huisnummer Namespace http://www.dnb.nl/dgs Diagram Type dgs:StringMaxVijfCijfers Properties content: simple 34 Facets Source maxLength 5 pattern [0-9]* <xs:element name="huisnummer" type="dgs:StringMaxVijfCijfers"/> 3.2.17 Element dgs:Rekeninghouder / dgs:huisnummerToevoeging Namespace http://www.dnb.nl/dgs Diagram Type dgs:StringMax5 Properties content: simple minOccurs: 0 nillable: true maxLength 5 Facets Source <xs:element name="huisnummerToevoeging" type="dgs:StringMax5" nillable="true" minOccurs="0"/> 3.2.18 Element dgs:Rekeninghouder / dgs:adres2 Namespace http://www.dnb.nl/dgs Annotations Second address line, often used for addresses outside the Netherlands Diagram Type dgs:StringMax100 Properties content: simple minOccurs: 0 nillable: true Facets maxLength 100 Source <xs:element name="adres2" type="dgs:StringMax100" nillable="true" minOccurs="0"> <xs:annotation> <xs:documentation>Second address line, often used for addresses outside the Netherlands</xs:documentation> </xs:annotation> </xs:element> 3.2.19 Element dgs:Rekeninghouder / dgs:postcode Namespace http://www.dnb.nl/dgs Diagram 35 Type dgs:PostcodeType Properties content: simple minOccurs: 0 nillable: true Facets maxLength 9 Source <xs:element name="postcode" type="dgs:PostcodeType" nillable="true" minOccurs="0"/> 3.2.20 Element dgs:Rekeninghouder / dgs:woonplaats Namespace http://www.dnb.nl/dgs Diagram Type dgs:StringMax100Min1 Type hierarchy • xs:string • dgs:StringMax100 • dgs:StringMax100Min1 Properties content: simple Facets minLength 1 maxLength 100 Source <xs:element name="woonplaats" type="dgs:StringMax100Min1"/> 3.2.21 Element dgs:Rekeninghouder / dgs:provincie Namespace http://www.dnb.nl/dgs Diagram Type dgs:StringMax100 Properties content: simple minOccurs: 0 nillable: true Facets maxLength 100 Source <xs:element name="provincie" type="dgs:StringMax100" nillable="true" minOccurs="0"/> 3.2.22 Element dgs:Rekeninghouder / dgs:land Namespace http://www.dnb.nl/dgs 36 Diagram Type dgs:LandcodeISO3166Type Properties content: simple Facets minLength 2 maxLength 3 pattern [a-zA-Z]* Source <xs:element name="land" type="dgs:LandcodeISO3166Type"/> 3.2.23 Element dgs:Rekeninghouder / dgs:geboortedatum Namespace http://www.dnb.nl/dgs Diagram Type dgs:GeboortedatumType Properties content: simple minOccurs: 0 nillable: true length 8 pattern [1-9]{1}[0-9]{2,8} Facets Source <xs:element name="geboortedatum" type="dgs:GeboortedatumType" nillable="true" minOccurs="0"/> 3.2.24 Element dgs:Rekeninghouder / dgs:geboorteplaats Namespace http://www.dnb.nl/dgs Diagram Type dgs:StringMax100 Properties content: simple minOccurs: 0 nillable: true Facets maxLength 100 Source <xs:element name="geboorteplaats" type="dgs:StringMax100" nillable="true" minOccurs="0"/> 37 3.2.25 Element dgs:Rekeninghouder / dgs:geboortelandcode Namespace http://www.dnb.nl/dgs Diagram Type dgs:LandcodeISO3166Type Properties content: simple minOccurs: 0 nillable: true minLength 2 maxLength 3 pattern [a-zA-Z]* Facets Source <xs:element name="geboortelandcode" type="dgs:LandcodeISO3166Type" nillable="true" minOccurs="0"/> 3.2.26 Element dgs:Rekeninghouder / dgs:overigeIdentificatie Namespace http://www.dnb.nl/dgs Annotations Identifying data other than BSN/TIN, customer number, date of birth, etc. Diagram Type dgs:StringMax100 Properties content: simple minOccurs: 0 nillable: true Facets maxLength 100 Source <xs:element name="overigeIdentificatie" type="dgs:StringMax100" nillable="true" minOccurs="0"> <xs:annotation> <xs:documentation>Identifying data other than BSN/TIN, customer number, date of birth, etc.</xs:documentation> </xs:annotation> </xs:element> 3.2.27 Element dgs:Rekeninghouder / dgs:indicatieOverleden Namespace http://www.dnb.nl/dgs Diagram Type dgs:NulOfEenType 38 Properties Facets Source content: simple minOccurs: 0 nillable: true enumeration 0 enumeration 1 <xs:element name="indicatieOverleden" type="dgs:NulOfEenType" nillable="true" minOccurs="0"/> 3.2.28 Element dgs:Rekeninghouder / dgs:rechtsvorm Namespace http://www.dnb.nl/dgs Diagram Type dgs:RechtsvormType Properties content: simple Facets enumeration 01 Natural person enumeration 02 Non-natural person Source <xs:element name="rechtsvorm" type="dgs:RechtsvormType"/> 3.2.29 Element dgs:Rekeninghouder / dgs:gezamenlijkBelang Namespace http://www.dnb.nl/dgs Diagram Type dgs:GezamenlijkBelangType Properties content: simple minOccurs: 0 nillable: true enumeration 01 Joint interest, one person entitled enumeration 02 Joint interest, two persons entitled enumeration 03 Joint interest, more than two persons entitled Facets Source <xs:element name="gezamenlijkBelang" type="dgs:GezamenlijkBelangType" nillable="true" minOccurs="0"/> 39 3.2.30 Element dgs:Rekeninghouder / dgs:soortPersoon Namespace http://www.dnb.nl/dgs Diagram Type dgs:SoortPersoonType Properties content: simple Facets enumeration 00 Account holder enumeration 01 Fully authorised representatieve enumeration 02 Jointly authorised representatieve Source <xs:element name="soortPersoon" type="dgs:SoortPersoonType"/> 3.2.31 Element dgs:Rekeninghouder / dgs:tegenrekening Namespace http://www.dnb.nl/dgs Annotations Contra account, for example used in some types of internet saving accounts as valid destination for withdrawals. Diagram Type dgs:TegenrekeningType Properties content: complex minOccurs: 0 nillable: true Model dgs:tegenrekening , dgs:bicCodeBank{0,1} , dgs:naamBank{0,1} , dgs:tenaamstelling{0,1} Children dgs:bicCodeBank, dgs:naamBank, dgs:tegenrekening, dgs:tenaamstelling Instance <dgs:tegenrekening> <dgs:tegenrekening>{1,1}</dgs:tegenrekening> <dgs:bicCodeBank>{0,1}</dgs:bicCodeBank> <dgs:naamBank>{0,1}</dgs:naamBank> <dgs:tenaamstelling>{0,1}</dgs:tenaamstelling> </dgs:tegenrekening> 40 Source <xs:element name="tegenrekening" type="dgs:TegenrekeningType" nillable="true" minOccurs="0"> <xs:annotation> <xs:documentation>Contra account, for example used in some types of internet saving accounts as valid destination for withdrawals.</xs:documentation> </xs:annotation> </xs:element> 3.2.32 Element dgs:TegenrekeningType / dgs:tegenrekening Namespace http://www.dnb.nl/dgs Annotations Valid account number that satisfies any applicable check (like the 11-check or IBANcheck). Diagram Type dgs:RekeningnummerType Type hierarchy • xs:string • dgs:StringMin1 • dgs:RekeningnummerType Properties content: simple Facets minLength 1 maxLength 34 pattern [0-9a-zA-Z]* Source <xs:element name="tegenrekening" type="dgs:RekeningnummerType"> <xs:annotation> <xs:documentation>Valid account number that satisfies any applicable check (like the 11-check or IBAN-check).</xs:documentation> </xs:annotation> </xs:element> 3.2.33 Element dgs:TegenrekeningType / dgs:bicCodeBank Namespace http://www.dnb.nl/dgs Diagram Type dgs:BICType Properties content: simple minOccurs: 0 nillable: true whiteSpace collapse Facets 41 Source maxLength 11 pattern [a-zA-Z0-9]* <xs:element name="bicCodeBank" type="dgs:BICType" nillable="true" minOccurs="0"/> 3.2.34 Element dgs:TegenrekeningType / dgs:naamBank Namespace http://www.dnb.nl/dgs Diagram Type dgs:StringMax50 Properties content: simple minOccurs: 0 nillable: true Facets maxLength 50 Source <xs:element name="naamBank" type="dgs:StringMax50" nillable="true" minOccurs="0"/> 3.2.35 Element dgs:TegenrekeningType / dgs:tenaamstelling Namespace http://www.dnb.nl/dgs Diagram Type dgs:StringMax256 Properties content: simple minOccurs: 0 nillable: true Facets maxLength 256 Source <xs:element name="tenaamstelling" type="dgs:StringMax256" nillable="true" minOccurs="0"/> 3.2.36 Element dgs:Rekeninghouder / dgs:telefoonnummer Namespace http://www.dnb.nl/dgs Diagram Type dgs:TelefoonnummerType Properties content: simple minOccurs: 0 nillable: true 42 Facets Source whiteSpace collapse maxLength 12 pattern [\+0-9]* <xs:element name="telefoonnummer" type="dgs:TelefoonnummerType" nillable="true" minOccurs="0"/> 3.2.37 Element dgs:Rekeninghouder / dgs:mobielnummer Namespace http://www.dnb.nl/dgs Diagram Type dgs:TelefoonnummerType Properties content: simple minOccurs: 0 nillable: true whiteSpace collapse maxLength 12 pattern [\+0-9]* Facets Source <xs:element name="mobielnummer" type="dgs:TelefoonnummerType" nillable="true" minOccurs="0"/> 3.2.38 Element dgs:Rekeninghouder / dgs:emailadres Namespace http://www.dnb.nl/dgs Diagram Type dgs:EmailadresType Properties content: simple minOccurs: 0 nillable: true Facets maxLength 100 Source <xs:element name="emailadres" type="dgs:EmailadresType" nillable="true" minOccurs="0"/> 3.2.39 Element dgs:Rekeninghouder / dgs:vlagBlokkadePersoon Namespace http://www.dnb.nl/dgs Annotations 00000=not blocked (other coding to be delivered by bank) 43 Diagram Type dgs:StringMax5 Properties content: simple minOccurs: 0 nillable: true Facets maxLength 5 Source <xs:element name="vlagBlokkadePersoon" type="dgs:StringMax5" nillable="true" minOccurs="0"> <xs:annotation> <xs:documentation>00000=not blocked (other coding to be delivered by bank)</ xs:documentation> </xs:annotation> </xs:element> 3.2.40 Element dgs:Rekeningopgave / dgs:productCode Namespace http://www.dnb.nl/dgs Annotations Product code, defined by the bank, of the label (product description) Diagram Type dgs:StringMax8Min1 Type hierarchy • xs:string • dgs:StringMax8 • dgs:StringMax8Min1 Properties content: simple Facets minLength 1 maxLength 8 Source <xs:element name="productCode" type="dgs:StringMax8Min1"> <xs:annotation> <xs:documentation>Product code, defined by the bank, of the label (product description)</xs:documentation> </xs:annotation> </xs:element> 3.2.41 Element dgs:Rekeningopgave / dgs:saldo Namespace http://www.dnb.nl/dgs 44 Diagram Type dgs:BedragMetValutaType Type hierarchy • xs:decimal • dgs:Decimal2 • dgs:BedragMetValutaType Properties content: minOccurs: 0 nillable: true QName Type valuta dgs:ValutaType Attributes Source complex http://www.dnb.nl/dgs Diagram Type dgs:BedragMetValutaType Type hierarchy • xs:decimal • dgs:Decimal2 • dgs:BedragMetValutaType Properties Default Use optional <xs:element name="saldo" type="dgs:BedragMetValutaType" nillable="true" minOccurs="0"/> 3.2.42 Element dgs:Rekeningopgave / dgs:rente Namespace Fixed content: minOccurs: complex 0 45 nillable: true QName Type valuta dgs:ValutaType Attributes Source Fixed Default Use optional <xs:element name="rente" type="dgs:BedragMetValutaType" nillable="true" minOccurs="0"/> 3.2.43 Element dgs:Rekeningopgave / dgs:tenaamstelling Namespace http://www.dnb.nl/dgs Diagram Type dgs:StringMax256Min1 Type hierarchy • xs:string • dgs:StringMax256 • dgs:StringMax256Min1 Properties content: simple Facets minLength 1 maxLength 256 Source <xs:element name="tenaamstelling" type="dgs:StringMax256Min1"/> 3.2.44 Element dgs:Rekeningopgave / dgs:blokkadeRekening Namespace http://www.dnb.nl/dgs Annotations 00000=not blocked (other coding to be delivered by bank) Diagram Type dgs:StringMax5 Properties content: simple minOccurs: 0 nillable: true Facets maxLength 5 Source <xs:element name="blokkadeRekening" type="dgs:StringMax5" nillable="true" minOccurs="0"> <xs:annotation> <xs:documentation>00000=not blocked (other coding to be delivered by bank)</ xs:documentation> </xs:annotation> </xs:element> 46 3.2.45 Element dgs:Rekening / dgs:rekeningopgave Namespace http://www.dnb.nl/dgs Diagram Type dgs:Rekeningopgave Properties content: minOccurs: complex 0 Model dgs:rekeninghouder+ , dgs:productCode , dgs:saldo{0,1} , dgs:rente{0,1} , dgs:tenaamstelling , dgs:blokkadeRekening{0,1} Children dgs:blokkadeRekening, dgs:productCode, dgs:rekeninghouder, dgs:rente, dgs:saldo, dgs:tenaamstelling Instance <dgs:rekeningopgave> <dgs:rekeninghouder>{1,unbounded}</dgs:rekeninghouder> <dgs:productCode>{1,1}</dgs:productCode> <dgs:saldo valuta="">{0,1}</dgs:saldo> <dgs:rente valuta="">{0,1}</dgs:rente> <dgs:tenaamstelling>{1,1}</dgs:tenaamstelling> <dgs:blokkadeRekening>{0,1}</dgs:blokkadeRekening> </dgs:rekeningopgave> Source <xs:element name="rekeningopgave" type="dgs:Rekeningopgave" minOccurs="0"/> 3.2.46 Element dgs:bericht / dgs:versienummer Namespace http://www.dnb.nl/dgs Annotations The fixed value of the field versienummer given in an officially issued final version of the manual, used for the definition of the file Diagram Type dgs:VersieNummerType 47 Properties content: simple Facets enumeration 01 Source <xs:element name="versienummer" type="dgs:VersieNummerType"> <xs:annotation> <xs:documentation>The fixed value of the field versienummer given in an officially issued final version of the manual, used for the definition of the file</xs:documentation> </xs:annotation> </xs:element> 3.2.47 Element dgs:bericht / dgs:bank Namespace http://www.dnb.nl/dgs Diagram Type dgs:Bank Properties content: Model dgs:vergunningnummer , dgs:naam , dgs:adres , dgs:plaats , dgs:kvkNummerBron , dgs:administratieIdentificatie dgs:administratieIdentificatie, dgs:adres, dgs:kvkNummerBron, dgs:naam, dgs:plaats, dgs:vergunningnummer Children Instance complex <dgs:bank> <dgs:vergunningnummer>{1,1}</dgs:vergunningnummer> <dgs:naam>{1,1}</dgs:naam> <dgs:adres>{1,1}</dgs:adres> <dgs:plaats>{1,1}</dgs:plaats> <dgs:kvkNummerBron>{1,1}</dgs:kvkNummerBron> <dgs:administratieIdentificatie>{1,1}</dgs:administratieIdentificatie> </dgs:bank> Source <xs:element name="bank" type="dgs:Bank"/> 3.2.48 Element dgs:Bank / dgs:vergunningnummer Namespace http://www.dnb.nl/dgs Annotations Bank authorisation number (vergunningnummer) received from DNB 48 Diagram Type dgs:VergunningNummerType Type hierarchy • xs:string • dgs:StringMin1 • dgs:VergunningNummerType Properties content: simple Facets minLength 1 maxLength 20 pattern [0-9a-zA-Z]* Source <xs:element name="vergunningnummer" type="dgs:VergunningNummerType"> <xs:annotation> <xs:documentation>Bank authorisation number (vergunningnummer) received from DNB</ xs:documentation> </xs:annotation> </xs:element> 3.2.49 Element dgs:Bank / dgs:naam Namespace http://www.dnb.nl/dgs Diagram Type dgs:StringMax50Min1 Type hierarchy • xs:string • dgs:StringMax50 • dgs:StringMax50Min1 Properties content: simple Facets minLength 1 maxLength 50 Source <xs:element name="naam" type="dgs:StringMax50Min1"/> 3.2.50 Element dgs:Bank / dgs:adres Namespace http://www.dnb.nl/dgs Diagram Type dgs:StringMax22Min1 49 Type hierarchy • xs:string • dgs:StringMax22 • dgs:StringMax22Min1 Properties content: simple Facets minLength 1 maxLength 22 Source <xs:element name="adres" type="dgs:StringMax22Min1"/> 3.2.51 Element dgs:Bank / dgs:plaats Namespace http://www.dnb.nl/dgs Diagram Type dgs:StringMax22Min1 Type hierarchy • xs:string • dgs:StringMax22 • dgs:StringMax22Min1 Properties content: simple Facets minLength 1 maxLength 22 Source <xs:element name="plaats" type="dgs:StringMax22Min1"/> 3.2.52 Element dgs:Bank / dgs:kvkNummerBron Namespace http://www.dnb.nl/dgs Diagram Type dgs:KVKNummerTypeMin1 Type hierarchy • xs:string • dgs:KVKNummerType • dgs:KVKNummerTypeMin1 Properties content: simple Facets whiteSpace collapse minLength 1 maxLength 8 50 pattern Source [0-9]* <xs:element name="kvkNummerBron" type="dgs:KVKNummerTypeMin1"/> 3.2.53 Element dgs:Bank / dgs:administratieIdentificatie Namespace http://www.dnb.nl/dgs Diagram Type dgs:StringMax8Min1 Type hierarchy • xs:string • dgs:StringMax8 • dgs:StringMax8Min1 Properties content: simple Facets minLength 1 maxLength 8 Source <xs:element name="administratieIdentificatie" type="dgs:StringMax8Min1"/> 3.2.54 Element dgs:bericht / dgs:controle Namespace http://www.dnb.nl/dgs Diagram Type dgs:Controle Properties content: Model dgs:aantalgegevensrecords , dgs:totaalbedragSaldo{0,1} , dgs:totaalbedragRente{0,1} Children dgs:aantalgegevensrecords, dgs:totaalbedragRente, dgs:totaalbedragSaldo Instance <dgs:controle> <dgs:aantalgegevensrecords>{1,1}</dgs:aantalgegevensrecords> <dgs:totaalbedragSaldo>{0,1}</dgs:totaalbedragSaldo> <dgs:totaalbedragRente>{0,1}</dgs:totaalbedragRente> </dgs:controle> Source <xs:element name="controle" type="dgs:Controle"/> complex 51 3.2.55 Element dgs:Controle / dgs:aantalgegevensrecords Namespace http://www.dnb.nl/dgs Diagram Type dgs:IntegerPositief8 Properties content: Facets totalDigits Source <xs:element name="aantalgegevensrecords" type="dgs:IntegerPositief8"/> simple 8 3.2.56 Element dgs:Controle / dgs:totaalbedragSaldo Namespace http://www.dnb.nl/dgs Diagram Type dgs:Decimal2 Properties content: simple minOccurs: 0 nillable: true Facets fractionDigits 2 Source <xs:element name="totaalbedragSaldo" type="dgs:Decimal2" nillable="true" minOccurs="0"/> 3.2.57 Element dgs:Controle / dgs:totaalbedragRente Namespace http://www.dnb.nl/dgs Diagram Type dgs:Decimal2 Properties content: simple minOccurs: 0 nillable: true Facets fractionDigits Source <xs:element name="totaalbedragRente" type="dgs:Decimal2" nillable="true" minOccurs="0"/> 2 3.2.58 Element dgs:bericht / dgs:soortBestand Namespace http://www.dnb.nl/dgs 52 Diagram Type dgs:SoortBestandType Properties content: simple Facets enumeration DGSBETSP Source <xs:element name="soortBestand" type="dgs:SoortBestandType"/> 3.2.59 Element dgs:bericht / dgs:aanleveringnummer Namespace http://www.dnb.nl/dgs Annotations Reference number (aanlevernummer) given by DNB for a specific delivery Diagram Type dgs:IntegerPositief10 Properties content: simple Facets totalDigits 10 Source <xs:element name="aanleveringnummer" type="dgs:IntegerPositief10"> <xs:annotation> <xs:documentation>Reference number (aanlevernummer) given by DNB for a specific delivery</xs:documentation> </xs:annotation> </xs:element> 3.2.60 Element dgs:bericht / dgs:volgnummerDeellevering Namespace http://www.dnb.nl/dgs Diagram Type dgs:Deellevering Type hierarchy • xs:nonNegativeInteger • dgs:IntegerPositief2 • dgs:Deellevering Properties content: simple Facets totalDigits 2 minInclusive 1 Source <xs:element name="volgnummerDeellevering" type="dgs:Deellevering"/> 53 3.2.61 Element dgs:bericht / dgs:aantalDeelleveringen Namespace http://www.dnb.nl/dgs Diagram Type dgs:Deellevering Type hierarchy • xs:nonNegativeInteger • dgs:IntegerPositief2 • dgs:Deellevering Properties content: simple Facets totalDigits 2 minInclusive 1 Source <xs:element name="aantalDeelleveringen" type="dgs:Deellevering"/> 3.2.62 Element dgs:bericht / dgs:codeProduktie Namespace http://www.dnb.nl/dgs Diagram Type dgs:CodeProduktie Properties content: Facets enumeration P Production file enumeration T Test file, data in this file will not result in payments under DGS. Source <xs:element name="codeProduktie" type="dgs:CodeProduktie"/> 3.3 Complex Types 3.3.1 Complex Type dgs:Rekening Namespace simple http://www.dnb.nl/dgs Diagram 54 Used by Element Model dgs:rekeningnummer , dgs:label , dgs:rekeningopgave_corr{0,1} , dgs:rekeningopgave{0,1} Children dgs:label, dgs:rekeningnummer, dgs:rekeningopgave, dgs:rekeningopgave_corr Source <xs:complexType name="Rekening"> <xs:sequence> <xs:element name="rekeningnummer" type="dgs:RekeningnummerType"/> <xs:element name="label" type="dgs:StringMax50Min1"/> <xs:element name="rekeningopgave_corr" type="dgs:Rekeningopgave" minOccurs="0"> <xs:annotation> <xs:documentation>Contains the original account data (rekeningopgave) that has to be corrected. The accompanying account data (rekeningopgave) replaces the original data in this element.</xs:documentation> </xs:annotation> </xs:element> <xs:element name="rekeningopgave" type="dgs:Rekeningopgave" minOccurs="0"/> </xs:sequence> </xs:complexType> 3.3.2 dgs:bericht/dgs:rekening Complex Type dgs:Rekeningopgave Namespace http://www.dnb.nl/dgs Diagram Used by Elements dgs:Rekening/dgs:rekeningopgave, dgs:Rekening/dgs:rekeningopgave_corr Model dgs:rekeninghouder+ , dgs:productCode , dgs:saldo{0,1} , dgs:rente{0,1} , dgs:tenaamstelling , dgs:blokkadeRekening{0,1} Children dgs:blokkadeRekening, dgs:productCode, dgs:rekeninghouder, dgs:rente, dgs:saldo, dgs:tenaamstelling 55 Source 3.3.3 <xs:complexType name="Rekeningopgave"> <xs:sequence> <xs:element name="rekeninghouder" type="dgs:Rekeninghouder" maxOccurs="unbounded"/> <xs:element name="productCode" type="dgs:StringMax8Min1"> <xs:annotation> <xs:documentation>Product code, defined by the bank, of the label (product description)</xs:documentation> </xs:annotation> </xs:element> <xs:element name="saldo" type="dgs:BedragMetValutaType" nillable="true" minOccurs="0"/ > <xs:element name="rente" type="dgs:BedragMetValutaType" nillable="true" minOccurs="0"/ > <xs:element name="tenaamstelling" type="dgs:StringMax256Min1"/> <xs:element name="blokkadeRekening" type="dgs:StringMax5" nillable="true" minOccurs="0"> <xs:annotation> <xs:documentation>00000=not blocked (other coding to be delivered by bank)</ xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:complexType> Complex Type dgs:Rekeninghouder Namespace http://www.dnb.nl/dgs 56 Diagra 57 Used by Element Model dgs:bSNSofinummer{0,1} , dgs:tinCode{0,1} , dgs:kVKNummer{0,1} , dgs:sbi{0,1} , dgs:nationaliteit{0,1} , dgs:relatienummerBank{0,1} , dgs:naam , dgs:voorletters{0,1} , dgs:voorvoegsels{0,1} , dgs:adres , dgs:huisnummer , dgs:huisnummerToevoeging{0,1} , dgs:adres2{0,1} , dgs:postcode{0,1} , dgs:woonplaats , dgs:provincie{0,1} , dgs:land , dgs:geboortedatum{0,1} , dgs:geboorteplaats{0,1} , dgs:geboortelandcode{0,1} , dgs:overigeIdentificatie{0,1} , dgs:indicatieOverleden{0,1} , dgs:rechtsvorm , dgs:gezamenlijkBelang{0,1} , dgs:soortPersoon , dgs:tegenrekening{0,1} , dgs:telefoonnummer{0,1} , dgs:mobielnummer{0,1} , dgs:emailadres{0,1} , dgs:vlagBlokkadePersoon{0,1} dgs:adres, dgs:adres2, dgs:bSNSofinummer, dgs:emailadres, dgs:geboortedatum, dgs:geboortelandcode, dgs:geboorteplaats, dgs:gezamenlijkBelang, dgs:huisnummer, dgs:huisnummerToevoeging, dgs:indicatieOverleden, dgs:kVKNummer, dgs:land, dgs:mobielnummer, dgs:naam, dgs:nationaliteit, dgs:overigeIdentificatie, dgs:postcode, dgs:provincie, dgs:rechtsvorm, dgs:relatienummerBank, dgs:sbi, dgs:soortPersoon, dgs:tegenrekening, dgs:telefoonnummer, dgs:tinCode, dgs:vlagBlokkadePersoon, dgs:voorletters, dgs:voorvoegsels, dgs:woonplaats Children dgs:Rekeningopgave/dgs:rekeninghouder 58 Source <xs:complexType name="Rekeninghouder"> <xs:sequence> <xs:element name="bSNSofinummer" type="dgs:BSNSofiType" nillable="true" minOccurs="0"/ > <xs:element name="tinCode" type="dgs:TinType" nillable="true" minOccurs="0"/> <xs:element name="kVKNummer" type="dgs:KVKNummerType" nillable="true" minOccurs="0"/> <xs:element name="sbi" type="dgs:SbiType" nillable="true" minOccurs="0"> <xs:annotation> <xs:documentation>Standard Industrial Classification; see the SBI classification at the Chamber of Commerce.</xs:documentation> </xs:annotation> </xs:element> <xs:element name="nationaliteit" type="dgs:LandcodeISO3166Type" nillable="true" minOccurs="0"/> <xs:element name="relatienummerBank" type="dgs:RelatienummerType" nillable="true" minOccurs="0"/> <xs:element name="naam" type="dgs:StringMax70Min1"/> <xs:element name="voorletters" type="dgs:StringMax6" nillable="true" minOccurs="0"/> <xs:element name="voorvoegsels" type="dgs:StringMax10" nillable="true" minOccurs="0"/> <xs:element name="adres" type="dgs:StringMax100Min1"/> <xs:element name="huisnummer" type="dgs:StringMaxVijfCijfers"/> <xs:element name="huisnummerToevoeging" type="dgs:StringMax5" nillable="true" minOccurs="0"/> <xs:element name="adres2" type="dgs:StringMax100" nillable="true" minOccurs="0"> <xs:annotation> <xs:documentation>Second address line, often used for addresses outside the Netherlands</xs:documentation> </xs:annotation> </xs:element> <xs:element name="postcode" type="dgs:PostcodeType" nillable="true" minOccurs="0"/> <xs:element name="woonplaats" type="dgs:StringMax100Min1"/> <xs:element name="provincie" type="dgs:StringMax100" nillable="true" minOccurs="0"/> <xs:element name="land" type="dgs:LandcodeISO3166Type"/> <xs:element name="geboortedatum" type="dgs:GeboortedatumType" nillable="true" minOccurs="0"/> <xs:element name="geboorteplaats" type="dgs:StringMax100" nillable="true" minOccurs="0"/> <xs:element name="geboortelandcode" type="dgs:LandcodeISO3166Type" nillable="true" minOccurs="0"/> <xs:element name="overigeIdentificatie" type="dgs:StringMax100" nillable="true" minOccurs="0"> <xs:annotation> <xs:documentation>Identifying data other than BSN/TIN, customer number, date of birth, etc.</xs:documentation> </xs:annotation> </xs:element> <xs:element name="indicatieOverleden" type="dgs:NulOfEenType" nillable="true" minOccurs="0"/> <xs:element name="rechtsvorm" type="dgs:RechtsvormType"/> <xs:element name="gezamenlijkBelang" type="dgs:GezamenlijkBelangType" nillable="true" minOccurs="0"/> <xs:element name="soortPersoon" type="dgs:SoortPersoonType"/> <xs:element name="tegenrekening" type="dgs:TegenrekeningType" nillable="true" minOccurs="0"> <xs:annotation> <xs:documentation>Contra account, for example used in some types of internet saving accounts as valid destination for withdrawals.</xs:documentation> </xs:annotation> </xs:element> <xs:element name="telefoonnummer" type="dgs:TelefoonnummerType" nillable="true" minOccurs="0"/> <xs:element name="mobielnummer" type="dgs:TelefoonnummerType" nillable="true" minOccurs="0"/> <xs:element name="emailadres" type="dgs:EmailadresType" nillable="true" minOccurs="0"/ > 59 <xs:element name="vlagBlokkadePersoon" type="dgs:StringMax5" nillable="true" minOccurs="0"> <xs:annotation> <xs:documentation>00000=not blocked (other coding to be delivered by bank)</ xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:complexType> 3.3.4 Complex Type dgs:TegenrekeningType Namespace http://www.dnb.nl/dgs Diagram Used by Element Model dgs:tegenrekening , dgs:bicCodeBank{0,1} , dgs:naamBank{0,1} , dgs:tenaamstelling{0,1} Children dgs:bicCodeBank, dgs:naamBank, dgs:tegenrekening, dgs:tenaamstelling Source <xs:complexType name="TegenrekeningType"> <xs:sequence> <xs:element name="tegenrekening" type="dgs:RekeningnummerType"> <xs:annotation> <xs:documentation>Valid account number that satisfies any applicable check (like the 11-check or IBAN-check).</xs:documentation> </xs:annotation> </xs:element> <xs:element name="bicCodeBank" type="dgs:BICType" nillable="true" minOccurs="0"/> <xs:element name="naamBank" type="dgs:StringMax50" nillable="true" minOccurs="0"/> <xs:element name="tenaamstelling" type="dgs:StringMax256" nillable="true" minOccurs="0"/> </xs:sequence> </xs:complexType> dgs:Rekeninghouder/dgs:tegenrekening 3.3.5 Complex Type dgs:BedragMetValutaType Namespace http://www.dnb.nl/dgs Annotations Amount with two decimal places and with currency code Diagram Type extension of dgs:Decimal2 60 Type hierarchy • xs:decimal • dgs:Decimal2 • dgs:BedragMetValutaType Used by Elementsdgs:Rekeningopgave/dgs:rente, dgs:Rekeningopgave/dgs:saldo Attributes QName Type valuta dgs:ValutaType Source <xs:complexType name="BedragMetValutaType"> <xs:annotation> <xs:documentation>Amount with two decimal places and with currency code</ xs:documentation> Fixed Default Use optional </xs:annotation> <xs:simpleContent> <xs:extension base="dgs:Decimal2"> <xs:attribute name="valuta" type="dgs:ValutaType" use="optional"/> </xs:extension> </xs:simpleContent> </xs:complexType> 3.3.6 Complex Type dgs:Bank Namespace http://www.dnb.nl/dgs Diagram Used by Element Model dgs:vergunningnummer , dgs:naam , dgs:adres , dgs:plaats , dgs:kvkNummerBron , dgs:administratieIdentificatie Children dgs:administratieIdentificatie, dgs:adres, dgs:kvkNummerBron, dgs:naam, dgs:plaats, dgs:vergunningnummer dgs:bericht/dgs:bank 61 Source <xs:complexType name="Bank"> <xs:sequence> <xs:element name="vergunningnummer" type="dgs:VergunningNummerType"> <xs:annotation> <xs:documentation>Bank authorisation number (vergunningnummer) received from DNB</ xs:documentation> </xs:annotation> </xs:element> <xs:element name="naam" type="dgs:StringMax50Min1"/> <xs:element name="adres" type="dgs:StringMax22Min1"/> <xs:element name="plaats" type="dgs:StringMax22Min1"/> <xs:element name="kvkNummerBron" type="dgs:KVKNummerTypeMin1"/> <xs:element name="administratieIdentificatie" type="dgs:StringMax8Min1"/> </xs:sequence> </xs:complexType> 3.3.7 Complex Type dgs:Controle Namespace http://www.dnb.nl/dgs Diagram Used by Element Model dgs:aantalgegevensrecords , dgs:totaalbedragSaldo{0,1} , dgs:totaalbedragRente{0,1} dgs:aantalgegevensrecords, dgs:totaalbedragRente, dgs:totaalbedragSaldo Children Source dgs:bericht/dgs:controle <xs:complexType name="Controle"> <xs:sequence> <xs:element name="aantalgegevensrecords" type="dgs:IntegerPositief8"/> <xs:element name="totaalbedragSaldo" type="dgs:Decimal2" nillable="true" minOccurs="0"/> <xs:element name="totaalbedragRente" type="dgs:Decimal2" nillable="true" minOccurs="0"/> </xs:sequence> </xs:complexType> 3.4 Simple Types 3.4.1 Simple Type dgs:RekeningnummerType Namespace http://www.dnb.nl/dgs Diagram Type restriction of dgs:StringMin1 Type hierarchy • xs:string • dgs:StringMin1 • dgs:RekeningnummerType Facets minLength 1 maxLength 34 62 Used by Source 3.4.2 pattern [0-9a-zA-Z]* Elements dgs:Rekening/dgs:rekeningnummer, dgs:TegenrekeningType/dgs:tegenrekening <xs:simpleType name="RekeningnummerType"> <xs:restriction base="dgs:StringMin1"> <xs:maxLength value="34"/> <xs:pattern value="[0-9a-zA-Z]*"/> </xs:restriction> </xs:simpleType> Simple Type dgs:StringMin1 Namespace http://www.dnb.nl/dgs Diagram Type restriction of xs:string Facets minLength Used by Simple Typesdgs:RekeningnummerType, dgs:VergunningNummerType Source <xs:simpleType name="StringMin1"> <xs:restriction base="xs:string"> <xs:minLength value="1"/> </xs:restriction> </xs:simpleType> 3.4.3 1 Simple Type dgs:StringMax50Min1 Namespace http://www.dnb.nl/dgs Diagram Type restriction of dgs:StringMax50 Type hierarchy • xs:string • dgs:StringMax50 • dgs:StringMax50Min1 minLength 1 maxLength 50 Used by Elements dgs:Bank/dgs:naam, dgs:Rekening/dgs:label Source <xs:simpleType name="StringMax50Min1"> <xs:restriction base="dgs:StringMax50"> <xs:minLength value="1"/> </xs:restriction> </xs:simpleType> Facets 3.4.4 Simple Type dgs:StringMax50 Namespace http://www.dnb.nl/dgs 63 Diagram Type restriction of xs:string Facets maxLength Used by Simple Type Element Source 3.4.5 50 dgs:StringMax50Min1 dgs:TegenrekeningType/dgs:naamBank <xs:simpleType name="StringMax50"> <xs:restriction base="xs:string"> <xs:maxLength value="50"/> </xs:restriction> </xs:simpleType> Simple Type dgs:BSNSofiType Namespace http://www.dnb.nl/dgs Annotations Burger Service Nummer (Citizen service number) assigned by a Dutch municipality to a natural person, used in communications with the government, must satisfy the 11-check Diagram Type restriction of xs:string Facets whiteSpace length pattern collapse 9 [0-9]* Used by Element Source <xs:simpleType name="BSNSofiType"> <xs:annotation> <xs:documentation>Burger Service Nummer (Citizen service number) assigned by a Dutch municipality to a natural person, used in communications with the government, must satisfy the 11check</xs:documentation> </xs:annotation> <xs:restriction base="xs:string"> <xs:length value="9"/> <xs:whiteSpace value="collapse"/> <xs:pattern value="[0-9]*"/> </xs:restriction> </xs:simpleType> dgs:Rekeninghouder/dgs:bSNSofinummer 3.4.6 Simple Type dgs:TinType Namespace http://www.dnb.nl/dgs Annotations Taxpayer Identification Number 64 Diagram Type restriction of xs:string Facets maxLength Used by Element Source <xs:simpleType name="TinType"> <xs:annotation> <xs:documentation>Taxpayer Identification Number</xs:documentation> 20 dgs:Rekeninghouder/dgs:tinCode </xs:annotation> <xs:restriction base="xs:string"> <xs:maxLength value="20"/> </xs:restriction> </xs:simpleType> 3.4.7 Simple Type dgs:KVKNummerType Namespace http://www.dnb.nl/dgs Diagram Type restriction of xs:string Facets whiteSpace maxLength pattern Used by Element collapse 8 [0-9]* dgs:Rekeninghouder/dgs:kVKNummer Simple Type dgs:KVKNummerTypeMin1 Source 3.4.8 <xs:simpleType name="KVKNummerType"> <xs:restriction base="xs:string"> <xs:maxLength value="8"/> <xs:whiteSpace value="collapse"/> <xs:pattern value="[0-9]*"/> </xs:restriction> </xs:simpleType> Simple Type dgs:SbiType Namespace http://www.dnb.nl/dgs Annotations Standard Industrial Classification Diagram Type restriction of xs:string Facets maxLength 6 65 pattern [0-9]* Used by Element Source <xs:simpleType name="SbiType"> <xs:annotation> <xs:documentation>Standard Industrial Classification</xs:documentation> </xs:annotation> <xs:restriction base="xs:string"> <xs:maxLength value="6"/> <xs:pattern value="[0-9]*"/> </xs:restriction> </xs:simpleType> 3.4.9 dgs:Rekeninghouder/dgs:sbi Simple Type dgs:LandcodeISO3166Type Namespace http://www.dnb.nl/dgs Annotations Country coding in accordance with ISO3166, 2 or 3 letter code Diagram Type restriction of xs:string Facets minLength 2 maxLength 3 pattern [a-zA-Z]* Used by Elements dgs:Rekeninghouder/dgs:geboortelandcode, dgs:Rekeninghouder/dgs:land, dgs:Rekeninghouder/dgs:nationaliteit Source <xs:simpleType name="LandcodeISO3166Type"> <xs:annotation> <xs:documentation>Country coding in accordance with ISO3166, 2 or 3 letter code</ xs:documentation> </xs:annotation> <xs:restriction base="xs:string"> <xs:minLength value="2"/> <xs:maxLength value="3"/> <xs:pattern value="[a-zA-Z]*"/> </xs:restriction> </xs:simpleType> 3.4.10 Simple Type dgs:RelatienummerType Namespace http://www.dnb.nl/dgs Annotations Bank's customer number Diagram Type restriction of xs:string Facets maxLength 34 66 Used by Element Source <xs:simpleType name="RelatienummerType"> <xs:annotation> <xs:documentation>Bank's customer number</xs:documentation> </xs:annotation> <xs:restriction base="xs:string"> <xs:maxLength value="34"/> </xs:restriction> </xs:simpleType> dgs:Rekeninghouder/dgs:relatienummerBank 3.4.11 Simple Type dgs:StringMax70Min1 Namespace http://www.dnb.nl/dgs Diagram Type Type hierarchy restriction of dgs:StringMax70 • xs:string • dgs:StringMax70 • dgs:StringMax70Min1 minLength 1 maxLength 70 Used by Element dgs:Rekeninghouder/dgs:naam Source <xs:simpleType name="StringMax70Min1"> <xs:restriction base="dgs:StringMax70"> <xs:minLength value="1"/> </xs:restriction> </xs:simpleType> Facets 3.4.12 Simple Type dgs:StringMax70 Namespace http://www.dnb.nl/dgs Diagram Type restriction of xs:string Facets maxLength Used by Simple Type Source <xs:simpleType name="StringMax70"> <xs:restriction base="xs:string"> <xs:maxLength value="70"/> </xs:restriction> </xs:simpleType> 70 dgs:StringMax70Min1 3.4.13 Simple Type dgs:StringMax6 Namespace http://www.dnb.nl/dgs 67 Diagram Type restriction of xs:string Facets maxLength Used by Element Source <xs:simpleType name="StringMax6"> <xs:restriction base="xs:string"> <xs:maxLength value="6"/> </xs:restriction> </xs:simpleType> 6 dgs:Rekeninghouder/dgs:voorletters 3.4.14 Simple Type dgs:StringMax10 Namespace http://www.dnb.nl/dgs Diagram Type restriction of xs:string Facets maxLength Used by Element Source <xs:simpleType name="StringMax10"> <xs:restriction base="xs:string"> <xs:maxLength value="10"/> </xs:restriction> </xs:simpleType> 10 dgs:Rekeninghouder/dgs:voorvoegsels 3.4.15 Simple Type dgs:StringMax100Min1 Namespace http://www.dnb.nl/dgs Diagram Type Type hierarchy Facets Used by restriction of dgs:StringMax100 • xs:string • dgs:StringMax100 • dgs:StringMax100Min1 minLength 1 maxLength 100 Elements dgs:Rekeninghouder/dgs:adres, dgs:Rekeninghouder/dgs:woonplaats 68 Source <xs:simpleType name="StringMax100Min1"> <xs:restriction base="dgs:StringMax100"> <xs:minLength value="1"/> </xs:restriction> </xs:simpleType> 3.4.16 Simple Type dgs:StringMax100 Namespace http://www.dnb.nl/dgs Diagram Type restriction of xs:string Facets maxLength Used by Simple Type dgs:StringMax100Min1 100 Elements Source dgs:Rekeninghouder/dgs:adres2, dgs:Rekeninghouder/dgs:geboorteplaats, dgs:Rekeninghouder/dgs:overigeIdentificatie, dgs:Rekeninghouder/dgs:provincie <xs:simpleType name="StringMax100"> <xs:restriction base="xs:string"> <xs:maxLength value="100"/> </xs:restriction> </xs:simpleType> 3.4.17 Simple Type dgs:StringMaxVijfCijfers Namespace http://www.dnb.nl/dgs Diagram Type restriction of xs:string Facets maxLength 5 [0-9]* pattern Used by Element Source <xs:simpleType name="StringMaxVijfCijfers"> <xs:restriction base="xs:string"> <xs:maxLength value="5"/> <xs:pattern value="[0-9]*"/> </xs:restriction> </xs:simpleType> dgs:Rekeninghouder/dgs:huisnummer 3.4.18 Simple Type dgs:StringMax5 Namespace http://www.dnb.nl/dgs 69 Diagram Type restriction of xs:string Facets maxLength 5 Used by Elements dgs:Rekeninghouder/dgs:huisnummerToevoeging, dgs:Rekeninghouder/ dgs:vlagBlokkadePersoon, dgs:Rekeningopgave/dgs:blokkadeRekening Source <xs:simpleType name="StringMax5"> <xs:restriction base="xs:string"> <xs:maxLength value="5"/> </xs:restriction> </xs:simpleType> 3.4.19 Simple Type dgs:PostcodeType Namespace http://www.dnb.nl/dgs Diagram Type restriction of xs:string Facets maxLength Used by Element Source <xs:simpleType name="PostcodeType"> <xs:restriction base="xs:string"> <xs:maxLength value="9"/> <!-- <xs:pattern value="([0-9]{4}[a-zA-Z]{2})?"/> --> </xs:restriction> </xs:simpleType> 9 dgs:Rekeninghouder/dgs:postcode 3.4.20 Simple Type dgs:GeboortedatumType Namespace http://www.dnb.nl/dgs Annotations Valid date as specified in the manual Diagram Type restriction of xs:string Facets length pattern Used by Element 8 [1-9]{1}[0-9]{2,8} dgs:Rekeninghouder/dgs:geboortedatum 70 Source <xs:simpleType name="GeboortedatumType"> <xs:annotation> <xs:documentation>Valid date as specified in the manual</xs:documentation> </xs:annotation> <xs:restriction base="xs:string"> <xs:length value="8"/> <xs:pattern value="[1-9]{1}[0-9]{2,8}"/> </xs:restriction> </xs:simpleType> 3.4.21 Simple Type dgs:NulOfEenType Namespace http://www.dnb.nl/dgs Diagram Type restriction of xs:int Facets enumeration 0 enumeration 1 Used by Element Source <xs:simpleType name="NulOfEenType"> <xs:restriction base="xs:int"> <xs:enumeration value="0"/> <xs:enumeration value="1"/> </xs:restriction> </xs:simpleType> dgs:Rekeninghouder/dgs:indicatieOverleden 3.4.22 Simple Type dgs:RechtsvormType Namespace http://w Legal fo Annotations Diagram Type restricti Facets enumer enumer Used by Elemen Source <xs:simp <xs:an 71 <xs:d </xs:an <xs:res <xs:e <xs < </x </xs: <xs:e <xs < </x </xs: </xs:re </xs:simp 3.4.23 Simple Type dgs:GezamenlijkBelangType Namespace http://www.dnb.nl/dgs Diagram Type restriction of xs:string Facets enumeration 01 Joint interest, one person entitled enumeration 02 Joint interest, two persons entitled enumeration 03 Joint interest, more than two persons entitled Used by Source Element dgs:Rekeninghouder/dgs:gezamenlijkBelang <xs:simpleType name="GezamenlijkBelangType"> <xs:restriction base="xs:string"> <xs:enumeration value="01"> <xs:annotation> <xs:documentation>Joint interest, one person entitled</xs:documentation> </xs:annotation> </xs:enumeration> <xs:enumeration value="02"> <xs:annotation> <xs:documentation>Joint interest, two persons entitled</xs:documentation> </xs:annotation> </xs:enumeration> <xs:enumeration value="03"> <xs:annotation> <xs:documentation>Joint interest, more than two persons entitled</ xs:documentation> </xs:annotation> </xs:enumeration> </xs:restriction> </xs:simpleType> 3.4.24 Simple Type dgs:SoortPersoonType Namespace http://www.dnb.nl/dgs Diagram 72 Type restriction of xs:string Facets enumeration 00 Account holder enumeration 01 Fully authorised representatieve enumeration 02 Jointly authorised representatieve Used by Source Element dgs:Rekeninghouder/dgs:soortPersoon <xs:simpleType name="SoortPersoonType"> <xs:restriction base="xs:string"> <xs:enumeration value="00"> <xs:annotation> <xs:documentation>Account holder</xs:documentation> </xs:annotation> </xs:enumeration> <xs:enumeration value="01"> <xs:annotation> <xs:documentation>Fully authorised representatieve</xs:documentation> </xs:annotation> </xs:enumeration> <xs:enumeration value="02"> <xs:annotation> <xs:documentation>Jointly authorised representatieve</xs:documentation> </xs:annotation> </xs:enumeration> </xs:restriction> </xs:simpleType> 3.4.25 Simple Type dgs:BICType Namespace http://www.dnb.nl/dgs Annotations BIC belonging with the contra account. Diagram Type restriction of xs:string Facets whiteSpace collapse 11 maxLength pattern [a-zA-Z0-9]* Used by Element Source <xs:simpleType name="BICType"> <xs:annotation> <xs:documentation>BIC belonging with the contra account.</xs:documentation> </xs:annotation> <xs:restriction base="xs:string"> <xs:maxLength value="11"/> <xs:whiteSpace value="collapse"/> <xs:pattern value="[a-zA-Z0-9]*"/> </xs:restriction> </xs:simpleType> dgs:TegenrekeningType/dgs:bicCodeBank 3.4.26 Simple Type dgs:StringMax256 Namespace http://www.dnb.nl/dgs 73 Diagram Type restriction of xs:string Facets maxLength Used by Element 256 dgs:TegenrekeningType/dgs:tenaamstelling Simple Type dgs:StringMax256Min1 Source <xs:simpleType name="StringMax256"> <xs:restriction base="xs:string"> <xs:maxLength value="256"/> </xs:restriction> </xs:simpleType> 3.4.27 Simple Type dgs:TelefoonnummerType Namespace http://www.dnb.nl/dgs Diagram Type restriction of xs:string Facets whiteSpace Used by Source collapse maxLength 12 pattern [\+0-9]* Elements dgs:Rekeninghouder/dgs:mobielnummer, dgs:Rekeninghouder/dgs:telefoonnummer <xs:simpleType name="TelefoonnummerType"> <xs:restriction base="xs:string"> <xs:maxLength value="12"/> <xs:whiteSpace value="collapse"/> <xs:pattern value="[\+0-9]*"/> </xs:restriction> </xs:simpleType> 3.4.28 Simple Type dgs:EmailadresType Namespace http://www.dnb.nl/dgs Diagram Type restriction of xs:string Facets maxLength Used by Element 100 dgs:Rekeninghouder/dgs:emailadres 74 <xs:simpleType name="EmailadresType"> <xs:restriction base="xs:string"> <xs:maxLength value="100"/> </xs:restriction> </xs:simpleType> Source 3.4.29 Simple Type dgs:StringMax8Min1 Namespace http://www.dnb.nl/dgs Diagram Type Type hierarchy Facets Used by Source restriction of dgs:StringMax8 • xs:string • dgs:StringMax8 • dgs:StringMax8Min1 minLength 1 maxLength 8 Elements dgs:Bank/dgs:administratieIdentificatie, dgs:Rekeningopgave/dgs:productCode <xs:simpleType name="StringMax8Min1"> <xs:restriction base="dgs:StringMax8"> <xs:minLength value="1"/> </xs:restriction> </xs:simpleType> 3.4.30 Simple Type dgs:StringMax8 Namespace http://www.dnb.nl/dgs Diagram Type restriction of xs:string Facets maxLength Used by Simple Type Source <xs:simpleType name="StringMax8"> <xs:restriction base="xs:string"> <xs:maxLength value="8"/> </xs:restriction> 8 dgs:StringMax8Min1 </xs:simpleType> 3.4.31 Simple Type dgs:Decimal2 Namespace http://www.dnb.nl/dgs Diagram 75 Type restriction of xs:decimal Facets fractionDigits 2 Used by Complex Type dgs:BedragMetValutaType Elements dgs:Controle/dgs:totaalbedragRente, dgs:Controle/dgs:totaalbedragSaldo <xs:simpleType name="Decimal2"> <xs:restriction base="xs:decimal"> <xs:fractionDigits value="2"/> </xs:restriction> </xs:simpleType> Source 3.4.32 Simple Type dgs:ValutaType Namespace http://www.dnb.nl/dgs Annotations Value in accordance with ISO4217 (3 character code for currency) Diagram Type restriction of xs:string Facets length pattern 3 [a-zA-Z]* Used by Attribute Source <xs:simpleType name="ValutaType"> <xs:annotation> <xs:documentation>Value in accordance with ISO4217 (3 character code for currency)</ xs:documentation> </xs:annotation> <xs:restriction base="xs:string"> <xs:length value="3"/> <xs:pattern value="[a-zA-Z]*"/> </xs:restriction> </xs:simpleType> dgs:BedragMetValutaType/@valuta 3.4.33 Simple Type dgs:StringMax256Min1 Namespace http://www.dnb.nl/dgs Diagram Type restriction of dgs:StringMax256 Type hierarchy • Facets xs:string • dgs:StringMax256 • dgs:StringMax256Min1 minLength 1 maxLength 256 76 Used by Element Source <xs:simpleType name="StringMax256Min1"> <xs:restriction base="dgs:StringMax256"> <xs:minLength value="1"/> </xs:restriction> </xs:simpleType> dgs:Rekeningopgave/dgs:tenaamstelling 3.4.34 Simple Type dgs:VersieNummerType Namespace http://www.dnb.nl/dgs Diagram Type restriction of xs:string Facets enumeration Used by Element Source <xs:simpleType name="VersieNummerType"> <xs:restriction base="xs:string"> <xs:enumeration value="01"/> </xs:restriction> </xs:simpleType> 01 dgs:bericht/dgs:versienummer 3.4.35 Simple Type dgs:VergunningNummerType Namespace http://www.dnb.nl/dgs Annotations Number of the (bank) authorisation you have received from DNB Diagram Type restriction of dgs:StringMin1 Type hierarchy • Facets Used by xs:string • dgs:StringMin1 • dgs:VergunningNummerType minLength 1 maxLength 20 pattern [0-9a-zA-Z]* Element dgs:Bank/dgs:vergunningnummer 77 <xs:simpleType name="VergunningNummerType"> <xs:annotation> <xs:documentation>Number of the (bank) authorisation you have received from DNB</ xs:documentation> </xs:annotation> <xs:restriction base="dgs:StringMin1"> <xs:maxLength value="20"/> <xs:pattern value="[0-9a-zA-Z]*"/> </xs:restriction> </xs:simpleType> Source 3.4.36 Simple Type dgs:StringMax22Min1 Namespace http://www.dnb.nl/dgs Diagram Type restriction of dgs:StringMax22 Type hierarchy • • • Facets xs:string dgs:StringMax22 dgs:StringMax22Min1 1 minLength maxLength 22 Used by Elements dgs:Bank/dgs:adres, dgs:Bank/dgs:plaats Source <xs:simpleType name="StringMax22Min1"> <xs:restriction base="dgs:StringMax22"> <xs:minLength value="1"/> </xs:restriction> </xs:simpleType> 3.4.37 Simple Type dgs:StringMax22 Namespace http://www.dnb.nl/dgs Diagram Type restriction of xs:string Facets maxLength Used by Simple Type Source <xs:simpleType name="StringMax22"> <xs:restriction base="xs:string"> <xs:maxLength value="22"/> </xs:restriction> </xs:simpleType> 22 dgs:StringMax22Min1 3.4.38 Simple Type dgs:KVKNummerTypeMin1 Namespace http://www.dnb.nl/dgs Diagram 78 Type restriction of dgs:KVKNummerType Type hierarchy • xs:string • dgs:KVKNummerType • dgs:KVKNummerTypeMin1 whiteSpace collapse minLength 1 maxLength 8 pattern [0-9]* Used by Element dgs:Bank/dgs:kvkNummerBron Source <xs:simpleType name="KVKNummerTypeMin1"> <xs:restriction base="dgs:KVKNummerType"> <xs:minLength value="1"/> </xs:restriction> </xs:simpleType> Facets 3.4.39 Simple Type dgs:IntegerPositief8 Namespace http://www.dnb.nl/dgs Diagram Type restriction of xs:nonNegativeInteger Facets totalDigits Used by Element Source <xs:simpleType name="IntegerPositief8"> <xs:restriction base="xs:nonNegativeInteger"> <xs:totalDigits value="8"/> </xs:restriction> </xs:simpleType> 8 dgs:Controle/dgs:aantalgegevensrecords 3.4.40 Simple Type dgs:SoortBestandType Namespace http://www.dnb.nl/dgs Diagram Type restriction of xs:string Facets enumeration Used by Element DGSBETSP dgs:bericht/dgs:soortBestand 79 <xs:simpleType name="SoortBestandType"> <xs:restriction base="xs:string"> <xs:enumeration value="DGSBETSP"/> </xs:restriction> </xs:simpleType> Source 3.4.41 Simple Type dgs:IntegerPositief10 Namespace http://www.dnb.nl/dgs Diagram Type restriction of xs:nonNegativeInteger Facets totalDigits Used by Element Source <xs:simpleType name="IntegerPositief10"> <xs:restriction base="xs:nonNegativeInteger"> <xs:totalDigits value="10"/> </xs:restriction> </xs:simpleType> 10 dgs:bericht/dgs:aanleveringnummer 3.4.42 Simple Type dgs:Deellevering Namespace http://www.dnb.nl/dgs Diagram Type restriction of dgs:IntegerPositief2 Type hierarchy • Facets Used by Source xs:nonNegativeInteger • dgs:IntegerPositief2 • dgs:Deellevering totalDigits 2 minInclusive 1 Elements dgs:bericht/dgs:aantalDeelleveringen, dgs:bericht/dgs:volgnummerDeellevering <xs:simpleType name="Deellevering"> <xs:restriction base="dgs:IntegerPositief2"> <xs:minInclusive value="1"/> </xs:restriction> </xs:simpleType> 3.4.43 Simple Type dgs:IntegerPositief2 Namespace http://www.dnb.nl/dgs Diagram 80 Type restriction of xs:nonNegativeInteger Facets totalDigits Used by Simple Type Source <xs:simpleType name="IntegerPositief2"> 2 dgs:Deellevering <xs:restriction base="xs:nonNegativeInteger"> <xs:totalDigits value="2"/> </xs:restriction> </xs:simpleType> 3.4.44 Simple Type dgs:CodeProduktie Namespace http://www.dnb.nl/dgs Diagram Type restriction of xs:string Facets enumeration P Production file T enumeration Test file, data in this file will not result in payments under DGS. Used by Element Source <xs:simpleType name="CodeProduktie"> <xs:restriction base="xs:string"> <xs:enumeration value="P"> <xs:annotation> <xs:documentation>Production file</xs:documentation> </xs:annotation> </xs:enumeration> <xs:enumeration value="T"> <xs:annotation> <xs:documentation>Test file, data in this file will not result in payments under DGS.</xs:documentation> </xs:annotation> </xs:enumeration> </xs:restriction> </xs:simpleType> dgs:bericht/dgs:codeProduktie 3.4.45 Simple Type dgs:SoortRekeningType Namespace http://www.dnb.nl/dgs Diagram Type restriction of xs:int Facets enumeration 0 Single enumeration 1 Joint 81 Source <xs:simpleType name="SoortRekeningType"> <xs:restriction base="xs:int"> <xs:enumeration value="0"> <xs:annotation> <xs:documentation>Single</xs:documentation> </xs:annotation> </xs:enumeration> <xs:enumeration value="1"> <xs:annotation> <xs:documentation>Joint</xs:documentation> </xs:annotation> </xs:enumeration> </xs:restriction> </xs:simpleType> 3.4.46 Simple Type dgs:StringMax9 Namespace http://www.dnb.nl/dgs Diagram Type restriction of xs:string Facets maxLength Source <xs:simpleType name="StringMax9"> <xs:restriction base="xs:string"> <xs:maxLength value="9"/> </xs:restriction> </xs:simpleType> 9 3.4.47 Simple Type dgs:StringMax40 Namespace http://www.dnb.nl/dgs Diagram Type restriction of xs:string Facets maxLength Source <xs:simpleType name="StringMax40"> <xs:restriction base="xs:string"> <xs:maxLength value="40"/> </xs:restriction> </xs:simpleType> 40 3.5 Attributes 3.5.1 Attribute dgs:BedragMetValutaType / @valuta Namespace No namespace Type dgs:ValutaType Properties use: optional 82 length 3 pattern [a-zA-Z]* Used by Complex Type dgs:BedragMetValutaType Source <xs:attribute name="valuta" type="dgs:ValutaType" use="optional"/> Facets 83 84