title: Building an array of dictionary items in YAML?
body: <p>Basically trying to something in yaml that could be done using this json:</p>
  
  <pre><code>{
  models:
   [
    { 
      model: "a"
      type: "x"
      #bunch of properties...
    },
    {
      model: "b"
      type: "y"
      #bunch of properties...
    }
   ]
  }
  </code></pre>
  
  <p>So far this is what I have, it does not work because I am repeating my <code>model</code> key but what can be a proper way to do that by keeping that <code>model</code> key word?  </p>
  
  <pre><code>models:
   model:
    type: "x"
    #bunch of properties...
   model:
    type: "y"
    #bunch of properties...
  </code></pre>