def modify_schema_example(model: Type["Model"]) -> None:  # noqa CCR001
    """
    Modifies the schema example in openapi schema.

    :param model: newly constructed Model
    :type model: Model class
    """
    if not config_field_not_set(model=model, field_name="model_fields"):
        model.model_config["json_schema_extra"] = construct_schema_function()

    Modifies the schema example in openapi schema.

    :param model: newly constructed Model
    :type model: Model class
    
ormar/models/helpers/validation.py