> ## Documentation Index
> Fetch the complete documentation index at: https://docs.decodahealth.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Event Detail

> Get the full details of a single calendar event by ID.



## OpenAPI

````yaml get /check-in/calendar/detail/{id}
openapi: 3.1.0
info:
  title: Decoda API
  description: External API documentation for the Decoda Health platform.
  version: '1.0'
servers: []
security: []
paths:
  /check-in/calendar/detail/{id}:
    get:
      tags:
        - Calendar and Appointments
      summary: Get Event Detail
      description: Get the full details of a single calendar event by ID.
      operationId: get_event_detail_check_in_calendar_detail__id__get
      parameters:
        - name: TENANT
          in: header
          required: true
          schema:
            type: string
            title: Tenant
          description: The tenant you are making this request on behalf of
        - name: API-KEY
          in: header
          required: true
          schema:
            type: string
            title: Api-Key
          description: Your api key
        - name: id
          in: path
          required: true
          schema:
            type: string
            title: Id
        - name: timezone
          in: query
          required: true
          schema:
            type: string
            title: Timezone
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EventDetail'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    EventDetail:
      properties:
        id:
          type: string
          title: Id
        title:
          anyOf:
            - type: string
            - type: 'null'
          title: Title
        start:
          type: string
          format: date-time
          title: Start
        end:
          type: string
          format: date-time
          title: End
        type:
          $ref: '#/components/schemas/EventType'
        isAllDay:
          type: boolean
          title: Isallday
          default: false
        location:
          anyOf:
            - $ref: '#/components/schemas/LocationSummary'
            - type: 'null'
        roomId:
          anyOf:
            - type: string
            - type: 'null'
          title: Roomid
        attendees:
          items:
            $ref: '#/components/schemas/AttendeeDetail'
          type: array
          title: Attendees
          default: []
        status:
          $ref: '#/components/schemas/EventStatus'
        recurringEventId:
          anyOf:
            - type: string
            - type: 'null'
          title: Recurringeventid
        recurringEvent:
          anyOf:
            - $ref: '#/components/schemas/RecurringEventDetail'
            - type: 'null'
        segments:
          items:
            oneOf:
              - $ref: '#/components/schemas/EventServiceDetail'
              - $ref: '#/components/schemas/EventBookableSegmentTiny'
              - $ref: '#/components/schemas/EventPrepSegmentTiny'
              - $ref: '#/components/schemas/EventCleanupSegmentTiny'
          type: array
          title: Segments
          default: []
        icons:
          items:
            $ref: '#/components/schemas/EventIcon'
          type: array
          title: Icons
          default: []
        capacity:
          anyOf:
            - type: integer
            - type: 'null'
          title: Capacity
        quickNotes:
          anyOf:
            - items:
                $ref: '#/components/schemas/QuickNoteSummary'
              type: array
            - type: 'null'
          title: Quicknotes
        carePlan:
          anyOf:
            - $ref: '#/components/schemas/CarePlanStepTiny'
            - type: 'null'
        createdDate:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Createddate
        updatedDate:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Updateddate
        meetingLink:
          anyOf:
            - type: string
            - type: 'null'
          title: Meetinglink
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
        gcalBusy:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Gcalbusy
        patientRequestedProvider:
          type: boolean
          title: Patientrequestedprovider
          default: false
        isBusinessBlock:
          type: boolean
          title: Isbusinessblock
          default: false
        organizer:
          $ref: '#/components/schemas/UserTiny'
        locationId:
          anyOf:
            - type: string
            - type: 'null'
          title: Locationid
        formCompleted:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Formcompleted
        reminders:
          items:
            type: string
            format: date-time
          type: array
          title: Reminders
          default: []
        recurrenceModificationMode:
          anyOf:
            - $ref: '#/components/schemas/RecurrenceModificationMode'
            - type: 'null'
        attribution:
          anyOf:
            - $ref: '#/components/schemas/EventAttributionSummary'
            - type: 'null'
      type: object
      required:
        - id
        - start
        - end
        - type
        - status
        - organizer
      title: EventDetail
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    EventType:
      type: string
      enum:
        - APPOINTMENT
        - SHIFT
        - BLOCK
        - GOOGLE_CALENDAR
      title: EventType
    LocationSummary:
      properties:
        id:
          type: string
          title: Id
        isVirtual:
          type: boolean
          title: Isvirtual
        name:
          type: string
          title: Name
        addressLineOne:
          anyOf:
            - type: string
            - type: 'null'
          title: Addresslineone
        addressLineTwo:
          anyOf:
            - type: string
            - type: 'null'
          title: Addresslinetwo
        city:
          anyOf:
            - type: string
            - type: 'null'
          title: City
        state:
          anyOf:
            - type: string
            - type: 'null'
          title: State
        zipCode:
          anyOf:
            - type: string
            - type: 'null'
          title: Zipcode
        country:
          anyOf:
            - type: string
            - type: 'null'
          title: Country
        timezone:
          anyOf:
            - type: string
            - type: 'null'
          title: Timezone
        createdDate:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Createddate
        spakinectLocationId:
          anyOf:
            - type: string
            - type: 'null'
          title: Spakinectlocationid
        dosespotClinicId:
          anyOf:
            - type: string
            - type: 'null'
          title: Dosespotclinicid
        dosespotClinicKey:
          anyOf:
            - type: string
            - type: 'null'
          title: Dosespotclinickey
        externalId:
          anyOf:
            - type: string
            - type: 'null'
          title: Externalid
        taxIdentificationNumber:
          anyOf:
            - type: string
            - type: 'null'
          title: Taxidentificationnumber
      type: object
      required:
        - id
        - isVirtual
        - name
      title: LocationSummary
    AttendeeDetail:
      properties:
        user:
          $ref: '#/components/schemas/UserTiny'
        inviteStatus:
          $ref: '#/components/schemas/InviteStatus'
      type: object
      required:
        - user
        - inviteStatus
      title: AttendeeDetail
    EventStatus:
      type: string
      enum:
        - PENDING
        - RESERVED
        - CONFIRMED
        - CANCELLED
        - COMPLETED
        - OVERRIDABLE
        - NO_SHOW
      title: EventStatus
    RecurringEventDetail:
      properties:
        id:
          type: string
          title: Id
        rrule:
          type: string
          title: Rrule
        startDate:
          type: string
          format: date-time
          title: Startdate
        durationMinutes:
          type: integer
          title: Durationminutes
        timezone:
          type: string
          title: Timezone
        segments:
          anyOf:
            - items:
                $ref: '#/components/schemas/RecurringEventSegmentTemplate'
              type: array
            - type: 'null'
          title: Segments
        serviceIds:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Serviceids
        bookableIds:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Bookableids
        capacity:
          anyOf:
            - type: integer
            - type: 'null'
          title: Capacity
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
        patientRequestedProvider:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Patientrequestedprovider
        isBusinessBlock:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Isbusinessblock
        type:
          $ref: '#/components/schemas/EventType'
        title:
          anyOf:
            - type: string
            - type: 'null'
          title: Title
        attendeeIds:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Attendeeids
        locationId:
          anyOf:
            - type: string
            - type: 'null'
          title: Locationid
        externalId:
          anyOf:
            - type: string
            - type: 'null'
          title: Externalid
        organizerId:
          type: string
          title: Organizerid
      type: object
      required:
        - id
        - rrule
        - startDate
        - durationMinutes
        - timezone
        - type
        - organizerId
      title: RecurringEventDetail
    EventServiceDetail:
      properties:
        id:
          type: string
          title: Id
        type:
          type: string
          const: SERVICE
          title: Type
          default: SERVICE
        eventId:
          type: string
          title: Eventid
        start:
          type: string
          format: date-time
          title: Start
        end:
          type: string
          format: date-time
          title: End
        externalId:
          anyOf:
            - type: string
            - type: 'null'
          title: Externalid
        isArchived:
          type: boolean
          title: Isarchived
          default: false
        createdDate:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Createddate
        updatedDate:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Updateddate
        service:
          $ref: '#/components/schemas/ServiceDetail'
        providerId:
          anyOf:
            - type: string
            - type: 'null'
          title: Providerid
        provider:
          anyOf:
            - $ref: '#/components/schemas/ProviderTiny'
            - type: 'null'
        serviceAddonId:
          anyOf:
            - type: string
            - type: 'null'
          title: Serviceaddonid
      type: object
      required:
        - id
        - eventId
        - start
        - end
        - service
      title: EventServiceDetail
      description: Service segment response with full service details.
    EventBookableSegmentTiny:
      properties:
        id:
          type: string
          title: Id
        type:
          type: string
          const: BOOKABLE
          title: Type
          default: BOOKABLE
        eventId:
          type: string
          title: Eventid
        start:
          type: string
          format: date-time
          title: Start
        end:
          type: string
          format: date-time
          title: End
        externalId:
          anyOf:
            - type: string
            - type: 'null'
          title: Externalid
        isArchived:
          type: boolean
          title: Isarchived
          default: false
        createdDate:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Createddate
        updatedDate:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Updateddate
        bookableId:
          type: string
          title: Bookableid
        bookableGroupId:
          anyOf:
            - type: string
            - type: 'null'
          title: Bookablegroupid
        bookable:
          anyOf:
            - $ref: '#/components/schemas/BookableTiny'
            - type: 'null'
        eventType:
          anyOf:
            - $ref: '#/components/schemas/EventType'
            - type: 'null'
      type: object
      required:
        - id
        - eventId
        - start
        - end
        - bookableId
      title: EventBookableSegmentTiny
      description: >-
        Bookable segment response.


        ``bookable_group_id`` is set when this segment was picked from a

        :class:`BookableGroup` (OR-semantic alternatives). The frontend
        round-trips

        the group id so reschedules / edits can re-pick from the same group
        instead

        of pinning the originally-chosen member.
    EventPrepSegmentTiny:
      properties:
        id:
          type: string
          title: Id
        type:
          type: string
          const: PREP
          title: Type
          default: PREP
        eventId:
          type: string
          title: Eventid
        start:
          type: string
          format: date-time
          title: Start
        end:
          type: string
          format: date-time
          title: End
        externalId:
          anyOf:
            - type: string
            - type: 'null'
          title: Externalid
        isArchived:
          type: boolean
          title: Isarchived
          default: false
        createdDate:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Createddate
        updatedDate:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Updateddate
        providerId:
          anyOf:
            - type: string
            - type: 'null'
          title: Providerid
        provider:
          anyOf:
            - $ref: '#/components/schemas/ProviderTiny'
            - type: 'null'
        title:
          anyOf:
            - type: string
            - type: 'null'
          title: Title
        color:
          anyOf:
            - type: string
            - type: 'null'
          title: Color
      type: object
      required:
        - id
        - eventId
        - start
        - end
      title: EventPrepSegmentTiny
      description: Prep segment response.
    EventCleanupSegmentTiny:
      properties:
        id:
          type: string
          title: Id
        type:
          type: string
          const: CLEANUP
          title: Type
          default: CLEANUP
        eventId:
          type: string
          title: Eventid
        start:
          type: string
          format: date-time
          title: Start
        end:
          type: string
          format: date-time
          title: End
        externalId:
          anyOf:
            - type: string
            - type: 'null'
          title: Externalid
        isArchived:
          type: boolean
          title: Isarchived
          default: false
        createdDate:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Createddate
        updatedDate:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Updateddate
        providerId:
          anyOf:
            - type: string
            - type: 'null'
          title: Providerid
        provider:
          anyOf:
            - $ref: '#/components/schemas/ProviderTiny'
            - type: 'null'
        title:
          anyOf:
            - type: string
            - type: 'null'
          title: Title
        color:
          anyOf:
            - type: string
            - type: 'null'
          title: Color
      type: object
      required:
        - id
        - eventId
        - start
        - end
      title: EventCleanupSegmentTiny
      description: Cleanup segment response.
    EventIcon:
      type: string
      enum:
        - BOOKING_FEE_PAID
        - NEW_PATIENT
        - SCHEDULED_BY_AI
        - FORM_COMPLETED
        - FORM_NOT_COMPLETED
        - CHECKED_IN
        - ONLINE_BOOKING
        - NOTE_LINKED
        - PROVIDER_REQUESTED
      title: EventIcon
    QuickNoteSummary:
      properties:
        id:
          type: string
          title: Id
        patientId:
          type: string
          title: Patientid
        note:
          type: string
          title: Note
        creator:
          $ref: '#/components/schemas/UserTiny'
        eventId:
          anyOf:
            - type: string
            - type: 'null'
          title: Eventid
        externalId:
          anyOf:
            - type: string
            - type: 'null'
          title: Externalid
        createdDate:
          type: string
          format: date-time
          title: Createddate
        updatedDate:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Updateddate
        isArchived:
          type: boolean
          title: Isarchived
          default: false
        isPinned:
          type: boolean
          title: Ispinned
          default: false
      type: object
      required:
        - id
        - patientId
        - note
        - creator
        - createdDate
      title: QuickNoteSummary
    CarePlanStepTiny:
      properties:
        carePlanId:
          type: string
          title: Careplanid
        stepNumber:
          type: integer
          title: Stepnumber
        carePlanName:
          type: string
          title: Careplanname
        status:
          type: string
          title: Status
      type: object
      required:
        - carePlanId
        - stepNumber
        - carePlanName
        - status
      title: CarePlanStepTiny
      description: Minimal care-plan step reference for task/event display.
    UserTiny:
      properties:
        id:
          type: string
          title: Id
          description: The unique identifier for the user.
        firstName:
          anyOf:
            - type: string
            - type: 'null'
          title: Firstname
          description: The user's first name.
        lastName:
          anyOf:
            - type: string
            - type: 'null'
          title: Lastname
          description: The user's last name.
        phoneNumber:
          anyOf:
            - type: string
            - type: 'null'
          title: Phonenumber
          description: The user's phone number.
        email:
          anyOf:
            - type: string
            - type: 'null'
          title: Email
          description: The user's email address.
        type:
          $ref: '#/components/schemas/UserType'
          description: The type of user.
        locationId:
          anyOf:
            - type: string
            - type: 'null'
          title: Locationid
          description: The location of the user.
      type: object
      required:
        - id
        - type
      title: UserTiny
    RecurrenceModificationMode:
      type: string
      enum:
        - this
        - future
        - all
      title: RecurrenceModificationMode
      description: >-
        Enum representing the different modes for handling recurring event
        modifications

        Used when modifying recurring events to specify which occurrences should
        be affected
    EventAttributionSummary:
      properties:
        staffId:
          anyOf:
            - type: string
            - type: 'null'
          title: Staffid
        sourceType:
          anyOf:
            - $ref: '#/components/schemas/EventAttributionSource'
            - type: 'null'
        sourceId:
          anyOf:
            - type: string
            - type: 'null'
          title: Sourceid
        attributedAt:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Attributedat
      type: object
      title: EventAttributionSummary
      description: Last-touch outbound attribution summary for an appointment.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
    InviteStatus:
      type: string
      enum:
        - PENDING
        - ACCEPTED
        - REJECTED
      title: InviteStatus
    RecurringEventSegmentTemplate:
      properties:
        type:
          $ref: '#/components/schemas/EventSegmentType'
        serviceId:
          anyOf:
            - type: string
            - type: 'null'
          title: Serviceid
        bookableId:
          anyOf:
            - type: string
            - type: 'null'
          title: Bookableid
        bookableGroupId:
          anyOf:
            - type: string
            - type: 'null'
          title: Bookablegroupid
        providerId:
          anyOf:
            - type: string
            - type: 'null'
          title: Providerid
        title:
          anyOf:
            - type: string
            - type: 'null'
          title: Title
        color:
          anyOf:
            - type: string
            - type: 'null'
          title: Color
        durationMinutes:
          anyOf:
            - type: integer
            - type: 'null'
          title: Durationminutes
        bufferMinutes:
          anyOf:
            - type: integer
            - type: 'null'
          title: Bufferminutes
        offsetMinutes:
          anyOf:
            - type: integer
            - type: 'null'
          title: Offsetminutes
      type: object
      required:
        - type
      title: RecurringEventSegmentTemplate
      description: Template for any segment type in recurring events.
    ServiceDetail:
      properties:
        id:
          type: string
          title: Id
        duration:
          type: integer
          title: Duration
        name:
          type: string
          title: Name
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
        locationIds:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Locationids
        color:
          type: string
          title: Color
        price:
          anyOf:
            - type: integer
            - type: 'null'
          title: Price
        displayPrice:
          anyOf:
            - type: integer
            - type: 'null'
          title: Displayprice
        displayPriceMax:
          anyOf:
            - type: integer
            - type: 'null'
          title: Displaypricemax
        priceStartsAt:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Pricestartsat
          default: false
        image:
          anyOf:
            - type: string
            - type: 'null'
          title: Image
        imageUrl:
          anyOf:
            - type: string
            - type: 'null'
          title: Imageurl
        estimated:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Estimated
          default: false
        originalDisplayPrice:
          anyOf:
            - type: integer
            - type: 'null'
          title: Originaldisplayprice
        originalDisplayPriceMax:
          anyOf:
            - type: integer
            - type: 'null'
          title: Originaldisplaypricemax
        promotionId:
          anyOf:
            - type: string
            - type: 'null'
          title: Promotionid
        promotionName:
          anyOf:
            - type: string
            - type: 'null'
          title: Promotionname
        promotionDescription:
          anyOf:
            - type: string
            - type: 'null'
          title: Promotiondescription
        promotionDiscountAmount:
          anyOf:
            - type: integer
            - type: 'null'
          title: Promotiondiscountamount
        promotionDiscountPercentage:
          anyOf:
            - type: number
            - type: 'null'
          title: Promotiondiscountpercentage
        noShowFee:
          anyOf:
            - type: integer
              minimum: 0
            - type: 'null'
          title: Noshowfee
          default: 0
        noShowFeePercentage:
          anyOf:
            - type: integer
              maximum: 100
              minimum: 0
            - type: 'null'
          title: Noshowfeepercentage
        prepTimeDuration:
          anyOf:
            - type: integer
            - type: 'null'
          title: Preptimeduration
        prepTimeBuffer:
          anyOf:
            - type: integer
            - type: 'null'
          title: Preptimebuffer
        prepTimeName:
          anyOf:
            - type: string
            - type: 'null'
          title: Preptimename
        prepTimeColor:
          anyOf:
            - type: string
            - type: 'null'
          title: Preptimecolor
        prepTimeRequiresPatient:
          type: boolean
          title: Preptimerequirespatient
          default: true
        prepProviderIds:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Prepproviderids
        cleanupTimeDuration:
          anyOf:
            - type: integer
            - type: 'null'
          title: Cleanuptimeduration
        cleanupTimeName:
          anyOf:
            - type: string
            - type: 'null'
          title: Cleanuptimename
        cleanupTimeColor:
          anyOf:
            - type: string
            - type: 'null'
          title: Cleanuptimecolor
        cleanupProviderIds:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Cleanupproviderids
        bookables:
          anyOf:
            - items:
                $ref: '#/components/schemas/ServiceBookableItem'
              type: array
            - type: 'null'
          title: Bookables
        bookableGroups:
          anyOf:
            - items:
                $ref: '#/components/schemas/ServiceBookableGroupItem'
              type: array
            - type: 'null'
          title: Bookablegroups
        allowLastItemCompletion:
          type: boolean
          title: Allowlastitemcompletion
          default: true
        noteTemplateId:
          anyOf:
            - type: string
            - type: 'null'
          title: Notetemplateid
        defaultCptCode:
          anyOf:
            - type: string
            - type: 'null'
          title: Defaultcptcode
        defaultModifiers:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Defaultmodifiers
        defaultIcd10Codes:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Defaulticd10Codes
        defaultPlaceOfService:
          anyOf:
            - type: string
            - type: 'null'
          title: Defaultplaceofservice
        cashPrice:
          anyOf:
            - type: integer
            - type: 'null'
          title: Cashprice
        cost:
          anyOf:
            - type: integer
            - type: 'null'
          title: Cost
        bookingFee:
          type: integer
          title: Bookingfee
        bookingFeeText:
          anyOf:
            - type: string
            - type: 'null'
          title: Bookingfeetext
        reminderMinutesBefore:
          anyOf:
            - type: integer
            - type: 'null'
          title: Reminderminutesbefore
          default: 1440
        cancellationCost:
          anyOf:
            - type: integer
            - type: 'null'
          title: Cancellationcost
          default: 0
        hoursBeforeCancellingCosts:
          anyOf:
            - type: integer
            - type: 'null'
          title: Hoursbeforecancellingcosts
          default: 0
        bookingFeePercentage:
          anyOf:
            - type: integer
            - type: 'null'
          title: Bookingfeepercentage
        cancellationFeePctWithin24h:
          anyOf:
            - type: integer
            - type: 'null'
          title: Cancellationfeepctwithin24H
        cancellationFeePctWithin48h:
          anyOf:
            - type: integer
            - type: 'null'
          title: Cancellationfeepctwithin48H
        refundBookingFeeBefore48h:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Refundbookingfeebefore48H
          default: false
        hoursBeforeBookingFeeRefundable:
          anyOf:
            - type: integer
            - type: 'null'
          title: Hoursbeforebookingfeerefundable
        followUpMinutesAfter:
          anyOf:
            - type: integer
            - type: 'null'
          title: Followupminutesafter
          default: 0
        followUpSmsTemplate:
          anyOf:
            - type: string
            - type: 'null'
          title: Followupsmstemplate
        providerIds:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Providerids
        teamIds:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Teamids
        effectiveProviderIds:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Effectiveproviderids
        forms:
          anyOf:
            - items:
                $ref: '#/components/schemas/FormTiny'
              type: array
            - type: 'null'
          title: Forms
        createdDate:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Createddate
        updatedDate:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Updateddate
        confirmationSmsTemplate:
          anyOf:
            - type: string
            - type: 'null'
          title: Confirmationsmstemplate
        cancellationSmsTemplate:
          anyOf:
            - type: string
            - type: 'null'
          title: Cancellationsmstemplate
        noShowSmsTemplate:
          anyOf:
            - type: string
            - type: 'null'
          title: Noshowsmstemplate
        overrideNoticeSmsTemplate:
          anyOf:
            - type: string
            - type: 'null'
          title: Overridenoticesmstemplate
        reminderSmsTemplate:
          anyOf:
            - type: string
            - type: 'null'
          title: Remindersmstemplate
        shortNoticeBlock:
          anyOf:
            - type: integer
            - type: 'null'
          title: Shortnoticeblock
        visibility:
          $ref: '#/components/schemas/ServiceVisibilityType'
          default: ALL
        minutesBeforeRebookingAllowed:
          anyOf:
            - type: integer
            - type: 'null'
          title: Minutesbeforerebookingallowed
        allowIndividualProviderBooking:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Allowindividualproviderbooking
        displayOrder:
          anyOf:
            - type: integer
            - type: 'null'
          title: Displayorder
          default: 0
        reservedTimeMinutes:
          anyOf:
            - type: integer
            - type: 'null'
          title: Reservedtimeminutes
        category:
          anyOf:
            - type: string
            - type: 'null'
          title: Category
        isDoubleBookable:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Isdoublebookable
          default: true
        isPopular:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Ispopular
          default: false
        onlyBookableOverThePhone:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Onlybookableoverthephone
          default: false
        allowMultipleBookings:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Allowmultiplebookings
          default: false
        bookingFeeAutoToCredit:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Bookingfeeautotocredit
          default: false
        creditCardRequired:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Creditcardrequired
          default: false
        collectCreditCard:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Collectcreditcard
          default: false
        autoGfeTreatments:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Autogfetreatments
        autoQualiphyExamIds:
          anyOf:
            - items:
                type: integer
              type: array
            - type: 'null'
          title: Autoqualiphyexamids
        autoQualiphyPharmacyId:
          anyOf:
            - type: integer
            - type: 'null'
          title: Autoqualiphypharmacyid
        autoQualiphyOrderSetId:
          anyOf:
            - type: string
            - type: 'null'
          title: Autoqualiphyordersetid
        brandName:
          anyOf:
            - type: string
            - type: 'null'
          title: Brandname
        unit:
          anyOf:
            - $ref: '#/components/schemas/Unit'
            - type: 'null'
        internalNotes:
          anyOf:
            - type: string
            - type: 'null'
          title: Internalnotes
        sortOrder:
          anyOf:
            - type: integer
            - type: 'null'
          title: Sortorder
        allowCustomPricing:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Allowcustompricing
          default: false
        commissionable:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Commissionable
          default: true
        checklists:
          anyOf:
            - items:
                $ref: '#/components/schemas/ServiceChecklistItem'
              type: array
            - type: 'null'
          title: Checklists
        addons:
          anyOf:
            - items:
                $ref: '#/components/schemas/ServiceAddonItem'
              type: array
            - type: 'null'
          title: Addons
        selectionMin:
          anyOf:
            - type: integer
            - type: 'null'
          title: Selectionmin
        selectionMax:
          anyOf:
            - type: integer
            - type: 'null'
          title: Selectionmax
        tags:
          items:
            $ref: '#/components/schemas/ItemTagSummary'
          type: array
          title: Tags
          description: Tags assigned to this service
        exemptedTaxIds:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Exemptedtaxids
      type: object
      required:
        - id
        - duration
        - name
        - color
        - bookingFee
      title: ServiceDetail
    ProviderTiny:
      properties:
        id:
          type: string
          title: Id
        firstName:
          type: string
          title: Firstname
        lastName:
          anyOf:
            - type: string
            - type: 'null'
          title: Lastname
        email:
          anyOf:
            - type: string
            - type: 'null'
          title: Email
        createdDate:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Createddate
      type: object
      required:
        - id
        - firstName
      title: ProviderTiny
    BookableTiny:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
      type: object
      required:
        - id
        - name
      title: BookableTiny
      description: Lightweight bookable for list views.
    UserType:
      type: string
      enum:
        - PROVIDER
        - PATIENT
        - ASSISTANT
      title: UserType
    EventAttributionSource:
      type: string
      enum:
        - CALL
        - SMS
        - EMAIL
      title: EventAttributionSource
    EventSegmentType:
      type: string
      enum:
        - BOOKABLE
        - SERVICE
        - PREP
        - CLEANUP
      title: EventSegmentType
      description: Discriminator values for EventSegment STI hierarchy.
    ServiceBookableItem:
      properties:
        bookableId:
          type: string
          title: Bookableid
        startOffset:
          type: integer
          maximum: 10080
          minimum: 0
          title: Startoffset
          default: 0
        duration:
          anyOf:
            - type: integer
              maximum: 10080
              minimum: 1
            - type: 'null'
          title: Duration
      type: object
      required:
        - bookableId
      title: ServiceBookableItem
      description: Schema for a bookable resource configured on a service.
    ServiceBookableGroupItem:
      properties:
        bookableGroupId:
          anyOf:
            - type: string
            - type: 'null'
          title: Bookablegroupid
        bookableIds:
          items:
            type: string
          type: array
          title: Bookableids
        startOffset:
          type: integer
          maximum: 10080
          minimum: 0
          title: Startoffset
          default: 0
        duration:
          anyOf:
            - type: integer
              maximum: 10080
              minimum: 1
            - type: 'null'
          title: Duration
      type: object
      title: ServiceBookableGroupItem
      description: >-
        Schema for a bookable group configured on a service.


        Like :class:`ServiceBookableItem` but for the OR-semantic "pick one of
        these

        bookables" case. ``bookable_group_id`` may be ``None`` on a create
        payload

        when the group is being created inline (in which case ``bookable_ids``

        carries the members); the response always has ``bookable_group_id`` set.
    FormTiny:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        pathName:
          type: string
          title: Pathname
        isArchived:
          type: boolean
          title: Isarchived
          default: false
      type: object
      required:
        - id
        - name
        - pathName
      title: FormTiny
    ServiceVisibilityType:
      type: string
      enum:
        - ALL
        - NEW
        - EXISTING
        - 'NO'
      title: ServiceVisibilityType
    Unit:
      type: string
      enum:
        - AMPOULES
        - APPLICATORS
        - BOTTLES
        - BOXES
        - CAPSULES
        - CUPS
        - DOSES
        - G_PER_ML
        - GRAMS
        - IU
        - IU_PER_ML
        - OUNCES
        - FLUID_OUNCES
        - KG
        - KITS
        - LITERS
        - MCG
        - MG
        - MG_PER_ML
        - ML
        - MMOL
        - MICROGRAM_PER_ML
        - PACKS
        - PAIRS
        - PATCHES
        - PERCENTAGE
        - PIECES
        - POUCHES
        - ROLLS
        - SACHETS
        - SHEETS
        - SPRAYS
        - STRIPS
        - SYRINGES
        - TABLETS
        - TABLETS_PER_DAY
        - TESTS
        - TROCHES
        - TUBES
        - UNITS
        - VIALS
        - TREATMENTS
        - SESSIONS
        - PULSES
        - JOULES
        - CENTIMETERS
        - THREAD_COUNT
        - INJECTIONS
        - WRINKLE_UNITS
        - POUNDS
        - FEET
        - INCHES
      title: Unit
    ServiceChecklistItem:
      properties:
        id:
          anyOf:
            - type: string
            - type: 'null'
          title: Id
        name:
          type: string
          title: Name
        type:
          anyOf:
            - $ref: '#/components/schemas/AppointmentChecklistType'
            - type: 'null'
        optional:
          type: boolean
          title: Optional
          default: false
        position:
          type: integer
          title: Position
          default: 0
        measurementFieldId:
          anyOf:
            - type: string
            - type: 'null'
          title: Measurementfieldid
        measurementGroupId:
          anyOf:
            - type: string
            - type: 'null'
          title: Measurementgroupid
      type: object
      required:
        - name
      title: ServiceChecklistItem
      description: Schema for service checklist items
    ServiceAddonItem:
      properties:
        addonServiceId:
          type: string
          title: Addonserviceid
        displayOrder:
          type: integer
          title: Displayorder
          default: 0
        isDefault:
          type: boolean
          title: Isdefault
          default: false
        id:
          anyOf:
            - type: string
            - type: 'null'
          title: Id
        serviceId:
          anyOf:
            - type: string
            - type: 'null'
          title: Serviceid
        addonService:
          anyOf:
            - $ref: '#/components/schemas/ServiceTiny'
            - type: 'null'
      type: object
      required:
        - addonServiceId
      title: ServiceAddonItem
      description: Schema for service addon items.
    ItemTagSummary:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        color:
          anyOf:
            - type: string
            - type: 'null'
          title: Color
      type: object
      required:
        - id
        - name
      title: ItemTagSummary
    AppointmentChecklistType:
      type: string
      enum:
        - FILLED_FORM
        - CHECKED_IN
        - WITH_MA
        - MEASUREMENT_TAKEN
        - DOSE_TAKEN
        - WITH_PROVIDER
        - NOTE_TAKEN
        - PAYMENT_MADE
        - REQUEST_GFE
        - PICTURE_TAKEN
        - CARE_PLAN
      title: AppointmentChecklistType
    ServiceTiny:
      properties:
        id:
          type: string
          title: Id
        duration:
          type: integer
          title: Duration
        name:
          type: string
          title: Name
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
        locationIds:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Locationids
        color:
          type: string
          title: Color
        price:
          anyOf:
            - type: integer
            - type: 'null'
          title: Price
        displayPrice:
          anyOf:
            - type: integer
            - type: 'null'
          title: Displayprice
        displayPriceMax:
          anyOf:
            - type: integer
            - type: 'null'
          title: Displaypricemax
        priceStartsAt:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Pricestartsat
          default: false
        image:
          anyOf:
            - type: string
            - type: 'null'
          title: Image
        imageUrl:
          anyOf:
            - type: string
            - type: 'null'
          title: Imageurl
        estimated:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Estimated
          default: false
        originalDisplayPrice:
          anyOf:
            - type: integer
            - type: 'null'
          title: Originaldisplayprice
        originalDisplayPriceMax:
          anyOf:
            - type: integer
            - type: 'null'
          title: Originaldisplaypricemax
        promotionId:
          anyOf:
            - type: string
            - type: 'null'
          title: Promotionid
        promotionName:
          anyOf:
            - type: string
            - type: 'null'
          title: Promotionname
        promotionDescription:
          anyOf:
            - type: string
            - type: 'null'
          title: Promotiondescription
        promotionDiscountAmount:
          anyOf:
            - type: integer
            - type: 'null'
          title: Promotiondiscountamount
        promotionDiscountPercentage:
          anyOf:
            - type: number
            - type: 'null'
          title: Promotiondiscountpercentage
        noShowFee:
          anyOf:
            - type: integer
            - type: 'null'
          title: Noshowfee
          default: 0
        noShowFeePercentage:
          anyOf:
            - type: integer
              maximum: 100
              minimum: 0
            - type: 'null'
          title: Noshowfeepercentage
        prepTimeDuration:
          anyOf:
            - type: integer
            - type: 'null'
          title: Preptimeduration
        prepTimeBuffer:
          anyOf:
            - type: integer
            - type: 'null'
          title: Preptimebuffer
        prepTimeName:
          anyOf:
            - type: string
            - type: 'null'
          title: Preptimename
        prepTimeColor:
          anyOf:
            - type: string
            - type: 'null'
          title: Preptimecolor
        prepTimeRequiresPatient:
          type: boolean
          title: Preptimerequirespatient
          default: true
        prepProviderIds:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Prepproviderids
        cleanupTimeDuration:
          anyOf:
            - type: integer
            - type: 'null'
          title: Cleanuptimeduration
        cleanupTimeName:
          anyOf:
            - type: string
            - type: 'null'
          title: Cleanuptimename
        cleanupTimeColor:
          anyOf:
            - type: string
            - type: 'null'
          title: Cleanuptimecolor
        cleanupProviderIds:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Cleanupproviderids
        bookables:
          anyOf:
            - items:
                $ref: '#/components/schemas/ServiceBookableItem'
              type: array
            - type: 'null'
          title: Bookables
        bookableGroups:
          anyOf:
            - items:
                $ref: '#/components/schemas/ServiceBookableGroupItem'
              type: array
            - type: 'null'
          title: Bookablegroups
        allowLastItemCompletion:
          type: boolean
          title: Allowlastitemcompletion
          default: true
        noteTemplateId:
          anyOf:
            - type: string
            - type: 'null'
          title: Notetemplateid
        defaultCptCode:
          anyOf:
            - type: string
            - type: 'null'
          title: Defaultcptcode
        defaultModifiers:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Defaultmodifiers
        defaultIcd10Codes:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Defaulticd10Codes
        defaultPlaceOfService:
          anyOf:
            - type: string
            - type: 'null'
          title: Defaultplaceofservice
      type: object
      required:
        - id
        - duration
        - name
        - color
      title: ServiceTiny

````