Lot of things could be going on.
If it is indeed restricted and it was represented to you as not restricted and you can prove it you have some recourse to pursue with your agent/broker.
The deed restrictions may be only reference as a volume and page in your deed and you have to go look them up. They may have missed it.
If you have a title insurance policy it will be included in that.
Most deed restrictions only run for a certain period of time 20-25 years is common. After that time frame if they are not renewed they expire. Not sure on who can renew them but think its the person who put them in place.
The police/sheriff can enforce restrictions but they don't monitor them per say your neighbors etc. would have to report you.
It's hell eatin em live