{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/mindbody/refs/heads/main/json-schema/public-api-v6-scheduled-service-earnings-event-schema.json", "title": "ScheduledServiceEarningsEvent", "description": "Implementation of the 'ScheduledServiceEarningsEvent' model.", "type": "object", "properties": { "StaffId": { "type": "integer", "format": "int32", "description": "The ID of the staff member who taught the class.", "example": 123456 }, "ScheduledServiceId": { "type": "integer", "format": "int32", "description": "The class' ID.", "example": 123456 }, "ScheduledServiceType": { "$ref": "#/components/schemas/ScheduledServiceTypeEnum", "description": "The type of the scheduled service; i.e, a class, appointment, or enrollment." }, "Earnings": { "type": "number", "format": "double", "description": "The total monetary amount the staff is to be paid for this class.", "example": 1.0 }, "DateTime": { "type": "string", "format": "date-time", "description": "The model property of type datetime.", "example": "2026-05-28T14:30:00Z" } } }