updated to json-schema draft 2