diff --git a/schemas/api-config/field.json b/schemas/api-config/field.json index f6b21aa..9a5afbb 100644 --- a/schemas/api-config/field.json +++ b/schemas/api-config/field.json @@ -31,19 +31,27 @@ } }, "subFields": { - "type": "array", - "description": "sub fields of object", - "items": { - "oneOf": [ - { - "$comment": "for include tag", - "type": "string" - }, - { - "$ref": "#" + "oneOf": [ + { + "$comment": "for include tag", + "type": "string" + }, + { + "type": "array", + "description": "sub fields of object", + "items": { + "oneOf": [ + { + "$comment": "for include tag", + "type": "string" + }, + { + "$ref": "#" + } + ] } - ] - } + } + ] }, "meta": { "type": "object",