def METHOD_NAME(self):
    schema_size = self.args.schema_size
    fields = []
    schema = {
        "type": "record",
        "name": "example.User",
        "fields": fields,
    }
    # 100 bytes
    schema_no_fields_size = sys.getsizeof(json.dumps(schema, separators=(",", ":")))
    fields.append({"name": "favor_number00000", "type": ["int", "null"]})
    # each additional field is 50 bytes
    schema_one_field_size = sys.getsizeof(json.dumps(schema, separators=(",", ":")))
    field_size = schema_one_field_size - schema_no_fields_size
    # calculate number of fields to add to get args.schema_size rounded down to nearest 50 multiple
    num_fields = math.floor((schema_size - schema_no_fields_size) / field_size)
    for i in range(1, num_fields):
        num_idx = f"{i:05d}"
        fields.append(
            {"name": f"favo_number{num_idx}", "type": ["int", "null"]},
        )
    definition = json.dumps(schema, separators=(",", ":"))
    return definition