I would split this into three separate rules:

xml_check:
  test/xmlCheck/xmlCheck.sh --xsd-dir $(XSD_DIR)

json_check:
   test/jsonCheck.sh

data_check: xml_check json_check