Template:API RegionData

From BattleMaster Wiki
Jump to navigation Jump to search

XML

<xml>
 <regiondata>
  <id>string</id>
  <continent>string</continent>
  <continentid>string</continentid>
  <name>string</name>
  <type>string</type>
  <area>string</area>
  <population>integer</population>
  <economy>comma-separated list of strings</economy>
  <realm>string</realm>
  <duchy>string</duchy>
  <lord>string</lord>
  <xpos>integer</xpos>
  <ypos>integer</ypos>
  <colour>integer</colour>
  <banner>integer</banner>
 </regiondata>
</xml>

JSON

 {
   "regiondata": {
       "id": string,
       "continent": string,
       "continentid": string,
       "name": string,
       "type": string,
       "area": string,
       "population": integer,
       "economy": comma-separated list of strings,
       "realm": string,
       "duchy": string,
       "lord": string,
       "xpos": integer,
       "ypos": integer,
       "colour": string,
       "banner": string
   }
 }