---
title: JSON_SCHEMA_VALIDATE
url: https://www.tines.com/docs/formulas/functions/json-schema-validate/
kind: formula-function
---

*[tines.com](https://www.tines.com/llms.txt) › [Docs](https://www.tines.com/llms.txt) › [Formulas](https://www.tines.com/llm/docs/formulas.md) › [Functions](https://www.tines.com/llm/docs/formulas/functions.md)*

# JSON_SCHEMA_VALIDATE

*[View on tines.com](https://www.tines.com/docs/formulas/functions/json-schema-validate/)*

Returns a validation error message if the object provided does not match the provided json schema, using the https://json-schema.org/ syntax or an empty string otherwise.

**Categories:** Objects

## Syntax

```
JSON_SCHEMA_VALIDATE(object, any)
```

## Examples

### Example 1

Input:

```json
{
  "schema": {
    "type": "object",
    "properties": {
      "abc": {
        "type": "integer",
        "minimum": 11
      }
    }
  },
  "my_action": {
    "value1": {
      "abc": 10
    }
  }
}
```

Formula:

```
JSON_SCHEMA_VALIDATE(schema, my_action.value1)
```

Output:

```json
"Number at `/abc` is less than: 11"
```
