A scheduled, bookable group activity — gym classes, workshops, courses.
Has capacity (how many can attend) and optionally tracks spots remaining.
Not to be confused with a meeting (1:1 or small group, calendar-driven)
or a conference (large, multi-track). A class has an instructor, a fixed
capacity, and is typically part of a recurring schedule.
| Metadata | Value |
|---|
| Plural | classes |
| Subtitle field | activityType |
| Also | event |
| Field | Type |
|---|
activityType | string |
capacity | integer |
spotsRemaining | integer |
isFull | boolean |
From event:
| Field | Type |
|---|
allDay | boolean |
dateUpdated | datetime |
endDate | datetime |
eventType | string |
icalUid | string |
recurrence | string[] |
showAs | string |
sourceTitle | string |
sourceUrl | url |
startDate | datetime |
status | string |
timezone | string |
visibility | string |
External standards this shape draws from or aligns with. See Shape design principles for how prior art informs shape design.
- schema.org/EducationEvent — schema.org’s closest peer for a bookable class. Our instructor = performer; capacity = maximumAttendeeCapacity; spotsRemaining ≈ remainingAttendeeCapacity.
- schema.org/ExerciseAction — Fitness-specific vocabulary: activityType ≈ exerciseType; venue matches directly as location.
- Mindbody Public API (class schedules) — Practical API mirror. Our capacity/spotsRemaining/isFull come from Mindbody’s MaxCapacity/TotalBooked/IsWaitlistAvailable.