type T = { type: "foo"; [key: string]: { _type: "bar" } }. Is my best bet to transformOrFail from S.unknown into whatever desired internal, typescript-compatible type I have, applying the individual parameter schemas by hand within the transformation function?