If an Option<...> appears as a named field of a struct/enum variant, that field should always become an optionalProperty in Typedef schemas, on top of being "nullable": true.
Also check if it's possible with serde to define custom nullable types (ones that don't use Option) and if the same applies to them.