Hello ..
According JSON specification Draft v4, it is possible to validate uniqueness of item in an array data by "uniqueItems" keyword.
But I could not find any way in object properites case.
Actually, I would like to validate the uniqueness of following JSON object;
{
"id" : "182738492-1029384",
"data1" : "...",
"data2" : "...",
...,
"id" : "xxx738492-xxx9384"
}
I had tried to make a proper schema with which JSON parser could validate the second "id" property not to occur inadvertently again.
But I could not succeed to find proper way in the schema level.
Is it impossible to validate the duplication check for the object properties with JSON schema?