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