package com.ljs.scratch.ootp.rating;

import com.fasterxml.jackson.annotation.JsonTypeInfo;

/**
 *
 * @author lstephen
 */
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME)
public interface Scale<T> {

    Rating<T, ? extends Scale<T>> ratingOf(T value);

    Rating<T, ? extends Scale<T>> parse(String s);

    Rating<Integer, OneToOneHundred> normalize(T value);

}

@@ -75,24 +75,187 @@
 ion.Json
-TypeInfo
+SubTypes;%0Aimport com.fasterxml.jackson.annotation.JsonSubTypes.Type;%0Aimport com.fasterxml.jackson.annotation.JsonTypeInfo;%0Aimport com.ljs.scratch.ootp.ootp5.site.ZeroToTen
 ;%0A%0A/**%0A 
@@ -322,16 +322,62 @@
 d.NAME)%0A
+@JsonSubTypes(%7B%0A    @Type(ZeroToTen.class)%0A%7D)%0A
 public i

Fix error in draft pool deserialization