[TASK] Add nodeType constraints