title: How to provide an example of an object definition in swagger that contains an array as one of its attributes
body: <p>Referring to the example below, I would like to provide an example of <code>NamedElementArray</code> in its definition.  This will require showing an example of an array of <code>NamedElement</code> for the <code>elements</code> attribute.</p>
  
  <p>How do I do that? I can't find details of how to do this in the swagger specification.</p>
  
  <pre><code>swagger: '2.0'
  
  info:
    version: "0.0.0"
    title: Example
  
  definitions:
    Identifier:
      type: string
      format: uuid
    NamedElement:
      type: object
      properties:
        name:
          type: string
        identifier:
          $ref: "#/definitions/Identifier"
      required:
      - name
      - identifier
      example:
        name: Identifier1
        identifier: ab804529-11d0-4781-a49a-3bbbc40243df
    NamedElementArray:
      type: object
      properties:
        name: 
          type: string
        elements:
          type: array
          minLength: 0
          items:
            $ref: "#/definitions/NamedElement"
      required:
      - name
      - elements
      example:
        name: Fred
        elements:
  
  paths:
    /elements/{name}:
      get:
        description: |
          Gets `NamedElement` objects, based on the **name** query param.
        parameters:
          -
            name: name
            in: path
            description: Name of element array to return
            required: true
            type: string
        responses:
          200:
            description: Returns a named element array
            schema:
              $ref: "#/definitions/NamedElementArray"
          default:
            description: Return nothing
  </code></pre>