<Comment>// Example IDL file for our monster's schema.</Comment><br/>
<Normal Text></Normal Text><br/>
<Keyword>namespace</Keyword><Normal Text> MyGame.Sample</Normal Text><Separator Symbol>;</Separator Symbol><br/>
<Normal Text></Normal Text><br/>
<Keyword>enum</Keyword><Normal Text> Color</Normal Text><Symbol>:</Symbol><Data Type>byte</Data Type><Normal Text> </Normal Text><Block Symbol>{</Block Symbol><Normal Text> Red </Normal Text><Symbol>=</Symbol><Normal Text> </Normal Text><Decimal>0</Decimal><Separator Symbol>,</Separator Symbol><Normal Text> Green</Normal Text><Separator Symbol>,</Separator Symbol><Normal Text> Blue </Normal Text><Symbol>=</Symbol><Normal Text> </Normal Text><Decimal>2</Decimal><Normal Text> </Normal Text><Block Symbol>}</Block Symbol><br/>
<Normal Text></Normal Text><br/>
<Keyword>union</Keyword><Normal Text> Equipment </Normal Text><Block Symbol>{</Block Symbol><Normal Text> Weapon </Normal Text><Block Symbol>}</Block Symbol><Normal Text> </Normal Text><Comment>// Optionally add more tables.</Comment><br/>
<Normal Text></Normal Text><br/>
<Keyword>struct</Keyword><Normal Text> Vec3 </Normal Text><Block Symbol>{</Block Symbol><br/>
<Normal Text>  x</Normal Text><Symbol>:</Symbol><Data Type>float</Data Type><Separator Symbol>;</Separator Symbol><br/>
<Normal Text>  y</Normal Text><Symbol>:</Symbol><Data Type>float</Data Type><Separator Symbol>;</Separator Symbol><br/>
<Normal Text>  z</Normal Text><Symbol>:</Symbol><Data Type>float</Data Type><Separator Symbol>;</Separator Symbol><br/>
<Block Symbol>}</Block Symbol><br/>
<Normal Text></Normal Text><br/>
<Keyword>table</Keyword><Normal Text> Monster </Normal Text><Block Symbol>{</Block Symbol><br/>
<Normal Text>  pos</Normal Text><Symbol>:</Symbol><Normal Text>Vec3</Normal Text><Separator Symbol>;</Separator Symbol><Normal Text> </Normal Text><Comment>// Struct.</Comment><br/>
<Normal Text>  mana</Normal Text><Symbol>:</Symbol><Data Type>short</Data Type><Normal Text> </Normal Text><Symbol>=</Symbol><Normal Text> </Normal Text><Decimal>150</Decimal><Separator Symbol>;</Separator Symbol><br/>
<Normal Text>  hp</Normal Text><Symbol>:</Symbol><Data Type>short</Data Type><Normal Text> </Normal Text><Symbol>=</Symbol><Normal Text> </Normal Text><Decimal>100</Decimal><Separator Symbol>;</Separator Symbol><br/>
<Normal Text>  name</Normal Text><Symbol>:</Symbol><Data Type>string</Data Type><Separator Symbol>;</Separator Symbol><br/>
<Normal Text>  friendly</Normal Text><Symbol>:</Symbol><Data Type>bool</Data Type><Normal Text> </Normal Text><Symbol>=</Symbol><Normal Text> </Normal Text><Integer Constants>false</Integer Constants><Normal Text> (</Normal Text><Keyword>deprecated</Keyword><Normal Text>)</Normal Text><Separator Symbol>;</Separator Symbol><br/>
<Normal Text>  inventory</Normal Text><Symbol>:</Symbol><Normal Text>[</Normal Text><Data Type>ubyte</Data Type><Normal Text>]</Normal Text><Separator Symbol>;</Separator Symbol><Normal Text>  </Normal Text><Comment>// Vector of scalars.</Comment><br/>
<Normal Text>  color</Normal Text><Symbol>:</Symbol><Normal Text>Color </Normal Text><Symbol>=</Symbol><Normal Text> Blue</Normal Text><Separator Symbol>;</Separator Symbol><Normal Text> </Normal Text><Comment>// Enum.</Comment><br/>
<Normal Text>  weapons</Normal Text><Symbol>:</Symbol><Normal Text>[Weapon]</Normal Text><Separator Symbol>;</Separator Symbol><Normal Text>   </Normal Text><Comment>// Vector of tables.</Comment><br/>
<Normal Text>  equipped</Normal Text><Symbol>:</Symbol><Normal Text>Equipment</Normal Text><Separator Symbol>;</Separator Symbol><Normal Text> </Normal Text><Comment>// Union.</Comment><br/>
<Normal Text>  path</Normal Text><Symbol>:</Symbol><Normal Text>[Vec3]</Normal Text><Separator Symbol>;</Separator Symbol><Normal Text>        </Normal Text><Comment>// Vector of structs.</Comment><br/>
<Block Symbol>}</Block Symbol><br/>
<Normal Text></Normal Text><br/>
<Keyword>table</Keyword><Normal Text> Weapon </Normal Text><Block Symbol>{</Block Symbol><br/>
<Normal Text>  name</Normal Text><Symbol>:</Symbol><Data Type>string</Data Type><Separator Symbol>;</Separator Symbol><br/>
<Normal Text>  damage</Normal Text><Symbol>:</Symbol><Data Type>short</Data Type><Separator Symbol>;</Separator Symbol><br/>
<Block Symbol>}</Block Symbol><br/>
<Normal Text></Normal Text><br/>
<Keyword>root_type</Keyword><Normal Text> Monster</Normal Text><Separator Symbol>;</Separator Symbol><br/>
