{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-medialive/json-schema/amazon-medialive-create-node-request-schema.json",
  "title": "CreateNodeRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-medialive-nodes-api-openapi.yml#/components/schemas/CreateNodeRequest",
  "type": "object",
  "properties": {
    "ClusterId": {
      "type": "string",
      "description": "The ID of the cluster."
    },
    "Name": {
      "type": "string",
      "description": "The user-specified name of the Node to be created."
    },
    "NodeInterfaceMappings": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/NodeInterfaceMappingCreateRequest"
      },
      "description": "Documentation update needed"
    },
    "RequestId": {
      "type": "string",
      "description": "An ID that you assign to a create request. This ID ensures idempotency when creating resources."
    },
    "Role": {
      "type": "string",
      "enum": [
        "BACKUP",
        "ACTIVE"
      ],
      "description": "The initial role of the Node in the Cluster. ACTIVE means the Node is available for encoding. BACKUP means the Node is a redundant Node and might get used if an ACTIVE Node fails."
    },
    "Tags": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "A collection of key-value pairs."
    }
  },
  "required": [
    "ClusterId"
  ],
  "$defs": {
    "NodeInterfaceMappingCreateRequest": {
      "type": "object",
      "properties": {
        "LogicalInterfaceName": {
          "type": "string",
          "description": "Specify one of the logicalInterfaceNames that you created in the Cluster that this node belongs to. For example, my-Inputs-Interface."
        },
        "NetworkInterfaceMode": {
          "type": "string",
          "enum": [
            "NAT",
            "BRIDGE"
          ],
          "description": "The style of the network -- NAT or BRIDGE."
        },
        "PhysicalInterfaceName": {
          "type": "string",
          "description": "Specify the physical name that corresponds to the logicalInterfaceName that you specified in this interface mapping. For example, Eth1 or ENO1234EXAMPLE."
        }
      }
    }
  }
}