title: Define a response object with an array in YAML using Swagger Editor
body: <p>I'm working on an API definition in Swagger Editor with YAML. I am trying to represent the following response body:</p>
  
  <pre><code>{
      success: true,
      ids: [123456, ...]
  }
  </code></pre>
  
  <p>and this is what my YAML looks like:</p>
  
  <pre><code>definitions:
    SuccessfulResponse:
      type: object 
      properties:
        success:
          type: boolean
          description: True if the all operations were successful
        ids:
          type: array
          items: 
            id: 
            type: string 
  </code></pre>
  
  <p>Ive tried several different ways but like this but nothing seems valid </p>
  
  <p><a href="https://i.stack.imgur.com/ZJMJQ.png" rel="noreferrer"><img src="https://i.stack.imgur.com/ZJMJQ.png" alt="enter image description here"></a></p>
  
  <p>How do I properly describe the return object that Ive given above?</p>