Add schemas code

Raise as issues.