Skip to content

class

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.

MetadataValue
Pluralclasses
Subtitle fieldactivityType
Alsoevent
FieldType
activityTypestring
capacityinteger
spotsRemaininginteger
isFullboolean
RelationTarget
instructorperson
venueplace

From event:

FieldType
allDayboolean
dateUpdateddatetime
endDatedatetime
eventTypestring
icalUidstring
recurrencestring[]
showAsstring
sourceTitlestring
sourceUrlurl
startDatedatetime
statusstring
timezonestring
visibilitystring
RelationTarget
attachmentsfile[]
creatorperson
involvesperson[]
locationplace
organizerperson
platformproduct

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.