Debian Codegraph @

ogr/ogrsf_frmts/vdv/data/vdv452.xsd

raw
1 <?xml version="1.0"?>
2 <!--
3 /******************************************************************************
4 * Project: GDAL
5 * Purpose: Schema of vdv-452.xml
6 * Author: Even Rouault, <even.rouault at spatialys.com>
7 *
8 **********************************************************************
9 * Copyright (c) 2015, Even Rouault
10 *
11 * SPDX-License-Identifier: MIT
12 ****************************************************************************/
13 -->
14 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
15 <xs:element name="Layers">
16 <xs:complexType>
17 <xs:sequence>
18 <xs:element name="Layer" type="LayerType" minOccurs="0" maxOccurs="unbounded"/>
19 </xs:sequence>
20 </xs:complexType>
21 </xs:element>
22 <xs:complexType name="LayerType">
23 <xs:sequence>
24 <xs:element name="Field" type="FieldType" minOccurs="0" maxOccurs="unbounded"/>
25 </xs:sequence>
26 <xs:attribute name="name_en" type="xs:string"/>
27 <xs:attribute name="name_de" type="xs:string"/>
28 <xs:attribute name="num" type="xs:integer" use="optional"/>
29 </xs:complexType>
30 <xs:complexType name="FieldType">
31 <xs:attribute name="name_en" type="xs:string"/>
32 <xs:attribute name="name_de" type="xs:string"/>
33 <xs:attribute name="type">
34 <xs:simpleType>
35 <xs:restriction base="xs:string">
36 <xs:enumeration value="num"/>
37 <xs:enumeration value="char"/>
38 <xs:enumeration value="boolean"/>
39 </xs:restriction>
40 </xs:simpleType>
41 </xs:attribute>
42 <xs:attribute name="width" type="xs:nonNegativeInteger"/>
43 <xs:attribute name="cond" type="xs:string" use="optional"/>
44 </xs:complexType>
45 </xs:schema>