Adding ui-json schemas (#188)

This commit is contained in:
Daan Verstraten
2023-10-24 00:31:52 +02:00
committed by GitHub
parent 6643219664
commit 325b02b2e3
17 changed files with 1875 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
{
"title": "Variable",
"description": "A variable is a reference to a value that can be used in the UI.",
"type": "string",
"anyOf": [
{
"type": "string",
"pattern": "^\\$[a-zA-Z0-9_]+$"
},
{
"type": "string",
"pattern": "^#[a-zA-Z0-9_]+$"
},
{
"type": "string",
"pattern": "^\\(.*\\)$"
}
],
"examples": ["$variable", "($variable)"]
}