x

Desc: Name

Popup text

XML Schema Documentation

Printer-friendly Version
XML Instance Representation:
[ Expand All | Collapse All ]

Schema Component Representation:
[ Expand All | Collapse All ]

Table of Contents

top

Schema Document Properties

Target Namespace http://ProjectMalmo.microsoft.com
Version 0.16
Element and Attribute Namespaces
  • Global element and attribute declarations belong to this schema's target namespace.
  • By default, local element declarations belong to this schema's target namespace.
  • By default, local attribute declarations have no namespace.
Schema Composition
  • This schema includes components from the following schema document(s):

Declared Namespaces

Prefix Namespace
Default namespace http://ProjectMalmo.microsoft.com
xml http://www.w3.org/XML/1998/namespace
jaxb http://java.sun.com/xml/ns/jaxb
xs http://www.w3.org/2001/XMLSchema
Schema Component Representation
top

Global Declarations

Element: AbsoluteMovementCommands

Name AbsoluteMovementCommands
Type Locally-defined complex type
Nillable no
Abstract no

When present, the Mod will accept commands to set the player's position and orientation directly.

Commands take the form of "verb <value>" e.g. "tpx 13" to set the x-coordinate to 13.

XML Instance Representation
<AbsoluteMovementCommands>
Start All [1]
<ModifierList
type="xs:string (value comes from list: {'deny-list'|'allow-list'}) [0..1]"> [0..1]
Start Choice [1..*]
<command> AbsoluteMovementCommand </command> [0..*]
End Choice
</ModifierList>
End All
</AbsoluteMovementCommands>
Schema Component Representation
top

Element: AgentQuitFromCollectingItem

Name AgentQuitFromCollectingItem
Type Locally-defined complex type
Nillable no
Abstract no

When this is included the agent's mission will end when they collect (or craft) a specified item.

XML Instance Representation
<AgentQuitFromCollectingItem>
Start Choice [1..*]
<Item> BlockOrItemSpecWithDescription </Item> [1]
End Choice
</AgentQuitFromCollectingItem>
Schema Component Representation
top

Element: AgentQuitFromReachingCommandQuota

Name AgentQuitFromReachingCommandQuota
Type Locally-defined complex type
Nillable no
Abstract no

Count the commands acted on by the Mod, and signal the end of the mission when the defined quota of commands has been reached.

A total number of commands can be specified, and/or groups of commands can be given their own quota.

XML Instance Representation
<AgentQuitFromReachingCommandQuota
total="xs:int [0..1] ?"
description="xs:string [0..1] ?">
Start Choice [0..*]
<Quota> CommandQuota </Quota> [1]
End Choice
</AgentQuitFromReachingCommandQuota>
Schema Component Representation
top

Element: AgentQuitFromReachingPosition

Name AgentQuitFromReachingPosition
Type Locally-defined complex type
Nillable no
Abstract no

When this is included the agent's mission will end when they reach a specified position.

XML Instance Representation
<AgentQuitFromReachingPosition>
Start Choice [1..*]
<Marker> PointWithToleranceAndDescription </Marker> [1]
End Choice
</AgentQuitFromReachingPosition>
Schema Component Representation
top

Element: AgentQuitFromTimeUp

Name AgentQuitFromTimeUp
Type Locally-defined complex type
Nillable no
Abstract no

When this is included the agent's mission will end when a certain amount of time has elapsed.

XML Instance Representation
<AgentQuitFromTimeUp
timeLimitMs="xs:decimal [1]"
description="xs:string [0..1]"/>
Schema Component Representation
top

Element: AgentQuitFromTouchingBlockType

Name AgentQuitFromTouchingBlockType
Type Locally-defined complex type
Nillable no
Abstract no

When this is included the agent's mission will end when they come in contact with a specified block type.

XML Instance Representation
<AgentQuitFromTouchingBlockType>
Start Choice [1..*]
<Block> BlockSpecWithDescription </Block> [1]
End Choice
</AgentQuitFromTouchingBlockType>
Schema Component Representation
top

Element: ChatCommands

Name ChatCommands
Type Locally-defined complex type
Nillable no
Abstract no

When present, the Mod will accept commands that send chat messages to the other players.

XML Instance Representation
<ChatCommands>
Start All [1]
<ModifierList
type="xs:string (value comes from list: {'deny-list'|'allow-list'}) [0..1]"> [0..1]
Start Choice [1..*]
<command> ChatCommand </command> [0..*]
End Choice
</ModifierList>
End All
</ChatCommands>
Schema Component Representation
top

Element: ClassroomDecorator

Name ClassroomDecorator
Type Locally-defined complex type
Nillable no
Abstract no

Adds a series of joined rooms into the world.

XML Instance Representation
<ClassroomDecorator
seed="xs:string [0..1]"
palette="PaletteEnum [0..1]">
Start Choice [1]
<complexity> [1]
<building> ZeroToOne </building> [1]
<path> ZeroToOne </path> [1]
<division> ZeroToOne </division> [1]
<obstacle> ZeroToOne </obstacle> [1]
<hint> ZeroToOne </hint> [1]
</complexity>
<specification> [1]
<width> BuildingSize </width> [1]
<height> BuildingSize </height> [1]
<length> BuildingSize </length> [1]
<pathLength> NonNegative </pathLength> [1]
<divisions> [1]
Start All [1]
<southNorth> NonNegative </southNorth> [1]
<eastWest> NonNegative </eastWest> [1]
<aboveBelow> NonNegative </aboveBelow> [1]
End All
</divisions>
<horizontalObstacles> HorizontalObstacles </horizontalObstacles> [1]
<verticalObstacles> VerticalObstacles </verticalObstacles> [1]
<hintLikelihood> ZeroToOne </hintLikelihood> [1]
</specification>
End Choice
</ClassroomDecorator>
Schema Component Representation
top

Element: ContinuousMovementCommands

Name ContinuousMovementCommands
Type Locally-defined complex type
Nillable no
Abstract no

When present, the Mod will accept commands that control smooth movement.

Commands take the form of "verb <value>" e.g. "move 1" to move forwards with normal speed.

XML Instance Representation
<ContinuousMovementCommands
turnSpeedDegs="xs:decimal [0..1] ?">
Start All [1]
<ModifierList
type="xs:string (value comes from list: {'deny-list'|'allow-list'}) [0..1]"> [0..1]
Start Choice [1..*]
<command> ContinuousMovementCommand </command> [0..*]
End Choice
</ModifierList>
End All
</ContinuousMovementCommands>
Schema Component Representation
top

