[verb (dictionary form)] + 予定だ [verb ない-form] + 予定だ [noun] + の + 予定だ
予定だ says that something is planned or scheduled: the arrangement has already been made. A verb goes in the dictionary form, or the ない-form for a plan not to do something, with nothing between it and よてい予定. In polite speech it is よてい予定です.
After a noun, の goes in between.
A train cannot intend anything: ×電車は5時に着くつもりです.
The past, よてい予定だった or よてい予定でした, says what was supposed to happen, and usually that it didn't.
The verb before 予定 stays in the dictionary form here too: ×会った予定だった.