A diminished chord is formed by adding a minor third and a diminished fifth over any note:
In major keys we find a diminished chord in the VII degree:
See triads in minor scales in our Reference section
Practice triad construction, identification and ear training with our online exercises