Element: DefaultWorldGenerator

Name DefaultWorldGenerator
Type Locally-defined complex type
Nillable no
Abstract no

Generates the default terrain.

XML Instance Representation
<DefaultWorldGenerator
seed="xs:string [0..1] ?"
forceReset="xs:boolean [0..1] ?"/>
Schema Component Representation
top

Element: DiscreteMovementCommands

Name DiscreteMovementCommands
Type Locally-defined complex type
Nillable no
Abstract no

When present, the Mod will accept commands that control movement in discrete jumps.

Commands take the form of "verb <value>" e.g. "move 1" to move forwards one square.

XML Instance Representation
<DiscreteMovementCommands>
Start All [1]
<ModifierList
type="xs:string (value comes from list: {'deny-list'|'allow-list'}) [0..1]"> [0..1]
Start Choice [1..*]
<command> DiscreteMovementCommand </command> [0..*]
End Choice
</ModifierList>
End All
</DiscreteMovementCommands>
Schema Component Representation
top

Element: DrawBlock

  • This element can be used wherever the following element is referenced:
Name DrawBlock
Type DrawBlock
Nillable no
Abstract no
XML Instance Representation
<DrawBlock
type="BlockType [1]"
variant="Variation [0..1]"
colour="Colour [0..1]"
face="Facing [0..1]"
x="xs:int [1]"
y="xs:int [1]"
z="xs:int [1]"/>
Schema Component Representation
top

Element: DrawCuboid

  • This element can be used wherever the following element is referenced:
Name DrawCuboid
Type DrawCuboid
Nillable no
Abstract no
XML Instance Representation
<DrawCuboid
type="BlockType [1]"
variant="Variation [0..1]"
colour="Colour [0..1]"
face="Facing [0..1]"
x1="xs:int [1]"
y1="xs:int [1]"
z1="xs:int [1]"
x2="xs:int [1]"
y2="xs:int [1]"
z2="xs:int [1]"/>
Schema Component Representation
top

Element: DrawItem

  • This element can be used wherever the following element is referenced:
Name DrawItem
Type DrawItem
Nillable no
Abstract no
XML Instance Representation
<DrawItem
x="xs:int [1]"
y="xs:int [1]"
z="xs:int [1]"
type="BlockOrItem [1]"
variant="Variation [0..1]"
colour="Colour [0..1]"
face="Facing [0..1]"/>
Schema Component Representation
top

Element: DrawLine

  • This element can be used wherever the following element is referenced:
Name DrawLine
Type DrawLine
Nillable no
Abstract no
XML Instance Representation
<DrawLine
type="BlockType [1]"
variant="Variation [0..1]"
colour="Colour [0..1]"
face="Facing [0..1]"
x1="xs:int [1]"
y1="xs:int [1]"
z1="xs:int [1]"
x2="xs:int [1]"
y2="xs:int [1]"
z2="xs:int [1]"
steptype="BlockType [0..1]"/>
Schema Component Representation
top

Element: DrawObjectType

Name DrawObjectType
Type DrawObjectType
Nillable no
Abstract no
XML Instance Representation
<DrawObjectType/>
Schema Component Representation
top

Element: DrawSphere

  • This element can be used wherever the following element is referenced:
Name DrawSphere
Type DrawSphere
Nillable no
Abstract no
XML Instance Representation
<DrawSphere
type="BlockType [1]"
variant="Variation [0..1]"
colour="Colour [0..1]"
face="Facing [0..1]"
x="xs:int [1]"
y="xs:int [1]"
z="xs:int [1]"
radius="xs:int [1]"/>
Schema Component Representation
top

Element: DrawingDecorator

Name DrawingDecorator
Type Locally-defined complex type
Nillable no
Abstract no

Draws structures into the world.

XML Instance Representation
<DrawingDecorator>
<DrawObjectType> ... </DrawObjectType> [1..*]
</DrawingDecorator>
Schema Component Representation
top

Element: FileWorldGenerator

Name FileWorldGenerator
Type Locally-defined complex type
Nillable no
Abstract no

Loads a saved world from disk. You can find the saved worlds in "Minecraft\run\saves". Use the full path to one of those folders.

If Minecraft is running on a different machine then copy the folder to a readable network location and update the path accordingly. Example:

<FileWorldGenerator src="\\\\machine-id\\shared\\ProjectMalmo\\saved_maps\\arena" />

XML Instance Representation
<FileWorldGenerator
src="xs:anyURI [1] ?"
forceReset="xs:boolean [0..1] ?"/>
Schema Component Representation
top

Element: FlatWorldGenerator

Name FlatWorldGenerator
Type Locally-defined complex type
Nillable no
Abstract no

Generates a superflat world with a specified preset string - see e.g. http://www.minecraft101.net/superflat/

XML Instance Representation
<FlatWorldGenerator
generatorString="xs:string [0..1] ?"
forceReset="xs:boolean [0..1] ?"
seed="xs:string [0..1] ?"/>
Schema Component Representation
top

Element: InventoryCommands

Name InventoryCommands
Type Locally-defined complex type
Nillable no
Abstract no

When present, the Mod will accept commands that control the player's inventory.

XML Instance Representation
<InventoryCommands>
Start All [1]
<ModifierList
type="xs:string (value comes from list: {'deny-list'|'allow-list'}) [0..1]"> [0..1]
Start Choice [1..*]
<command> InventoryCommand </command> [0..*]
End Choice
</ModifierList>
End All
</InventoryCommands>
Schema Component Representation
top

Element: MazeDecorator

Name MazeDecorator
Type Locally-defined complex type
Nillable no
Abstract no

Adds a maze into the world.

