Skip to content

Commit 91b0b52

Browse files
authored
Merge pull request #60 from donmendelson/issue59
refType is missing semanticAttributes #59
2 parents be62075 + 280f3ec commit 91b0b52

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

v2-0-RC1/doc/04MessageSchema.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,7 @@ A composite type often has its elements defined in-line within the `<composite>`
218218
|--------------------|----------------------------------------------------------------------------------------------------------------|--------------------|-------------|------------------------------------------------------------------|
219219
| name | Usage of the type in this composite | symbolicName\_t | required | |
220220
| type | Name of referenced encoding | symbolicName\_t | required | Must match a defined type, enum or set or composite name attribute. |
221+
| description | Documentation of how the referenced type is used | string | optional | |
221222
| offset | The offset from the beginning of the composite. By default, the offset is the sum of preceding element sizes, but it may be increased to effect byte alignment. | unsignedInt | optional | |
222223

223224

v2-0-RC1/resources/sbe.xsd

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,11 @@
223223
</xs:annotation>
224224
<xs:attribute name="name" type="sbe:symbolicName_t" use="required"/>
225225
<xs:attribute name="type" type="sbe:symbolicName_t" use="required"/>
226+
<xs:attribute name="description" type="xs:string" use="optional">
227+
<xs:annotation>
228+
<xs:documentation>How the referenced type is used</xs:documentation>
229+
</xs:annotation>
230+
</xs:attribute>
226231
<xs:attributeGroup ref="sbe:alignmentAttributes"/>
227232
</xs:complexType>
228233
<xs:complexType name="setType" mixed="true">

0 commit comments

Comments
 (0)