{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-migration-hub/json-schema/amazon-migration-hub-get-migration-workflow-template-response-schema.json",
  "title": "GetMigrationWorkflowTemplateResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-migration-hub-operations-api-openapi.yml#/components/schemas/GetMigrationWorkflowTemplateResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The ID of the template."
    },
    "templateArn": {
      "type": "string",
      "description": "&gt;The Amazon Resource Name (ARN) of the migration workflow template. The format for an Migration Hub Orchestrator template ARN is arn:aws:migrationhub-orchestrator:region:account:template/template-abcd1234. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference."
    },
    "name": {
      "type": "string",
      "description": "The name of the template."
    },
    "description": {
      "type": "string",
      "description": "The time at which the template was last created."
    },
    "inputs": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/TemplateInput"
      },
      "description": "The inputs provided for the creation of the migration workflow."
    },
    "tools": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tool"
      },
      "description": "List of AWS services utilized in a migration workflow."
    },
    "creationTime": {
      "type": "string",
      "description": "The time at which the template was last created."
    },
    "owner": {
      "type": "string",
      "description": "The owner of the migration workflow template."
    },
    "status": {
      "type": "string",
      "description": "The status of the template."
    },
    "statusMessage": {
      "type": "string",
      "description": "The status message of retrieving migration workflow templates."
    },
    "templateClass": {
      "type": "string",
      "description": "The class of the migration workflow template. The available template classes are: A2C MGN SAP_MULTI SQL_EC2 SQL_RDS VMIE"
    },
    "tags": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "The tags added to the migration workflow template."
    }
  },
  "$defs": {
    "TemplateInput": {
      "type": "object",
      "properties": {
        "inputName": {
          "type": "string",
          "description": "The name of the template."
        },
        "dataType": {
          "type": "string",
          "description": "The data type of the template input."
        },
        "required": {
          "type": "boolean",
          "description": "Determine if an input is required from the template."
        }
      }
    },
    "Tool": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of an AWS service."
        },
        "url": {
          "type": "string",
          "description": "The URL of an AWS service."
        }
      }
    }
  }
}