{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure/json-schema/microsoft-azure-deployment-validate-result-schema.json",
  "title": "DeploymentValidateResult",
  "description": "Information from validate template deployment response.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-deployments-api-openapi.yml#/components/schemas/DeploymentValidateResult",
  "type": "object",
  "properties": {
    "error": {
      "$ref": "#/$defs/ErrorResponse",
      "description": "The deployment validation error.",
      "readOnly": true
    },
    "id": {
      "type": "string",
      "description": "The ID of the deployment.",
      "readOnly": true
    },
    "name": {
      "type": "string",
      "description": "The name of the deployment.",
      "readOnly": true
    },
    "type": {
      "type": "string",
      "description": "The type of the deployment.",
      "readOnly": true
    },
    "properties": {
      "$ref": "#/$defs/DeploymentPropertiesExtended",
      "description": "The template deployment properties."
    }
  },
  "$defs": {
    "Alias": {
      "type": "object",
      "description": "The alias type.",
      "properties": {
        "name": {
          "type": "string",
          "description": "The alias name."
        },
        "paths": {
          "type": "array",
          "description": "The paths for an alias.",
          "items": {
            "$ref": "#/$defs/AliasPath"
          },
          "x-ms-identifiers": []
        },
        "type": {
          "$ref": "#/$defs/AliasType",
          "description": "The type of the alias."
        },
        "defaultPath": {
          "type": "string",
          "description": "The default path for an alias."
        },
        "defaultPattern": {
          "$ref": "#/$defs/AliasPattern",
          "description": "The default pattern for an alias."
        },
        "defaultMetadata": {
          "$ref": "#/$defs/AliasPathMetadata",
          "description": "The default alias path metadata. Applies to the default path and to any alias path that doesn't have metadata",
          "readOnly": true
        }
      }
    },
    "AliasPath": {
      "type": "object",
      "description": "The type of the paths for alias.",
      "properties": {
        "path": {
          "type": "string",
          "description": "The path of an alias."
        },
        "apiVersions": {
          "type": "array",
          "description": "The API versions.",
          "items": {
            "type": "string"
          }
        },
        "pattern": {
          "$ref": "#/$defs/AliasPattern",
          "description": "The pattern for an alias path."
        },
        "metadata": {
          "$ref": "#/$defs/AliasPathMetadata",
          "description": "The metadata of the alias path. If missing, fall back to the default metadata of the alias.",
          "readOnly": true
        }
      }
    },
    "AliasPathAttributes": {
      "type": "string",
      "description": "The attributes of the token that the alias path is referring to.",
      "enum": [
        "None",
        "Modifiable"
      ],
      "x-ms-enum": {
        "name": "AliasPathAttributes",
        "modelAsString": true,
        "values": [
          {
            "name": "None",
            "value": "None",
            "description": "The token that the alias path is referring to has no attributes."
          },
          {
            "name": "Modifiable",
            "value": "Modifiable",
            "description": "The token that the alias path is referring to is modifiable by policies with 'modify' effect."
          }
        ]
      }
    },
    "AliasPathMetadata": {
      "type": "object",
      "properties": {
        "type": {
          "$ref": "#/$defs/AliasPathTokenType",
          "description": "The type of the token that the alias path is referring to.",
          "readOnly": true
        },
        "attributes": {
          "$ref": "#/$defs/AliasPathAttributes",
          "description": "The attributes of the token that the alias path is referring to.",
          "readOnly": true
        }
      }
    },
    "AliasPathTokenType": {
      "type": "string",
      "description": "The type of the token that the alias path is referring to.",
      "enum": [
        "NotSpecified",
        "Any",
        "String",
        "Object",
        "Array",
        "Integer",
        "Number",
        "Boolean"
      ],
      "x-ms-enum": {
        "name": "AliasPathTokenType",
        "modelAsString": true,
        "values": [
          {
            "name": "NotSpecified",
            "value": "NotSpecified",
            "description": "The token type is not specified."
          },
          {
            "name": "Any",
            "value": "Any",
            "description": "The token type can be anything."
          },
          {
            "name": "String",
            "value": "String",
            "description": "The token type is string."
          },
          {
            "name": "Object",
            "value": "Object",
            "description": "The token type is object."
          },
          {
            "name": "Array",
            "value": "Array",
            "description": "The token type is array."
          },
          {
            "name": "Integer",
            "value": "Integer",
            "description": "The token type is integer."
          },
          {
            "name": "Number",
            "value": "Number",
            "description": "The token type is number."
          },
          {
            "name": "Boolean",
            "value": "Boolean",
            "description": "The token type is boolean."
          }
        ]
      }
    },
    "AliasPattern": {
      "type": "object",
      "description": "The type of the pattern for an alias path.",
      "properties": {
        "phrase": {
          "type": "string",
          "description": "The alias pattern phrase."
        },
        "variable": {
          "type": "string",
          "description": "The alias pattern variable."
        },
        "type": {
          "$ref": "#/$defs/AliasPatternType",
          "description": "The type of alias pattern"
        }
      }
    },
    "AliasPatternType": {
      "type": "string",
      "description": "The type of alias pattern",
      "enum": [
        "NotSpecified",
        "Extract"
      ],
      "x-ms-enum": {
        "name": "AliasPatternType",
        "modelAsString": false,
        "values": [
          {
            "name": "NotSpecified",
            "value": "NotSpecified",
            "description": "NotSpecified is not allowed."
          },
          {
            "name": "Extract",
            "value": "Extract",
            "description": "Extract is the only allowed value."
          }
        ]
      }
    },
    "AliasType": {
      "type": "string",
      "description": "The type of the alias.",
      "enum": [
        "NotSpecified",
        "PlainText",
        "Mask"
      ],
      "x-ms-enum": {
        "name": "AliasType",
        "modelAsString": false,
        "values": [
          {
            "name": "NotSpecified",
            "value": "NotSpecified",
            "description": "Alias type is unknown (same as not providing alias type)."
          },
          {
            "name": "PlainText",
            "value": "PlainText",
            "description": "Alias value is not secret."
          },
          {
            "name": "Mask",
            "value": "Mask",
            "description": "Alias value is secret."
          }
        ]
      }
    },
    "ApiProfile": {
      "type": "object",
      "properties": {
        "profileVersion": {
          "type": "string",
          "description": "The profile version.",
          "readOnly": true
        },
        "apiVersion": {
          "type": "string",
          "description": "The API version.",
          "readOnly": true
        }
      }
    },
    "BasicDependency": {
      "type": "object",
      "description": "Deployment dependency information.",
      "properties": {
        "id": {
          "type": "string",
          "description": "The ID of the dependency."
        },
        "resourceType": {
          "type": "string",
          "description": "The dependency resource type."
        },
        "resourceName": {
          "type": "string",
          "description": "The dependency resource name."
        }
      }
    },
    "DebugSetting": {
      "type": "object",
      "description": "The debug setting.",
      "properties": {
        "detailLevel": {
          "type": "string",
          "description": "Specifies the type of information to log for debugging. The permitted values are none, requestContent, responseContent, or both requestContent and responseContent separated by a comma. The default is none. When setting this value, carefully consider the type of information you are passing in during deployment. By logging information about the request or response, you could potentially expose sensitive data that is retrieved through the deployment operations."
        }
      }
    },
    "Dependency": {
      "type": "object",
      "description": "Deployment dependency information.",
      "properties": {
        "dependsOn": {
          "type": "array",
          "description": "The list of dependencies.",
          "items": {
            "$ref": "#/$defs/BasicDependency"
          }
        },
        "id": {
          "type": "string",
          "description": "The ID of the dependency."
        },
        "resourceType": {
          "type": "string",
          "description": "The dependency resource type."
        },
        "resourceName": {
          "type": "string",
          "description": "The dependency resource name."
        }
      }
    },
    "DeploymentDiagnosticsDefinition": {
      "type": "object",
      "properties": {
        "level": {
          "$ref": "#/$defs/Level",
          "description": "Denotes the additional response level.",
          "readOnly": true
        },
        "code": {
          "type": "string",
          "description": "The error code.",
          "readOnly": true
        },
        "message": {
          "type": "string",
          "description": "The error message.",
          "readOnly": true
        },
        "target": {
          "type": "string",
          "description": "The error target.",
          "readOnly": true
        },
        "additionalInfo": {
          "type": "array",
          "description": "The error additional info.",
          "items": {
            "$ref": "#/$defs/ErrorAdditionalInfo"
          },
          "readOnly": true,
          "x-ms-identifiers": []
        }
      },
      "required": [
        "level",
        "code",
        "message"
      ]
    },
    "DeploymentExtensionConfigItem": {
      "type": "object",
      "description": "Represents the value for an extension config property.",
      "properties": {
        "value": {
          "description": "The value of the extension config property."
        },
        "keyVaultReference": {
          "$ref": "#/$defs/KeyVaultParameterReference",
          "description": "The Azure Key Vault reference used to retrieve the secret value of the extension config property."
        }
      }
    },
    "DeploymentExtensionDefinition": {
      "type": "object",
      "properties": {
        "alias": {
          "type": "string",
          "description": "The alias of the extension as defined in the deployment template.",
          "readOnly": true
        },
        "name": {
          "type": "string",
          "description": "The extension name.",
          "readOnly": true
        },
        "version": {
          "type": "string",
          "description": "The extension version.",
          "readOnly": true
        },
        "configId": {
          "type": "string",
          "description": "The extension configuration ID. It uniquely identifies a deployment target within an extension.",
          "readOnly": true
        },
        "configHash": {
          "type": "string",
          "description": "The extension configuration hash. Can be used to distinguish different configurations that have the same config ID.",
          "readOnly": true
        },
        "config": {
          "type": "object",
          "description": "The extension configuration.",
          "additionalProperties": {
            "$ref": "#/$defs/DeploymentExtensionConfigItem"
          },
          "readOnly": true
        }
      }
    },
    "DeploymentMode": {
      "type": "string",
      "description": "The mode that is used to deploy resources. This value can be either Incremental or Complete. In Incremental mode, resources are deployed without deleting existing resources that are not included in the template. In Complete mode, resources are deployed and existing resources in the resource group that are not included in the template are deleted. Be careful when using Complete mode as you may unintentionally delete resources.",
      "enum": [
        "Incremental",
        "Complete"
      ],
      "x-ms-enum": {
        "name": "DeploymentMode",
        "modelAsString": false,
        "values": [
          {
            "name": "Incremental",
            "value": "Incremental",
            "description": "Incremental"
          },
          {
            "name": "Complete",
            "value": "Complete",
            "description": "Complete"
          }
        ]
      }
    },
    "DeploymentPropertiesExtended": {
      "type": "object",
      "description": "Deployment properties with additional details.",
      "properties": {
        "provisioningState": {
          "$ref": "#/$defs/ProvisioningState",
          "description": "Denotes the state of provisioning.",
          "readOnly": true
        },
        "correlationId": {
          "type": "string",
          "description": "The correlation ID of the deployment.",
          "readOnly": true
        },
        "timestamp": {
          "type": "string",
          "format": "date-time",
          "description": "The timestamp of the template deployment.",
          "readOnly": true
        },
        "duration": {
          "type": "string",
          "description": "The duration of the template deployment.",
          "readOnly": true
        },
        "outputs": {
          "description": "Key/value pairs that represent deployment output.",
          "readOnly": true
        },
        "providers": {
          "type": "array",
          "description": "The list of resource providers needed for the deployment.",
          "items": {
            "$ref": "#/$defs/Provider"
          },
          "readOnly": true
        },
        "dependencies": {
          "type": "array",
          "description": "The list of deployment dependencies.",
          "items": {
            "$ref": "#/$defs/Dependency"
          },
          "readOnly": true
        },
        "templateLink": {
          "$ref": "#/$defs/TemplateLink",
          "description": "The URI referencing the template.",
          "readOnly": true
        },
        "parameters": {
          "description": "Deployment parameters.",
          "readOnly": true
        },
        "parametersLink": {
          "$ref": "#/$defs/ParametersLink",
          "description": "The URI referencing the parameters.",
          "readOnly": true
        },
        "extensions": {
          "type": "array",
          "description": "The extensions used in this deployment.",
          "items": {
            "$ref": "#/$defs/DeploymentExtensionDefinition"
          },
          "readOnly": true
        },
        "mode": {
          "$ref": "#/$defs/DeploymentMode",
          "description": "The deployment mode. Possible values are Incremental and Complete.",
          "readOnly": true
        },
        "debugSetting": {
          "$ref": "#/$defs/DebugSetting",
          "description": "The debug setting of the deployment.",
          "readOnly": true
        },
        "onErrorDeployment": {
          "$ref": "#/$defs/OnErrorDeploymentExtended",
          "description": "The deployment on error behavior.",
          "readOnly": true
        },
        "templateHash": {
          "type": "string",
          "description": "The hash produced for the template.",
          "readOnly": true
        },
        "outputResources": {
          "type": "array",
          "description": "Array of provisioned resources.",
          "items": {
            "$ref": "#/$defs/ResourceReference"
          },
          "readOnly": true
        },
        "validatedResources": {
          "type": "array",
          "description": "Array of validated resources.",
          "items": {
            "$ref": "#/$defs/ResourceReference"
          },
          "readOnly": true
        },
        "error": {
          "$ref": "#/$defs/ErrorResponse",
          "description": "The deployment error.",
          "readOnly": true
        },
        "diagnostics": {
          "type": "array",
          "description": "Contains diagnostic information collected during validation process.",
          "items": {
            "$ref": "#/$defs/DeploymentDiagnosticsDefinition"
          },
          "readOnly": true
        },
        "validationLevel": {
          "$ref": "#/$defs/ValidationLevel",
          "description": "The validation level of the deployment"
        }
      }
    },
    "ErrorAdditionalInfo": {
      "type": "object",
      "description": "The resource management error additional info.",
      "properties": {
        "type": {
          "type": "string",
          "description": "The additional info type.",
          "readOnly": true
        },
        "info": {
          "type": "object",
          "description": "The additional info.",
          "readOnly": true
        }
      }
    },
    "ErrorResponse": {
      "type": "object",
      "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.)",
      "properties": {
        "code": {
          "type": "string",
          "description": "The error code.",
          "readOnly": true
        },
        "message": {
          "type": "string",
          "description": "The error message.",
          "readOnly": true
        },
        "target": {
          "type": "string",
          "description": "The error target.",
          "readOnly": true
        },
        "details": {
          "type": "array",
          "description": "The error details.",
          "items": {
            "$ref": "#/$defs/ErrorResponse"
          },
          "readOnly": true,
          "x-ms-identifiers": [
            "message",
            "target"
          ]
        },
        "additionalInfo": {
          "type": "array",
          "description": "The error additional info.",
          "items": {
            "$ref": "#/$defs/ErrorAdditionalInfo"
          },
          "readOnly": true,
          "x-ms-identifiers": []
        }
      }
    },
    "KeyVaultParameterReference": {
      "type": "object",
      "description": "Azure Key Vault parameter reference.",
      "properties": {
        "keyVault": {
          "$ref": "#/$defs/KeyVaultReference",
          "description": "Azure Key Vault reference."
        },
        "secretName": {
          "type": "string",
          "description": "Azure Key Vault secret name."
        },
        "secretVersion": {
          "type": "string",
          "description": "Azure Key Vault secret version."
        }
      },
      "required": [
        "keyVault",
        "secretName"
      ]
    },
    "KeyVaultReference": {
      "type": "object",
      "description": "Azure Key Vault reference.",
      "properties": {
        "id": {
          "type": "string",
          "description": "Azure Key Vault resource id."
        }
      },
      "required": [
        "id"
      ]
    },
    "Level": {
      "type": "string",
      "description": "Denotes the additional response level.",
      "enum": [
        "Warning",
        "Info",
        "Error"
      ],
      "x-ms-enum": {
        "name": "Level",
        "modelAsString": true,
        "values": [
          {
            "name": "Warning",
            "value": "Warning",
            "description": "Warning"
          },
          {
            "name": "Info",
            "value": "Info",
            "description": "Info"
          },
          {
            "name": "Error",
            "value": "Error",
            "description": "Error"
          }
        ]
      }
    },
    "OnErrorDeploymentExtended": {
      "type": "object",
      "description": "Deployment on error behavior with additional details.",
      "properties": {
        "provisioningState": {
          "type": "string",
          "description": "The state of the provisioning for the on error deployment.",
          "readOnly": true
        },
        "type": {
          "$ref": "#/$defs/OnErrorDeploymentType",
          "description": "The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment."
        },
        "deploymentName": {
          "type": "string",
          "description": "The deployment to be used on error case."
        }
      }
    },
    "OnErrorDeploymentType": {
      "type": "string",
      "description": "The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment.",
      "enum": [
        "LastSuccessful",
        "SpecificDeployment"
      ],
      "x-ms-enum": {
        "name": "OnErrorDeploymentType",
        "modelAsString": false,
        "values": [
          {
            "name": "LastSuccessful",
            "value": "LastSuccessful",
            "description": "LastSuccessful"
          },
          {
            "name": "SpecificDeployment",
            "value": "SpecificDeployment",
            "description": "SpecificDeployment"
          }
        ]
      }
    },
    "ParametersLink": {
      "type": "object",
      "description": "Entity representing the reference to the deployment parameters.",
      "properties": {
        "uri": {
          "type": "string",
          "description": "The URI of the parameters file."
        },
        "contentVersion": {
          "type": "string",
          "description": "If included, must match the ContentVersion in the template."
        }
      },
      "required": [
        "uri"
      ]
    },
    "Provider": {
      "type": "object",
      "description": "Resource provider information.",
      "properties": {
        "id": {
          "type": "string",
          "description": "The provider ID.",
          "readOnly": true
        },
        "namespace": {
          "type": "string",
          "description": "The namespace of the resource provider."
        },
        "registrationState": {
          "type": "string",
          "description": "The registration state of the resource provider.",
          "readOnly": true
        },
        "registrationPolicy": {
          "type": "string",
          "description": "The registration policy of the resource provider.",
          "readOnly": true
        },
        "resourceTypes": {
          "type": "array",
          "description": "The collection of provider resource types.",
          "items": {
            "$ref": "#/$defs/ProviderResourceType"
          },
          "readOnly": true,
          "x-ms-identifiers": [
            "resourceType"
          ]
        },
        "providerAuthorizationConsentState": {
          "$ref": "#/$defs/ProviderAuthorizationConsentState",
          "description": "The provider authorization consent state."
        }
      }
    },
    "ProviderAuthorizationConsentState": {
      "type": "string",
      "description": "The provider authorization consent state.",
      "enum": [
        "NotSpecified",
        "Required",
        "NotRequired",
        "Consented"
      ],
      "x-ms-enum": {
        "name": "ProviderAuthorizationConsentState",
        "modelAsString": true,
        "values": [
          {
            "name": "NotSpecified",
            "value": "NotSpecified",
            "description": "NotSpecified"
          },
          {
            "name": "Required",
            "value": "Required",
            "description": "Required"
          },
          {
            "name": "NotRequired",
            "value": "NotRequired",
            "description": "NotRequired"
          },
          {
            "name": "Consented",
            "value": "Consented",
            "description": "Consented"
          }
        ]
      }
    },
    "ProviderExtendedLocation": {
      "type": "object",
      "description": "The provider extended location.",
      "properties": {
        "location": {
          "type": "string",
          "description": "The azure location."
        },
        "type": {
          "type": "string",
          "description": "The extended location type."
        },
        "extendedLocations": {
          "type": "array",
          "description": "The extended locations for the azure location.",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "ProviderResourceType": {
      "type": "object",
      "description": "Resource type managed by the resource provider.",
      "properties": {
        "resourceType": {
          "type": "string",
          "description": "The resource type."
        },
        "locations": {
          "type": "array",
          "description": "The collection of locations where this resource type can be created.",
          "items": {
            "type": "string"
          }
        },
        "locationMappings": {
          "type": "array",
          "description": "The location mappings that are supported by this resource type.",
          "items": {
            "$ref": "#/$defs/ProviderExtendedLocation"
          },
          "x-ms-identifiers": [
            "location",
            "type"
          ]
        },
        "aliases": {
          "type": "array",
          "description": "The aliases that are supported by this resource type.",
          "items": {
            "$ref": "#/$defs/Alias"
          },
          "x-ms-identifiers": [
            "name"
          ]
        },
        "apiVersions": {
          "type": "array",
          "description": "The API version.",
          "items": {
            "type": "string"
          }
        },
        "defaultApiVersion": {
          "type": "string",
          "description": "The default API version.",
          "readOnly": true
        },
        "zoneMappings": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ZoneMapping"
          },
          "x-ms-identifiers": [
            "location"
          ]
        },
        "apiProfiles": {
          "type": "array",
          "description": "The API profiles for the resource provider.",
          "items": {
            "$ref": "#/$defs/ApiProfile"
          },
          "readOnly": true,
          "x-ms-identifiers": [
            "apiVersion",
            "profileVersion"
          ]
        },
        "capabilities": {
          "type": "string",
          "description": "The additional capabilities offered by this resource type."
        },
        "properties": {
          "type": "object",
          "description": "The properties.",
          "additionalProperties": {
            "type": "string"
          }
        }
      }
    },
    "ProvisioningState": {
      "type": "string",
      "description": "Denotes the state of provisioning.",
      "enum": [
        "NotSpecified",
        "Accepted",
        "Running",
        "Ready",
        "Creating",
        "Created",
        "Deleting",
        "Deleted",
        "Canceled",
        "Failed",
        "Succeeded",
        "Updating"
      ],
      "x-ms-enum": {
        "name": "ProvisioningState",
        "modelAsString": true,
        "values": [
          {
            "name": "NotSpecified",
            "value": "NotSpecified",
            "description": "NotSpecified"
          },
          {
            "name": "Accepted",
            "value": "Accepted",
            "description": "Accepted"
          },
          {
            "name": "Running",
            "value": "Running",
            "description": "Running"
          },
          {
            "name": "Ready",
            "value": "Ready",
            "description": "Ready"
          },
          {
            "name": "Creating",
            "value": "Creating",
            "description": "Creating"
          },
          {
            "name": "Created",
            "value": "Created",
            "description": "Created"
          },
          {
            "name": "Deleting",
            "value": "Deleting",
            "description": "Deleting"
          },
          {
            "name": "Deleted",
            "value": "Deleted",
            "description": "Deleted"
          },
          {
            "name": "Canceled",
            "value": "Canceled",
            "description": "Canceled"
          },
          {
            "name": "Failed",
            "value": "Failed",
            "description": "Failed"
          },
          {
            "name": "Succeeded",
            "value": "Succeeded",
            "description": "Succeeded"
          },
          {
            "name": "Updating",
            "value": "Updating",
            "description": "Updating"
          }
        ]
      }
    },
    "ResourceReference": {
      "type": "object",
      "description": "The resource Id model.",
      "properties": {
        "id": {
          "type": "string",
          "description": "The fully qualified Azure resource ID.",
          "readOnly": true
        },
        "extension": {
          "$ref": "#/$defs/DeploymentExtensionDefinition",
          "description": "The extension the resource was deployed with.",
          "readOnly": true
        },
        "resourceType": {
          "type": "string",
          "description": "The resource type.",
          "readOnly": true
        },
        "identifiers": {
          "description": "The extensible resource identifiers.",
          "readOnly": true
        },
        "apiVersion": {
          "type": "string",
          "description": "The API version the resource was deployed with.",
          "readOnly": true
        },
        "symbolicNamePath": {
          "type": "array",
          "description": "The symbolic name path to the resource in the deployment template, including nested deployment(s) and extension if applicable.",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "TemplateLink": {
      "type": "object",
      "description": "Entity representing the reference to the template.",
      "properties": {
        "uri": {
          "type": "string",
          "description": "The URI of the template to deploy. Use either the uri or id property, but not both."
        },
        "id": {
          "type": "string",
          "description": "The resource id of a Template Spec. Use either the id or uri property, but not both."
        },
        "relativePath": {
          "type": "string",
          "description": "The relativePath property can be used to deploy a linked template at a location relative to the parent. If the parent template was linked with a TemplateSpec, this will reference an artifact in the TemplateSpec.  If the parent was linked with a URI, the child deployment will be a combination of the parent and relativePath URIs"
        },
        "contentVersion": {
          "type": "string",
          "description": "If included, must match the ContentVersion in the template."
        },
        "queryString": {
          "type": "string",
          "description": "The query string (for example, a SAS token) to be used with the templateLink URI."
        }
      }
    },
    "ValidationLevel": {
      "type": "string",
      "description": "The level of validation performed on the deployment.",
      "enum": [
        "Template",
        "Provider",
        "ProviderNoRbac"
      ],
      "x-ms-enum": {
        "name": "ValidationLevel",
        "modelAsString": true,
        "values": [
          {
            "name": "Template",
            "value": "Template",
            "description": "Static analysis of the template is performed."
          },
          {
            "name": "Provider",
            "value": "Provider",
            "description": "Static analysis of the template is performed and resource declarations are sent to resource providers for semantic validation. Validates that the caller has RBAC write permissions on each resource."
          },
          {
            "name": "ProviderNoRbac",
            "value": "ProviderNoRbac",
            "description": "Static analysis of the template is performed and resource declarations are sent to resource providers for semantic validation. Skips validating that the caller has RBAC write permissions on each resource."
          }
        ]
      }
    },
    "ZoneMapping": {
      "type": "object",
      "properties": {
        "location": {
          "type": "string",
          "description": "The location of the zone mapping."
        },
        "zones": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    }
  }
}