  Event:
    type: object
    properties:
      id:
        type: integer
      createdAt:
        type: string
        format: date-time
      text:
        type: string
      level:
        type: integer
      details:
        type: string

  Events:
    type: object
    properties:
      items:
        type: array
        items:
          $ref: '#/definitions/Event'
      total:
        type: integer
