Slothsoft Schema: Savegame Editor Manifest v0.3 R20180908

This document describes the namespace http://schema.slothsoft.net/savegame/editor , conventionally prefixed as sse.

Changelog

*** Version 0.2 *** R20170907 - initial release *** Version 0.3 *** R20171126 - removed <savegame.dictionary> - renamed <archive filepath=""> to <archive path=""> - added <instruction> - added types id, name, numberExpression R20180403 - changed <archive type="Raw|AMBR|AM2|JH"> to "xsd:token" (use editor configuration 'archiveBuilders' and 'archiveExtractors' to register archive types) R20180802 - changed <archive type="xsd:token"> to [a-zA-Z0-9] - added <globals> - added xml:base to <savegame.editor>, <globals>, <archive> R20180908 - <group> may have a dictionary-ref - name may include / R20220121 - <savegame.editor> may have a file-hash

Elements in namespace http://schema.slothsoft.net/savegame/editor

The element savegame.editor

Content model:
Possible child elements:
Possible attributes:

The element globals

Content model:
Possible child elements:
Possible attributes:

The element global

Content model:
Possible child elements:
Possible attributes:

The element binary

Content model:
Possible child elements:
-
Possible attributes:

The element string

Content model:
Possible child elements:
-
Possible attributes:

The element integer

Content model:
Possible child elements:
-
Possible attributes:
  • name ::= [A-Za-z0-9\-\./]+
  • position ::= ($[A-Za-z0-9\-\.]+|\s+|\d+|[/\*\+\-\(\)])+ | 0x[0-9A-F]+
  • value ::= xsd:string
  • value-id ::= xsd:integer
  • size ::= ($[A-Za-z0-9\-\.]+|\s+|\d+|[/\*\+\-\(\)])+ | 0x[0-9A-F]+
  • min ::= ($[A-Za-z0-9\-\.]+|\s+|\d+|[/\*\+\-\(\)])+ | 0x[0-9A-F]+
  • max ::= ($[A-Za-z0-9\-\.]+|\s+|\d+|[/\*\+\-\(\)])+ | 0x[0-9A-F]+

The element signed-integer

Content model:
Possible child elements:
-
Possible attributes:
  • name ::= [A-Za-z0-9\-\./]+
  • position ::= ($[A-Za-z0-9\-\.]+|\s+|\d+|[/\*\+\-\(\)])+ | 0x[0-9A-F]+
  • value ::= xsd:string
  • value-id ::= xsd:integer
  • size ::= ($[A-Za-z0-9\-\.]+|\s+|\d+|[/\*\+\-\(\)])+ | 0x[0-9A-F]+
  • min ::= ($[A-Za-z0-9\-\.]+|\s+|\d+|[/\*\+\-\(\)])+ | 0x[0-9A-F]+
  • max ::= ($[A-Za-z0-9\-\.]+|\s+|\d+|[/\*\+\-\(\)])+ | 0x[0-9A-F]+

The element bit

Content model:
Possible child elements:
-
Possible attributes:

The element select

Content model:
Possible child elements:
-
Possible attributes:

The element event-script

Content model:
Possible child elements:
-
Possible attributes:

The element image

Content model:
Possible child elements:
-
Possible attributes:
  • name ::= [A-Za-z0-9\-\./]+
  • position ::= ($[A-Za-z0-9\-\.]+|\s+|\d+|[/\*\+\-\(\)])+ | 0x[0-9A-F]+
  • value ::= xsd:string
  • value-id ::= xsd:integer
  • size ::= ($[A-Za-z0-9\-\.]+|\s+|\d+|[/\*\+\-\(\)])+ | 0x[0-9A-F]+
  • width ::= ($[A-Za-z0-9\-\.]+|\s+|\d+|[/\*\+\-\(\)])+ | 0x[0-9A-F]+
  • height ::= ($[A-Za-z0-9\-\.]+|\s+|\d+|[/\*\+\-\(\)])+ | 0x[0-9A-F]+
  • bitplanes ::= ($[A-Za-z0-9\-\.]+|\s+|\d+|[/\*\+\-\(\)])+ | 0x[0-9A-F]+

The element group

Content model:
Possible child elements:
Possible attributes:

The element instruction

