root/rpgcharacter/bio/identity
Back
Namespace:
Filename:
Content: name (type: string) , alias (type: string) *, level (type: int) ?, id (type: string) ?, note (type: string) *, appdata (type: customdata) *
Description: The identity tag describes one
of the character's real or false identities. Most characters will only have
one identity tag, but can have any number of them.
name describes the name used by the identity.alias describes an alias used by this identity. An identity
can have zero or more code>alias tags.level describes the "level" of the identity, if that
has any meaning to the system. Generally, this is used to represent the
quality and depth of a forged identity.id identifies the identity, if any. For example, in modern
games, this might be a social security number or something similar.note a note about the identity. There can be zero or more of
these attached to the identity.appdata a section to allow an application to write customized
biographic data about the identity. There can be zero or more of these
attached to the identity.Code Fragment
<xs:complexType name="identity">
<xs:sequence>
<xs:element type="xs:string" name="name"/>
<xs:element type="xs:string" name="alias" minOccurs="0" maxOccurs="unbounded"/>
<xs:element type="xs:int" name="level" minOccurs="0" maxOccurs="1"/>
<xs:element type="xs:string" name="id" 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>