{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-mediaconnect/json-schema/amazon-mediaconnect-update-flow-media-stream-response-schema.json",
  "title": "UpdateFlowMediaStreamResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-mediaconnect-mediastreams-api-openapi.yml#/components/schemas/UpdateFlowMediaStreamResponse",
  "type": "object",
  "properties": {
    "FlowArn": {
      "type": "string",
      "description": "The ARN of the flow that is associated with the media stream that you updated."
    },
    "MediaStream": {
      "$ref": "#/$defs/MediaStream"
    }
  },
  "$defs": {
    "Fmtp": {
      "type": "object",
      "properties": {
        "ChannelOrder": {
          "type": "string",
          "description": "The format of the audio channel."
        },
        "Colorimetry": {
          "type": "string",
          "enum": [
            "BT601",
            "BT709",
            "BT2020",
            "BT2100",
            "ST2065-1",
            "ST2065-3",
            "XYZ"
          ],
          "description": "The format used for the representation of color."
        },
        "ExactFramerate": {
          "type": "string",
          "description": "The frame rate for the video stream, in frames/second. For example: 60000/1001."
        },
        "Par": {
          "type": "string",
          "description": "The pixel aspect ratio (PAR) of the video."
        },
        "Range": {
          "type": "string",
          "enum": [
            "NARROW",
            "FULL",
            "FULLPROTECT"
          ],
          "description": "The encoding range of the video."
        },
        "ScanMode": {
          "type": "string",
          "enum": [
            "progressive",
            "interlace",
            "progressive-segmented-frame"
          ],
          "description": "The type of compression that was used to smooth the video’s appearance."
        },
        "Tcs": {
          "type": "string",
          "enum": [
            "SDR",
            "PQ",
            "HLG",
            "LINEAR",
            "BT2100LINPQ",
            "BT2100LINHLG",
            "ST2065-1",
            "ST428-1",
            "DENSITY"
          ],
          "description": "The transfer characteristic system (TCS) that is used in the video."
        }
      }
    },
    "MediaStream": {
      "type": "object",
      "properties": {
        "Attributes": {
          "$ref": "#/$defs/MediaStreamAttributes"
        },
        "ClockRate": {
          "type": "integer",
          "description": "The sample rate for the stream. This value is measured in Hz."
        },
        "Description": {
          "type": "string",
          "description": "A description that can help you quickly identify what your media stream is used for."
        },
        "Fmt": {
          "type": "integer",
          "description": "The format type number (sometimes referred to as RTP payload type) of the media stream. MediaConnect assigns this value to the media stream. For ST 2110 JPEG XS outputs, you need to provide this value to the receiver."
        },
        "MediaStreamId": {
          "type": "integer",
          "description": "A unique identifier for the media stream."
        },
        "MediaStreamName": {
          "type": "string",
          "description": "A name that helps you distinguish one media stream from another."
        },
        "MediaStreamType": {
          "type": "string",
          "enum": [
            "video",
            "audio",
            "ancillary-data"
          ],
          "description": "The type of media stream."
        },
        "VideoFormat": {
          "type": "string",
          "description": "The resolution of the video."
        }
      },
      "required": [
        "Fmt",
        "MediaStreamId",
        "MediaStreamName",
        "MediaStreamType"
      ]
    },
    "MediaStreamAttributes": {
      "type": "object",
      "properties": {
        "Fmtp": {
          "$ref": "#/$defs/Fmtp"
        },
        "Lang": {
          "type": "string",
          "description": "The audio language, in a format that is recognized by the receiver."
        }
      },
      "required": [
        "Fmtp"
      ]
    }
  }
}