# Validate structure

Validate the structure and version of exported data without applying it to the target tenant

Endpoint: POST /version/validate/{tenantId}
Security: bearer

## Path parameters:

  - `tenantId` (string, required)
    Tenant ID specifying the environment against which the exported data is validated

## Query parameters:

  - `format` (string, required)
    Format of data to validate
    Enum: "json", "zip"

## Request fields (application/json):

  - `version` (string, required)
    Version tag of the exported configuration

  - `application` (object, required)
    Application export data

  - `application.path` (string, required)
    The path to the resource

  - `application.data` (object, required)
    The data of the resource

  - `application.category` (string, required)
    The category of the resource

  - `application.type` (string, required)
    The type of the resource

  - `external_connections_and_typed_lists` (array, required)
    External connections and typed lists referenced by the export. These references are not exported secrets and must resolve to existing resources in the target tenant

  - `external_connections_and_typed_lists.path` (string, required)
    The path to the resource

  - `external_connections_and_typed_lists.data` (object, required)
    The data of the resource

  - `external_connections_and_typed_lists.category` (string, required)
    The category of the resource

  - `external_connections_and_typed_lists.type` (string, required)
    The type of the resource

  - `keys_alias` (object, required)
    List of key aliases referenced by the export. These keys must already exist in the target tenant before import

  - `keys_alias.alias` (string, required)
    Alias of the referenced resource. Must match an existing resource alias in the target tenant

  - `keys_alias.version` (string, required)
    Version identifier of the referenced resource. Used to ensure compatibility during import

  - `credentials_alias` (object, required)
    List of credential aliases referenced by the export. These credentials must already exist in the target tenant before import

  - `credentials_alias.alias` (string, required)
    Alias of the referenced resource. Must match an existing resource alias in the target tenant

  - `credentials_alias.version` (string, required)
    Version identifier of the referenced resource. Used to ensure compatibility during import

  - `certificates_alias` (object, required)
    List of certificate aliases referenced by the export. These certificates must already exist in the target tenant before import

  - `certificates_alias.alias` (string, required)
    Alias of the referenced resource. Must match an existing resource alias in the target tenant

  - `certificates_alias.version` (string, required)
    Version identifier of the referenced resource. Used to ensure compatibility during import

  - `environment_variables_alias` (array, required)
    List of environment variable aliases referenced by the export. These environment variables must already exist in the target tenant before import

## Response 201 fields (application/json):

  - `status` (string, required)
    Response status indicator
    Enum: "success", "failure", "not applicable"

  - `message` (string, required)
    Validation result message
    Enum: "Validation completed successfully", "Validation failed"

  - `details` (array)
    Validation errors (only present on failure)

  - `details.type` (string, required)
    Type of validation error
    Enum: "VERSION_MISMATCH", "MISSING_CREDENTIALS", "MISSING_CERTIFICATES", "MISSING_KEYS", "MISSING_ENVIRONMENT_VARIABLES", "EMPTY_EXPORT_DATA", "INVALID_IDO_STRUCTURE", "ZIP_FILE_SIZE_LIMIT_EXCEEDED", "INVALID_AUTHENTICATION_AND_USER_MANAGEMENT_INPUT"

  - `details.message` (string, required)
    Error message

  - `details.details` (array)
    Error details


## Response 400 fields

## Response 401 fields

## Response 500 fields
