implemented optional arguments validation by JSON schema for commands and tasks