> ## Documentation Index
> Fetch the complete documentation index at: https://moregyms.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Schedule

> Add and maintain your class schedule

## Add a class

<img style={{ borderRadius: '0.5rem' }} src="https://firebasestorage.googleapis.com/v0/b/magfit-inc.appspot.com/o/OwnerDocs%2Fadd_class.png?alt=media&token=1346c9d7-1efe-4383-b981-e67e961ff457" />

To add a class go to the specific day that you want the class to take place. Once you found the date click the `Add class` button. After you click `Add class` you will see a pop up with five feilds:

<ResponseField name="Class type" type="text" required>
  Name of your class.

  Example: `Weightlifting for beginners`
</ResponseField>

<ResponseField name="Trainer" type="option">
  Trainer who is coaching the class.

  Example: `Arnold Schwarzenegger`
</ResponseField>

<ResponseField name="Max capicty" type="number">
  The maximum amount of people allowed in the class.

  Example: `20`
</ResponseField>

<ResponseField name="Time" type="time" required>
  The time the class starts.

  Example: `10:00 am`
</ResponseField>

<ResponseField name="Duration" type="option" required>
  How long the class lasts.

  Example: `1 hour`
</ResponseField>

<ResponseField name="Reacurring class" type="option">
  The days the class occurs.

  Example: `Monday, Tuesday, Friday`
</ResponseField>

## Remove a class

<img style={{ borderRadius: '0.5rem' }} src="https://firebasestorage.googleapis.com/v0/b/magfit-inc.appspot.com/o/OwnerDocs%2Fcancel_class.png?alt=media&token=4657dc8f-db90-4b3c-87fa-801ce8e354a9" />

### Single Class

To remove a single class, you need to click the red `Remove` button. After you click the `Remove` button, the class will not show up for that specific date.

### Reccuring Class

To remove all recurring classes, you need to click the red `Remove All` button. After you click the `Remove All` button, the class will be deleted.
