x

Desc: Name

Popup text

XML Schema Documentation

Table of Contents

top

Schema Document Properties

Target Namespace http://ProjectMalmo.microsoft.com
Version 0.21
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.

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
<xs:schema targetNamespace="http://ProjectMalmo.microsoft.com" elementFormDefault="qualified" version="2.1" version="0.21">
...
</xs:schema>
top

Global Definitions

Simple Type: BlockOrItem

Super-types: None
Sub-types: None
Name BlockOrItem
Content
Schema Component Representation
<xs:simpleType name="BlockOrItem">
<xs:union memberTypes="BlockType ItemType"/>
</xs:simpleType>
top

Simple Type: BlockType

Super-types: xs:string < BlockType (by restriction)
Sub-types: None
Name BlockType
Content
  • Base XSD Type: string
  • value comes from list: {'air'|'stone'|'grass'|'dirt'|'cobblestone'|'planks'|'sapling'|'bedrock'|'flowing_water'|'water'|'flowing_lava'|'lava'|'sand'|'gravel'|'gold_ore'|'iron_ore'|'coal_ore'|'log'|'leaves'|'sponge'|'glass'|'lapis_ore'|'lapis_block'|'dispenser'|'sandstone'|'noteblock'|'bed'|'golden_rail'|'detector_rail'|'sticky_piston'|'web'|'tallgrass'|'deadbush'|'piston'|'piston_head'|'wool'|'piston_extension'|'yellow_flower'|'red_flower'|'brown_mushroom'|'red_mushroom'|'gold_block'|'iron_block'|'double_stone_slab'|'stone_slab'|'brick_block'|'tnt'|'bookshelf'|'mossy_cobblestone'|'obsidian'|'torch'|'fire'|'mob_spawner'|'oak_stairs'|'chest'|'redstone_wire'|'diamond_ore'|'diamond_block'|'crafting_table'|'wheat'|'farmland'|'furnace'|'lit_furnace'|'standing_sign'|'wooden_door'|'ladder'|'rail'|'stone_stairs'|'wall_sign'|'lever'|'stone_pressure_plate'|'iron_door'|'wooden_pressure_plate'|'redstone_ore'|'lit_redstone_ore'|'unlit_redstone_torch'|'redstone_torch'|'stone_button'|'snow_layer'|'ice'|'snow'|'cactus'|'clay'|'reeds'|'jukebox'|'fence'|'pumpkin'|'netherrack'|'soul_sand'|'glowstone'|'portal'|'lit_pumpkin'|'cake'|'unpowered_repeater'|'powered_repeater'|'stained_glass'|'trapdoor'|'monster_egg'|'stonebrick'|'brown_mushroom_block'|'red_mushroom_block'|'iron_bars'|'glass_pane'|'melon_block'|'pumpkin_stem'|'melon_stem'|'vine'|'fence_gate'|'brick_stairs'|'stone_brick_stairs'|'mycelium'|'waterlily'|'nether_brick'|'nether_brick_fence'|'nether_brick_stairs'|'nether_wart'|'enchanting_table'|'brewing_stand'|'cauldron'|'end_portal'|'end_portal_frame'|'end_stone'|'dragon_egg'|'redstone_lamp'|'lit_redstone_lamp'|'double_wooden_slab'|'wooden_slab'|'cocoa'|'sandstone_stairs'|'emerald_ore'|'ender_chest'|'tripwire_hook'|'tripwire'|'emerald_block'|'spruce_stairs'|'birch_stairs'|'jungle_stairs'|'command_block'|'beacon'|'cobblestone_wall'|'flower_pot'|'carrots'|'potatoes'|'wooden_button'|'skull'|'anvil'|'trapped_chest'|'light_weighted_pressure_plate'|'heavy_weighted_pressure_plate'|'unpowered_comparator'|'powered_comparator'|'daylight_detector'|'redstone_block'|'quartz_ore'|'hopper'|'quartz_block'|'quartz_stairs'|'activator_rail'|'dropper'|'stained_hardened_clay'|'stained_glass_pane'|'leaves2'|'log2'|'acacia_stairs'|'dark_oak_stairs'|'slime'|'barrier'|'iron_trapdoor'|'prismarine'|'sea_lantern'|'hay_block'|'carpet'|'hardened_clay'|'coal_block'|'packed_ice'|'double_plant'|'standing_banner'|'wall_banner'|'daylight_detector_inverted'|'red_sandstone'|'red_sandstone_stairs'|'double_stone_slab2'|'stone_slab2'|'spruce_fence_gate'|'birch_fence_gate'|'jungle_fence_gate'|'dark_oak_fence_gate'|'acacia_fence_gate'|'spruce_fence'|'birch_fence'|'jungle_fence'|'dark_oak_fence'|'acacia_fence'|'spruce_door'|'birch_door'|'jungle_door'|'acacia_door'|'dark_oak_door'}
