| 12345678910111213141516171819202122232425262728293031323334353637383940 |
- {
- "$schema": "http://json-schema.org/draft-07/schema#",
- "type": "object",
- "additionalProperties": false,
- "properties": {
- "MERCURY_ENABLED": {
- "type": "boolean",
- "default": true,
- "x-aliases": ["SAVE_MERCURY", "USE_MERCURY"],
- "description": "Enable Mercury text extraction"
- },
- "MERCURY_BINARY": {
- "type": "string",
- "default": "postlight-parser",
- "x-aliases": ["POSTLIGHT_PARSER_BINARY"],
- "description": "Path to Mercury/Postlight parser binary"
- },
- "MERCURY_TIMEOUT": {
- "type": "integer",
- "default": 30,
- "minimum": 5,
- "x-fallback": "TIMEOUT",
- "description": "Timeout for Mercury in seconds"
- },
- "MERCURY_ARGS": {
- "type": "array",
- "items": {"type": "string"},
- "default": [],
- "x-aliases": ["MERCURY_DEFAULT_ARGS"],
- "description": "Default Mercury parser arguments"
- },
- "MERCURY_ARGS_EXTRA": {
- "type": "array",
- "items": {"type": "string"},
- "default": [],
- "x-aliases": ["MERCURY_EXTRA_ARGS"],
- "description": "Extra arguments to append to Mercury parser command"
- }
- }
- }
|