Content model:
Possible child elements:
Possible attributes:
  • name ::= [A-Za-z0-9\-\./]+
  • position ::= ($[A-Za-z0-9\-\.]+|\s+|\d+|[/\*\+\-\(\)])+ | 0x[0-9A-F]+
  • type ::= "string-dictionary" | "event-dictionary" | "event" | "event-step" | "bit-field" | "repeat-group" | "use-global" | "image-map" | "image-pile"
  • dictionary-ref ::= [A-Za-z0-9\-\.]+

The element bit-field

Content model:
Possible child elements:
Possible attributes:

The element repeat-group

Content model:
Possible child elements:
Possible attributes:
  • name ::= [A-Za-z0-9\-\./]+
  • position ::= ($[A-Za-z0-9\-\.]+|\s+|\d+|[/\*\+\-\(\)])+ | 0x[0-9A-F]+
  • dictionary-ref ::= [A-Za-z0-9\-\.]+
  • group-size ::= ($[A-Za-z0-9\-\.]+|\s+|\d+|[/\*\+\-\(\)])+ | 0x[0-9A-F]+
  • group-count ::= ($[A-Za-z0-9\-\.]+|\s+|\d+|[/\*\+\-\(\)])+ | 0x[0-9A-F]+

The element use-global

Content model:
Possible child elements:
Possible attributes:
  • name ::= [A-Za-z0-9\-\./]+
  • position ::= ($[A-Za-z0-9\-\.]+|\s+|\d+|[/\*\+\-\(\)])+ | 0x[0-9A-F]+
  • dictionary-ref ::= [A-Za-z0-9\-\.]+
  • ref ::= [A-Za-z0-9\-\.]+

The element string-dictionary

Content model:
Possible child elements:
Possible attributes:
  • name ::= [A-Za-z0-9\-\./]+
  • position ::= ($[A-Za-z0-9\-\.]+|\s+|\d+|[/\*\+\-\(\)])+ | 0x[0-9A-F]+
  • encoding ::= xsd:token
  • dictionary-ref ::= [A-Za-z0-9\-\.]+
  • string-count ::= ($[A-Za-z0-9\-\.]+|\s+|\d+|[/\*\+\-\(\)])+ | 0x[0-9A-F]+
  • string-size ::= ($[A-Za-z0-9\-\.]+|\s+|\d+|[/\*\+\-\(\)])+ | 0x[0-9A-F]+
  • type ::= "null-delimited" | "size-interspersed" | "size-first" | "size-fixed"

The element event-dictionary

Content model:
Possible child elements:
Possible attributes:
  • name ::= [A-Za-z0-9\-\./]+
  • position ::= ($[A-Za-z0-9\-\.]+|\s+|\d+|[/\*\+\-\(\)])+ | 0x[0-9A-F]+
  • dictionary-ref ::= [A-Za-z0-9\-\.]+

The element image-map

Content model:
Possible child elements:
Possible attributes:
  • name ::= [A-Za-z0-9\-\./]+
  • position ::= ($[A-Za-z0-9\-\.]+|\s+|\d+|[/\*\+\-\(\)])+ | 0x[0-9A-F]+
  • dictionary-ref ::= [A-Za-z0-9\-\.]+
  • image-count ::= ($[A-Za-z0-9\-\.]+|\s+|\d+|[/\*\+\-\(\)])+ | 0x[0-9A-F]+
  • width ::= ($[A-Za-z0-9\-\.]+|\s+|\d+|[/\*\+\-\(\)])+ | 0x[0-9A-F]+
  • height ::= ($[A-Za-z0-9\-\.]+|\s+|\d+|[/\*\+\-\(\)])+ | 0x[0-9A-F]+
  • bitplanes ::= ($[A-Za-z0-9\-\.]+|\s+|\d+|[/\*\+\-\(\)])+ | 0x[0-9A-F]+

The element image-pile

Content model:
Possible child elements:
Possible attributes:

The element archive

Content model:
Possible child elements:
Possible attributes:

The element for-each-file

Content model:
Possible child elements:
Possible attributes:

The element file

Content model:
Possible child elements:
Possible attributes:

Attributes in namespace http://schema.slothsoft.net/savegame/editor

The attribute version

Required:
Yes
Elements which use this attribute:
Content model:
Allowed content:
  • "0.3"
The schema version used by the instance document.

The attribute save-id

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

The attribute save-mode

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

The attribute file-hash

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

The attribute xml:base

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

The attribute xml:base

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

