Template:API RealmData

From BattleMaster Wiki
Jump to navigation Jump to search

XML

<xml>
 <realmdata>
  <continent> string </continent>
  <id> integer </id>
  <name> string </name>
  <fullname> string</fullname>
  <colour> string </colour>
  <banner> string </banner>
  <system> string </system>
  <capital> integer </capital>
  <rulertitle> string </rulertitle>
  <rulername> string </rulername>
  <generaltitle> string </generaltitle>
  <generalname> string </generalname>
  <judgetitle> string </judgetitle>
  <judgename> string </judgename>
  <bankertitle> string </bankertitle>
  <bankername> string </bankername>
  <population> string </population>
  <gold> string </gold>
  <food> string </food>
  <regioncount> string </regioncount>
  <nobles> integer </nobles>
  <adventurers> integer </adventurers>
  <duchycount> integer </duchycount>
  <region-ids>
   comma separated value list
  </region-ids>
  <region-names>
   comma separated value list
  </region-names>
  <summary>string</summary>
  <theme>comma-separated list of stings</theme>
 </realmdata>
</xml>

JSON

{
   "realmdata": {
       "id": integer,
       "continent": string,
       "continentid": string,
       "name": string,
       "fullname": string,
       "colour": string,
       "banner": string,
       "system": string,
       "capital": string,
       "rulertitle": string,
       "rulername": string,
       "generaltitle": string,
       "generalname": string,
       "judgetitle": string,
       "judgename": string,
       "bankertitle": string,
       "bankername": string,
       "population": string,
       "gold": string,
       "food": string,
       "regioncount": string,
       "nobles": integer,
       "adventurers": integer,
       "duchycount": integer,
       "region-ids": comma separated value list,
       "region-names": comma separated value list
       "summary": string,
       "theme": comma-separated list of strings
   }
}