A design for an X-band rf photoinjector that was developed jointly by SLAC National Accelerator Laboratory (SLAC) and Lawrence Livermore National Laboratory (LLNL) is presented. The photoinjector is based around a 5.59 cell rf gun that has state-of-the-art features including: elliptical contoured irises; improved mode separation; an optimized initial half cell length; a racetrack input coupler; and coupling that balances pulsed heating with cavity fill time. Radio-frequency and beam dynamics modeling have been done using a combination of codes including PARMELA, HFSS, IMPACT-T, ASTRA, and the ACE3P suite of codes developed at SLAC. The impact of lower gradient operation, magnet misalignment, solenoid multipole errors, beam offset, mode beating, wakefields, and beam line symmetry have been analyzed and are described. Fabrication and testing plans at both LLNL and SLAC are discussed.