The attribute global-id

Required:
No
Elements which use this attribute:
Content model:
Allowed content:
  • [A-Za-z0-9\-\.]+

The attribute name

Required:
No
Elements which use this attribute:
Content model:
Allowed content:
  • [A-Za-z0-9\-\./]+

The attribute position

Required:
No
Elements which use this attribute:
Content model:
Allowed content:
  • ($[A-Za-z0-9\-\.]+|\s+|\d+|[/\*\+\-\(\)])+
  • 0x[0-9A-F]+

The attribute value

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

The attribute value-id

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

The attribute size

Required:
No
Elements which use this attribute:
Content model:
Allowed content:
  • ($[A-Za-z0-9\-\.]+|\s+|\d+|[/\*\+\-\(\)])+
  • 0x[0-9A-F]+

The attribute encoding

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

The attribute min

Required:
No
Elements which use this attribute:
Content model:
Allowed content:
  • ($[A-Za-z0-9\-\.]+|\s+|\d+|[/\*\+\-\(\)])+
  • 0x[0-9A-F]+

The attribute max

Required:
No
Elements which use this attribute:
Content model:
Allowed content:
  • ($[A-Za-z0-9\-\.]+|\s+|\d+|[/\*\+\-\(\)])+
  • 0x[0-9A-F]+

The attribute min

Required:
No
Elements which use this attribute:
Content model:
Allowed content:
  • ($[A-Za-z0-9\-\.]+|\s+|\d+|[/\*\+\-\(\)])+
  • 0x[0-9A-F]+

The attribute max

Required:
No
Elements which use this attribute:
Content model:
Allowed content:
  • ($[A-Za-z0-9\-\.]+|\s+|\d+|[/\*\+\-\(\)])+
  • 0x[0-9A-F]+

The attribute bit

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

The attribute bit-value

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

The attribute dictionary-ref

Required:
No
Elements which use this attribute:
Content model:
Allowed content:
  • [A-Za-z0-9\-\.]+

The attribute width

Required:
No
Elements which use this attribute:
Content model:
Allowed content:
  • ($[A-Za-z0-9\-\.]+|\s+|\d+|[/\*\+\-\(\)])+
  • 0x[0-9A-F]+

The attribute height

Required:
No
Elements which use this attribute:
Content model:
Allowed content:
  • ($[A-Za-z0-9\-\.]+|\s+|\d+|[/\*\+\-\(\)])+
  • 0x[0-9A-F]+

The attribute bitplanes

Required:
No
Elements which use this attribute:
Content model:
Allowed content:
  • ($[A-Za-z0-9\-\.]+|\s+|\d+|[/\*\+\-\(\)])+
  • 0x[0-9A-F]+

The attribute instruction

Required:
No
Elements which use this attribute:
Content model:
Allowed content:
  • [A-Za-z0-9\-\./]+

The attribute dictionary-ref

Required:
No
Elements which use this attribute:
Content model:
Allowed content:
  • [A-Za-z0-9\-\.]+

The attribute type

Required:
Yes
Elements which use this attribute:
Content model:
Allowed content:
  • "string-dictionary"
  • "event-dictionary"
  • "event"
  • "event-step"
  • "bit-field"
  • "repeat-group"
  • "use-global"
  • "image-map"
  • "image-pile"

The attribute dictionary-ref

Required:
No
Elements which use this attribute:
Content model:
Allowed content:
  • [A-Za-z0-9\-\.]+

The attribute dictionary-ref

Required:
No
Elements which use this attribute:
Content model:
Allowed content:
  • [A-Za-z0-9\-\.]+

The attribute first-bit

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

The attribute last-bit

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

The attribute size

Required:
No
Elements which use this attribute:
Content model:
Allowed content:
  • ($[A-Za-z0-9\-\.]+|\s+|\d+|[/\*\+\-\(\)])+
  • 0x[0-9A-F]+

The attribute group-size

Required:
Yes
Elements which use this attribute:
Content model:
Allowed content:
  • ($[A-Za-z0-9\-\.]+|\s+|\d+|[/\*\+\-\(\)])+
  • 0x[0-9A-F]+

The attribute group-count

Required:
No
Elements which use this attribute:
Content model:
Allowed content:
  • ($[A-Za-z0-9\-\.]+|\s+|\d+|[/\*\+\-\(\)])+
  • 0x[0-9A-F]+

