{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-backup/json-schema/microsoft-azure-backup-instant-item-recovery-target-schema.json",
  "title": "InstantItemRecoveryTarget",
  "description": "Target details for file / folder restore.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_superseded/microsoft-azure-backup-itemlevelrecoveryconnections-api-openapi.yml#/components/schemas/InstantItemRecoveryTarget",
  "type": "object",
  "properties": {
    "clientScripts": {
      "type": "array",
      "description": "List of client scripts.",
      "items": {
        "$ref": "#/$defs/ClientScriptForConnect"
      },
      "x-ms-identifiers": []
    }
  },
  "$defs": {
    "ClientScriptForConnect": {
      "type": "object",
      "description": "Client script details for file / folder restore.",
      "properties": {
        "scriptContent": {
          "type": "string",
          "format": "password",
          "description": "File content of the client script for file / folder restore.",
          "x-ms-secret": true
        },
        "scriptExtension": {
          "type": "string",
          "description": "File extension of the client script for file / folder restore - .ps1 , .sh , etc."
        },
        "osType": {
          "type": "string",
          "description": "OS type - Windows, Linux etc. for which this file / folder restore client script works."
        },
        "url": {
          "type": "string",
          "description": "URL of Executable from where to source the content. If this is not null then ScriptContent should not be used"
        },
        "scriptNameSuffix": {
          "type": "string",
          "description": "Mandatory suffix that should be added to the name of script that is given for download to user.\nIf its null or empty then , ignore it."
        }
      }
    }
  }
}