Let's suppose that I have this schema:
"array": {
  "type": "array",
  "items": {
    "type": "object",
    "properties": {"id": {"type": "integer"}, "value": {"type": "number"}}
  },
  "uniqueItems": true
}
But I need to ensure that there are no objects with duplicate ids in this array. I don't want two objects with the same ids. Is it possible to define restriction on object uniqueness by its "id" property only?
