Service
Service schema used by the TheBooking public API.
Fields
| Field | Required | Type | Description |
|---|---|---|---|
id | No | string | Resource identifier used by TheBooking. |
name | No | string | Display name shown in the administration panel and booking flows. |
description | No | string | Optional text description. |
class | No | const appointment | Service type. The public contract documents appointment services only. |
color | No | string or null | Optional visual color used by the administration UI. |
data | No | object | Additional structured data accepted by the route. |
Example
{
"id": "resource_123",
"name": "Example name",
"description": "string",
"class": "appointment",
"color": "string",
"data": {}
}