The required n attribute is the number of algorithm definitions in the list.
Source
<xs:element name="AlgorithmDefinitions" type="AlgorithmsType"><xs:annotation><xs:documentation>The global AlgorithmDefinitions element defines algorithms.</xs:documentation></xs:annotation></xs:element>