PPLNS with job declaration

But miners can only validate using shares they know of? Where does this source of shares come from that miners are using as a random sampling?