iptc / sportsml-3

Development of SportsML 3
9 stars 1 forks source link

Score units #17

Open jolla56 opened 8 years ago

jolla56 commented 8 years ago

From old system: Bug #108: score units • Author: Johan Lindgren • Status: Feedback • Priority: Normal • Assignee: Johan Lindgren • Category: Core • Target version: SportsML 2.3 Release In player-stats there is a score-unit attribute but that is restricted to a handful of values, but not things like min, sek, meter, yards or anything. It does not exist in sub-score either. In sub-score there is an attribute called score-name but that does not exist in player-stats. The only one useful is the score-type in player-stats and sub-score-type in the sub-score element. So we need a good way of describing what type of unit the score is measured in. One way is to remove the list of restricted values from score-unit. Or add all possible things needed there. Or create another attribute for this. Regardless these things need to be aligned between player-stats (and team-stats) and sub-score.

jolla56 commented 7 years ago

score-unit is defined in http://cv.iptc.org/newscodes/spscoreunits/. But the intention of that is to state if a score is absolute or in reference to the leader. The suggestion is more about what type of value the score is given in. But we have an attribute called score-type with description "Qualifies "score" attribute." which should be good for this.