{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-backup/json-schema/microsoft-azure-backup-prepare-data-move-request-schema.json",
  "title": "PrepareDataMoveRequest",
  "description": "Prepare DataMove Request",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_superseded/microsoft-azure-backup-backupresourcestorageconfigsnoncrr-api-openapi.yml#/components/schemas/PrepareDataMoveRequest",
  "type": "object",
  "properties": {
    "targetResourceId": {
      "type": "string",
      "description": "ARM Id of target vault"
    },
    "targetRegion": {
      "type": "string",
      "description": "Target Region"
    },
    "dataMoveLevel": {
      "$ref": "#/$defs/DataMoveLevel",
      "description": "DataMove Level"
    },
    "sourceContainerArmIds": {
      "type": "array",
      "description": "Source Container ArmIds\nThis needs to be populated only if DataMoveLevel is set to container",
      "items": {
        "type": "string"
      }
    },
    "ignoreMoved": {
      "type": "boolean",
      "description": "Ignore the artifacts which are already moved."
    }
  },
  "required": [
    "targetResourceId",
    "targetRegion",
    "dataMoveLevel"
  ],
  "$defs": {
    "DataMoveLevel": {
      "type": "string",
      "description": "DataMove Level",
      "enum": [
        "Invalid",
        "Vault",
        "Container"
      ],
      "x-ms-enum": {
        "name": "DataMoveLevel",
        "modelAsString": true,
        "values": [
          {
            "name": "Invalid",
            "value": "Invalid"
          },
          {
            "name": "Vault",
            "value": "Vault"
          },
          {
            "name": "Container",
            "value": "Container"
          }
        ]
      }
    }
  }
}