Is there any way I can check the uniqueness of the values in json schema?

28 Views Asked by At

I have a lot of objects with identical fields and I need to check that the people who filled the objects with data did not fill the title and id fields with the same values (these fields should be permanently only with unique values)

The structure of object:

ASASFAS:   # id must be unique
    title: 'Name of object'   # title must be unique
    description: 'description'
    event: 'new_event'

I don't understand how to implement this using json schema and sonata. I'm new to this.

0

There are 0 best solutions below