D15 may be a zener diode, which sets primary side voltage. Secondary side regulation then depends on leakage in the transformer.
D17 is a TVS, like in the above circuit. It may be higher voltage rated; 100-200V is typical.
I don't think it's a plain MOSFET, as there's no bias path to the gate, and there's usually a current limiting turn-off transistor as well. (Or if a BJT is used, base current can provide turnoff action.) In that case, D15 must be for control power and feedback, and doesn't need to be a zener.
Tim