type Vote {
  choice: String!
  votes: Int!
}

type Query {
  allVotes: [Vote]
  votesNumber: Int
  votes(choice: String!): Int
}

type Mutation {
  vote(choice: String): Boolean
  cheat(choice: String, votes: Int): Vote
}

schema {
  query: Query 
  mutation: Mutation
}