XML Instance Representation
<MazeDecorator>
Start All [1]
<Seed> xs:string (pattern = random|[0-9]+) </Seed> [1] ?
<MaterialSeed> xs:string (pattern = random|[0-9]+) </MaterialSeed> [0..1] ?
<AllowDiagonalMovement> xs:boolean </AllowDiagonalMovement> [1]
<SizeAndPosition
width="xs:int [0..1]"
length="xs:int [0..1]"
height="xs:int [0..1]"
scale="xs:int [0..1]"
xOrigin="xs:int [0..1]"
yOrigin="xs:int [0..1]"
zOrigin="xs:int [0..1]"/> [1]
<StartBlock> MazeTerminus </StartBlock> [1]
<EndBlock> MazeTerminus </EndBlock> [1]
<PathBlock> MazeBlock </PathBlock> [1]
<FloorBlock> MazeBlock </FloorBlock> [1]
<GapBlock> MazeBlock </GapBlock> [1]
<OptimalPathBlock> MazeBlock </OptimalPathBlock> [0..1] ?
<SubgoalBlock> MazeBlock </SubgoalBlock> [0..1] ?
<Waypoints
quantity="xs:int [1]"> [0..1]
Start Choice [1]
<WaypointBlock> MazeBlock </WaypointBlock> [1]
<WaypointItem> BlockOrItemSpec </WaypointItem> [1]
End Choice
</Waypoints>
<GapProbability
variance="xs:decimal [0..1]"> [1]
xs:decimal
</GapProbability>
<AddQuitProducer
description="xs:string [0..1]"/> [0..1]
<AddNavigationObservations/> [0..1]
End All
</MazeDecorator>
Schema Component Representation
top

Element: ObservationFromChat

Name ObservationFromChat
Type Locally-defined complex type
Nillable no
Abstract no

When present, the Mod will return observations that say what chat messages have occurred and from which player.

A JSON element Chat will be returned, with a list of chat strings.

Note that unless the AgentHost ObservationsPolicy is set to KEEP_ALL_OBSERVATIONS it is likely that chat messages will be missed. The default policy is LATEST_OBSERVATION_ONLY.

XML Instance Representation
<ObservationFromChat/>
Schema Component Representation
top

Element: ObservationFromDiscreteCell

Name ObservationFromDiscreteCell
Type Locally-defined complex type
Nillable no
Abstract no

When present, the Mod will return an observation of the player's position that is unique for every cell on the x/z plane. This is useful for discrete-movement missions where we need to uniquely identify their location but don't mind how.

The observation will contain the JSON element cell containing e.g. (2,4) if the player is standing at any location where x = 2 and z = 4.

XML Instance Representation
<ObservationFromDiscreteCell/>
Schema Component Representation
top

Element: ObservationFromDistance

Name ObservationFromDistance
Type Locally-defined complex type
Nillable no
Abstract no

When present, the Mod will return an observation that specifies the distance to a named location.

A JSON element distanceFromNAME will be returned (where NAME is replaced with the name of the NamedPoint), with a value that is the distance.

XML Instance Representation
<ObservationFromDistance>
Start Choice [1..*]
<Marker> NamedPoint </Marker> [1]
End Choice
</ObservationFromDistance>
Schema Component Representation
top

Element: ObservationFromFullInventory

Name ObservationFromFullInventory
Type Locally-defined complex type
Nillable no
Abstract no

When present, the Mod will return observations that say what is in the player's inventory.

Up to four values are returned for each slot, if not empty: e.g. Inventory_0_size and Inventory_0_item containing the number and type of the item(s) in the slot, respectively, and Inventory_0_colour and Inventory_0_variant if the item has a colour/variation. Inventory slots are numbered 0 to 39 inclusive.

XML Instance Representation
<ObservationFromFullInventory/>
Schema Component Representation
top

Element: ObservationFromFullStats

Name ObservationFromFullStats
Type Locally-defined complex type
Nillable no
Abstract no

When present, the Mod will return several observations:

XML Instance Representation
<ObservationFromFullStats/>
Schema Component Representation
top

Element: ObservationFromGrid

Name ObservationFromGrid
Type Locally-defined complex type
Nillable no
Abstract no

When present, the Mod will return observations that say what the nearby blocks are.

A JSON element Cells will be returned, with a 1D array of block types, in order along the x, then z, then y axes.

XML Instance Representation
<ObservationFromGrid>
Start Choice [1..*]
<Grid> GridDefinition </Grid> [1]
End Choice
</ObservationFromGrid>
Schema Component Representation
top

Element: ObservationFromHotBar

Name ObservationFromHotBar
Type Locally-defined complex type
Nillable no
Abstract no

When present, the Mod will return observations that say what is in the hotbar.

Up to four values are returned for each slot, if not empty: e.g. Hotbar_1_size and Hotbar_1_item containing the number and type of the item(s) in the slot, respectively, and Hotbar_1_colour and Hotbar_1_variant if the item has a colour/variation. Hotbar slots are numbered 0 to 8 inclusive.

XML Instance Representation
<ObservationFromHotBar/>
Schema Component Representation
top

Element: ObservationFromNearbyEntities

Name ObservationFromNearbyEntities
Type Locally-defined complex type
Nillable no
Abstract no

When present, the Mod will return observations that list the positions of all entities that fall within the given ranges of the agent.

A JSON array will be returned for each range requested, named using the name attribute of the range. Within the array will be a series of elements, one for each entity, containing the following:

- name: a string describing the entity (eg from Types.xsd)

- x: the x position of the entity

- y: the y position of the entity

- z: the z position of the entity

- quantity: if items have been grouped together by Minecraft, this indicates the number in the stack

- colour: if the item is a tile entity, with a colour, this will be present to describe the colour

- variation: optional string to describe the variation - eg the type of egg, or brick, etc (see Types.xsd)

XML Instance Representation
<ObservationFromNearbyEntities>
Start Choice [1..*]
<Range> RangeDefinition </Range> [1]
End Choice
</ObservationFromNearbyEntities>
Schema Component Representation
top

Element: ObservationFromRay

Name ObservationFromRay
Type Locally-defined complex type
Nillable no
Abstract no

When present, the Mod will return observations about the block or entity which is currently in the line of sight:

XML Instance Representation
<ObservationFromRay/>
Schema Component Representation
top

Element: ObservationFromRecentCommands

Name ObservationFromRecentCommands
Type Locally-defined complex type
Nillable no
Abstract no

When present, the Mod will return observations that say what commands have been acted on since the last report, in the JSON element CommandsSinceLastObservation.

Note that the commands returned might not yet have taken effect, depending on the command and the way in which Minecraft responds to it - but they will have been processed by the command handling chain.

XML Instance Representation
<ObservationFromRecentCommands/>
Schema Component Representation
top

Element: ObservationFromSubgoalPositionList

Name ObservationFromSubgoalPositionList
Type Locally-defined complex type
Nillable no
Abstract no

When present, the Mod will return observations that indicate the direction to follow to the next subgoal. The value to turn by is returned in the JSON element yawDelta.

XML Instance Representation
<ObservationFromSubgoalPositionList>
<Point> PointWithToleranceAndDescription </Point> [1..*]
</ObservationFromSubgoalPositionList>
Schema Component Representation
top

