It can also be analyzed as a variation of A major pentatonic but you are using the major 4th instead of the major 2nd. Also, no 7th is being used. Interpreted in D or A, it still seems to outline a pattern in each key's respective major scale, a nice modal utility. It classifies as a pentatonic scale merely because you used 5 notes before you reached your octave.
A pentatonic scale is any 5 different notes from the major or minor scales. Traditionally though, the major pentatonic scale is Root, major 2nd, major 3rd, perfect 5th and major 6th. The minor pentatonic is Root, minor 3rd, perfect 4th, perfect 5th, and minor seventh. Any other 5 note variations of the major or minor scales considered pentatonic scales by literal definition. However, the unique characteristic about the traditional major and minor pentatonic scales is the way each scale avoids half steps. Fun fact... the black keys on the piano outline Gb (F#) Major pentatonic or Eb (D#) minor pentatonic.