Update URL type to avoid string-ifying and creating complexity

This commit is contained in:
Ashwin Bharambe 2024-12-17 22:48:47 -08:00
parent 75e72cf2fc
commit f1d6cb22d7
3 changed files with 18 additions and 12 deletions

View file

@ -2893,9 +2893,16 @@
]
},
"URL": {
"type": "string",
"format": "uri",
"pattern": "^(https?://|file://|data:)"
"type": "object",
"properties": {
"uri": {
"type": "string"
}
},
"additionalProperties": false,
"required": [
"uri"
]
},
"UserMessage": {
"type": "object",