Element: RewardForCollectingItem

Name RewardForCollectingItem
Type Locally-defined complex type
Nillable no
Abstract no

Sends a reward when the agent collects a specific item.

XML Instance Representation
<RewardForCollectingItem
dimension="Dimension [0..1]">
Start Choice [1..*]
<Item> BlockOrItemSpecWithReward </Item> [1]
End Choice
</RewardForCollectingItem>
Schema Component Representation
top

Element: RewardForDiscardingItem

Name RewardForDiscardingItem
Type Locally-defined complex type
Nillable no
Abstract no

Sends a reward when an agent discards a specific item.

XML Instance Representation
<RewardForDiscardingItem
dimension="Dimension [0..1]">
Start Choice [1..*]
<Item> BlockOrItemSpecWithReward </Item> [1]
End Choice
</RewardForDiscardingItem>
Schema Component Representation
top

Element: RewardForMissionEnd

Name RewardForMissionEnd
Type Locally-defined complex type
Nillable no
Abstract no

Sends a reward when the mission ends for a specified reason.

XML Instance Representation
<RewardForMissionEnd
rewardForDeath="xs:decimal [0..1]"
dimension="Dimension [0..1]">
Start Choice [1..*]
<Reward> MissionEndRewardCase </Reward> [1]
End Choice
</RewardForMissionEnd>
Schema Component Representation
top

Element: RewardForReachingPosition

Name RewardForReachingPosition
Type Locally-defined complex type
Nillable no
Abstract no

Sends a reward when a specified position is reached by the agent.

XML Instance Representation
<RewardForReachingPosition
dimension="Dimension [0..1]">
Start Choice [1..*]
<Marker> PointWithReward </Marker> [1]
End Choice
</RewardForReachingPosition>
Schema Component Representation
top

Element: RewardForSendingCommand

Name RewardForSendingCommand
Type Locally-defined complex type
Nillable no
Abstract no

Sends a reward when the agent issues a command.

XML Instance Representation
<RewardForSendingCommand
reward="xs:decimal [0..1]"
dimension="Dimension [0..1]"/>
Schema Component Representation
top

Element: RewardForSendingMatchingChatMessage

Name RewardForSendingMatchingChatMessage
Type Locally-defined complex type
Nillable no
Abstract no

Sends a reward when the agent sends a chat message that matches a given regular expression (supports Java regex syntax).

XML Instance Representation
<RewardForSendingMatchingChatMessage
dimension="Dimension [0..1]">
Start Choice [1..*]
<ChatMatch> ChatMatchSpec </ChatMatch> [1]
End Choice
</RewardForSendingMatchingChatMessage>
Schema Component Representation
top

Element: RewardForTouchingBlockType

Name RewardForTouchingBlockType
Type Locally-defined complex type
Nillable no
Abstract no

Sends a rewards when an agent comes in contact with a specific block type.

XML Instance Representation
<RewardForTouchingBlockType
dimension="Dimension [0..1]">
Start Choice [1..*]
<Block> BlockSpecWithRewardAndBehaviour </Block> [1]
End Choice
</RewardForTouchingBlockType>
Schema Component Representation
top

Element: ServerQuitFromTimeUp

Name ServerQuitFromTimeUp
Type Locally-defined complex type
Nillable no
Abstract no

Specifies a time limit that applies to all agents.

XML Instance Representation
<ServerQuitFromTimeUp
timeLimitMs="xs:decimal [1]"
description="xs:string [0..1]"/>
Schema Component Representation
top

Element: ServerQuitWhenAnyAgentFinishes

Name ServerQuitWhenAnyAgentFinishes
Type Locally-defined complex type
Nillable no
Abstract no

Specifies that the mission ends when any of the agents finish.

XML Instance Representation
<ServerQuitWhenAnyAgentFinishes
description="xs:string [0..1]"/>
Schema Component Representation
top

Element: SimpleCraftCommands

Name SimpleCraftCommands
Type Locally-defined complex type
Nillable no
Abstract no

When present, the Mod will accept simple commands that implement a basic form of crafting.

XML Instance Representation
<SimpleCraftCommands>
Start All [1]
<ModifierList
type="xs:string (value comes from list: {'deny-list'|'allow-list'}) [0..1]"> [0..1]
Start Choice [1..*]
<command> SimpleCraftCommand </command> [0..*]
End Choice
</ModifierList>
End All
</SimpleCraftCommands>
Schema Component Representation
top

Element: SnakeDecorator

Name SnakeDecorator
Type Locally-defined complex type
Nillable no
Abstract no

Adds a snake made of blocks, that grows at one end and shrinks at the other.

XML Instance Representation
<SnakeDecorator>
Start All [1]
<Seed> xs:string (pattern = random|[0-9]+) </Seed> [1] ?
<MaterialSeed> xs:string (pattern = random|[0-9]+) </MaterialSeed> [0..1] ?
<FreshBlock> SnakeBlock </FreshBlock> [1]
<StaleBlock> SnakeBlock </StaleBlock> [1]
<GapProbability
variance="xs:decimal [0..1]"> [1]
xs:decimal
</GapProbability>
<StairsProbability
variance="xs:decimal [0..1]"> [1]
xs:decimal
</StairsProbability>
<TurnProbability
variance="xs:decimal [0..1]"> [1]
xs:decimal
</TurnProbability>
<SizeAndPosition
xOrigin="xs:int [0..1]"
yOrigin="xs:int [0..1]"
zOrigin="xs:int [0..1]"
yMin="xs:int [0..1]"
yMax="xs:int [0..1]"/> [1]
<SpeedInTicks> xs:int </SpeedInTicks> [1]
<MaxLength> xs:int </MaxLength> [1]
<MaxStairLength> xs:int </MaxStairLength> [1]
End All
</SnakeDecorator>
Schema Component Representation
top

Element: VideoProducer

Name VideoProducer
Type Locally-defined complex type
Nillable no
Abstract no

Requests that video frames be sent.

XML Instance Representation
<VideoProducer
want_depth="xs:boolean [0..1] ?"
viewpoint="xs:int (0 <= value <= 2) [0..1] ?">
<Width> xs:int </Width> [1]
<Height> xs:int </Height> [1]
<DepthScaling
min="xs:decimal (0 <= value <= 1) [0..1]"
max="xs:decimal (0 <= value <= 1) [0..1]"
autoscale="xs:boolean [0..1] ?"/> [0..1]
</VideoProducer>
Schema Component Representation
top

