Simpleschema issue: field with variable number of input

I have a collection called Elections which stores each election and all the participants in it. Each election has a field called “numberOfContenders” .

Since each election can have different number of contenders running for a position, I need to have a SimpleSchema which allows for entry of information (name, number of votes received etc) about each contender based on the ‘n’ number of contenders under each election.

I don’t know how I can define the SimpleSchema for this.

Any help will be deeply appreciated.

Check about custom validation