layout_specification function

Create a record to record spec.