The Static type infers TypeBox and Json Schema schematics.
const T = Type.Number()
type T = Static<typeof T> // type T = number
The Static can be used to infer raw Json Schema.
const T = { oneOf: [{ const: 1 }, { const: 2 }] } as const
type T = Static<typeof T> // type T = 1 | 2