Add map type in schema

This commit is contained in:
fengzero
2021-10-27 02:11:38 +00:00
parent 60fbfba4d9
commit 7f8a3228c9
+15 -4
View File
@@ -90,10 +90,21 @@
},
"connection_mode": {
"name": "connection mode",
"description": "false means neuron as the client, true means neuron as the server",
"type": "bool",
"default": false,
"valid": {}
"description": "neuron as the client, or as the server",
"type": "map",
"default": 0,
"valid": {
"map": [
{
"key": "client",
"value": 0
},
{
"key": "server",
"value": 1
}
]
}
}
}
}