{"type": "object", "required": ["script"], "patternProperties": {"^env_\\S+$": {"additionalProperties": {"type": "string"}, "type": "object"}}, "properties": {"force": {"type": "boolean"}, "env_": {"additionalProperties": {"type": "string"}, "type": "object"}, "max_restarts": {"default": 16, "type": "number"}, "pmx": {"default": true, "type": "boolean"}, "instances": {"default": 1, "type": "number"}, "interpreter": {"type": "string"}, "port": {"type": "number"}, "uid": {"type": "string"}, "autorestart": {"default": true, "type": "boolean"}, "log_date_format": {"type": "string"}, "instance_var": {"type": "string"}, "script": {"type": "string"}, "exec_mode": {"default": "fork", "enum": ["fork", "cluster"], "type": "string"}, "disable_source_map_support": {"type": "boolean"}, "treekill": {"default": true, "type": "boolean"}, "listen_timeout": {"type": "number"}, "min_uptime": {"default": 1000, "type": "number"}, "env": {"additionalProperties": {"type": "string"}, "type": "object"}, "combine_logs": {"default": "/dev/null", "type": "boolean"}, "pid_file": {"type": "string"}, "gid": {"type": "string"}, "watch_options": {"type": "object"}, "cron_restart": {"type": "string"}, "cwd": {"type": "string"}, "post_update": {"items": {"type": "string"}, "type": "array"}, "trace": {"type": "boolean"}, "kill_timeout": {"default": 1600, "type": "number"}, "source_map_support": {"default": true, "type": "boolean"}, "args": {"oneOf": [{"type": "string"}, {"items": {"type": "string"}, "type": "array"}]}, "watch": {"type": "boolean"}, "error_file": {"default": "~/.pm2/logs/<app_name>-error.err", "type": "string"}, "automation": {"default": true, "type": "boolean"}, "max_memory_restart": {"type": "number"}, "merge_logs": {"type": "boolean"}, "ignore_watch": {"oneOf": [{"type": "string"}, {"items": {"type": "string"}, "type": "array"}]}, "interpreter_args": {"oneOf": [{"type": "string"}, {"items": {"type": "string"}, "type": "array"}]}, "log_type": {"enum": ["json"], "type": "string"}, "name": {"type": "string"}, "shutdown_with_message": {"type": "boolean"}, "out_file": {"default": "~/.pm2/logs/<app_name>-out.log", "type": "string"}, "append_env_to_name": {"type": "boolean"}, "disable_logs": {"type": "boolean"}, "increment_var": {"type": "string"}, "vizion": {"default": true, "type": "boolean"}, "wait_ready": {"type": "boolean"}, "filter_env": {"items": {"type": "string"}, "type": "array"}, "disable_trace": {"default": true, "type": "boolean"}, "restart_delay": {"type": "number"}}}