Javascript required.
Schema Component Representation
<xs:simpleType name="BlockType">
<xs:restriction base="xs:string">
<xs:enumeration value="air"/>
<xs:enumeration value="stone"/>
<xs:enumeration value="grass"/>
<xs:enumeration value="dirt"/>
<xs:enumeration value="cobblestone"/>
<xs:enumeration value="planks"/>
<xs:enumeration value="sapling"/>
<xs:enumeration value="bedrock"/>
<xs:enumeration value="flowing_water"/>
<xs:enumeration value="water"/>
<xs:enumeration value="flowing_lava"/>
<xs:enumeration value="lava"/>
<xs:enumeration value="sand"/>
<xs:enumeration value="gravel"/>
<xs:enumeration value="gold_ore"/>
<xs:enumeration value="iron_ore"/>
<xs:enumeration value="coal_ore"/>
<xs:enumeration value="log"/>
<xs:enumeration value="leaves"/>
<xs:enumeration value="sponge"/>
<xs:enumeration value="glass"/>
<xs:enumeration value="lapis_ore"/>
<xs:enumeration value="lapis_block"/>
<xs:enumeration value="dispenser"/>
<xs:enumeration value="sandstone"/>
<xs:enumeration value="noteblock"/>
<xs:enumeration value="bed"/>
<xs:enumeration value="golden_rail"/>
<xs:enumeration value="detector_rail"/>
<xs:enumeration value="sticky_piston"/>
<xs:enumeration value="web"/>
<xs:enumeration value="tallgrass"/>
<xs:enumeration value="deadbush"/>
<xs:enumeration value="piston"/>
<xs:enumeration value="piston_head"/>
<xs:enumeration value="wool"/>
<xs:enumeration value="piston_extension"/>
<xs:enumeration value="yellow_flower"/>
<xs:enumeration value="red_flower"/>
<xs:enumeration value="brown_mushroom"/>
<xs:enumeration value="red_mushroom"/>
<xs:enumeration value="gold_block"/>
<xs:enumeration value="iron_block"/>
<xs:enumeration value="double_stone_slab"/>
<xs:enumeration value="stone_slab"/>
<xs:enumeration value="brick_block"/>
<xs:enumeration value="tnt"/>
<xs:enumeration value="bookshelf"/>
<xs:enumeration value="mossy_cobblestone"/>
<xs:enumeration value="obsidian"/>
<xs:enumeration value="torch"/>
<xs:enumeration value="fire"/>
<xs:enumeration value="mob_spawner"/>
<xs:enumeration value="oak_stairs"/>
<xs:enumeration value="chest"/>
<xs:enumeration value="redstone_wire"/>
<xs:enumeration value="diamond_ore"/>
<xs:enumeration value="diamond_block"/>
<xs:enumeration value="crafting_table"/>
<xs:enumeration value="wheat"/>
<xs:enumeration value="farmland"/>
<xs:enumeration value="furnace"/>
<xs:enumeration value="lit_furnace"/>
<xs:enumeration value="standing_sign"/>
<xs:enumeration value="wooden_door"/>
<xs:enumeration value="ladder"/>
<xs:enumeration value="rail"/>
<xs:enumeration value="stone_stairs"/>
<xs:enumeration value="wall_sign"/>
<xs:enumeration value="lever"/>
<xs:enumeration value="stone_pressure_plate"/>
<xs:enumeration value="iron_door"/>
<xs:enumeration value="wooden_pressure_plate"/>
<xs:enumeration value="redstone_ore"/>
<xs:enumeration value="lit_redstone_ore"/>
<xs:enumeration value="unlit_redstone_torch"/>
<xs:enumeration value="redstone_torch"/>
<xs:enumeration value="stone_button"/>
<xs:enumeration value="snow_layer"/>
<xs:enumeration value="ice"/>
<xs:enumeration value="snow"/>
<xs:enumeration value="cactus"/>
<xs:enumeration value="clay"/>
<xs:enumeration value="reeds"/>
<xs:enumeration value="jukebox"/>
<xs:enumeration value="fence"/>
<xs:enumeration value="pumpkin"/>
<xs:enumeration value="netherrack"/>
<xs:enumeration value="soul_sand"/>
<xs:enumeration value="glowstone"/>
<xs:enumeration value="portal"/>
<xs:enumeration value="lit_pumpkin"/>
<xs:enumeration value="cake"/>
<xs:enumeration value="unpowered_repeater"/>
<xs:enumeration value="powered_repeater"/>
<xs:enumeration value="stained_glass"/>
<xs:enumeration value="trapdoor"/>
<xs:enumeration value="monster_egg"/>
<xs:enumeration value="stonebrick"/>
<xs:enumeration value="brown_mushroom_block"/>
<xs:enumeration value="red_mushroom_block"/>
<xs:enumeration value="iron_bars"/>
<xs:enumeration value="glass_pane"/>
<xs:enumeration value="melon_block"/>
<xs:enumeration value="pumpkin_stem"/>
<xs:enumeration value="melon_stem"/>
<xs:enumeration value="vine"/>
<xs:enumeration value="fence_gate"/>
<xs:enumeration value="brick_stairs"/>
<xs:enumeration value="stone_brick_stairs"/>
<xs:enumeration value="mycelium"/>
<xs:enumeration value="waterlily"/>
<xs:enumeration value="nether_brick"/>
<xs:enumeration value="nether_brick_fence"/>
<xs:enumeration value="nether_brick_stairs"/>
<xs:enumeration value="nether_wart"/>
<xs:enumeration value="enchanting_table"/>
<xs:enumeration value="brewing_stand"/>
<xs:enumeration value="cauldron"/>
<xs:enumeration value="end_portal"/>
<xs:enumeration value="end_portal_frame"/>
<xs:enumeration value="end_stone"/>
<xs:enumeration value="dragon_egg"/>
<xs:enumeration value="redstone_lamp"/>
<xs:enumeration value="lit_redstone_lamp"/>
<xs:enumeration value="double_wooden_slab"/>
<xs:enumeration value="wooden_slab"/>
<xs:enumeration value="cocoa"/>
<xs:enumeration value="sandstone_stairs"/>
<xs:enumeration value="emerald_ore"/>
<xs:enumeration value="ender_chest"/>
<xs:enumeration value="tripwire_hook"/>
<xs:enumeration value="tripwire"/>
<xs:enumeration value="emerald_block"/>
<xs:enumeration value="spruce_stairs"/>
<xs:enumeration value="birch_stairs"/>
<xs:enumeration value="jungle_stairs"/>
<xs:enumeration value="command_block"/>
<xs:enumeration value="beacon"/>
<xs:enumeration value="cobblestone_wall"/>
<xs:enumeration value="flower_pot"/>
<xs:enumeration value="carrots"/>
<xs:enumeration value="potatoes"/>
<xs:enumeration value="wooden_button"/>
<xs:enumeration value="skull"/>
<xs:enumeration value="anvil"/>
<xs:enumeration value="trapped_chest"/>
<xs:enumeration value="light_weighted_pressure_plate"/>
<xs:enumeration value="heavy_weighted_pressure_plate"/>
<xs:enumeration value="unpowered_comparator"/>
<xs:enumeration value="powered_comparator"/>
<xs:enumeration value="daylight_detector"/>
<xs:enumeration value="redstone_block"/>
<xs:enumeration value="quartz_ore"/>
<xs:enumeration value="hopper"/>
<xs:enumeration value="quartz_block"/>
<xs:enumeration value="quartz_stairs"/>
<xs:enumeration value="activator_rail"/>
<xs:enumeration value="dropper"/>
<xs:enumeration value="stained_hardened_clay"/>
<xs:enumeration value="stained_glass_pane"/>
<xs:enumeration value="leaves2"/>
<xs:enumeration value="log2"/>
<xs:enumeration value="acacia_stairs"/>
<xs:enumeration value="dark_oak_stairs"/>
<xs:enumeration value="slime"/>
<xs:enumeration value="barrier"/>
<xs:enumeration value="iron_trapdoor"/>
<xs:enumeration value="prismarine"/>
<xs:enumeration value="sea_lantern"/>
<xs:enumeration value="hay_block"/>
<xs:enumeration value="carpet"/>
<xs:enumeration value="hardened_clay"/>
<xs:enumeration value="coal_block"/>
<xs:enumeration value="packed_ice"/>
<xs:enumeration value="double_plant"/>
<xs:enumeration value="standing_banner"/>
<xs:enumeration value="wall_banner"/>
<xs:enumeration value="daylight_detector_inverted"/>
<xs:enumeration value="red_sandstone"/>
<xs:enumeration value="red_sandstone_stairs"/>
<xs:enumeration value="double_stone_slab2"/>
<xs:enumeration value="stone_slab2"/>
<xs:enumeration value="spruce_fence_gate"/>
<xs:enumeration value="birch_fence_gate"/>
<xs:enumeration value="jungle_fence_gate"/>
<xs:enumeration value="dark_oak_fence_gate"/>
<xs:enumeration value="acacia_fence_gate"/>
<xs:enumeration value="spruce_fence"/>
<xs:enumeration value="birch_fence"/>
<xs:enumeration value="jungle_fence"/>
<xs:enumeration value="dark_oak_fence"/>
<xs:enumeration value="acacia_fence"/>
<xs:enumeration value="spruce_door"/>
<xs:enumeration value="birch_door"/>
<xs:enumeration value="jungle_door"/>
<xs:enumeration value="acacia_door"/>
<xs:enumeration value="dark_oak_door"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: Colour

