Refactor priority in the relax schemas