{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://github.com/danilo-aguiar-br/browser-automation-cli/docs/schemas/crawl.schema.json",
"title": "crawl command input",
"type": "object",
"description": "Crawl from a seed URL (HTTP BFS or browser, one-shot)",
"properties": {
"engine": {
"description": "Default http; browser engine for JS-rendered crawl (GAP-010)",
"enum": [
"http",
"browser"
],
"type": "string"
},
"format": {
"type": "string"
},
"limit": {
"minimum": 1,
"type": "integer"
},
"max_depth": {
"minimum": 0,
"type": "integer"
},
"max_pages": {
"description": "Alias of limit",
"minimum": 1,
"type": "integer"
},
"same_host": {
"type": "boolean"
},
"url": {
"type": "string"
}
},
"required": [
"url"
],
"additionalProperties": false
}