config.json 728 B

12345678910111213141516171819202122232425262728
  1. {
  2. "$schema": "http://json-schema.org/draft-07/schema#",
  3. "type": "object",
  4. "additionalProperties": false,
  5. "required_plugins": ["chrome"],
  6. "properties": {
  7. "PDF_ENABLED": {
  8. "type": "boolean",
  9. "default": true,
  10. "x-aliases": ["SAVE_PDF", "USE_PDF"],
  11. "description": "Enable PDF generation"
  12. },
  13. "PDF_TIMEOUT": {
  14. "type": "integer",
  15. "default": 60,
  16. "minimum": 5,
  17. "x-fallback": "TIMEOUT",
  18. "description": "Timeout for PDF generation in seconds"
  19. },
  20. "PDF_RESOLUTION": {
  21. "type": "string",
  22. "default": "1440,2000",
  23. "pattern": "^\\d+,\\d+$",
  24. "x-fallback": "RESOLUTION",
  25. "description": "PDF page resolution (width,height)"
  26. }
  27. }
  28. }