Super-types: xs:string < Colour (by restriction)
Sub-types: None
Name Colour
Content
  • Base XSD Type: string
  • value comes from list: {'WHITE'|'ORANGE'|'MAGENTA'|'LIGHT_BLUE'|'YELLOW'|'LIME'|'PINK'|'GRAY'|'SILVER'|'CYAN'|'PURPLE'|'BLUE'|'BROWN'|'GREEN'|'RED'|'BLACK'}
Javascript required.
Schema Component Representation
<xs:simpleType name="Colour">
<xs:restriction base="xs:string">
<xs:enumeration value="WHITE"/>
<xs:enumeration value="ORANGE"/>
<xs:enumeration value="MAGENTA"/>
<xs:enumeration value="LIGHT_BLUE"/>
<xs:enumeration value="YELLOW"/>
<xs:enumeration value="LIME"/>
<xs:enumeration value="PINK"/>
<xs:enumeration value="GRAY"/>
<xs:enumeration value="SILVER"/>
<xs:enumeration value="CYAN"/>
<xs:enumeration value="PURPLE"/>
<xs:enumeration value="BLUE"/>
<xs:enumeration value="BROWN"/>
<xs:enumeration value="GREEN"/>
<xs:enumeration value="RED"/>
<xs:enumeration value="BLACK"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: EntityTypes

