For projective, non-uniruled varities, the birational automorphism group can also be given a scheme structure. The reference is "Hanamura: Structure of birational automorphism groups, I: non-uniruled varieties". As one expects, the automorphism group will be a subscheme of that.