title: Unable to resolve raml file errors
body: <p>I have been given the attached RAML file to use in Mule but I am having problems working out how to clean up the errors in the file and not even sure this raml file conforms to standards.  The errors I am getting are for missing {} and another is missing block entry when I remove the version.   Can't figure out how to resolve them.</p>
  
  <p>Below is a cut down version of the RAML:</p>
  
  <pre><code>#%RAML 0.8
  ---
  title: Databox
  version: v1
  protocols: [HTTPS]
  baseUri: https://databox/v1/{version}
  mediaType: application/json
  traits:
    - http-data: !include http-data.raml
  resourceTypes: !include types.raml
  
  documentation:
    - title: Home
      content: |
        Databox 1st draft
  
  /stores:
    type:
      store:
        description: Stores
        dataSchema: !include stores.json
  </code></pre>
  
  <p><strong>The traits (http-data.raml):</strong></p>
  
  <pre><code>responses:
    200:
      description: |
        Success
  </code></pre>
  
  <p><strong>The resourceType (types.raml):</strong></p>
  
  <pre><code>- store:
      head:
        description: Retrieve data for &lt;&lt;description&gt;&gt;.
        is: [ http-data ]
      get:
        description: Retrieve data for &lt;&lt;description&gt;&gt;.
        responses:
          200:
            body:
              application/json:
                schema: |
                 {
                  "type": "object",
                  "properties": {
                    "meta": {
                      "title": "Data",
                      "type": "object",
                      "properties": {
                        "createdOn": {
                          "type": "string",
                          "format": "date-time"
                        }
                      },
                      "required": [
                        "createdOn"
                      ]
                    },
                    "data": {
                     "type": "array",
                     "items": &lt;&lt;dataSchema&gt;&gt;
                    }
                  },
                  "required": [
                    "data"
                  ]
                 }
            description: |
              Success. Returns a JSON object containing all &lt;&lt;description&gt;&gt;.
  </code></pre>
  
  <p><strong>The schema (stores.json):</strong></p>
  
  <pre><code>{
    "id": "http://localhost:8000/stores.json#",
    "$schema": "http://json-schema.org/draft-04/schema",
    "title": "Databox Store Schema",
    "type": "object",
    "properties": {
      "storeId": {
        "type": "string"
      },
      "storeDescription": {
        "type": "string"
      },
    },
    "required": [
      "storeId"
    ],
    "additionalProperties": false
  }
  </code></pre>
  
  <p>Thanks</p>