The required n attribute is the number of notes in this set.
Source
<xs:element name="NoteSet" type="NoteSetType"><xs:annotation><xs:documentation>The global NoteSetType element is a collection of all notes presented in the CAD scene.</xs:documentation></xs:annotation></xs:element>