{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-mediaconnect/json-schema/amazon-mediaconnect-add-bridge-sources-request-schema.json",
  "title": "AddBridgeSourcesRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-mediaconnect-sources-api-openapi.yml#/components/schemas/AddBridgeSourcesRequest",
  "type": "object",
  "properties": {
    "BridgeArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the bridge that you want to update."
    },
    "Sources": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AddBridgeSourceRequest"
      },
      "description": "The sources that you want to add to this bridge."
    }
  },
  "required": [
    "BridgeArn",
    "Sources"
  ],
  "$defs": {
    "AddBridgeFlowSourceRequest": {
      "type": "object",
      "properties": {
        "FlowArn": {
          "type": "string",
          "description": "The Amazon Resource Number (ARN) of the flow to use as a source of this bridge."
        },
        "FlowVpcInterfaceAttachment": {
          "$ref": "#/$defs/VpcInterfaceAttachment"
        },
        "Name": {
          "type": "string",
          "description": "The name of the flow source. This name is used to reference the source and must be unique among sources in this bridge."
        }
      },
      "required": [
        "FlowArn",
        "Name"
      ]
    },
    "AddBridgeNetworkSourceRequest": {
      "type": "object",
      "properties": {
        "MulticastIp": {
          "type": "string",
          "description": "The network source multicast IP."
        },
        "MulticastSourceSettings": {
          "$ref": "#/$defs/MulticastSourceSettings"
        },
        "Name": {
          "type": "string",
          "description": "The name of the network source. This name is used to reference the source and must be unique among sources in this bridge."
        },
        "NetworkName": {
          "type": "string",
          "description": "The network source's gateway network name."
        },
        "Port": {
          "type": "integer",
          "description": "The network source port."
        },
        "Protocol": {
          "type": "string",
          "enum": [
            "zixi-push",
            "rtp-fec",
            "rtp",
            "zixi-pull",
            "rist",
            "st2110-jpegxs",
            "cdi",
            "srt-listener",
            "srt-caller",
            "fujitsu-qos",
            "udp",
            "ndi-speed-hq"
          ],
          "description": "The network source protocol. Elemental MediaConnect no longer supports the Fujitsu QoS protocol. This reference is maintained for legacy purposes only."
        }
      },
      "required": [
        "MulticastIp",
        "Name",
        "NetworkName",
        "Port",
        "Protocol"
      ]
    },
    "AddBridgeSourceRequest": {
      "type": "object",
      "properties": {
        "FlowSource": {
          "$ref": "#/$defs/AddBridgeFlowSourceRequest"
        },
        "NetworkSource": {
          "$ref": "#/$defs/AddBridgeNetworkSourceRequest"
        }
      }
    },
    "MulticastSourceSettings": {
      "type": "object",
      "properties": {
        "MulticastSourceIp": {
          "type": "string",
          "description": "The IP address of the source for source-specific multicast (SSM)."
        }
      }
    },
    "VpcInterfaceAttachment": {
      "type": "object",
      "properties": {
        "VpcInterfaceName": {
          "type": "string",
          "description": "The name of the VPC interface to use for this resource."
        }
      }
    }
  }
}