VORDemodSettings:
  description: VORDemod
  properties:
    inputFrequencyOffset:
      type: integer
      format: int64
    navId:
      description: VOR unique identifier when set by VOR localizer feature
      type: integer
    squelch:
      description: power squelch threshold in decibels
      type: number
      format: float
    volume:
      type: number
      format: float
    audioMute:
      type: integer
    identBandpassEnable:
      type: integer
    rgbColor:
      type: integer
    title:
      type: string
    audioDeviceName:
      type: string
    streamIndex:
      description: MIMO channel. Not relevant when connected to SI (single Rx).
      type: integer
    useReverseAPI:
      description: Synchronize with reverse API (1 for yes, 0 for no)
      type: integer
    reverseAPIAddress:
      type: string
    reverseAPIPort:
      type: integer
    reverseAPIDeviceIndex:
      type: integer
    reverseAPIChannelIndex:
      type: integer
    identThreshold:
      description: Morse code ident threshold (linear SNR)
      type: integer
    channelMarker:
      $ref: "/doc/swagger/include/ChannelMarker.yaml#/ChannelMarker"
    rollupState:
      $ref: "/doc/swagger/include/RollupState.yaml#/RollupState"

VORDemodReport:
  description: VORDemod
  properties:
    channelPowerDB:
      description: power received in channel (dB)
      type: number
      format: float
    squelch:
      description: squelch status (1 if open else 0)
      type: integer
    audioSampleRate:
      type: integer
    volume:
      type: number
      format: float
    navId:
      description: VOR unique identifier when set by VOR localizer feature
      type: integer
    radial:
      description: current detected radial (degrees)
      type: number
      format: float
    refMag:
      description: current reference signal magnitude (dB)
      type: number
      format: float
    varMag:
      description: current variable signal magnitude (dB)
      type: number
      format: float
    validRadial:
      type: integer
      description: >
        Radial validity estimation
          * 0 - Radial is invalid
          * 1 - Radial is valid
    validRefMag:
      type: integer
      description: >
        Reference signal magnitude validity
          * 0 - Magnitude below threshold
          * 1 - Magnitude above threshold
    validVarMag:
      type: integer
      description: >
        Variable signal magnitude validity
          * 0 - Magnitude below threshold
          * 1 - Magnitude above threshold
    morseIdent:
      description: current identification morse code transcript
      type: string