Super-types: xs:string < EntityTypes (by restriction)
Sub-types: None
Name EntityTypes
Content
  • Base XSD Type: string
  • value comes from list: {'Creeper'|'Skeleton'|'Spider'|'Giant'|'Zombie'|'Slime'|'Ghast'|'PigZombie'|'Enderman'|'CaveSpider'|'Silverfish'|'Blaze'|'LavaSlime'|'EnderDragon'|'WitherBoss'|'Bat'|'Witch'|'Endermite'|'Guardian'|'Pig'|'Sheep'|'Cow'|'Chicken'|'Squid'|'Wolf'|'MushroomCow'|'SnowMan'|'Ozelot'|'VillagerGolem'|'EntityHorse'|'Rabbit'|'Villager'|'EnderCrystal'}
Javascript required.
Schema Component Representation
<xs:simpleType name="EntityTypes">
<xs:restriction base="xs:string">
<xs:enumeration value="Creeper"/>
<xs:enumeration value="Skeleton"/>
<xs:enumeration value="Spider"/>
<xs:enumeration value="Giant"/>
<xs:enumeration value="Zombie"/>
<xs:enumeration value="Slime"/>
<xs:enumeration value="Ghast"/>
<xs:enumeration value="PigZombie"/>
<xs:enumeration value="Enderman"/>
<xs:enumeration value="CaveSpider"/>
<xs:enumeration value="Silverfish"/>
<xs:enumeration value="Blaze"/>
<xs:enumeration value="LavaSlime"/>
<-- Magma Cube -->
<xs:enumeration value="EnderDragon"/>
<xs:enumeration value="WitherBoss"/>
<xs:enumeration value="Bat"/>
<xs:enumeration value="Witch"/>
<xs:enumeration value="Endermite"/>
<xs:enumeration value="Guardian"/>
<xs:enumeration value="Pig"/>
<xs:enumeration value="Sheep"/>
<xs:enumeration value="Cow"/>
<xs:enumeration value="Chicken"/>
<xs:enumeration value="Squid"/>
<xs:enumeration value="Wolf"/>
<xs:enumeration value="MushroomCow"/>
<xs:enumeration value="SnowMan"/>
<xs:enumeration value="Ozelot"/>
<xs:enumeration value="VillagerGolem"/>
<xs:enumeration value="EntityHorse"/>
<xs:enumeration value="Rabbit"/>
<xs:enumeration value="Villager"/>
<xs:enumeration value="EnderCrystal"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: Facing

Super-types: xs:string < Facing (by restriction)
Sub-types: None
Name Facing
Content
  • Base XSD Type: string
  • value comes from list: {'DOWN'|'UP'|'NORTH'|'SOUTH'|'WEST'|'EAST'|'UP_X'|'DOWN_X'|'UP_Z'|'DOWN_Z'}
Javascript required.
Schema Component Representation
<xs:simpleType name="Facing">
<xs:restriction base="xs:string">
<xs:enumeration value="DOWN"/>
<xs:enumeration value="UP"/>
<xs:enumeration value="NORTH"/>
<xs:enumeration value="SOUTH"/>
<xs:enumeration value="WEST"/>
<xs:enumeration value="EAST"/>
<xs:enumeration value="UP_X"/>
<xs:enumeration value="DOWN_X"/>
<xs:enumeration value="UP_Z"/>
<xs:enumeration value="DOWN_Z"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: FlowerTypes

