<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<sbe:messageSchema xmlns:sbe="http://fixprotocol.io/2016/sbe"
package="rustysbe.car"
id="1"
version="0"
semanticVersion="5.2"
description="Example Car Schema"
byteOrder="littleEndian">
<types>
<composite name="engine">
<type name="capacity" primitiveType="uint16"/>
<type name="numCylinders" primitiveType="uint8"/>
<type name="maxRpm" primitiveType="uint16" presence="constant">9000</type>
<type name="manufacturerCode" primitiveType="char" length="3"/>
<type name="fuel" primitiveType="char" presence="constant">P</type>
</composite>
<composite name="performanceFigures">
<type name="octaneRating" primitiveType="uint8"/>
<group name="acceleration" dimensionType="group">
<type name="mph" primitiveType="uint16"/>
<type name="seconds" primitiveType="float"/>
</group>
</composite>
<enum name="Boolean" encodingType="uint8">
<validValue name="F">0</validValue>
<validValue name="T">1</validValue>
</enum>
<enum name="Model" encodingType="char">
<validValue name="A">A</validValue>
<validValue name="B">B</validValue>
<validValue name="C">C</validValue>
</enum>
</types>
<sbe:message name="Car" id="1" description="A car">
<field name="serialNumber" id="1" type="uint64"/>
<field name="modelYear" id="2" type="uint16"/>
<field name="available" id="3" type="Boolean"/>
<field name="code" id="4" type="Model"/>
<field name="someNumbers" id="5" type="int32" length="5"/>
<field name="vehicleCode" id="6" type="char" length="6"/>
<field name="extras" id="7" type="uint8"/>
<field name="engine" id="8" type="engine"/>
<group name="performance" id="9" dimensionType="group">
<field name="octaneRating" id="10" type="uint8"/>
<group name="acceleration" id="11" dimensionType="group">
<field name="mph" id="12" type="uint16"/>
<field name="seconds" id="13" type="float"/>
</group>
</group>
<data name="make" id="14" type="varchar"/>
<data name="model" id="15" type="varchar"/>
</sbe:message>
</sbe:messageSchema>