Apologies in advance if this question is too basic. Let $X$ be a scheme. One defines the $n$-th jet space of $X$ to be the scheme representing the functor $$ A\mapsto X(A[t]/t^{n+1}) . $$ It is well-known that this functor is represented by a scheme $J^n X$. There are a number of short notes proving existence of $J^n X$, basic properties, ....
My understanding is that if $\mathscr{E}$ is a locally free $\mathscr{O}$-module on $X$, then for each $n$ there is a $\mathscr{O}$-module $J^n\mathscr{E}$ of "$n$-jets in $\mathscr{E}$." This is mentioned in passing in many places, but I have yet to run across a good functorial definition, let alone proofs of basic properties.
Is there a good reference which carefully defines $J^n\mathscr{E}$ and proves its basic properties?
Ideally, I'm interested in references that treat existence in maximal generality (e.g. arbitrary coherent $\mathscr{O}$-module on any scheme $X$).