Super-types: xs:string < FlowerTypes (by restriction)
Sub-types: None
Name FlowerTypes
Content
  • Base XSD Type: string
  • value comes from list: {'dandelion'|'poppy'|'blue_orchid'|'allium'|'houstonia'|'red_tulip'|'orange_tulip'|'white_tulip'|'pink_tulip'|'oxeye_daisy'}
Javascript required.
Schema Component Representation
<xs:simpleType name="FlowerTypes">
<xs:restriction base="xs:string">
<xs:enumeration value="dandelion"/>
<xs:enumeration value="poppy"/>
<xs:enumeration value="blue_orchid"/>
<xs:enumeration value="allium"/>
<xs:enumeration value="houstonia"/>
<xs:enumeration value="red_tulip"/>
<xs:enumeration value="orange_tulip"/>
<xs:enumeration value="white_tulip"/>
<xs:enumeration value="pink_tulip"/>
<xs:enumeration value="oxeye_daisy"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: HalfTypes

Super-types: xs:string < HalfTypes (by restriction)
Sub-types: None
Name HalfTypes
Content
  • Base XSD Type: string
  • value comes from list: {'top'|'bottom'|'head'|'foot'|'upper'|'lower'}
Javascript required.
Schema Component Representation
<xs:simpleType name="HalfTypes">
<xs:restriction base="xs:string">
<-- for stairs -->
<xs:enumeration value="top"/>
<xs:enumeration value="bottom"/>
<-- for bed -->
<xs:enumeration value="head"/>
<xs:enumeration value="foot"/>
<-- for doors -->
<xs:enumeration value="upper"/>
<xs:enumeration value="lower"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: ItemType

Super-types: xs:string < ItemType (by restriction)
Sub-types: None
Name ItemType
Content
  • Base XSD Type: string
  • value comes from list: {'iron_shovel'|'iron_pickaxe'|'iron_axe'|'flint_and_steel'|'apple'|'bow'|'arrow'|'coal'|'diamond'|'iron_ingot'|'gold_ingot'|'iron_sword'|'wooden_sword'|'wooden_shovel'|'wooden_pickaxe'|'wooden_axe'|'stone_sword'|'stone_shovel'|'stone_pickaxe'|'stone_axe'|'diamond_sword'|'diamond_shovel'|'diamond_pickaxe'|'diamond_axe'|'stick'|'bowl'|'mushroom_stew'|'golden_sword'|'golden_shovel'|'golden_pickaxe'|'golden_axe'|'string'|'feather'|'gunpowder'|'wooden_hoe'|'stone_hoe'|'iron_hoe'|'diamond_hoe'|'golden_hoe'|'wheat_seeds'|'wheat'|'bread'|'leather_helmet'|'leather_chestplate'|'leather_leggings'|'leather_boots'|'chainmail_helmet'|'chainmail_chestplate'|'chainmail_leggings'|'chainmail_boots'|'iron_helmet'|'iron_chestplate'|'iron_leggings'|'iron_boots'|'diamond_helmet'|'diamond_chestplate'|'diamond_leggings'|'diamond_boots'|'golden_helmet'|'golden_chestplate'|'golden_leggings'|'golden_boots'|'flint'|'porkchop'|'cooked_porkchop'|'painting'|'golden_apple'|'sign'|'wooden_door'|'bucket'|'bucket'|'water_bucket'|'lava_bucket'|'minecart'|'saddle'|'iron_door'|'redstone'|'snowball'|'boat'|'leather'|'milk_bucket'|'brick'|'clay_ball'|'reeds'|'paper'|'book'|'slime_ball'|'chest_minecart'|'furnace_minecart'|'egg'|'compass'|'fishing_rod'|'clock'|'glowstone_dust'|'fish'|'cooked_fish'|'dye'|'bone'|'sugar'|'cake'|'bed'|'repeater'|'cookie'|'filled_map'|'shears'|'melon'|'pumpkin_seeds'|'melon_seeds'|'beef'|'cooked_beef'|'chicken'|'cooked_chicken'|'rotten_flesh'|'ender_pearl'|'blaze_rod'|'ghast_tear'|'gold_nugget'|'nether_wart'|'potion'|'glass_bottle'|'spider_eye'|'fermented_spider_eye'|'blaze_powder'|'magma_cream'|'brewing_stand'|'cauldron'|'ender_eye'|'speckled_melon'|'spawn_egg'|'experience_bottle'|'fire_charge'|'writable_book'|'written_book'|'emerald'|'item_frame'|'flower_pot'|'carrot'|'potato'|'baked_potato'|'poisonous_potato'|'map'|'golden_carrot'|'skull'|'carrot_on_a_stick'|'nether_star'|'pumpkin_pie'|'fireworks'|'firework_charge'|'enchanted_book'|'comparator'|'netherbrick'|'quartz'|'tnt_minecart'|'hopper_minecart'|'prismarine_shard'|'prismarine_crystals'|'rabbit'|'cooked_rabbit'|'rabbit_stew'|'rabbit_foot'|'rabbit_hide'|'armor_stand'|'iron_horse_armor'|'golden_horse_armor'|'diamond_horse_armor'|'lead'|'name_tag'|'command_block_minecart'|'mutton'|'cooked_mutton'|'banner'|'spruce_door'|'birch_door'|'jungle_door'|'acacia_door'|'dark_oak_door'|'record_13'|'record_cat'|'record_blocks'|'record_chirp'|'record_far'|'record_mall'|'record_mellohi'|'record_stal'|'record_strad'|'record_ward'|'record_11'|'record_wait'}
