Nested objects in mongoose schemas : <p>i've seen many answers to this question here, but i still don't get it (maybe because they use more "complex" examples)...
So what im trying to do is a schema for a "Customer", and it will have two fields that will have nested "subfields", and others that may repeat. here is what i mean:</p>

<pre><code>let customerModel = new Schema({
    firstName: String,
    lastName: String,
    company: String,
    contactInfo: {
        tel: [Number],
        email: [String],
        address: {
            city: String,
            street: String,
            houseNumber: String
        }
    }   
});
</code></pre>

<p><strong>tel</strong> and <strong>email</strong> might be an array.
and address will not be repeated, but have some sub fields as you can see.</p>

<p>How can i make this work?</p>
