-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
Is there a way to support more detail rules in array items?
I wish to have an array of UUID which the json schema will look like this:
{
"ids": {
"type": "array",
"minItems": 1,
"items": {
"type": "string",
"pattern": "/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i"
}
}
}
and an array of string and boolean in an array like this:
{
"order": {
"type": "array",
"minItems": 1,
"items": {
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": [{
"type": "string"
}, {
"type": "boolean"
}]
}
}
}
Metadata
Metadata
Assignees
Labels
No labels