<classSpec xmlns="http://www.tei-c.org/ns/1.0" rend="add" ident="att.clefShape" module="MEI.shared" type="atts">
<desc xml:lang="en">Attributes that record the shape of a clef.</desc>
<constraintSpec ident="shape_requires_line_or_loc" scheme="schematron">
<constraint>
<sch:rule context="mei:clef[matches(@shape, '[FCG]')]">
<sch:assert test="@line or @loc">An 'F', 'C', or 'G' clef requires that its position be
specified using @line or @loc.</sch:assert>
</sch:rule>
</constraint>
</constraintSpec>
<attList>
<attDef ident="shape" usage="opt">
<desc xml:lang="en">Describes a clef’s shape.</desc>
<datatype>
<dataRef key="data.CLEFSHAPE"/>
</datatype>
</attDef>
</attList>
</classSpec>