fix(schema): adapt str type session id

This commit is contained in:
Junyan Qin
2025-03-12 21:32:19 +08:00
parent 3fe7d53c76
commit 95e2ada965
2 changed files with 5 additions and 5 deletions

View File

@@ -23,7 +23,7 @@
"items": {
"type": "string",
"format": "regex",
"pattern": "^(person|group)_(\\d)*$"
"pattern": "^(person|group)_.*$"
},
"default": []
},
@@ -34,7 +34,7 @@
"items": {
"type": "string",
"format": "regex",
"pattern": "^(person|group)_(\\d)*$"
"pattern": "^(person|group)_.*$"
},
"default": []
}
@@ -99,7 +99,7 @@
}
},
"patternProperties": {
"^\\d+$": {
"^.*$": {
"type": "object",
"properties": {
"at": {

View File

@@ -9,7 +9,7 @@
"items": {
"type": "string",
"format": "regex",
"pattern": "^(person|group)_(\\d+)$"
"pattern": "^(person|group)_.*$"
},
"default": []
},
@@ -52,7 +52,7 @@
}
},
"patternProperties": {
"^(person|group)_(\\d+)$": {
"^(person|group)_.*$": {
"type": "integer"
}
}