<classSpec ident="att.fTrem.vis" module="MEI.visual" type="atts">
<desc xml:lang="en">Visual domain attributes.</desc>
<attList>
<attDef ident="beams" usage="opt">
<desc xml:lang="en">Indicates the number of beams present.</desc>
<datatype>
<rng:data type="positiveInteger">
<rng:param name="minInclusive">1</rng:param>
<rng:param name="maxInclusive">6</rng:param>
</rng:data>
</datatype>
</attDef>
<attDef ident="beams.float" usage="opt">
<desc xml:lang="en">Captures the number of "floating" beams,
<abbr>i.e.</abbr>, those not attached to stems.</desc>
<datatype>
<rng:data type="nonNegativeInteger"/>
</datatype>
<constraintSpec ident="check_beams.floating" scheme="schematron">
<constraint>
<sch:rule context="mei:fTrem[@beams and @beams.float]">
<sch:assert test="@beams.float <= @beams">The number of floating beams must be less
than or equal to the total number of beams.</sch:assert>
</sch:rule>
</constraint>
</constraintSpec>
</attDef>
<attDef ident="float.gap" usage="opt">
<desc xml:lang="en">Records the amount of separation between floating beams and stems.</desc>
</attDef>
</attList>
</classSpec>