{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-mediaconnect/json-schema/amazon-mediaconnect-create-gateway-request-schema.json",
  "title": "CreateGatewayRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-mediaconnect-gateways-api-openapi.yml#/components/schemas/CreateGatewayRequest",
  "type": "object",
  "properties": {
    "EgressCidrBlocks": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The range of IP addresses that are allowed to contribute content or initiate output requests for flows communicating with this gateway. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16."
    },
    "Name": {
      "type": "string",
      "description": "The name of the gateway. This name can not be modified after the gateway is created."
    },
    "Networks": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/GatewayNetwork"
      },
      "description": "The list of networks that you want to add to the gateway."
    }
  },
  "required": [
    "EgressCidrBlocks",
    "Name",
    "Networks"
  ],
  "$defs": {
    "GatewayNetwork": {
      "type": "object",
      "properties": {
        "CidrBlock": {
          "type": "string",
          "description": "A unique IP address range to use for this network. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16."
        },
        "Name": {
          "type": "string",
          "description": "The name of the network. This name is used to reference the network and must be unique among networks in this gateway."
        }
      },
      "required": [
        "CidrBlock",
        "Name"
      ]
    }
  }
}