---
swagger: '2.0'
info:
  version: '0.1.0'
  title: JSON pointers

paths:
  /some/where:
    get:
      responses:
        default:
          schema:
            $ref: '#/definitions/whiteStone/properties/p1'
definitions:
  whiteStone:
    type: object
    properties:
      p1:
        $ref: '#/definitions/blackStone/properties/p2'
  blackStone:
    type: object
    properties:
      p2:
        $ref: '#/definitions/redStone/properties/p3'
  redStone:
    type: object
    properties:
      p3:
        $ref: '#/definitions/whiteStone/properties/p1'
