title: RAML Unknown facet 'types'
body: <p>I am receiving an issue with a datatype .raml file that I am attempting to create. For some reason, it is stating that I am <strong>'Specifying unknown facet 'types'</strong> as an error.    </p>
  
  <p>What is the proper way to go about defining an object in RAML?</p>
  
  <pre><code>#%RAML 1.0 DataType
  types:
    Account:
      type: object
      displayName: Account
      description: Salesforce Account Object
      properties:
        id:
          type: string
          description: Id of the Salesforce Account
        ns_id:
          type: string
          description: Id of NetSuite Customer
        name:
          type: string
          description: Name of Salesforce Account
        phone:
          type: string
          description: Phone Number of Salesforce Account
        website:
          type: string
          description: Website of the Salesforce Account
        owner:
          type: string # This probably needs to be of type Owner
          description: Owner of Account
        active_cmrr:
          type: number
          description: Active CMRR of Account
        billing_address:
          type: string
          description: Billing Address of Account
        subscription_start_date:
          type: date-only
          description: Salesforce Account Subscription Start Date
        subscription_end_date: 
          type: date-only
          description: Salesforce Account Subscription End Date
        #Sometype of Opportunity list
        #opportunities:
        #  type: Opportunity[]
        #  description: List of Account Opportunities
  </code></pre>