title: Swagger 2.0: How to declare a definition property of type model?
body: <p>I want to declare a definition property of type model in Swagger 2.0</p>
  
  <p>Is this definition correct? (specially the type: StatusObject part)</p>
  
  <pre><code>definitions:
    MyObject:
      type: "object"
      properties:
        id:
          type: "number"
        country:
          type: "string"
        status:
          type: StatusObject
    StatusObject:
      type: "object"
      properties:
        code:
          type: "number"
        shortMessage:
          type: "string"
        message:
          type: "string"
  </code></pre>
  
  <p>Thanks!</p>