title: Different examples for same model in swagger
body: <p>I'm trying to create an example in the request portion of my Swagger file. In the (heavily simplified) snippet below my request is describing the relationship between a patient and a clinician. Both these entities use the same <code>Identifier</code> model. </p>
  
  <p>However, I can't seem to work out how to pass in example data that would be different for the <code>patientIdentifier</code> and the <code>clinicianIdentifier</code> while still making using of the common <code>Identifier</code> model. The snippet I've posted is syntactically correct, but obviously in example data will be the same for both Identifiers, which is far from ideal.</p>
  
  <p>I realise I can just extract the fields from the <code>Identifer</code> model and copy them to the <code>patientIdentifier</code> and <code>clinicianIdentfier</code> without too much effort in this case, but I'd like to know if there is a more elegant way to achieve this.</p>
  
  <pre><code>Relationship:
    properties:
      patientIdentifier:
        $ref: '#/definitions/Identifier'
      clinicianIdentifier:
        $ref: '#/definitions/Identifier'
  
  Identifier:
    type: object
    properties:
      id:
        type: string
        example: "Jane Doe"
      group:
        type: string
        example: "WD7"
  </code></pre>
  
  <p>If someone could point me in the right direction with something along the lines of documentation or an example that does this, it would be really appreciated.</p>
  
  <p>Thanks!</p>