OpenDataPortaal / src / OpenKamer.DataModel / XSD / tkData-v1-0-persoonreis.xsd
Code · 30 lines · 1372 bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30<?xml version="1.0" encoding="utf-8"?>
<xs:schema
  attributeFormDefault="unqualified"
  elementFormDefault="qualified"
  targetNamespace="http://www.tweedekamer.nl/xsd/tkData/v1-0"
  xmlns="http://www.tweedekamer.nl/xsd/tkData/v1-0"
  xmlns:xs="http://www.w3.org/2001/XMLSchema">

  <xs:include schemaLocation="tkData-v1-0-base.xsd"/>

  <xs:element name="persoonReis" type="persoonReisType"/>

  <xs:complexType name="persoonReisType" final="#all">
    <xs:complexContent>
      <xs:extension base="entiteitType">
        <xs:sequence>
          <!-- Link naar parent -->
          <xs:element name="persoon" minOccurs="0" maxOccurs="1" type="referentieLiteral"/>
          <xs:element name="doel" minOccurs="0" maxOccurs="1" nillable="true" type="tokenType"/>
          <xs:element name="bestemming" minOccurs="0" maxOccurs="1" nillable="true" type="tokenType"/>
          <xs:element name="van" minOccurs="0" maxOccurs="1" nillable="true" type="datumType"/>
          <xs:element name="totEnMet" minOccurs="0" maxOccurs="1" nillable="true" type="datumType"/>
          <xs:element name="betaaldDoor" minOccurs="0" maxOccurs="1" nillable="true" type="tokenType"/>
          <xs:element name="gewicht" minOccurs="0" maxOccurs="1" nillable="true" type="intType"/>
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>

</xs:schema>