Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion xapi-model/src/main/java/dev/learning/xapi/model/Score.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,13 @@
@JsonInclude(Include.NON_EMPTY)
public class Score {

// TODO check that @DecimalMax and @DecimalMin apply to float
/**
* The score related to the experience as modified by scaling and/or normalization.
*/
@DecimalMax(value = "1.0")
@DecimalMin(value = "-1.0")
private float scaled;
private Float scaled;

/**
* The score achieved by the Actor in the experience described by the Statement.
Expand Down