DeviceConfig:
  description: Represents a Preset::DeviceConfig object
  properties:
    deviceId:
      type: string
    deviceSerial:
      type: string
    deviceSequence:
      type: integer
    config:
      $ref: "http://swgserver:8081/api/swagger/include/DeviceSettings.yaml#/DeviceSettings"

ChannelConfig:
  description: Represents a Preset::ChannelConfig object
  properties:
    channelIdURI:
      description: Channel type ID in URI form
      type: string
    config:
      $ref: "http://swgserver:8081/api/swagger/include/ChannelSettings.yaml#/ChannelSettings"

Preset:
  description: Represents a Preset object
  properties:
    presetType:
      description: See Preset::PresetType
      type: integer
    group:
      type: string
    description:
      type: string
    centerFrequency:
      type: integer
      format: int64
    spectrumConfig:
      $ref: "http://swgserver:8081/api/swagger/include/GLSpectrum.yaml#/GLSpectrum"
    dcOffsetCorrection:
      description: boolean
      type: integer
    iqImbalanceCorrection:
      description: boolean
      type: integer
    channelConfigs:
      type: array
      items:
        $ref: "http://swgserver:8081/api/swagger/include/Preset.yaml#/ChannelConfig"
    deviceConfigs:
      type: array
      items:
        $ref: "http://swgserver:8081/api/swagger/include/Preset.yaml#/DeviceConfig"
    layout:
      description: screen and dock layout is a QByteArray handled by Qt::QMainWindow translated to base64
      type: string
