A Proposal for a Shadowrun XML Standard

bio

root/rpgcharacter/bio
Back

Namespace:
Filename:

Content: identity *, race ?, gender (type: gendertype) ?, birthplace (type: string) ?, birthdate (type: datetime) ?, height (type: float) ?, weight (type: float) ?, eyecolor (type: string) ?, haircolor (type: string) ?, skincolor (type: string) ?, buildtotal (type: int) ?, earnedtotal (type: int) ?, earnedremaining (type: int) ?, archetype (type: string) ?, nature (type: string) ?, demeanor (type: string) ?, level (type: int) ?, assets ?, illustration (type: string) ?, history (type: string) ?, note (type: string) *, appdata (type: customdata) *

Description: The bio tag defines basic biographical information about a character.


Code Fragment

<xs:complexType name="bio">
  <xs:sequence>
    <xs:element type="identity" name="identity" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element type="race" name="race" minOccurs="0" maxOccurs="1"/>
    <xs:element type="gendertype" name="gender" minOccurs="0" maxOccurs="1"/>
    <xs:element type="xs:string" name="birthplace" minOccurs="0" maxOccurs="1"/>
    <xs:element type="xs:dateTime" name="birthdate" minOccurs="0" maxOccurs="1"/>
    <xs:element type="xs:float" name="height" minOccurs="0" maxOccurs="1"/>
    <xs:element type="xs:float" name="weight" minOccurs="0" maxOccurs="1"/>
    <xs:element type="xs:string" name="eyecolor" minOccurs="0" maxOccurs="1"/>
    <xs:element type="xs:string" name="haircolor" minOccurs="0" maxOccurs="1"/>
    <xs:element type="xs:string" name="skincolor" minOccurs="0" maxOccurs="1"/>
    <xs:element type="xs:int" name="buildtotal" minOccurs="0" maxOccurs="1"/>
    <xs:element type="xs:int" name="earnedtotal" minOccurs="0" maxOccurs="1"/>
    <xs:element type="xs:int" name="earnedremaining" minOccurs="0" maxOccurs="1"/>
    <xs:element type="xs:string" name="archetype" minOccurs="0" maxOccurs="1"/>
    <xs:element type="xs:int" name="level" minOccurs="0" maxOccurs="1"/>
    <xs:element type="assets" name="assets" minOccurs="0" maxOccurs="1"/>
    <xs:element type="xs:string" name="illustration" minOccurs="0" maxOccurs="1"/>
    <xs:element type="xs:string" name="history" minOccurs="0" maxOccurs="1"/>
    <xs:element type="xs:string" name="note" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element type="customdata" name="appdata" minOccurs="0" maxOccurs="unbounded"/>
  </xs:sequence>
</xs:complexType>