This commit is contained in:
Yuri Kuznetsov
2024-05-15 10:30:10 +03:00
parent 62b2314ff3
commit c5828a9feb
+22
View File
@@ -175,6 +175,7 @@
"properties": {
"type": {
"anyOf": [
{"const": "varchar"},
{"const": "enum"},
{"const": "multiEnum"},
{"const": "array"},
@@ -348,6 +349,27 @@
}
}
},
{
"if": {
"properties": {
"type": {
"anyOf": [
{"const": "varchar"},
{"const": "array"},
{"const": "multiEnum"}
]
}
}
},
"then": {
"properties": {
"pattern": {
"type": "string",
"description": "A regular expression to check a field value against. If starts with $, a predefined named expression will be used."
}
}
}
},
{
"if": {
"properties": {