Mindbody · Schema

Availability

Implementation of the 'Availability' model. A staff availability entry

FitnessWellnessBeautySchedulingBookingPoint of SaleStudiosSalonsSpasWebhooks

Properties

Name Type Description
Id integer The ID of the availability.
Staff object Contains information about staff members.
SessionType object Contains information about the types of sessions.
Programs array Contains information about the programs.
StartDateTime string The date and time the availability starts in the site local time zone.
EndDateTime string The date and time the availability ends in the site local time zone.
BookableEndDateTime string The time of day that the last appointment can start in the site local time zone.
Location object Contains information about the location.
PrepTime integer Prep time in minutes
FinishTime integer Finish time in minutes
IsMasked boolean When `true`, indicates that the staff member's name for availabilty is masked. When `false`, indicates that the staff member's name for availabilty is not masked.
ShowPublic boolean When `true`, indicates that the schedule is shown to the clients. When `false`, indicates that the schedule is hidden from the clients.
ResourceAvailabilities array Contains information about resources availability for the specified session type.
View JSON Schema on GitHub

JSON Schema

public-api-v6-availability-schema.json Raw ↑
{
  "$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-availability-schema.json",
  "title": "Availability",
  "description": "Implementation of the 'Availability' model. A staff availability entry",
  "type": "object",
  "properties": {
    "Id": {
      "type": "integer",
      "format": "int32",
      "description": "The ID of the availability.",
      "example": 123456
    },
    "Staff": {
      "$ref": "#/components/schemas/Staff",
      "description": "Contains information about staff members."
    },
    "SessionType": {
      "$ref": "#/components/schemas/SessionType",
      "description": "Contains information about the types of sessions."
    },
    "Programs": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/Program"
      },
      "description": "Contains information about the programs.",
      "example": [
        {}
      ]
    },
    "StartDateTime": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time the availability starts in the site local time zone.",
      "example": "2026-05-28T14:30:00Z"
    },
    "EndDateTime": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time the availability ends in the site local time zone.",
      "example": "2026-05-28T14:30:00Z"
    },
    "BookableEndDateTime": {
      "type": "string",
      "format": "date-time",
      "description": "The time of day that the last appointment can start in the site local time zone.",
      "example": "2026-05-28T14:30:00Z"
    },
    "Location": {
      "$ref": "#/components/schemas/Location",
      "description": "Contains information about the location."
    },
    "PrepTime": {
      "type": "integer",
      "format": "int32",
      "description": "Prep time in minutes",
      "example": 1
    },
    "FinishTime": {
      "type": "integer",
      "format": "int32",
      "description": "Finish time in minutes",
      "example": 1
    },
    "IsMasked": {
      "type": "boolean",
      "description": "When `true`, indicates that the staff member's name for availabilty is masked. When `false`, indicates that the staff member's name for availabilty is not masked.",
      "example": true
    },
    "ShowPublic": {
      "type": "boolean",
      "description": "When `true`, indicates that the schedule is shown to the clients. When `false`, indicates that the schedule is hidden from the clients.",
      "example": true
    },
    "ResourceAvailabilities": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/ResourceAvailability"
      },
      "description": "Contains information about resources availability for the specified session type.",
      "example": [
        {}
      ]
    }
  }
}