---
title: "POST /providers/Microsoft.AzureDataTransfer/validateSchema"
method: POST
path: "/providers/Microsoft.AzureDataTransfer/validateSchema"
---

# POST /providers/Microsoft.AzureDataTransfer/validateSchema

`POST /providers/Microsoft.AzureDataTransfer/validateSchema`

Validates the structure and content of a schema for use in Azure Data Transfer. This operation has reached end of life support starting version 2025-05-30-preview. For schema support please create and use a FlowProfile resource.

## Parameters

- `../../../../../common-types/resource-management/v5/types.json#/components/parameters/ApiVersionParameter` — unresolved $ref

## Request body

- Schema — The schema object. Schemas has reached end of life support starting version 2025-05-30-preview. Please manage schemas with a FlowProfile resource instead.
  - `id` string — ID associated with this schema
  - `connectionId` string — Connection ID associated with this schema
  - `status` 'New' | 'Approved' — Status of the schema.
  - `name` string — Name of the schema
  - `content` string — Content of the schema
  - `direction` 'Send' | 'Receive' — Direction of data movement
  - `schemaUri` string, uri — Uri containing SAS token for the zipped schema
  - `schemaType` 'Xsd' | 'Zip' — The Schema Type.

## Response `200`

The request has succeeded.

- ValidateSchemaResult — Result of the schema validation. ValidateSchemaResult has reached end of life support starting version 2025-05-30-preview. Please manage schemas with a FlowProfile resource instead.
  - `status` 'Succeeded' | 'Failed' — Validation status of the schema
  - `message` string — Message describing the schema validation

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.net/azure/apis/azuredatatransfer-microsoft-azuredatatransfer.md) · [All operations](https://skmtc.net/azure/apis/azuredatatransfer-microsoft-azuredatatransfer/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/azuredatatransfer-microsoft-azuredatatransfer/revisions/bd23203a5519/schema)
