def METHOD_NAME(v:User):
	validated_post:validators.ValidatedSubmissionLike = \
		validators.ValidatedSubmissionLike.from_flask_request(request, 
			allow_embedding=MULTIMEDIA_EMBEDDING_ENABLED,
		)
	# first build the template
	flair:str = validators.guarded_value("flair", min_len=0, max_len=SUBMISSION_FLAIR_LENGTH_MAXIMUM)
	# and then build the schedule
	enabled:bool = _get_request_bool('enabled')
	frequency_day:DayOfWeek = _get_request_dayofweek()
	hour:int = validators.int_ranged('hour', 0, 23)
	minute:int = validators.int_ranged('minute', 0, 59)
	second:int = 0 # TODO: seconds?
	time_of_day_utc:time = time(hour, minute, second)
	# and then build the scheduled task
	task:ScheduledSubmissionTask = ScheduledSubmissionTask(
		author_id=v.id,
		author_id_submission=v.id, # TODO: allow customization
		enabled=enabled,
		ghost=_get_request_bool("ghost"),
		private=_get_request_bool("private"),
		over_18=_get_request_bool("over_18"),
		is_bot=False, # TODO: do we need this?
		title=validated_post.title,
		url=validated_post.url,
		body=validated_post.body,
		body_html=validated_post.body_html,
		flair=flair,
		embed_url=validated_post.embed_slow,
		frequency_day=int(frequency_day),
		time_of_day_utc=time_of_day_utc,
		type_id=int(ScheduledTaskType.SCHEDULED_SUBMISSION),
	)
	g.db.add(task)
	g.db.commit()
	return redirect(f'/tasks/scheduled_posts/{task.id}')