{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-migration-hub/json-schema/amazon-migration-hub-update-migration-workflow-request-schema.json",
  "title": "UpdateMigrationWorkflowRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-migration-hub-migrationworkflow-api-openapi.yml#/components/schemas/UpdateMigrationWorkflowRequest",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The ID of the migration workflow."
    },
    "name": {
      "type": "string",
      "description": "The name of the migration workflow."
    },
    "description": {
      "type": "string",
      "description": "The description of the migration workflow."
    },
    "inputParameters": {
      "type": "object",
      "additionalProperties": {
        "$ref": "#/$defs/StepInput"
      },
      "description": "The input parameters required to update a migration workflow."
    },
    "stepTargets": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The servers on which a step will be run."
    }
  },
  "required": [
    "id"
  ],
  "$defs": {
    "StepInput": {
      "type": "object",
      "properties": {
        "integerValue": {
          "type": "integer",
          "description": "The value of the integer."
        },
        "stringValue": {
          "type": "string",
          "description": "String value."
        },
        "listOfStringsValue": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "List of string values."
        },
        "mapOfStringValue": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "Map of string values."
        }
      },
      "description": "Exactly one member is set."
    }
  }
}