schema
This commit is contained in:
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user