{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-license-manager/json-schema/amazon-license-manager-list-license-conversion-tasks-response-schema.json",
  "title": "ListLicenseConversionTasksResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-license-manager-license-conversion-task-api-openapi.yml#/components/schemas/ListLicenseConversionTasksResponse",
  "type": "object",
  "properties": {
    "LicenseConversionTasks": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/LicenseConversionTask"
      },
      "description": "Information about the license configuration tasks for your account."
    },
    "NextToken": {
      "type": "string",
      "description": "Token for the next set of results."
    }
  },
  "$defs": {
    "LicenseConversionContext": {
      "type": "object",
      "properties": {
        "UsageOperation": {
          "type": "string",
          "description": "The Usage operation value that corresponds to the license type you are converting your resource from. For more information about which platforms correspond to which usage operation values see Sample data: usage operation by platform"
        },
        "ProductCodes": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ProductCodeListItem"
          },
          "description": "Product codes referred to in the license conversion process."
        }
      }
    },
    "LicenseConversionTask": {
      "type": "object",
      "properties": {
        "LicenseConversionTaskId": {
          "type": "string",
          "description": "The ID of the license type conversion task."
        },
        "ResourceArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the resource associated with the license type conversion task."
        },
        "SourceLicenseContext": {
          "$ref": "#/$defs/LicenseConversionContext"
        },
        "DestinationLicenseContext": {
          "$ref": "#/$defs/LicenseConversionContext"
        },
        "Status": {
          "type": "string",
          "enum": [
            "IN_PROGRESS",
            "SUCCEEDED",
            "FAILED"
          ],
          "description": "The status of the conversion task."
        },
        "StatusMessage": {
          "type": "string",
          "description": "The status message for the conversion task."
        },
        "StartTime": {
          "type": "string",
          "format": "date-time",
          "description": "The time the conversion task was started at."
        },
        "LicenseConversionTime": {
          "type": "string",
          "format": "date-time",
          "description": "The time the usage operation value of the resource was changed."
        },
        "EndTime": {
          "type": "string",
          "format": "date-time",
          "description": "The time the conversion task was completed."
        }
      }
    },
    "ProductCodeListItem": {
      "type": "object",
      "properties": {
        "ProductCodeId": {
          "type": "string",
          "description": "The product code ID"
        },
        "ProductCodeType": {
          "type": "string",
          "enum": [
            "marketplace"
          ],
          "description": "The product code type"
        }
      },
      "required": [
        "ProductCodeId",
        "ProductCodeType"
      ]
    }
  }
}