{ "$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-client-service-schema.json", "title": "ClientService", "description": "Implementation of the 'ClientService' model. A service that is on a client's account.", "type": "object", "properties": { "ActiveDate": { "type": "string", "format": "date-time", "description": "The date that this pricing option became active and could be used to pay for services.", "example": "2026-05-28T14:30:00Z" }, "Count": { "type": "integer", "format": "int32", "description": "The number of service sessions this pricing option contained when first purchased.", "example": 10 }, "Current": { "type": "boolean", "description": "When `true`, there are service sessions remaining on the pricing option that can be used pay for the current session.
When `false`, the client cannot use this pricing option to pay for other services.", "example": true }, "ExpirationDate": { "type": "string", "format": "date-time", "description": "The date when the pricing option expires and can no longer be used to pay for services, even if unused service sessions remain on the option; expressed as UTC.", "example": "2026-05-28T14:30:00Z" }, "Id": { "type": "integer", "format": "int32", "description": "The unique ID assigned to this pricing option, specific to when it was purchased by the client.", "example": 123456 }, "ProductId": { "type": "integer", "format": "int32", "description": "The unique ID of this pricing option, not specific to any client's purchase of it.", "example": 123456 }, "Name": { "type": "string", "description": "The name of this pricing option.", "example": "Sunset Yoga Studio" }, "PaymentDate": { "type": "string", "format": "date-time", "description": "The date on which the client paid for this pricing option.", "example": "2026-05-28T14:30:00Z" }, "Program": { "$ref": "#/components/schemas/Program", "description": "Contains information about the service category this service falls under." }, "Remaining": { "type": "integer", "format": "int32", "description": "The number of service sessions remaining in the pricing option that can still be used.", "example": 1 }, "SiteId": { "type": "integer", "format": "int32", "description": "The ID of the subscriber site associated with this pricing option.", "example": -99 }, "Action": { "$ref": "#/components/schemas/Action1Enum", "description": "The action taken." }, "ClientID": { "type": "string", "description": "The Client ID assigned to this pricing option, specific to when it was purchased by the client.", "example": "example-value" }, "Returned": { "type": "boolean", "description": "Identification for purchased service is returned or not.", "example": true } } }