I couldn't find documentation on RecordType or fields. I read the autogenerated code, and gccutils.py, to figure out what I needed.