Fix schema type
This commit is contained in:
@@ -110,10 +110,36 @@
|
|||||||
"options": {
|
"options": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"enum": {
|
"enum": {
|
||||||
"items": {
|
"anyOf": [
|
||||||
"type": "string"
|
{
|
||||||
},
|
"maxItems": 0,
|
||||||
"type": "array"
|
"minItems": 0,
|
||||||
|
"type": "array"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"items": [
|
||||||
|
{
|
||||||
|
"type": "number"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"maxItems": 1,
|
||||||
|
"minItems": 1,
|
||||||
|
"type": "array"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"items": [
|
||||||
|
{
|
||||||
|
"type": "number"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "number"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"maxItems": 2,
|
||||||
|
"minItems": 2,
|
||||||
|
"type": "array"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"type": "object"
|
"type": "object"
|
||||||
|
|||||||
Reference in New Issue
Block a user