add schema for spec