| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| http://www.apache.org/licenses/LICENSE-2.0 |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <sbe:messageSchema xmlns:sbe="http://fixprotocol.io/2016/sbe" |
| xmlns:xi="http://www.w3.org/2001/XInclude" |
| package="baseline" |
| id="1" |
| version="0" |
| semanticVersion="5.2" |
| description="Schema with a single message that only contains SBE primitives" |
| byteOrder="littleEndian"> |
| <types> |
| <!-- Message header copied from standard at https://www.fixtrading.org/standards/sbe-online/ --> |
| <composite name="messageHeader" description="Template ID 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"/> |
| <type name="numGroups" primitiveType="uint16" /> |
| <type name="numVarDataFields" primitiveType="uint16" /> |
| </composite> |
| </types> |
| <sbe:message name="Primitives" id="1" description="Contains various primitives"> |
| <field name="int32Primitive" id="1" type="int32" /> |
| <field name="uint32Primitive" id="2" type="uint32" presence="optional" /> |
| <field name="doublePrimitive" id="3" type="double" /> |
| </sbe:message> |
| </sbe:messageSchema> |