%dw 2.0
type Currency = String { format: "" }
type Temperature = Number
type Fahrenheit = Temperature { Meassure : "Fahrenheit"}
type Celsius = Temperature { Meassure : "Celsius"}
var pesos = "ARG" as Currency
---
{
    a: "USD" as Currency,
    b: pesos,
    c: 84 as Fahrenheit,
    d: 34.5 as Celsius,
    e: (34.5 as Celsius) is Number,
    f: (34.5 as Celsius) is Temperature,
    g: (34.5 as Celsius) is Celsius,
    h: (34.5 as Celsius) is Fahrenheit,
    i: ["34.5" as Celsius,"34.5" as Celsius] distinctBy $
}
