define a schema for your Sinatra APIs