{
  "title": "foxglove.RawAudio",
  "description": "A single block of an audio bitstream",
  "$comment": "Generated by https://github.com/foxglove/foxglove-sdk",
  "type": "object",
  "properties": {
    "timestamp": {
      "type": "object",
      "title": "time",
      "properties": {
        "sec": {
          "type": "integer",
          "minimum": 0
        },
        "nsec": {
          "type": "integer",
          "minimum": 0,
          "maximum": 999999999
        }
      },
      "description": "Timestamp of the start of the audio block"
    },
    "data": {
      "type": "string",
      "contentEncoding": "base64",
      "description": "Audio data. The samples in the data must be interleaved and little-endian"
    },
    "format": {
      "type": "string",
      "description": "Audio format. Only 'pcm-s16' is currently supported"
    },
    "sample_rate": {
      "type": "integer",
      "minimum": 0,
      "description": "Sample rate in Hz"
    },
    "number_of_channels": {
      "type": "integer",
      "minimum": 0,
      "description": "Number of channels in the audio block"
    }
  },
  "required": [
    "timestamp",
    "data",
    "format",
    "sample_rate",
    "number_of_channels"
  ]
}
