---
title: "Validate a schema"
method: POST
path: "/v1/extractions/schema/validate"
tags: ["extractions"]
---

# Validate a schema

`POST /v1/extractions/schema/validate`

Validate a schema.

Args:
    params: The parameters for validating a schema.

Returns:
    The validation result.

## Request body

- JsonSchemaValidateParams — Parameters for validating a JSON schema.
  - `json_schema` object, required — The JSON schema to validate

## Response `200`

The validation result

- ValidatedJsonSchema — Result of validating a JSON schema.
  - `is_valid` boolean, required — Whether the schema is valid
  - `errors` string[], required — List of validation errors
  - `json_schema` object, required — The validated JSON schema

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/mixedbread/apis/mxbai-omni.md) · [All operations](https://skmtc.net/mixedbread/apis/mxbai-omni/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mixedbread/mxbai-omni/revisions/f66774ddecfc/schema)
