mirror of https://github.com/FreeCol/freecol.git
81 lines
3.1 KiB
XML
81 lines
3.1 KiB
XML
<?xml version="1.0"?>
|
|
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
|
|
<xs:annotation>
|
|
<xs:documentation>
|
|
|
|
Copyright (C) 2002-2016 The FreeCol Team
|
|
|
|
This file is part of FreeCol.
|
|
|
|
FreeCol is free software: you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation, either version 2 of the License, or
|
|
(at your option) any later version.
|
|
|
|
FreeCol is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with FreeCol. If not, see http://www.gnu.org/licenses
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
|
|
<xs:include schemaLocation="../spec/spec-model.xsd" />
|
|
<xs:include schemaLocation="data-colony.xsd" />
|
|
<xs:include schemaLocation="data-indianSettlement.xsd" />
|
|
<xs:include schemaLocation="data-tileitemcontainer.xsd" />
|
|
<xs:include schemaLocation="data-playerExploredTile.xsd" />
|
|
<xs:include schemaLocation="data-unit.xsd" />
|
|
|
|
<xs:element name="tile">
|
|
<xs:complexType>
|
|
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
|
<xs:element ref="colony" />
|
|
<xs:element ref="indianSettlement" />
|
|
<xs:element ref="tileItemContainer" />
|
|
<xs:element ref="playerExploredTile" />
|
|
<xs:element ref="units" />
|
|
<!-- @compat 0.11.3 -->
|
|
<xs:element ref="tileitemcontainer" />
|
|
<!-- end @compat 0.11.3 -->
|
|
</xs:choice>
|
|
|
|
<xs:attribute name="id" type="TileId" use="required"/>
|
|
<!-- @compat 0.10.x -->
|
|
<xs:attribute name="ID" type="TileId" use="optional"/>
|
|
<!-- end @compat -->
|
|
<xs:attribute name="x" type="xs:int" use="required" />
|
|
<xs:attribute name="y" type="xs:int" use="required" />
|
|
<xs:attribute name="type" type="TileTypeId" use="required">
|
|
<xs:annotation>
|
|
<xs:documentation>
|
|
Tile type
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:attribute>
|
|
|
|
<xs:attribute name="region" type="RegionId" use="optional">
|
|
<xs:annotation>
|
|
<xs:documentation>
|
|
Owner region, may be absent in map files.
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:attribute>
|
|
<xs:attribute name="fishBonus" type="xs:int" default="0"
|
|
use="optional" />
|
|
<xs:attribute name="lostCityRumour" type="xs:boolean"
|
|
default="false" use="optional" />
|
|
<xs:attribute name="connected" type="xs:int" use="optional" />
|
|
<xs:attribute name="moveToEurope" type="xs:boolean" use="optional" />
|
|
<xs:attribute name="owner" type="xs:string" use="optional" />
|
|
<xs:attribute name="owningSettlement" type="xs:string"
|
|
use="optional" />
|
|
<xs:attribute name="style" type="xs:int" use="optional" />
|
|
<xs:attribute name="contiguity" type="xs:int" use="optional" />
|
|
</xs:complexType>
|
|
</xs:element>
|
|
|
|
</xs:schema>
|