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