{
"object": "class",
"id": "cls_abc123",
"name": "Morning Yoga Flow",
"category": "YOGA",
"instructor": "Chioma Adeyemi",
"description": "A calming morning flow suitable for all levels",
"provider_name": "FitHub Lagos",
"address": "5 Adeola Odeku Street, Victoria Island, Lagos",
"distance_km": 3.1,
"schedule": "Mon, Wed, Fri at 07:00",
"duration_minutes": 60,
"price": 0,
"currency": "NGN",
"credit_cost": 3,
"spots_total": 20,
"spots_remaining": 8,
"next_instance": 1746853200000,
"upcoming_instances": [
{
"object": "class_instance",
"id": "ci_abc123",
"scheduled_for": 1746853200000,
"spots_remaining": 8,
"bookable": true
},
{
"object": "class_instance",
"id": "ci_def456",
"scheduled_for": 1747026000000,
"spots_remaining": 15,
"bookable": true
},
{
"object": "class_instance",
"id": "ci_ghi789",
"scheduled_for": 1747198800000,
"spots_remaining": 0,
"bookable": false
}
],
"created": 1746700000000,
"message": "Class retrieved successfully"
}