Add schemas code

Is this an ADT?