title: Netlify CMS - how to store an array of objects via config.yml collections
body: <p>I'm a little confused with Netlify's CMS - specifically when it comes to defining a schema via <code>config.yml</code>. I'm using Netlify CMS with a Gatsby static site to allow the end user to update some little bits of dynamic data on the website.</p>
  
  <p>What I'm trying to achieve:</p>
  
  <p>I want a data type on the CMS to allow the user to create new tour dates, with a maximum occupancy and a current occupancy (i.e. how many people are currently booked on said tour).</p>
  
  <p>To achieve this I've currently gone with this <code>config.yml</code> (this <code>config.yml</code> is located in <code>static/admin</code> of my Gatsby project w.r.t the project root):</p>
  
  <pre><code>backend:
    name: git-gateway
    branch: master
  
  publish_mode: editorial_workflow
  
  media_folder: src/images/uploads
  public_folder: /uploads
  
  collections:
    - name: "tourInfo"
      label: "Tour Info"
      description: "Upcoming tours and their availability"
      files:
        - label: "tour"
          name: "Tour"
          file: "static/tours.json"
          fields:
            - {label: "Tour Date", name: "date", widget: "datetime"}
            - {label: "Total Places", name: "totalPlaces", widget: "number"}
            - {label: "Filled Places", name: "filledPlaces", widget: "number"}
  </code></pre>
  
  <p>This doesn't seem to be what I'm looking for though, I can't seem to be able to create numerous instances of tour dates, but only one. Perhaps this is a fundamental misunderstanding of mine when it comes to collection types, but I thought I could define <code>tour</code> as a single file then populate it with numerous instances of tour. </p>
  
  <p>Can someone point me in the right direction of how to achieve this array of tour data points without death by file?</p>