Fact

  • answer
    Type: object · CardAnswer
    required

    The gradable answer for this card

    • label
      Type: string
      required

      Display text for this value

    • value
      Type: number
      required

      Canonical numeric value used for grading

  • factSetId
    Type: string
    required
  • id
    Type: string
    required
  • reviewResponse
    Type: object · ReviewResponse
    required

    Generated response expected during review

    • isApproximate
      Type: boolean
      required

      Whether the displayed relationship is approximate

    • mode
      Type: string · QuestionResponseModeenum
      required

      Input format required to answer a question

      values
      • choice = CHOICE
      • integer = INTEGER
      • decimal = DECIMAL
      • percent = PERCENT
      • fraction = FRACTION
    • acceptedValues
      Type: array number[] 1…

      Equally-correct canonical values (truncated and rounded) for an approximate response

    • expectedFraction

      Expected fraction for a structured response

      • denominator
        Type: integer
        required

        Integer numbers.

      • numerator
        Type: integer
        required

        Fraction numerator

    • expectedValue
      Type: number

      Expected numeric value for a generated response

    • roundingDigits
      Type: integer
      min:  
      0

      Displayed decimal places for approximation

  • text
    Type: string
    required

    Prompt displayed to the student (e.g., "7 x 8 = ?")

  • cardType
    Type: string · CardTypeenum

    Retrieval card type

    values
    • MathBinary = MATH_BINARY
    • MathUnary = MATH_UNARY
    • MathMissingOperand = MATH_MISSING_OPERAND
    • MathRational = MATH_RATIONAL
  • factorA
    Type: integer

    First or sole operand (math-binary and math-unary cards)

  • factorB
    Type: integer

    Second operand (math-binary cards only)

  • fractionOperation
    Type: object · FractionOperation

    Structured fraction operation for rational cards

    • operandA
      Type: object · FractionAnswer
      required

      First fraction operand

    • operandB
      required

      Second fraction operand

      • denominator
        Type: integer
        required

        Integer numbers.

      • numerator
        Type: integer
        required

        Fraction numerator

    • operator
      required
      • Type: string · Operatorenum

        Fraction operation

        values
        • x = MULTIPLY
        • + = ADD
        • - = SUBTRACT
        • ÷ = DIVIDE
    • result
      required

      Reduced fraction result

      • denominator
        Type: integer
        required

        Integer numbers.

      • numerator
        Type: integer
        required

        Fraction numerator

  • operator
    Type: string · Operatorenum

    Mathematical operator

    values
    • x = MULTIPLY
    • + = ADD
    • - = SUBTRACT
    • ÷ = DIVIDE
  • rational

    Reduced source rational for rational conversion cards

    • denominator
      Type: integer
      required

      Integer numbers.

    • numerator
      Type: integer
      required

      Fraction numerator

  • relationships
    Type: array object[]

    Related facts (e.g., fact family members)

    • factId
      Type: string
      required

      ID of the related fact

    • type
      enum
      const:  
      FACT_FAMILY
      required

      Type of relationship between facts

      values
      • FACT_FAMILY = FACT_FAMILY
  • result
    Type: integer

    Arithmetic result of factorA operator factorB (math-binary cards only)

  • suppliedDistractors
    Type: array object[] · CardAnswer[]

    Content-supplied wrong answers; when absent, distractors are derived per card type

    The gradable answer for this card

    • label
      Type: string
      required

      Display text for this value

    • value
      Type: number
      required

      Canonical numeric value used for grading

  • unaryOperation
    Type: string · UnaryOperationenum

    Operation performed by a math-unary card

    values
    • square = SQUARE
    • square-root = SQUARE_ROOT
    • cube = CUBE
    • cube-root = CUBE_ROOT