Global Definitions

Attribute Group: RewardProducerAttributes

Name RewardProducerAttributes
XML Instance Representation
dimension="Dimension [0..1]"
Schema Component Representation
top

Complex Type: BlockOrItemSpec

Super-types: None
Sub-types:
Name BlockOrItemSpec
Abstract no
XML Instance Representation
<...
type="BlockOrItemList [1]"
variant="VariantList [0..1]"
colour="ColourList [0..1]"/>
Schema Component Representation
top

Complex Type: BlockOrItemSpecWithDescription

Super-types: BlockOrItemSpec < BlockOrItemSpecWithDescription (by extension)
Sub-types: None
Name BlockOrItemSpecWithDescription
Abstract no
XML Instance Representation
<...
type="BlockOrItemList [1]"
variant="VariantList [0..1]"
colour="ColourList [0..1]"
description="xs:string [0..1]"/>
Schema Component Representation
top

Complex Type: BlockOrItemSpecWithReward

Super-types: BlockOrItemSpec < BlockOrItemSpecWithReward (by extension)
Sub-types: None
Name BlockOrItemSpecWithReward
Abstract no
XML Instance Representation
<...
type="BlockOrItemList [1]"
variant="VariantList [0..1]"
colour="ColourList [0..1]"
reward="xs:decimal [1]"/>
Schema Component Representation
top

Complex Type: BlockSpec

Super-types: None
Sub-types:
Name BlockSpec
Abstract no
XML Instance Representation
<...
type="BlockList [1]"
variant="VariantList [0..1]"
colour="ColourList [0..1]"/>
Schema Component Representation
top

Complex Type: BlockSpecWithDescription

Super-types: BlockSpec < BlockSpecWithDescription (by extension)
Sub-types: None
Name BlockSpecWithDescription
Abstract no
XML Instance Representation
<...
type="BlockList [1]"
variant="VariantList [0..1]"
colour="ColourList [0..1]"
description="xs:string [0..1]"/>
Schema Component Representation
top

Complex Type: BlockSpecWithRewardAndBehaviour

Super-types: BlockSpec < BlockSpecWithRewardAndBehaviour (by extension)
Sub-types: None
Name BlockSpecWithRewardAndBehaviour
Abstract no
XML Instance Representation
<...
type="BlockList [1]"
variant="VariantList [0..1]"
colour="ColourList [0..1]"
reward="xs:decimal [1]"
behaviour="Behaviour [0..1]"
cooldownInMs="xs:decimal [0..1]"/>
Schema Component Representation
top

Complex Type: ChatMatchSpec

Super-types: None
Sub-types: None
Name ChatMatchSpec
Abstract no
XML Instance Representation
<...
description="xs:string [1]"
reward="xs:decimal [1]"
regex="xs:string [1]"/>
Schema Component Representation
top

Complex Type: CommandListModifier

Super-types: None
Sub-types: None
Name CommandListModifier
Abstract no

Allow-list/deny-list base class - restricted by each command handler to only allow that handler's commands.

XML Instance Representation
<...
type="xs:string (value comes from list: {'deny-list'|'allow-list'}) [0..1]">
Start Choice [1..*]
<command> xs:string </command> [0..*]
End Choice
</...>
Schema Component Representation
top

Complex Type: CommandQuota

Super-types: None
Sub-types: None
Name CommandQuota
Abstract no

Set up a quota for a group of commands. AgentQuitFromReachingCommandQuota will fire once the quota is exceeded.

XML Instance Representation
<...
commands="CommandList [1] ?"
quota="xs:int [1] ?"
description="xs:string [0..1] ?"/>
Schema Component Representation
top

Complex Type: DrawBlock

Super-types: DrawObjectType < DrawBlockBasedObjectType (by extension) < DrawBlock (by extension)
Sub-types: None
Name DrawBlock
Abstract no

Specify a block by location and type.

XML Instance Representation
<...
type="BlockType [1]"
variant="Variation [0..1]"
colour="Colour [0..1]"
face="Facing [0..1]"
x="xs:int [1]"
y="xs:int [1]"
z="xs:int [1]"/>
Schema Component Representation
top

Complex Type: DrawBlockBasedObjectType

Super-types: DrawObjectType < DrawBlockBasedObjectType (by extension)
Sub-types:
Name DrawBlockBasedObjectType
Abstract no

Base class for all block-based draw objects.

XML Instance Representation
<...
type="BlockType [1]"
variant="Variation [0..1]"
colour="Colour [0..1]"
face="Facing [0..1]"/>
Schema Component Representation
top

Complex Type: DrawCuboid

Super-types: DrawObjectType < DrawBlockBasedObjectType (by extension) < DrawCuboid (by extension)
Sub-types: None
Name DrawCuboid
Abstract no

Specify a filled cuboid by inclusive coordinates and block type.

XML Instance Representation
<...
type="BlockType [1]"
variant="Variation [0..1]"
colour="Colour [0..1]"
face="Facing [0..1]"
x1="xs:int [1]"
y1="xs:int [1]"
z1="xs:int [1]"
x2="xs:int [1]"
y2="xs:int [1]"
z2="xs:int [1]"/>
Schema Component Representation
top

Complex Type: DrawItem

Super-types: DrawObjectType < DrawItem (by extension)
Sub-types: None
Name DrawItem
Abstract no

Specify an item by location and type.

XML Instance Representation
<...
x="xs:int [1]"
y="xs:int [1]"
z="xs:int [1]"
type="BlockOrItem [1]"
variant="Variation [0..1]"
colour="Colour [0..1]"
face="Facing [0..1]"/>
Schema Component Representation
top

Complex Type: DrawLine

Super-types: DrawObjectType < DrawBlockBasedObjectType (by extension) < DrawLine (by extension)
Sub-types: None
Name DrawLine
Abstract no

Specify a line by start and end coordinates and thickness.

XML Instance Representation
<...
type="BlockType [1]"
variant="Variation [0..1]"
colour="Colour [0..1]"
face="Facing [0..1]"
x1="xs:int [1]"
y1="xs:int [1]"
z1="xs:int [1]"
x2="xs:int [1]"
y2="xs:int [1]"
z2="xs:int [1]"
steptype="BlockType [0..1]"/>
Schema Component Representation
top

Complex Type: DrawObjectType

Super-types: None
Sub-types:
Name DrawObjectType
Abstract no

Base class for all draw objects.

XML Instance Representation
<.../>
Schema Component Representation
top

