mirror of
https://github.com/Tencent/BrowserSkill.git
synced 2026-09-10 13:01:23 +08:00
63 lines
1.1 KiB
JSON
63 lines
1.1 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"title": "DownloadResult",
|
|
"type": "object",
|
|
"required": [
|
|
"byte_size",
|
|
"suggested_filename",
|
|
"tab_id"
|
|
],
|
|
"properties": {
|
|
"browser_path": {
|
|
"description": "Extension-internal completed Chrome download path, stripped by the daemon.",
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"byte_size": {
|
|
"type": "integer",
|
|
"format": "uint64",
|
|
"minimum": 0.0
|
|
},
|
|
"danger": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"mime": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"suggested_filename": {
|
|
"type": "string"
|
|
},
|
|
"tab_id": {
|
|
"type": "integer",
|
|
"format": "int64"
|
|
},
|
|
"transfer_id": {
|
|
"description": "Opaque id returned by the daemon to the CLI.",
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"used_ref": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"used_selector": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
}
|
|
}
|
|
}
|