Unless you have some engineering design to follow, seems it will be subjective to the conditions involved.
What you picture should be acceptable to most inspectors (IN MY OPINION) unless it was mounted to a structure subject to extreme vibration, etc.