mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-07-25 05:46:13 +00:00
fix(schema): adapt str type session id
This commit is contained in:
@@ -23,7 +23,7 @@
|
|||||||
"items": {
|
"items": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"format": "regex",
|
"format": "regex",
|
||||||
"pattern": "^(person|group)_(\\d)*$"
|
"pattern": "^(person|group)_.*$"
|
||||||
},
|
},
|
||||||
"default": []
|
"default": []
|
||||||
},
|
},
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
"items": {
|
"items": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"format": "regex",
|
"format": "regex",
|
||||||
"pattern": "^(person|group)_(\\d)*$"
|
"pattern": "^(person|group)_.*$"
|
||||||
},
|
},
|
||||||
"default": []
|
"default": []
|
||||||
}
|
}
|
||||||
@@ -99,7 +99,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"patternProperties": {
|
"patternProperties": {
|
||||||
"^\\d+$": {
|
"^.*$": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"at": {
|
"at": {
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
"items": {
|
"items": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"format": "regex",
|
"format": "regex",
|
||||||
"pattern": "^(person|group)_(\\d+)$"
|
"pattern": "^(person|group)_.*$"
|
||||||
},
|
},
|
||||||
"default": []
|
"default": []
|
||||||
},
|
},
|
||||||
@@ -52,7 +52,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"patternProperties": {
|
"patternProperties": {
|
||||||
"^(person|group)_(\\d+)$": {
|
"^(person|group)_.*$": {
|
||||||
"type": "integer"
|
"type": "integer"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user