The required n attribute is the number of parts in this set.
Source
<xs:element name="PartSet" type="PartSetType"><xs:annotation><xs:documentation>The global PartSet element is a collection of all parts present in the CAD scene.</xs:documentation></xs:annotation></xs:element>