Skip to main content

Service Properties

This table defines the structure of the service entity, including all properties and their descriptions.

πŸ”Ή Core Properties​

PropertyTypeRequiredDescriptionExample
idstringYesUnique identifier for the service"123e4567-e89b-12d3-a456-426614174000"
namestringYesName of the service"Professional Consultation"
descriptionstringNoDetailed description of the service"A comprehensive consultation service"
imageUrlstringNoURL of the service image"https://example.com/image.png"
dateRangesarrayNoDate ranges when the service is availableSee Date Range Properties
calendarsarrayNoCalendars associated with this serviceSee Calendar Properties
bookingOptionsobjectNoConfiguration for booking rulesSee Booking Options Properties
extraFieldsobjectNoAdditional custom fieldsSee example below
createdAtstringNoISO datetime when the service was created"2025-05-22T10:30:00Z"
updatedAtstringNoISO datetime when the service was last updated"2025-05-22T10:30:00Z"

πŸ“… Date Range Properties​

PropertyTypeRequiredDescriptionExample
startstringYesStart date-time in ISO format"2025-05-22T10:30:00Z"
endstringYesEnd date-time in ISO format"2025-05-22T11:30:00Z"

πŸ“‹ Booking Options Properties​

PropertyTypeRequiredDescriptionExample
durationnumberYesDuration of the service in minutes60
bufferTimenumberNoBuffer time between bookings (minutes)15
maxParticipantsnumberNoMaximum number of participants10
autoAcceptbooleanNoAuto-accept bookings if truefalse

πŸ’Ό Example​

{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "Professional Consultation",
"description": "A comprehensive consultation service for your needs",
"imageUrl": "https://example.com/service-image.png",
"dateRanges": [
{
"start": "2025-05-22T10:30:00Z",
"end": "2025-05-22T18:30:00Z"
}
],
"bookingOptions": {
"duration": 60,
"bufferTime": 15,
"maxParticipants": 1,
"autoAccept": true
},
"extraFields": {
"category": "consulting",
"location": "online"
},
"createdAt": "2025-05-22T10:30:00Z",
"updatedAt": "2025-05-22T10:30:00Z"
}