json constraint moved to separate file