forked from aeron-io/simple-binary-encoding
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbasic-group-schema.xml
More file actions
27 lines (27 loc) · 1.35 KB
/
Copy pathbasic-group-schema.xml
File metadata and controls
27 lines (27 loc) · 1.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<messageSchema package="SBE tests"
id="1"
semanticVersion="5.2"
description="Unit Test"
byteOrder="littleEndian">
<types>
<type name="Symbol" description="Symbol" length="20" primitiveType="char" semanticType="char"/>
<composite name="messageHeader" description="Message identifiers and length of message root">
<type name="blockLength" primitiveType="uint16"/>
<type name="templateId" primitiveType="uint16"/>
<type name="schemaId" primitiveType="uint16"/>
<type name="version" primitiveType="uint16"/>
</composite>
<composite name="groupSizeEncoding" description="Repeating group dimensions">
<type name="blockLength" primitiveType="uint16"/>
<type name="numInGroup" primitiveType="uint8" semanticType="NumInGroup"/>
</composite>
</types>
<message name="TestMessage1" id="1" description="TestMessage" blockLength="16">
<field name="Tag1" id="1" type="uint32" semanticType="int"/>
<group name="Entries" id="2" dimensionType="groupSizeEncoding">
<field name="TagGroup1" id="3" type="Symbol"/>
<field name="TagGroup2" id="4" type="int64" semanticType="int"/>
</group>
</message>
</messageSchema>