Javascript required.
Schema Component Representation
<xs:simpleType name="ItemType">
<xs:restriction base="xs:string">
<xs:enumeration value="iron_shovel"/>
<xs:enumeration value="iron_pickaxe"/>
<xs:enumeration value="iron_axe"/>
<xs:enumeration value="flint_and_steel"/>
<xs:enumeration value="apple"/>
<xs:enumeration value="bow"/>
<xs:enumeration value="arrow"/>
<xs:enumeration value="coal"/>
<xs:enumeration value="diamond"/>
<xs:enumeration value="iron_ingot"/>
<xs:enumeration value="gold_ingot"/>
<xs:enumeration value="iron_sword"/>
<xs:enumeration value="wooden_sword"/>
<xs:enumeration value="wooden_shovel"/>
<xs:enumeration value="wooden_pickaxe"/>
<xs:enumeration value="wooden_axe"/>
<xs:enumeration value="stone_sword"/>
<xs:enumeration value="stone_shovel"/>
<xs:enumeration value="stone_pickaxe"/>
<xs:enumeration value="stone_axe"/>
<xs:enumeration value="diamond_sword"/>
<xs:enumeration value="diamond_shovel"/>
<xs:enumeration value="diamond_pickaxe"/>
<xs:enumeration value="diamond_axe"/>
<xs:enumeration value="stick"/>
<xs:enumeration value="bowl"/>
<xs:enumeration value="mushroom_stew"/>
<xs:enumeration value="golden_sword"/>
<xs:enumeration value="golden_shovel"/>
<xs:enumeration value="golden_pickaxe"/>
<xs:enumeration value="golden_axe"/>
<xs:enumeration value="string"/>
<xs:enumeration value="feather"/>
<xs:enumeration value="gunpowder"/>
<xs:enumeration value="wooden_hoe"/>
<xs:enumeration value="stone_hoe"/>
<xs:enumeration value="iron_hoe"/>
<xs:enumeration value="diamond_hoe"/>
<xs:enumeration value="golden_hoe"/>
<xs:enumeration value="wheat_seeds"/>
<xs:enumeration value="wheat"/>
<xs:enumeration value="bread"/>
<xs:enumeration value="leather_helmet"/>
<xs:enumeration value="leather_chestplate"/>
<xs:enumeration value="leather_leggings"/>
<xs:enumeration value="leather_boots"/>
<xs:enumeration value="chainmail_helmet"/>
<xs:enumeration value="chainmail_chestplate"/>
<xs:enumeration value="chainmail_leggings"/>
<xs:enumeration value="chainmail_boots"/>
<xs:enumeration value="iron_helmet"/>
<xs:enumeration value="iron_chestplate"/>
<xs:enumeration value="iron_leggings"/>
<xs:enumeration value="iron_boots"/>
<xs:enumeration value="diamond_helmet"/>
<xs:enumeration value="diamond_chestplate"/>
<xs:enumeration value="diamond_leggings"/>
<xs:enumeration value="diamond_boots"/>
<xs:enumeration value="golden_helmet"/>
<xs:enumeration value="golden_chestplate"/>
<xs:enumeration value="golden_leggings"/>
<xs:enumeration value="golden_boots"/>
<xs:enumeration value="flint"/>
<xs:enumeration value="porkchop"/>
<xs:enumeration value="cooked_porkchop"/>
<xs:enumeration value="painting"/>
<xs:enumeration value="golden_apple"/>
<xs:enumeration value="sign"/>
<xs:enumeration value="wooden_door"/>
<xs:enumeration value="bucket"/>
<xs:enumeration value="bucket"/>
<xs:enumeration value="water_bucket"/>
<xs:enumeration value="lava_bucket"/>
<xs:enumeration value="minecart"/>
<xs:enumeration value="saddle"/>
<xs:enumeration value="iron_door"/>
<xs:enumeration value="redstone"/>
<xs:enumeration value="snowball"/>
<xs:enumeration value="boat"/>
<xs:enumeration value="leather"/>
<xs:enumeration value="milk_bucket"/>
<xs:enumeration value="brick"/>
<xs:enumeration value="clay_ball"/>
<xs:enumeration value="reeds"/>
<xs:enumeration value="paper"/>
<xs:enumeration value="book"/>
<xs:enumeration value="slime_ball"/>
<xs:enumeration value="chest_minecart"/>
<xs:enumeration value="furnace_minecart"/>
<xs:enumeration value="egg"/>
<xs:enumeration value="compass"/>
<xs:enumeration value="fishing_rod"/>
<xs:enumeration value="clock"/>
<xs:enumeration value="glowstone_dust"/>
<xs:enumeration value="fish"/>
<xs:enumeration value="cooked_fish"/>
<xs:enumeration value="dye"/>
<xs:enumeration value="bone"/>
<xs:enumeration value="sugar"/>
<xs:enumeration value="cake"/>
<xs:enumeration value="bed"/>
<xs:enumeration value="repeater"/>
<xs:enumeration value="cookie"/>
<xs:enumeration value="filled_map"/>
<xs:enumeration value="shears"/>
<xs:enumeration value="melon"/>
<xs:enumeration value="pumpkin_seeds"/>
<xs:enumeration value="melon_seeds"/>
<xs:enumeration value="beef"/>
<xs:enumeration value="cooked_beef"/>
<xs:enumeration value="chicken"/>
<xs:enumeration value="cooked_chicken"/>
<xs:enumeration value="rotten_flesh"/>
<xs:enumeration value="ender_pearl"/>
<xs:enumeration value="blaze_rod"/>
<xs:enumeration value="ghast_tear"/>
<xs:enumeration value="gold_nugget"/>
<xs:enumeration value="nether_wart"/>
<xs:enumeration value="potion"/>
<xs:enumeration value="glass_bottle"/>
<xs:enumeration value="spider_eye"/>
<xs:enumeration value="fermented_spider_eye"/>
<xs:enumeration value="blaze_powder"/>
<xs:enumeration value="magma_cream"/>
<xs:enumeration value="brewing_stand"/>
<xs:enumeration value="cauldron"/>
<xs:enumeration value="ender_eye"/>
<xs:enumeration value="speckled_melon"/>
<xs:enumeration value="spawn_egg"/>
<xs:enumeration value="experience_bottle"/>
<xs:enumeration value="fire_charge"/>
<xs:enumeration value="writable_book"/>
<xs:enumeration value="written_book"/>
<xs:enumeration value="emerald"/>
<xs:enumeration value="item_frame"/>
<xs:enumeration value="flower_pot"/>
<xs:enumeration value="carrot"/>
<xs:enumeration value="potato"/>
<xs:enumeration value="baked_potato"/>
<xs:enumeration value="poisonous_potato"/>
<xs:enumeration value="map"/>
<xs:enumeration value="golden_carrot"/>
<xs:enumeration value="skull"/>
<xs:enumeration value="carrot_on_a_stick"/>
<xs:enumeration value="nether_star"/>
<xs:enumeration value="pumpkin_pie"/>
<xs:enumeration value="fireworks"/>
<xs:enumeration value="firework_charge"/>
<xs:enumeration value="enchanted_book"/>
<xs:enumeration value="comparator"/>
<xs:enumeration value="netherbrick"/>
<xs:enumeration value="quartz"/>
<xs:enumeration value="tnt_minecart"/>
<xs:enumeration value="hopper_minecart"/>
<xs:enumeration value="prismarine_shard"/>
<xs:enumeration value="prismarine_crystals"/>
<xs:enumeration value="rabbit"/>
<xs:enumeration value="cooked_rabbit"/>
<xs:enumeration value="rabbit_stew"/>
<xs:enumeration value="rabbit_foot"/>
<xs:enumeration value="rabbit_hide"/>
<xs:enumeration value="armor_stand"/>
<xs:enumeration value="iron_horse_armor"/>
<xs:enumeration value="golden_horse_armor"/>
<xs:enumeration value="diamond_horse_armor"/>
<xs:enumeration value="lead"/>
<xs:enumeration value="name_tag"/>
<xs:enumeration value="command_block_minecart"/>
<xs:enumeration value="mutton"/>
<xs:enumeration value="cooked_mutton"/>
<xs:enumeration value="banner"/>
<xs:enumeration value="spruce_door"/>
<xs:enumeration value="birch_door"/>
<xs:enumeration value="jungle_door"/>
<xs:enumeration value="acacia_door"/>
<xs:enumeration value="dark_oak_door"/>
<xs:enumeration value="record_13"/>
<xs:enumeration value="record_cat"/>
<xs:enumeration value="record_blocks"/>
<xs:enumeration value="record_chirp"/>
<xs:enumeration value="record_far"/>
<xs:enumeration value="record_mall"/>
<xs:enumeration value="record_mellohi"/>
<xs:enumeration value="record_stal"/>
<xs:enumeration value="record_strad"/>
<xs:enumeration value="record_ward"/>
<xs:enumeration value="record_11"/>
<xs:enumeration value="record_wait"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: MonsterEggTypes

