diff --git a/etc/schema.json b/etc/schema.json index e4b097bd77..cbfae61eb5 100644 --- a/etc/schema.json +++ b/etc/schema.json @@ -354,8 +354,51 @@ "optional": false }, "nodes": { - "type": "string", - "optional": true + "type": "array", + "optional": true, + "items": { + "type": "object", + "items": { + "type": "object", + "additionalProperties": false, + "properties": { + "id": { + "type": "string", + "optional": false + }, + "ip": { + "type": "string", + "optional": false + }, + "port": { + "type": "number", + "optional": false + } + } + } + } + }, + "nodes6": { + "type": "array", + "optional": true, + "items": { + "type": "object", + "additionalProperties": false, + "properties": { + "id": { + "type": "string", + "optional": false + }, + "ip": { + "type": "string", + "optional": false + }, + "port": { + "type": "number", + "optional": false + } + } + } }, "token": { "type": "string", @@ -365,7 +408,7 @@ "type": "array", "optional": true, "items": { - "type": "string" + "type": "object" } } }