Exit codes What the command-line validator returns. CodeMeaning 0The document is valid. 1The document is invalid. 2The schema could not be used.