Super-types: xs:string < MonsterEggTypes (by restriction)
Sub-types: None
Name MonsterEggTypes
Content
  • Base XSD Type: string
  • value comes from list: {'cobblestone'|'stone_brick'|'mossy_brick'|'cracked_brick'|'chiseled_brick'}
Javascript required.
Schema Component Representation
<xs:simpleType name="MonsterEggTypes">
<xs:restriction base="xs:string">
<xs:enumeration value="cobblestone"/>
<xs:enumeration value="stone_brick"/>
<xs:enumeration value="mossy_brick"/>
<xs:enumeration value="cracked_brick"/>
<xs:enumeration value="chiseled_brick"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: NonLivingEntityTypes

Super-types: xs:string < NonLivingEntityTypes (by restriction)
Sub-types: None
Name NonLivingEntityTypes
Content
  • Base XSD Type: string
  • value comes from list: {'Minecart'|'Boat'|'ArmorStand'|'ItemFrame'}
Javascript required.
Schema Component Representation
<xs:simpleType name="NonLivingEntityTypes">
<xs:restriction base="xs:string">
<xs:enumeration value="Minecart"/>
<xs:enumeration value="Boat"/>
<xs:enumeration value="ArmorStand"/>
<xs:enumeration value="ItemFrame"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: ShapeTypes

