OBJECT

EducationCredit

link GraphQL Schema definition

  • type EducationCredit implements Node {
  • id: ID!
  • # The value of the credit.
  • value: Float!
  • # The time that the credit was deleted.
  • deletedAt: Time
  • # The time that the credit was redeemed.
  • redeemedAt: Time
  • # The time that the credit was earned. If self_reported this is the time the user
  • # reported it, if not this will be the same as the created_at time.
  • earnedAt: Time
  • # The reason that the credit was deleted.
  • deletedReason: String
  • createdAt: Time!
  • updatedAt: Time!
  • # The survey for the credit.
  • survey: Map
  • # Source of the self-reported credit. (only present when type is self_reported)
  • selfReportedSource: String
  • userID: ID!
  • sparkyConversationID: ID
  • postID: ID
  • commentID: ID
  • # The type of the credit.
  • type: EducationCreditType!
  • # The version of the credit.
  • version: EducationCreditVersion!
  • # The tenant that the topic belongs to.
  • tenant: Tenant
  • # The user that created/earned the credit.
  • user: User!
  • # The comment that the credit was created on.
  • comment: Comment
  • # The post that the credit was created on.
  • post: Post
  • sparkyConversation: SparkyConversation
  • # The learning objective that the credit was for.
  • learningObjective: LearningObjective
  • # The user that deleted the credit.
  • deletedBy: User
  • # The collections the user redeemed for this credit
  • userCollectionCompletions: [UserCollectionCompletion!]
  • # The certificate that the credit was redeemed for.
  • certificate: Certificate
  • # The certificates that this credit appears in.
  • certificates: [Certificate!]
  • # The self-reported certificate that the credit was redeemed for. (only present
  • # when type is self_reported)
  • selfReportedCertificateAsset: Asset
  • # The topic the credit should be associated with.
  • licenseRequirementTopic: LicenseRequirementTopic
  • reflectionType: ReflectionType
  • topic: Topic
  • }