[MDEV-32752] JSON_SCHEMA_VALID: schema does not allow an array of objects Created: 2023-11-09 Updated: 2023-11-13 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | JSON |
| Affects Version/s: | 11.1.2 |
| Fix Version/s: | 11.1, 11.2 |
| Type: | Bug | Priority: | Major |
| Reporter: | Henrique Spadim | Assignee: | Rucha Deodhar |
| Resolution: | Unresolved | Votes: | 1 |
| Labels: | None | ||
| Environment: |
A VM Ware machine with Linux 5.4.0-163-generic #180-Ubuntu 2023 x86_64 x86_64 x86_64 GNU/Linux |
||
| Description |
DescriptionI'm not able to validate an array of objects. VerificationI've tried to validate the following JSON schema with JSON_SCHEMA_VALID and it returned 0:
MiscI've tested with others JSON Schema validators in C#, JavasScript, Python3 and all of those gave me a correct answer. I've tried to find any test related to list of objects (func json test) but couldn't find any. |