Super-types: xs:string < ShapeTypes (by restriction)
Sub-types: None
Name ShapeTypes
Content
  • Base XSD Type: string
  • value comes from list: {'north_south'|'east_west'|'north_east'|'north_west'|'south_east'|'south_west'|'ascending_east'|'ascending_west'|'ascending_north'|'ascending_south'}
Javascript required.
Schema Component Representation
<xs:simpleType name="ShapeTypes">
<xs:restriction base="xs:string">
<xs:enumeration value="north_south"/>
<xs:enumeration value="east_west"/>
<xs:enumeration value="north_east"/>
<xs:enumeration value="north_west"/>
<xs:enumeration value="south_east"/>
<xs:enumeration value="south_west"/>
<xs:enumeration value="ascending_east"/>
<xs:enumeration value="ascending_west"/>
<xs:enumeration value="ascending_north"/>
<xs:enumeration value="ascending_south"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: SpawnableTypes

Super-types: None
Sub-types: None
Name SpawnableTypes
Content
Javascript required.

Application Data

<jaxb:class name="SpawnableTypes"/>
Schema Component Representation
<xs:simpleType name="SpawnableTypes">
<xs:union memberTypes="EntityTypes NonLivingEntityTypes"/>
</xs:simpleType>
top

Simple Type: StoneTypes

Super-types: xs:string < StoneTypes (by restriction)
Sub-types: None
Name StoneTypes
Content
  • Base XSD Type: string
  • value comes from list: {'stone'|'granite'|'smooth_granite'|'diorite'|'smooth_diorite'|'andesite'|'smooth_andesite'}
Javascript required.
Schema Component Representation
<xs:simpleType name="StoneTypes">
<xs:restriction base="xs:string">
<xs:enumeration value="stone"/>
<xs:enumeration value="granite"/>
<xs:enumeration value="smooth_granite"/>
<xs:enumeration value="diorite"/>
<xs:enumeration value="smooth_diorite"/>
<xs:enumeration value="andesite"/>
<xs:enumeration value="smooth_andesite"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: Variation

Super-types: None
Sub-types: None
Name Variation
Content
Javascript required.

Application Data

<jaxb:class name="Variation"/>
Schema Component Representation
<xs:simpleType name="Variation">
<xs:union memberTypes="StoneTypes WoodTypes FlowerTypes EntityTypes ShapeTypes MonsterEggTypes HalfTypes"/>
</xs:simpleType>
top

Simple Type: WoodTypes

Super-types: xs:string < WoodTypes (by restriction)
Sub-types: None
Name WoodTypes
Content
  • Base XSD Type: string
  • value comes from list: {'oak'|'spruce'|'birch'|'jungle'|'acacia'|'dark_oak'}
Javascript required.
Schema Component Representation
<xs:simpleType name="WoodTypes">
<xs:restriction base="xs:string">
<xs:enumeration value="oak"/>
<xs:enumeration value="spruce"/>
<xs:enumeration value="birch"/>
<xs:enumeration value="jungle"/>
<xs:enumeration value="acacia"/>
<xs:enumeration value="dark_oak"/>
</xs:restriction>
</xs:simpleType>
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