Yes, there are restrictions. The most flexible place to check compatibility would be this tool.
https://pathfinder.juniper.net/hct/category/#catKey=100001
You select transciever and start narrowing with your specs from there.
If you have a particular product in hand, you can look up that items compatibiilty across the lines.