Read the JSON synax and Constraints API pages on nomadproject.io to see how to apply constraints (these apply on the Job level)