I have a specific request that follows a certain format:
{
"uuid_1": [{obj}, {obj}, {obj}],
"uuid_2": [{obj}, {obj}],
...
"uuid_n": [{obj}, {obj}],
}
The object 'obj' is a simple object that contains a few IDs, such as:
{
id: string,
userId: string,
}
I want to maintain this JSON format as making changes would involve additional data processing on both the frontend and backend.
It is important to note that the uuids are generated randomly, so I cannot predict what uuids to expect.
So far, I have specified that the keys of the object must be in uuid format using:
"propertyNames": { "format": "uuid" }
My question is, how can I define a JSON schema for the values within this object? Thank you.