type Query {
    parityHistory: [ParityCheck]
}

type Mutation {
    """Start parity check"""
    startParityCheck(correct: Boolean): JSON
    """Pause parity check"""
    pauseParityCheck: JSON
    """Resume parity check"""
    resumeParityCheck: JSON
    """Cancel parity check"""
    cancelParityCheck: JSON
}

type Subscription {
    parityHistory: ParityCheck!
}

type ParityCheck {
    date: String!
    duration: Int!
    speed: String!
    status: String!
    errors: String!
}