{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-organizations/json-schema/amazon-organizations-move-account-request-schema.json",
  "title": "MoveAccountRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-organizations-operations-api-openapi.yml#/components/schemas/MoveAccountRequest",
  "type": "object",
  "properties": {
    "AccountId": {
      "type": "string",
      "description": "ID for the account that you want to move. The regex pattern for an account ID string requires exactly 12 digits."
    },
    "SourceParentId": {
      "type": "string",
      "description": "ID for the root or organizational unit that you want to move the account from. The regex pattern for a parent ID string requires one of the following: Root - A string that begins with \"r-\" followed by from 4 to 32 lowercase letters or digits. Organizational unit (OU) - A string that begins with \"ou-\" followed by from 4 to 32 lowercase letters or digits (the ID of the root that the OU is in). This string is followed by a second \"-\" dash and from 8 to 32 additional lowercase letters or digits."
    },
    "DestinationParentId": {
      "type": "string",
      "description": "ID for the root or organizational unit that you want to move the account to. The regex pattern for a parent ID string requires one of the following: Root - A string that begins with \"r-\" followed by from 4 to 32 lowercase letters or digits. Organizational unit (OU) - A string that begins with \"ou-\" followed by from 4 to 32 lowercase letters or digits (the ID of the root that the OU is in). This string is followed by a second \"-\" dash and from 8 to 32 additional lowercase letters or digits."
    }
  },
  "required": [
    "AccountId",
    "SourceParentId",
    "DestinationParentId"
  ]
}