Converting StateRecords to schematics