Precodereview

you could consider maintaining the schema in a sperate .json file and loading it.