From eab7abae381d30743fe015fe73a0af4635eaafc3 Mon Sep 17 00:00:00 2001 From: fengzero Date: Thu, 30 Dec 2021 01:58:15 +0000 Subject: [PATCH] schema: add file type --- plugin_param_schema.json | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/plugin_param_schema.json b/plugin_param_schema.json index e5c89407..d8e7ba39 100644 --- a/plugin_param_schema.json +++ b/plugin_param_schema.json @@ -81,7 +81,7 @@ "type": "string", "default": "", "condition": { - "filed": "ssl", + "field": "ssl", "value": true }, "valid": { @@ -94,13 +94,26 @@ "attribute": "required", "type": "string", "condition": { - "filed": "ssl", + "field": "ssl", "value": true }, "default": "", "valid": { "length": 100 } + }, + "ca": { + "name": "ca", + "description": "", + "attribute": "optional", + "type": "file", + "condition": { + "field": "ssl", + "value": true + }, + "valid": { + "length": 1024 + } } }, "opcua-plugin": {