title: How to store object in mongoose schema?
body: <p>In node.js I have three variables:</p>
  
  <pre><code>var name = 'Peter';
  var surname = 'Bloom';
  var addresses = [
      {street: 'W Division', city: 'Chicago'},
      {street: 'Beekman', city: 'New York'},
      {street: 'Florence', city: 'Los Angeles'},
  ];
  </code></pre>
  
  <p>And schema:</p>
  
  <pre><code>var mongoose = require('mongoose')
    , Schema = mongoose.Schema;
  
  var personSchema = Schema({
    _id     : Number,
    name    : String,
    surname : String,
    addresses : ????
  });
  </code></pre>
  
  <p>What type and how do I use it in schema? How is the best way for this?</p>