Add schemas code

Should this be a github issue?