Complex Type: DrawSphere

Super-types: DrawObjectType < DrawBlockBasedObjectType (by extension) < DrawSphere (by extension)
Sub-types: None
Name DrawSphere
Abstract no

Specify a filled sphere by centre coordinates and inclusive radius.

XML Instance Representation
<...
type="BlockType [1]"
variant="Variation [0..1]"
colour="Colour [0..1]"
face="Facing [0..1]"
x="xs:int [1]"
y="xs:int [1]"
z="xs:int [1]"
radius="xs:int [1]"/>
Schema Component Representation
top

Complex Type: GridDefinition

Super-types: None
Sub-types: None
Name GridDefinition
Abstract no
XML Instance Representation
<...
name="xs:Name [1]">
<min> Pos </min> [1]
<max> Pos </max> [1]
</...>
Schema Component Representation
top

Complex Type: HorizontalObstacles

Super-types: None
Sub-types: None
Name HorizontalObstacles
Abstract no
XML Instance Representation
<...>
Start All [1]
<gap> NonNegative </gap> [1]
<bridge> NonNegative </bridge> [1]
<door> NonNegative </door> [1]
<puzzle> NonNegative </puzzle> [1]
<jump> NonNegative </jump> [1]
End All
</...>
Schema Component Representation
top

Complex Type: ItemSpec

Super-types: None
Sub-types: None
Name ItemSpec
Abstract no
XML Instance Representation
<...
reward="xs:decimal [1]"
type="BlockOrItemList [1]"/>
Schema Component Representation
top

Complex Type: MazeBlock

Super-types: None
Sub-types:
Name MazeBlock
Abstract no
XML Instance Representation
<...
type="BlockList [0..1]"
variant="VariantList [0..1]"
colour="ColourList [0..1]"
height="xs:int [0..1]"
heightVariance="xs:int [0..1]"/>
Schema Component Representation
top

Complex Type: MazeTerminus

Super-types: MazeBlock < MazeTerminus (by extension)
Sub-types: None
Name MazeTerminus
Abstract no
XML Instance Representation
<...
type="BlockList [0..1]"
variant="VariantList [0..1]"
colour="ColourList [0..1]"
height="xs:int [0..1]"
heightVariance="xs:int [0..1]"
fixedToEdge="xs:boolean [0..1]"/>
Schema Component Representation
top

Complex Type: MissionEndRewardCase

Super-types: None
Sub-types: None
Name MissionEndRewardCase
Abstract no
XML Instance Representation
<...
reward="xs:decimal [1]"
description="xs:string [1]"/>
Schema Component Representation
top

Complex Type: NamedPoint

Super-types: Pos < NamedPoint (by extension)
Sub-types: None
Name NamedPoint
Abstract no
XML Instance Representation
<...
x="xs:decimal [1]"
y="xs:decimal [1]"
z="xs:decimal [1]"
name="xs:Name [1]"/>
Schema Component Representation
top

Complex Type: PointWithReward

Super-types: Pos < PointWithReward (by extension)
Sub-types: None
Name PointWithReward
Abstract no
XML Instance Representation
<...
x="xs:decimal [1]"
y="xs:decimal [1]"
z="xs:decimal [1]"
reward="xs:decimal [1]"
tolerance="xs:decimal [1]"
oneshot="xs:boolean [0..1]"/>
Schema Component Representation
top

Complex Type: PointWithToleranceAndDescription

Super-types: Pos < PointWithToleranceAndDescription (by extension)
Sub-types: None
Name PointWithToleranceAndDescription
Abstract no
XML Instance Representation
<...
x="xs:decimal [1]"
y="xs:decimal [1]"
z="xs:decimal [1]"
tolerance="xs:decimal [0..1]"
description="xs:string [0..1]"/>
Schema Component Representation
top

Complex Type: Pos

Super-types: None
Sub-types:
Name Pos
Abstract no

An absolute position in the 3D Minecraft world.

XML Instance Representation
<...
x="xs:decimal [1]"
y="xs:decimal [1]"
z="xs:decimal [1]"/>
Schema Component Representation
top

Complex Type: PosAndDirection

Super-types: Pos < PosAndDirection (by extension)
Sub-types: None
Name PosAndDirection
Abstract no

An absolute position in the 3D Minecraft world that includes yaw and pitch.

XML Instance Representation
<...
x="xs:decimal [1]"
y="xs:decimal [1]"
z="xs:decimal [1]"
yaw="xs:decimal (0 <= value <= 360) [0..1] ?"
pitch="xs:decimal (-90 <= value <= 90) [0..1] ?"/>
Schema Component Representation
top

Complex Type: RangeDefinition

Super-types: None
Sub-types: None
Name RangeDefinition
Abstract no

Used by ObservationFromNearbyEntities. Defines the range within which entities will be returned. Eg a range of 10,1,10 will return all entities within +/-10 blocks of the agent in the x and z axes, and within +/-1 block vertically.

update_frequency is measured in Minecraft world ticks, and allows the user to specify how often they would like to receive each observation. A value of 20, under normal Minecraft running conditions, for example, would return the entity list once per second.

XML Instance Representation
<...
name="xs:Name [1]"
xrange="xs:decimal [1]"
yrange="xs:decimal [1]"
zrange="xs:decimal [1]"
update_frequency="xs:int [0..1]"/>
Schema Component Representation
top

Complex Type: SnakeBlock

Super-types: None
Sub-types: None
Name SnakeBlock
Abstract no
XML Instance Representation
<...
type="BlockList [0..1]"
variant="VariantList [0..1]"
colour="ColourList [0..1]"
lifetime="xs:int [0..1]"
lifetimeVariance="xs:int [0..1]"/>
Schema Component Representation
top

Complex Type: VerticalObstacles

Super-types: None
Sub-types: None
Name VerticalObstacles
Abstract no
XML Instance Representation
<...>
Start All [1]
<stairs> NonNegative </stairs> [1]
<ladder> NonNegative </ladder> [1]
<jump> NonNegative </jump> [1]
End All
</...>
Schema Component Representation
top

Simple Type: AbsoluteMovementCommand

Super-types: xs:string < AbsoluteMovementCommand (by restriction)
Sub-types: None
Name AbsoluteMovementCommand
Content
  • Base XSD Type: string
  • value comes from list: {'tpx'|'tpy'|'tpz'|'tp'|'setYaw'|'setPitch'}

Commands to set position and orientation directly. Some examples:

