updated model schema to json schema draft 4