schema fieldArray
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-08-16 10:24:45 +02:00
parent d0773b5ceb
commit 7743cebae3
3 changed files with 53 additions and 25 deletions

View File

@@ -173,34 +173,44 @@
]
},
"fields": {
"type": "array",
"description": "fields of collection",
"items": {
"oneOf": [
{
"$comment": "for include tag",
"type": "string"
},
{
"$ref": "field.json"
"oneOf": [
{ "$comment": "for include tag", "type": "string" },
{
"type": "array",
"description": "fields of collection",
"items": {
"oneOf": [
{
"$comment": "for include tag",
"type": "string"
},
{
"$ref": "field.json"
}
]
}
]
}
}
]
},
"indexes": {
"type": "array",
"description": "indexes of collection",
"items": {
"oneOf": [
{
"$comment": "for include tag",
"type": "string"
},
{
"$ref": "index.json"
"oneOf": [
{ "$comment": "for include tag", "type": "string" },
{
"type": "array",
"description": "indexes of collection",
"items": {
"oneOf": [
{
"$comment": "for include tag",
"type": "string"
},
{
"$ref": "index.json"
}
]
}
]
}
}
]
}
},
"required": ["name", "permissions"]