SecurityEvent:
  type: object
  properties:
    id:
      type: integer
    mac:
      type: string
    notes:
      type: string
    release_date:
      type: string
      format: date-time
      example: 1970-01-01 00:00:00
    security_event_id:
      type: integer
    start_date:
      type: string
      format: date-time
      example: 1970-01-01 00:00:00
    status:
      type: string
    ticket_ref:
      type: string

SecurityEventsTotal:
  type: object
  properties:
    items:
      type: array
      items:
        type: object
        properties:
          count:
            description: Total count
            type: integer
    status:
      $ref: "#/components/schemas/Status"

SecurityEventsPerDeviceClass:
  type: object
  properties:
    items:
      type: array
      items:
        type: object
        properties:
          count:
            description: Total count
            type: integer
          device_class:
            description: Device class
            type: string
    status:
      $ref: "#/components/schemas/Status"

SecurityEventsPerId:
  type: object
  properties:
    items:
      type: array
      items:
        type: object
        properties:
          count:
            description: Total count
            type: integer
          security_event_id:
            description: Security Event
            type: integer
    status:
      $ref: "#/components/schemas/Status"

SecurityEventsSearch:
  type: object