ajv-validator / ajv-validator/ajv-keywords

Validate object containing object for uniqueness

Open
#387 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
257
Forks
51
PR merge metrics
No merged PRs in 30d

Description

Hi,

I have the example like below,
```
"obj2":
{
{
"prop1": "baz", "prop2": 999
},
{
"prop1": "qux", "prop2": 555
}
}
```

i.e object containing objects, now in this i need '**_prop1_**' field to have unique values.

**_Note:_**: I know this is possible when it is array of object, but i dont think there is any solution for the same case when object containing objects.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.