{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/VideoOut",
  "title": "VideoOut",
  "type": "object",
  "properties": {
    "samplingInterval": {
      "type": "number",
      "example": 60,
      "description": "The sampling interval, in seconds, of the upstream video quality data."
    },
    "startTime": {
      "type": "string",
      "example": "2020-04-10T17:00:00.000Z",
      "description": "The date and time when this video session started."
    },
    "endTime": {
      "type": "string",
      "example": "2020-04-10T18:00:00.000Z",
      "description": "The date and time when this video session ended."
    },
    "packetLoss": {
      "type": "array",
      "items": {
        "type": "number"
      },
      "description": "The percentage of video packet loss, in float between 0.0 and 100.0, during each sampling interval."
    },
    "latency": {
      "type": "array",
      "items": {
        "type": "number"
      },
      "description": "The average latency, in milliseconds, during each sampling interval."
    },
    "resolutionHeight": {
      "type": "array",
      "items": {
        "type": "number"
      },
      "description": "The pixel height of the outgoing video."
    },
    "frameRate": {
      "type": "array",
      "items": {
        "type": "number",
        "example": 25.940001
      },
      "description": "The frames per second of the outgoing video."
    },
    "mediaBitRate": {
      "type": "array",
      "items": {
        "type": "number"
      },
      "description": "The bit rate of the outgoing video."
    },
    "codec": {
      "type": "string",
      "example": "H.264 BP",
      "description": "The outgoing video codec."
    },
    "jitter": {
      "type": "array",
      "items": {
        "type": "number"
      },
      "description": "The outgoing video jitter."
    },
    "transportType": {
      "type": "string",
      "enum": [
        "UDP",
        "TCP"
      ],
      "description": "The network protocol used for video transmission."
    }
  }
}