"tp 23.5 1 -34.5" - teleport the agent to the absolute position x y z (space delimited).

"tpx 230" - set the agent's x coordinate, without altering the y and z.

"tpy 103.2" - set the agent's y coordinate, without altering the x and z.

"tpz -32.5" - set the agent's z coordinate, without altering the x and y.

"setYaw 30" - set the agent's body orientation to be 30 degrees clockwise from south.

"setPitch 20" - set the agent's body orientation to be 20 degrees down from horizontal.

Schema Component Representation
top

Simple Type: Behaviour

Super-types: xs:string < Behaviour (by restriction)
Sub-types: None
Name Behaviour
Content
  • Base XSD Type: string
  • value comes from list: {'onceOnly'|'oncePerBlock'|'oncePerTimeSpan'|'constant'}
Schema Component Representation
top

Simple Type: BlockList

Super-types: None
Sub-types: None
Name BlockList
Content
Schema Component Representation
top

Simple Type: BlockOrItemList

Super-types: None
Sub-types: None
Name BlockOrItemList
Content
Schema Component Representation
top

Simple Type: BuildingSize

Super-types: xs:int < BuildingSize (by restriction)
Sub-types: None
Name BuildingSize
Content
  • Base XSD Type: int
  • 7 <= value <= 50
Schema Component Representation
top

Simple Type: ChatCommand

Super-types: xs:string < ChatCommand (by restriction)
Sub-types: None
Name ChatCommand
Content
  • Base XSD Type: string
  • value comes from list: {'chat'}

A command for broadcasting text messages to the other players. An example:

"chat I have found diamonds!" - broadcasts the string "I have found diamonds!".

Chat messages from other players can be observed using ObservationFromChat.

Schema Component Representation
top

Simple Type: ColourList

Super-types: None
Sub-types: None
Name ColourList
Content
Schema Component Representation
top

Simple Type: Command

Super-types: None
Sub-types: None
Name Command
Content
Schema Component Representation
top

Simple Type: CommandList

Super-types: None
Sub-types: None
Name CommandList
Content
Schema Component Representation
top

Simple Type: ContinuousMovementCommand

Super-types: xs:string < ContinuousMovementCommand (by restriction)
Sub-types: None
Name ContinuousMovementCommand
Content
  • Base XSD Type: string
  • value comes from list: {'move'|'strafe'|'pitch'|'turn'|'jump'|'crouch'|'attack'|'use'}

Commands for smooth movement. Some examples:

"move 0.5" - start moving forward at 50% of the normal walking speed (-ve = backward, +ve = forward).

"strafe -1" - start moving left at 100% of the normal walking speed (-ve = left, +ve = right).

"pitch 0.1" - start tilting the agent's head down at 10% of the maximum speed (-ve = up, +ve = down). The maximum speed is set by turnSpeedDegs in ContinuousMovementCommands.

"turn 0.1" - start turning right at 10% of the maximum speed (-ve = anti-clockwise/left, +ve = clockwise/right). The maximum speed is set by turnSpeedDegs in ContinuousMovementCommands.

"jump 1" - start jumping (1 = start, 0 = stop).

"crouch 1" - start crouching (1 = start, 0 = stop).

"attack 1" - start attacking (1 = start, 0 = stop). The 'attack' command is for destroying blocks and attacking mobs.

"use 1" - start 'use'ing (1 = start, 0 = stop). The 'use' command is for placing blocks and for other things too.

Schema Component Representation
top

Simple Type: Dimension

Super-types: xs:int < Dimension (by restriction)
Sub-types: None
Name Dimension
Content
  • Base XSD Type: int
  • value >= 0

For multi-dimensional rewards, specifies the dimension to allocate this reward to. All rewards on this dimension will be summed.

Schema Component Representation
top

Simple Type: DiscreteMovementCommand

Super-types: xs:string < DiscreteMovementCommand (by restriction)
Sub-types: None
Name DiscreteMovementCommand
Content
  • Base XSD Type: string
  • value comes from list: {'move'|'turn'|'movenorth'|'moveeast'|'movesouth'|'movewest'|'jump'|'look'|'attack'|'use'}

Commands for moving and turning in discrete increments. Some examples:

"move 1" - move the agent one block forwards (1 = forwards, -1 = backwards).

"turn 1" - rotate the agent 90 degrees right (1 = right, -1 = left).

"movenorth 1" - move the agent one block north.

"moveeast 1" - move the agent one block east.

"movesouth 1" - move the agent one block south.

"movewest 1" - move the agent one block west.

"jump 1" - move the agent one block up.

"look 1" - look down by 45 degrees (-ve = up, +ve = down).

"attack 1" - destroy the block that has focus.

"use 1" - place the held block item on the block face that has focus.

Schema Component Representation
top

Simple Type: InventoryCommand

Super-types: xs:string < InventoryCommand (by restriction)
Sub-types: None
Name InventoryCommand
Content
  • Base XSD Type: string
  • value comes from list: {'swapInventoryItems'|'combineInventoryItems'|'discardCurrentItem'|'hotbar.1'|'hotbar.2'|'hotbar.3'|'hotbar.4'|'hotbar.5'|'hotbar.6'|'hotbar.7'|'hotbar.8'|'hotbar.9'}

Commands for changing the contents of the inventory and hotbar.

To move items around in the inventory you can use swapInventoryItems. For example, to swap the contents of slots 13 and 14, issue this command:

"swapInventoryItems 13 14"

Note that inventory slots are numbered from 0 to 39. 0-8 are the hotbar slots (which correspond to the hotbar commands hotbar.1-hotbar.9 - _note the offset_) 9-35 are the rest of the inventory (visible when you press 'E' in the game) 36-39 are the armour slots.

So to move an item out of the hotbar, say:

"swapInventoryItems 3 30"

Other commands:

"combineInventoryItems x y" - will attempt to combine the stacks in slots x and y, and leave the results in slot x. Eg if there are ten blocks of granite in slot 4, and 57 blocks of granite in slot 12, then combineInventoryItems 4 12 will result in 64 (the max) blocks of granite in slot 4, and the remainder in slot 12. If the slots can't be combined (they are different types, or the first slot is full) then nothing will happen.

"discardCurrentItem" - discards the currently held item.

To select a hotbar slot:

"hotbar.1 1" "hotbar.1 0"

Send both commands to select hotbar slot 1 as the currently-held tool. This affects the attack and use commands - e.g. if the agent does 'use' while holding a block item it will place the block into the world.

Schema Component Representation
top

