private function createClassItem(array $data) {
    $classItem = [
      'class_id' => $data['id'],
      'category' => $data['category'],
      'location' => $data['location'],
      'title' => $data['title'],
      'description' => $this->getDescription($data),
      'start_date' => $this->getStartDate($data),
      'end_date' => $this->getEndDate($data),
      'recurring' => 'weekly',
      'studio' => $data['studio'],
      'instructor' => strip_tags($data['instructor']),
      'patterns' => [
        'day' => $this->getDay($data),
        'start_time' => $this->getStartTime($data),
        'end_time' => $this->getEndTime($data),
      ],
    ];

    return $classItem;
  }