Slothsoft Schema: Trial of Two Game Database v0.2 R20200430

This document describes the namespace http://schema.slothsoft.net/trialoftwo/database, conventionally prefixed as std.

Changelog

*** Version 0.2 *** R20200430 - add <logMessages>, <logMessage> *** Version 0.1 *** R20200330 - add Session::playerOneName, Session::playerTwoName R20200329 - remove Incident::name - add MoveIncident::move R20200325 - rename normalizedHitPoints to normalizedHP - add <spawnIncident> - add EntityInfo::id R20200324 - initial release

Elements in namespace http://schema.slothsoft.net/trialoftwo/database

The element database

Content model:
Possible child elements:
Possible attributes:

The element sessions

Context in which this element may appear:
Possible child elements:
Possible attributes:
-

The element session

Context in which this element may appear:
Content model:
Possible child elements:
Possible attributes:

The element rooms

Context in which this element may appear:
Possible child elements:
Possible attributes:
-

The element room

Context in which this element may appear:
Content model:
Possible child elements:
-
Possible attributes:

The element incidents

Context in which this element may appear:
Possible child elements:
Possible attributes:
-

The element moveIncident

Context in which this element may appear:
Content model:
Possible child elements:
Possible attributes:

The element entity

Context in which this element may appear:
Content model:
Possible child elements:
-
Possible attributes:

The element players

Context in which this element may appear:
Content model:
Possible child elements:
Possible attributes:

The element playerOne

Context in which this element may appear:
Content model:
Possible child elements:
-
Possible attributes:

The element playerTwo

Context in which this element may appear:
Content model:
Possible child elements:
-
Possible attributes:

The element hurtIncident

Context in which this element may appear:
Content model:
Possible child elements:
Possible attributes:

The element spawnIncident

Context in which this element may appear:
Content model:
Possible child elements:
Possible attributes:

The element deathIncident

Context in which this element may appear:
Content model:
Possible child elements:
Possible attributes:

The element logMessages

Context in which this element may appear:
Possible child elements:
Possible attributes:
-

The element logMessage

Context in which this element may appear:
Content model:
Possible child elements:
-
Possible attributes:

Attributes in namespace http://schema.slothsoft.net/trialoftwo/database

The attribute schemaVersion

Required:
Yes
Elements which use this attribute:
Content model:

The attribute gameVersion

Required:
Yes
Elements which use this attribute:
Content model:

The attribute start

Required:
Yes
Elements which use this attribute:
Content model:

The attribute end

Required:
Yes
Elements which use this attribute:
Content model:

The attribute scene

Required:
Yes
Elements which use this attribute:
Content model:

The attribute playerOneName

Required:
Yes
Elements which use this attribute:
Content model:

The attribute playerTwoName

Required:
Yes
Elements which use this attribute:
Content model:

The attribute name

Required:
Yes
Elements which use this attribute:
Content model:

The attribute roomEntered

Required:
No
Elements which use this attribute:
Content model:

The attribute battleStarted

Required:
No
Elements which use this attribute:
Content model:

The attribute roomCleared

Required:
No
Elements which use this attribute:
Content model:

The attribute isCleared

Required:
Yes
Elements which use this attribute:
Content model:

The attribute isGameOver

Required:
Yes
Elements which use this attribute:
Content model:

The attribute time

Required:
Yes
Elements which use this attribute:
Content model:

The attribute name

Required:
Yes
Elements which use this attribute:
Content model:

The attribute id

Required:
Yes
Elements which use this attribute:
Content model:

The attribute currentRoom

Required:
Yes
Elements which use this attribute:
Content model:

The attribute localPositionX

Required:
Yes
Elements which use this attribute:
Content model:

The attribute localPositionY

Required:
Yes
Elements which use this attribute:
Content model:

The attribute localPositionZ

Required:
Yes
Elements which use this attribute:
Content model:

The attribute normalizedHP

Required:
Yes
Elements which use this attribute:
Content model:

The attribute focussedEntity

Required:
Yes
Elements which use this attribute:
Content model:

The attribute isAlive

Required:
Yes
Elements which use this attribute:
Content model:

The attribute isAirborne

Required:
Yes
Elements which use this attribute:
Content model:

The attribute isStunned

Required:
Yes
Elements which use this attribute:
Content model:

The attribute isDizzy

Required:
Yes
Elements which use this attribute:
Content model:

The attribute distance

Required:
Yes
Elements which use this attribute:
Content model:

The attribute oneSeesTwo

Required:
Yes
Elements which use this attribute:
Content model:

The attribute twoSeesOne

Required:
Yes
Elements which use this attribute:
Content model:

The attribute move

Required:
Yes
Elements which use this attribute:
Content model:

The attribute chainLength

Required:
Yes
Elements which use this attribute:
Content model:

The attribute damageAmount

Required:
Yes
Elements which use this attribute:
Content model:

The attribute type

Required:
Yes
Elements which use this attribute:
Content model:
Allowed content:
  • "Error"
  • "Assert"
  • "Warning"
  • "Log"
  • "Exception"

The attribute time

Required:
Yes
Elements which use this attribute:
Content model:

The attribute condition

Required:
Yes
Elements which use this attribute:
Content model:

The attribute stackTrace

Required:
Yes
Elements which use this attribute:
Content model:

Content models in namespace http://schema.slothsoft.net/trialoftwo/database

The content model Database

Elements which use this content model:
Possible child elements:
Possible attributes:

The content model Session

Elements which use this content model:
Possible child elements:
Possible attributes:

The content model RoomInfo

Elements which use this content model:
Possible child elements:
-
Possible attributes:

The content model LogMessage

Elements which use this content model:
Possible child elements:
-
Possible attributes:

The content model Incident

Elements which use this content model:
This content model is extended by:
Possible child elements:
Possible attributes:

The content model MoveIncident

Elements which use this content model:
This content model extends:
Possible child elements:
Possible attributes:

The content model HurtIncident

Elements which use this content model:
This content model extends:
Possible child elements:
Possible attributes:

The content model SpawnIncident

Elements which use this content model:
This content model extends:
Possible child elements:
Possible attributes:

The content model DeathIncident

Elements which use this content model:
This content model extends:
Possible child elements:
Possible attributes:

The content model PlayersInfo

Elements which use this content model:
Possible child elements:
Possible attributes:

The content model EntityInfo

Elements which use this content model:
Possible child elements:
-
Possible attributes:

The content model SceneName

Attributes which use this content model:
This content model extends:

The content model RoomName

Attributes which use this content model:
This content model extends:

The content model MoveName

Attributes which use this content model:
This content model extends:

The content model EntityName

Attributes which use this content model:
This content model extends:

The content model LogType

Attributes which use this content model:
This content model extends:
Allowed content:
  • "Error"
  • "Assert"
  • "Warning"
  • "Log"
  • "Exception"

The content model bool

Attributes which use this content model:
This content model extends:

The content model float

Attributes which use this content model:
This content model extends:

The content model int

Attributes which use this content model:
This content model extends:

The content model datetime

Attributes which use this content model:
This content model extends:

The content model string

Attributes which use this content model:
This content model extends: