{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://github.com/danilo-aguiar-br/browser-automation-cli/docs/schemas/cookie.schema.json",
"title": "cookie command input",
"type": "object",
"description": "Cookie list/set/clear for the one-shot browser process",
"properties": {
"action": {
"enum": [
"list",
"set",
"clear"
],
"type": "string"
},
"cookies": {
"description": "Preferred run-script form for set",
"type": "array"
},
"cookies_json": {
"description": "CLI long name --cookies-json (avoids shadowing global --json)",
"type": "string"
},
"json": {
"description": "JSON array for set (run/JSON key). CLI flag: --cookies-json",
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"action"
],
"additionalProperties": false
}