From 9a500e0fe692ecab6c5e2dccbe8b14ded78712ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=99=E6=97=AD=E8=BE=89?= Date: Wed, 20 Nov 2024 20:51:59 +0800 Subject: [PATCH] =?UTF-8?q?description:metadata=E7=9A=84value=E6=94=AF?= =?UTF-8?q?=E6=8C=81=E9=85=8D=E7=BD=AE=E5=AD=97=E7=AC=A6=E4=B8=B2=E5=BC=95?= =?UTF-8?q?=E7=94=A8=EF=BC=88=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 孙旭辉 --- modulecheck/module.json | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/modulecheck/module.json b/modulecheck/module.json index 39621512..0cbefe1e 100644 --- a/modulecheck/module.json +++ b/modulecheck/module.json @@ -310,6 +310,14 @@ }, "value": { "description": "Indicates the value of a data element. The value is a string with a maximum of 255 bytes.", + "oneOf": [ + { + "pattern": ".*" + }, + { + "pattern": "^[$]string:[0-9a-zA-Z_.]+|(?=.*[{])(?=.*[}])[0-9a-zA-Z_.{}]+$" + } + ], "type": "string", "maxLength": 255 }, @@ -453,6 +461,14 @@ }, "value": { "description": "Indicates the value of a data element. The value is a string with a maximum of 255 bytes.", + "oneOf": [ + { + "pattern": ".*" + }, + { + "pattern": "^[$]string:[0-9a-zA-Z_.]+|(?=.*[{])(?=.*[}])[0-9a-zA-Z_.{}]+$" + } + ], "type": "string", "maxLength": 255 }, @@ -1188,6 +1204,14 @@ }, "value": { "description": "Indicates the value of a data element. The value is a string with a maximum of 255 bytes.", + "oneOf": [ + { + "pattern": ".*" + }, + { + "pattern": "^[$]string:[0-9a-zA-Z_.]+|(?=.*[{])(?=.*[}])[0-9a-zA-Z_.{}]+$" + } + ], "type": "string", "maxLength": 255 }, -- Gitee