The attribute ref

Required:
Yes
Elements which use this attribute:
Content model:
Allowed content:
  • [A-Za-z0-9\-\.]+

The attribute string-count

Required:
No
Elements which use this attribute:
Content model:
Allowed content:
  • ($[A-Za-z0-9\-\.]+|\s+|\d+|[/\*\+\-\(\)])+
  • 0x[0-9A-F]+

The attribute string-size

Required:
No
Elements which use this attribute:
Content model:
Allowed content:
  • ($[A-Za-z0-9\-\.]+|\s+|\d+|[/\*\+\-\(\)])+
  • 0x[0-9A-F]+

The attribute type

Required:
Yes
Elements which use this attribute:
Content model:
Allowed content:
  • "null-delimited"
  • "size-interspersed"
  • "size-first"
  • "size-fixed"

The attribute image-count

Required:
No
Elements which use this attribute:
Content model:
Allowed content:
  • ($[A-Za-z0-9\-\.]+|\s+|\d+|[/\*\+\-\(\)])+
  • 0x[0-9A-F]+

The attribute width

Required:
No
Elements which use this attribute:
Content model:
Allowed content:
  • ($[A-Za-z0-9\-\.]+|\s+|\d+|[/\*\+\-\(\)])+
  • 0x[0-9A-F]+

The attribute height

Required:
No
Elements which use this attribute:
Content model:
Allowed content:
  • ($[A-Za-z0-9\-\.]+|\s+|\d+|[/\*\+\-\(\)])+
  • 0x[0-9A-F]+

The attribute bitplanes

Required:
No
Elements which use this attribute:
Content model:
Allowed content:
  • ($[A-Za-z0-9\-\.]+|\s+|\d+|[/\*\+\-\(\)])+
  • 0x[0-9A-F]+

The attribute image-dimensions

Required:
No
Elements which use this attribute:

The attribute bitplanes

Required:
No
Elements which use this attribute:
Content model:
Allowed content:
  • ($[A-Za-z0-9\-\.]+|\s+|\d+|[/\*\+\-\(\)])+
  • 0x[0-9A-F]+

The attribute path

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

The attribute type

Required:
Yes
Elements which use this attribute:
Content model:
Allowed content:
  • [a-zA-Z0-9]+

The attribute name

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

The attribute size

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

The attribute timestamp

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

The attribute md5

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

The attribute xml:base

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

The attribute file-range

Required:
No
Elements which use this attribute:

The attribute file-name

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

Content models in namespace http://schema.slothsoft.net/savegame/editor

The content model genericNode

Elements which use this content model:
This content model is extended by:

The content model contentNode

Elements which use this content model:
This content model extends:
This content model is extended by:
Possible child elements:
-
Possible attributes:
  • name ::= [A-Za-z0-9\-\./]+
  • position ::= ($[A-Za-z0-9\-\.]+|\s+|\d+|[/\*\+\-\(\)])+ | 0x[0-9A-F]+

The content model containerContentNode

Elements which use this content model:
This content model extends:
This content model is extended by:
Possible child elements:
-
Possible attributes:
  • name ::= [A-Za-z0-9\-\./]+
  • position ::= ($[A-Za-z0-9\-\.]+|\s+|\d+|[/\*\+\-\(\)])+ | 0x[0-9A-F]+

The content model instructionContentNode

Elements which use this content model:
This content model extends:
Possible child elements:
-
Possible attributes:
  • name ::= [A-Za-z0-9\-\./]+
  • position ::= ($[A-Za-z0-9\-\.]+|\s+|\d+|[/\*\+\-\(\)])+ | 0x[0-9A-F]+
  • dictionary-ref ::= [A-Za-z0-9\-\.]+

The content model valueContentNode

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

The content model id

Attributes which use this content model:
This content model extends:
Allowed content:
  • [A-Za-z0-9\-\.]+

The content model name

Attributes which use this content model:
This content model extends:
Allowed content:
  • [A-Za-z0-9\-\./]+

The content model numberExpression

Attributes which use this content model:
This content model extends:
Allowed content:
  • ($[A-Za-z0-9\-\.]+|\s+|\d+|[/\*\+\-\(\)])+
  • 0x[0-9A-F]+

Groups in namespace http://schema.slothsoft.net/savegame/editor

The group contentNodes

Elements in this group: