@classmethod
def schema(cls) -> dict:
    "we're overriding the schema classmethod to enable some post-processing"
    schema = super().schema()
    schema = cls.change_format_to_oneOf(schema)
    return cls.resolve_refs(schema)
we're overriding the schema classmethod to enable some post-processing
@classmethod
def schema(cls) -> dict:
    
    schema = super().schema()
    schema = cls.change_format_to_oneOf(schema)
    return cls.resolve_refs(schema)