type BtcPrice { id: ID!, timestamp: String!, type: String, average_price: Float!, high_price: Float, low_price: Float, ask_price: Float, bid_price: Float, open_price: Float, close_price: Float, volume: Float } type tweetModel { id: ID!, timestamp: String!, rawTweet: String, sentimentScore: Float!, positiveScore: Float, neutralScore: Float, negativeScore: Float, compoundScore: Float! } type Query { allPrices(count: Int):[BtcPrice], pricesBetweenCounts(startCount: Int, endCount: Int):[BtcPrice] latest:BtcPrice, priceForCreatedDate(createdDate: String):BtcPrice, priceBetweenDates(startDate: String, endDate: String):[BtcPrice], ################################################################ currentTweet:tweetModel, allTweets(count: Int):[tweetModel], tweetsForDay(startDate: String, endDate: String):[tweetModel], tweetsForPeriod(startDate: String, endDate: String):[tweetModel] } type Mutation { createBtc(createdDate: String!, type: String!, average_price: Float!, high_price: Float, low_price: Float, ask_price: Float, bid_price: Float, open_price: Float, close_price: Float, volume: Float):BtcPrice createTweet(createdDate: String!, rawTweet: String!, sentimentScore: Float!, positiveScore: Float, neutralScore: Float, negativeScore: Float, compoundScore: Float!):tweetModel }