spec of models from API moved to here.