[verb (dictionary form)] + ものとする [verb ない-form] + ものとする [verb た-form] + ものとする
ものとする is the "shall" of contracts, rules and regulations: it lays down what is to be done. It goes after a verb in the dictionary form or the ない-form, and it almost never leaves formal writing.
It is milder than なければならない: it states the rule as the agreed procedure rather than ordering someone to follow it.
These go beyond laying down a rule.
After a た-form, ものとする says how something will be treated, whether or not it literally happened: "shall be deemed".
In a maths or science problem, ものとする sets a condition for the calculation: "assume that".