74 lines
1.2 KiB
Markdown
74 lines
1.2 KiB
Markdown
![]() |
---
|
||
|
name: Bug or error report
|
||
|
about: Please use for issues with incorrect validation behaviour
|
||
|
title: ''
|
||
|
labels: ''
|
||
|
assignees: ''
|
||
|
|
||
|
---
|
||
|
|
||
|
**What version of Ajv are you using? Does the issue happen if you use the latest version?**
|
||
|
|
||
|
|
||
|
|
||
|
**Ajv options object**
|
||
|
|
||
|
<!-- See https://github.com/epoberezkin/ajv#options -->
|
||
|
|
||
|
```javascript
|
||
|
|
||
|
|
||
|
```
|
||
|
|
||
|
|
||
|
**JSON Schema**
|
||
|
|
||
|
<!-- Please make it as small as possible to reproduce the issue -->
|
||
|
|
||
|
```json
|
||
|
|
||
|
|
||
|
```
|
||
|
|
||
|
|
||
|
**Sample data**
|
||
|
|
||
|
<!-- Please make it as small as posssible to reproduce the issue -->
|
||
|
|
||
|
```json
|
||
|
|
||
|
|
||
|
```
|
||
|
|
||
|
|
||
|
**Your code**
|
||
|
|
||
|
<!--
|
||
|
Please:
|
||
|
- make it as small as posssible to reproduce the issue
|
||
|
- use one of the usage patterns from https://github.com/epoberezkin/ajv#getting-started
|
||
|
- use `options`, `schema` and `data` as variables, do not repeat their values here
|
||
|
- post a working code sample in RunKit notebook cloned from https://runkit.com/esp/ajv-issue and include the link here.
|
||
|
|
||
|
It would make understanding your problem easier and the issue more useful to others.
|
||
|
Thank you!
|
||
|
-->
|
||
|
|
||
|
```javascript
|
||
|
|
||
|
|
||
|
```
|
||
|
|
||
|
|
||
|
**Validation result, data AFTER validation, error messages**
|
||
|
|
||
|
```
|
||
|
|
||
|
|
||
|
```
|
||
|
|
||
|
**What results did you expect?**
|
||
|
|
||
|
|
||
|
**Are you going to resolve the issue?**
|