Simple Type: ItemList

Super-types: None
Sub-types: None
Name ItemList
Content
Schema Component Representation
top

Simple Type: NonNegative

Super-types: xs:int < NonNegative (by restriction)
Sub-types: None
Name NonNegative
Content
  • Base XSD Type: int
  • value >= 0
Schema Component Representation
top

Simple Type: PaletteEnum

Super-types: xs:string < PaletteEnum (by restriction)
Sub-types: None
Name PaletteEnum
Content
  • Base XSD Type: string
  • value comes from list: {'default'|'random'|'dungeon'|'pyramid'|'igloo'}
Schema Component Representation
top

Simple Type: SimpleCraftCommand

Super-types: xs:string < SimpleCraftCommand (by restriction)
Sub-types: None
Name SimpleCraftCommand
Content
  • Base XSD Type: string
  • value comes from list: {'craft'}

A command for simple crafting:

Will look up all recipes that produce the requested object, and attempt each one in turn until one is successful or all have failed. This ignores all issues like requiring a crafting table / brewing stand etc, and the shape of the recipe (which items go in which slots on the crafting table). It will simply check to see whether the player has the necessary raw ingredients, and, if so, will remove them from the player's inventory and add the result of the recipe.

For basic objects, use the ItemTypes or BlockTypes found in Types.xsd. Eg:

"craft diamond_pickaxe" will remove three diamonds and two sticks from the player's inventory, and add a diamond pickaxe.

For more control over colours, types etc, add a Variation or Colour. Eg:

"craft carpet PINK"

etc.

Schema Component Representation
top

Simple Type: VariantList

Super-types: None
Sub-types: None
Name VariantList
Content
Schema Component Representation
top

Simple Type: ZeroToOne

Super-types: xs:double < ZeroToOne (by restriction)
Sub-types: None
Name ZeroToOne
Content
  • Base XSD Type: double
  • 0 <= value <= 1
Schema Component Representation
top

Legend

Complex Type:

Schema Component Type

AusAddress

Schema Component Name
Super-types: Address < AusAddress (by extension)
Sub-types:
  • QLDAddress (by restriction)
If this schema component is a type definition, its type hierarchy is shown in a gray-bordered box.
Name AusAddress
Abstract no
The table above displays the properties of this schema component.
XML Instance Representation
<... country="Australia">
<unitNo> string </unitNo> [0..1]
<houseNo> string </houseNo> [1]
<street> string </street> [1]
Start Choice[1]
<city> string </city> [1]
<town> string </town> [1]
End Choice
<state> AusStates </state> [1]
<postcode> string <<pattern = [1-9][0-9]{3}>> </postcode> [1]?
</...>

The XML Instance Representation table above shows the schema component's content as an XML instance.

Schema Component Representation
<complexTypename="AusAddress">
<complexContent>
<extensionbase="Address">
<sequence>
<elementname="state" type="AusStates"/>
<elementname="postcode">
<simpleType>
<restrictionbase="string">
<patternvalue="[1-9][0-9]{3}"/>
</restriction>
</simpleType>
</element>
</sequence>
<attributename="country" type="string" fixed="Australia"/>
</extension>
</complexContent>
</complexType>
The Schema Component Representation table above displays the underlying XML representation of the schema component. (Annotations are not shown.)
top

Glossary

Abstract (Applies to complex type definitions and element declarations). An abstract element or complex type cannot used to validate an element instance. If there is a reference to an abstract element, only element declarations that can substitute the abstract element can be used to validate the instance. For references to abstract type definitions, only derived types can be used.

All Model Group Child elements can be provided in any order in instances. See: http://www.w3.org/TR/xmlschema-1/#element-all.

Choice Model Group Only one from the list of child elements and model groups can be provided in instances. See: http://www.w3.org/TR/xmlschema-1/#element-choice.

Collapse Whitespace Policy Replace tab, line feed, and carriage return characters with space character (Unicode character 32). Then, collapse contiguous sequences of space characters into single space character, and remove leading and trailing space characters.

Disallowed Substitutions (Applies to element declarations). If substitution is specified, then substitution group members cannot be used in place of the given element declaration to validate element instances. If derivation methods, e.g. extension, restriction, are specified, then the given element declaration will not validate element instances that have types derived from the element declaration's type using the specified derivation methods. Normally, element instances can override their declaration's type by specifying an xsi:type attribute.

Key Constraint Like Uniqueness Constraint, but additionally requires that the specified value(s) must be provided. See: http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions.

Key Reference Constraint Ensures that the specified value(s) must match value(s) from a Key Constraint or Uniqueness Constraint. See: http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions.

Model Group Groups together element content, specifying the order in which the element content can occur and the number of times the group of element content may be repeated. See: http://www.w3.org/TR/xmlschema-1/#Model_Groups.

Nillable (Applies to element declarations). If an element declaration is nillable, instances can use the xsi:nil attribute. The xsi:nil attribute is the boolean attribute, nil, from the http://www.w3.org/2001/XMLSchema-instance namespace. If an element instance has an xsi:nil attribute set to true, it can be left empty, even though its element declaration may have required content.

Notation A notation is used to identify the format of a piece of data. Values of elements and attributes that are of type, NOTATION, must come from the names of declared notations. See: http://www.w3.org/TR/xmlschema-1/#cNotation_Declarations.

Preserve Whitespace Policy Preserve whitespaces exactly as they appear in instances.

Prohibited Derivations (Applies to type definitions). Derivation methods that cannot be used to create sub-types from a given type definition.

Prohibited Substitutions (Applies to complex type definitions). Prevents sub-types that have been derived using the specified derivation methods from validating element instances in place of the given type definition.

Replace Whitespace Policy Replace tab, line feed, and carriage return characters with space character (Unicode character 32).

Sequence Model Group Child elements and model groups must be provided in the specified order in instances. See: http://www.w3.org/TR/xmlschema-1/#element-sequence.

Substitution Group Elements that are members of a substitution group can be used wherever the head element of the substitution group is referenced.

Substitution Group Exclusions (Applies to element declarations). Prohibits element declarations from nominating themselves as being able to substitute a given element declaration, if they have types that are derived from the original element's type using the specified derivation methods.

Target Namespace The target namespace identifies the namespace that components in this schema belongs to. If no target namespace is provided, then the schema components do not belong to any namespace.

Uniqueness Constraint Ensures uniqueness of an element/attribute value, or a combination of values, within a specified scope. See: http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions.

top