CRADالمطوّرون
العربية

Recover an accepted management receipt

قبل الاستخدام الفعلي — افحص القدرات المنشورة والصلاحيات وجاهزية ربطك.

تحقّق من القدرات المنشورة وصلاحيات المفتاح وجاهزية النشاط في بيئتك. أمثلة HTTP مسجّلة من اختبارات معزولة؛ وصفها local-unreleased لا يعني أن API غير عامل ولا يُثبت جاهزية ربطك. في مسار العميل يُتحقق من الهاتف بقالب واتساب أعدّه النشاط؛ SMS غير مدعوم. التسجيل بواسطة مسؤول مخوّل عملية منفصلة دون رمز.

GET/v1/management/operations/{operationId}

Behavior

Recovers the immutable receipt for the original accepted management operation. Date-hours recovery returns status:committed, a date_schedule receipt, separate current DateScheduleState and replayed:true; current may reflect a later edit. Other schedule/block receipts require a fresh resource read before showing current state. not_found does not fence a delayed write or authorize replacing its UUID.

Authentication

ManagementCredential

Credential rules

One server-only owner-issued wbm_ API key can carry both management and integration permissions. Additional permissions require an explicit owner-issued grant. GET /v1/management returns the management discovery view, which may be empty for a booking-only key. For credentials with appointments:read, this discovery view omits whatsapp-templates:read, whatsapp-templates:write, whatsapp-profile:read and whatsapp-profile:write to preserve calendar-client compatibility. Discover these grants through GET /v1/management/messaging-capabilities. Template/profile command authorization still uses the stored grants. Server-only owner-issued Management authority with explicit application permissions. Calling this API does not expand a credential's grants. contacts:read/write/block/sync/fields:read/fields:write are separate approvals for canonical business contacts; fields also require current typed owner grants. contacts:record remains contact recording/recovery only. These grants create no customer phone proof, booking authority, messaging consent or automatic synchronization. Hours/blocks retain their independent resource grants. booking-policy:read/write separately delegate whole-business booking settings, without schedule/provider grants; write requires read. They preserve existing appointments and create no duration-rewrite authority. Provider duration policy additionally requires explicit provider-booking-policy:read/write and exact current providerIds; booking-duration:rewrite is separately approved and does not itself grant policy read/write. Service catalogue requires explicit services:read/write, independent of provider/calendar/schedule resources; write requires read. These operations do not expand an existing credential's grants. Public presentation and reviewed service selection require explicit website-content:read/write; write requires read, independently from services:* and provider resources. Existing provider metadata/activity/assignment additionally requires providers:read/write and a nonempty explicit current providerIds grant; write requires read. This grants no provider creation, deletion, login, invitation or schedule authority. WhatsApp template/profile management requires separate whatsapp-templates:read, whatsapp-templates:write, whatsapp-profile:read and whatsapp-profile:write application scopes. Write requires its matching read scope. These grants require explicit owner approval; Meta OAuth permissions remain separate.

Recovery rechecks the original action and resource: hours:write for a weekly schedule operation; blocks:write and any required blocks:write:any grant for a block; or business/provider booking-policy read and write scopes with the original provider grant for date hours.

Request

  • operationIdpath · stringRequired
    Format and constraints
    operationId schema
    {
      "type": "string",
      "format": "uuid"
    }

Successful responses

200 · ManagementOperation

The recorded accepted receipt with replayed=true, or status=not_found. No current resource projection is returned.

application/json · ManagementOperation

Recovery of an immutable accepted management receipt, not current resource state. Use the schedule read or block listing for a fresh projection.

Exactly one of these variants must match.

  • oneOf 1 · status = "not_found"objectSchema branch
    View branch fields and rules
    • statusstringRequired in this branch

      Value: "not_found"

    • additionalPropertiesno value allowedSchema rule
  • oneOf 2 · status = "committed"objectSchema branch
    View branch fields and rules
    • statusstringRequired in this branch

      Value: "committed"

    • receiptoneOf (object | object)Required in this branch

      Exactly one of these variants must match.

      View nested fields
      • oneOf 1objectSchema branch
        View branch fields and rules
        • operationIdstring · uuidRequired in this branch
        • scheduleallOf (object & unspecified)Required in this branch

          All of these schema rules apply together.

          View nested fields
          • allOf 1objectSchema branch
            View branch fields and rules
            • resourceIdstringRequired in this branch
            • versionstringRequired in this branch

              pattern: "^b[1-9][0-9]*(?::p[1-9][0-9]*)?$"

            • timezonestringRequired in this branch
            • modestringRequired in this branch

              Allowed values: ["inherit","override"]

            • hoursanyOf (object | null)Required in this branch

              At least one of these variants must match.

              View nested fields
              • anyOf 1objectSchema branch
                View branch fields and rules
                • sundayobject; allOf (unspecified)Required in this branch

                  All of these schema rules apply together.

                  View nested fields
                  • enabledbooleanRequired in this branch
                  • openstringOptional in this branch

                    pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"

                  • closestringOptional in this branch

                    pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"

                  • breaksarrayOptional in this branch

                    maxItems: 10

                    View nested fields
                    • []objectArray item
                      View nested fields
                      • startstringRequired in this branch

                        pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"

                      • endstringRequired in this branch

                        pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"

                      • additionalPropertiesno value allowedSchema rule
                  • allOf 1unspecifiedSchema branch
                    View branch fields and rules
                    • ifobjectSchema rule
                      View branch fields and rules
                      • enabledbooleanCondition predicate

                        Value: true

                    • thenunspecifiedSchema rule
                      View branch fields and rules
                      • openunspecifiedRequired in this branch

                        Presence constraint in this rule; evaluate its enclosing condition or negation. The field’s type may be defined elsewhere.

                      • closeunspecifiedRequired in this branch

                        Presence constraint in this rule; evaluate its enclosing condition or negation. The field’s type may be defined elsewhere.

                  • additionalPropertiesno value allowedSchema rule
                • mondayobject; allOf (unspecified)Required in this branch

                  All of these schema rules apply together.

                  View nested fields
                  • enabledbooleanRequired in this branch
                  • openstringOptional in this branch

                    pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"

                  • closestringOptional in this branch

                    pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"

                  • breaksarrayOptional in this branch

                    maxItems: 10

                    View nested fields
                    • []objectArray item
                      View nested fields
                      • startstringRequired in this branch

                        pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"

                      • endstringRequired in this branch

                        pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"

                      • additionalPropertiesno value allowedSchema rule
                  • allOf 1unspecifiedSchema branch
                    View branch fields and rules
                    • ifobjectSchema rule
                      View branch fields and rules
                      • enabledbooleanCondition predicate

                        Value: true

                    • thenunspecifiedSchema rule
                      View branch fields and rules
                      • openunspecifiedRequired in this branch

                        Presence constraint in this rule; evaluate its enclosing condition or negation. The field’s type may be defined elsewhere.

                      • closeunspecifiedRequired in this branch

                        Presence constraint in this rule; evaluate its enclosing condition or negation. The field’s type may be defined elsewhere.

                  • additionalPropertiesno value allowedSchema rule
                • tuesdayobject; allOf (unspecified)Required in this branch

                  All of these schema rules apply together.

                  View nested fields
                  • enabledbooleanRequired in this branch
                  • openstringOptional in this branch

                    pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"

                  • closestringOptional in this branch

                    pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"

                  • breaksarrayOptional in this branch

                    maxItems: 10

                    View nested fields
                    • []objectArray item
                      View nested fields
                      • startstringRequired in this branch

                        pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"

                      • endstringRequired in this branch

                        pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"

                      • additionalPropertiesno value allowedSchema rule
                  • allOf 1unspecifiedSchema branch
                    View branch fields and rules
                    • ifobjectSchema rule
                      View branch fields and rules
                      • enabledbooleanCondition predicate

                        Value: true

                    • thenunspecifiedSchema rule
                      View branch fields and rules
                      • openunspecifiedRequired in this branch

                        Presence constraint in this rule; evaluate its enclosing condition or negation. The field’s type may be defined elsewhere.

                      • closeunspecifiedRequired in this branch

                        Presence constraint in this rule; evaluate its enclosing condition or negation. The field’s type may be defined elsewhere.

                  • additionalPropertiesno value allowedSchema rule
                • wednesdayobject; allOf (unspecified)Required in this branch

                  All of these schema rules apply together.

                  View nested fields
                  • enabledbooleanRequired in this branch
                  • openstringOptional in this branch

                    pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"

                  • closestringOptional in this branch

                    pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"

                  • breaksarrayOptional in this branch

                    maxItems: 10

                    View nested fields
                    • []objectArray item
                      View nested fields
                      • startstringRequired in this branch

                        pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"

                      • endstringRequired in this branch

                        pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"

                      • additionalPropertiesno value allowedSchema rule
                  • allOf 1unspecifiedSchema branch
                    View branch fields and rules
                    • ifobjectSchema rule
                      View branch fields and rules
                      • enabledbooleanCondition predicate

                        Value: true

                    • thenunspecifiedSchema rule
                      View branch fields and rules
                      • openunspecifiedRequired in this branch

                        Presence constraint in this rule; evaluate its enclosing condition or negation. The field’s type may be defined elsewhere.

                      • closeunspecifiedRequired in this branch

                        Presence constraint in this rule; evaluate its enclosing condition or negation. The field’s type may be defined elsewhere.

                  • additionalPropertiesno value allowedSchema rule
                • thursdayobject; allOf (unspecified)Required in this branch

                  All of these schema rules apply together.

                  View nested fields
                  • enabledbooleanRequired in this branch
                  • openstringOptional in this branch

                    pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"

                  • closestringOptional in this branch

                    pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"

                  • breaksarrayOptional in this branch

                    maxItems: 10

                    View nested fields
                    • []objectArray item
                      View nested fields
                      • startstringRequired in this branch

                        pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"

                      • endstringRequired in this branch

                        pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"

                      • additionalPropertiesno value allowedSchema rule
                  • allOf 1unspecifiedSchema branch
                    View branch fields and rules
                    • ifobjectSchema rule
                      View branch fields and rules
                      • enabledbooleanCondition predicate

                        Value: true

                    • thenunspecifiedSchema rule
                      View branch fields and rules
                      • openunspecifiedRequired in this branch

                        Presence constraint in this rule; evaluate its enclosing condition or negation. The field’s type may be defined elsewhere.

                      • closeunspecifiedRequired in this branch

                        Presence constraint in this rule; evaluate its enclosing condition or negation. The field’s type may be defined elsewhere.

                  • additionalPropertiesno value allowedSchema rule
                • fridayobject; allOf (unspecified)Required in this branch

                  All of these schema rules apply together.

                  View nested fields
                  • enabledbooleanRequired in this branch
                  • openstringOptional in this branch

                    pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"

                  • closestringOptional in this branch

                    pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"

                  • breaksarrayOptional in this branch

                    maxItems: 10

                    View nested fields
                    • []objectArray item
                      View nested fields
                      • startstringRequired in this branch

                        pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"

                      • endstringRequired in this branch

                        pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"

                      • additionalPropertiesno value allowedSchema rule
                  • allOf 1unspecifiedSchema branch
                    View branch fields and rules
                    • ifobjectSchema rule
                      View branch fields and rules
                      • enabledbooleanCondition predicate

                        Value: true

                    • thenunspecifiedSchema rule
                      View branch fields and rules
                      • openunspecifiedRequired in this branch

                        Presence constraint in this rule; evaluate its enclosing condition or negation. The field’s type may be defined elsewhere.

                      • closeunspecifiedRequired in this branch

                        Presence constraint in this rule; evaluate its enclosing condition or negation. The field’s type may be defined elsewhere.

                  • additionalPropertiesno value allowedSchema rule
                • saturdayobject; allOf (unspecified)Required in this branch

                  All of these schema rules apply together.

                  View nested fields
                  • enabledbooleanRequired in this branch
                  • openstringOptional in this branch

                    pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"

                  • closestringOptional in this branch

                    pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"

                  • breaksarrayOptional in this branch

                    maxItems: 10

                    View nested fields
                    • []objectArray item
                      View nested fields
                      • startstringRequired in this branch

                        pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"

                      • endstringRequired in this branch

                        pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"

                      • additionalPropertiesno value allowedSchema rule
                  • allOf 1unspecifiedSchema branch
                    View branch fields and rules
                    • ifobjectSchema rule
                      View branch fields and rules
                      • enabledbooleanCondition predicate

                        Value: true

                    • thenunspecifiedSchema rule
                      View branch fields and rules
                      • openunspecifiedRequired in this branch

                        Presence constraint in this rule; evaluate its enclosing condition or negation. The field’s type may be defined elsewhere.

                      • closeunspecifiedRequired in this branch

                        Presence constraint in this rule; evaluate its enclosing condition or negation. The field’s type may be defined elsewhere.

                  • additionalPropertiesno value allowedSchema rule
                • additionalPropertiesno value allowedSchema rule
              • anyOf 2nullSchema branch
            • effectiveHoursobjectRequired in this branch
              View nested fields
              • sundayobject; allOf (unspecified)Required in this branch

                All of these schema rules apply together.

                View nested fields
                • enabledbooleanRequired in this branch
                • openstringOptional in this branch

                  pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"

                • closestringOptional in this branch

                  pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"

                • breaksarrayOptional in this branch

                  maxItems: 10

                  View nested fields
                  • []objectArray item
                    View nested fields
                    • startstringRequired in this branch

                      pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"

                    • endstringRequired in this branch

                      pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"

                    • additionalPropertiesno value allowedSchema rule
                • allOf 1unspecifiedSchema branch
                  View branch fields and rules
                  • ifobjectSchema rule
                    View branch fields and rules
                    • enabledbooleanCondition predicate

                      Value: true

                  • thenunspecifiedSchema rule
                    View branch fields and rules
                    • openunspecifiedRequired in this branch

                      Presence constraint in this rule; evaluate its enclosing condition or negation. The field’s type may be defined elsewhere.

                    • closeunspecifiedRequired in this branch

                      Presence constraint in this rule; evaluate its enclosing condition or negation. The field’s type may be defined elsewhere.

                • additionalPropertiesno value allowedSchema rule
              • mondayobject; allOf (unspecified)Required in this branch

                All of these schema rules apply together.

                View nested fields
                • enabledbooleanRequired in this branch
                • openstringOptional in this branch

                  pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"

                • closestringOptional in this branch

                  pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"

                • breaksarrayOptional in this branch

                  maxItems: 10

                  View nested fields
                  • []objectArray item
                    View nested fields
                    • startstringRequired in this branch

                      pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"

                    • endstringRequired in this branch

                      pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"

                    • additionalPropertiesno value allowedSchema rule
                • allOf 1unspecifiedSchema branch
                  View branch fields and rules
                  • ifobjectSchema rule
                    View branch fields and rules
                    • enabledbooleanCondition predicate

                      Value: true

                  • thenunspecifiedSchema rule
                    View branch fields and rules
                    • openunspecifiedRequired in this branch

                      Presence constraint in this rule; evaluate its enclosing condition or negation. The field’s type may be defined elsewhere.

                    • closeunspecifiedRequired in this branch

                      Presence constraint in this rule; evaluate its enclosing condition or negation. The field’s type may be defined elsewhere.

                • additionalPropertiesno value allowedSchema rule
              • tuesdayobject; allOf (unspecified)Required in this branch

                All of these schema rules apply together.

                View nested fields
                • enabledbooleanRequired in this branch
                • openstringOptional in this branch

                  pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"

                • closestringOptional in this branch

                  pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"

                • breaksarrayOptional in this branch

                  maxItems: 10

                  View nested fields
                  • []objectArray item
                    View nested fields
                    • startstringRequired in this branch

                      pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"

                    • endstringRequired in this branch

                      pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"

                    • additionalPropertiesno value allowedSchema rule
                • allOf 1unspecifiedSchema branch
                  View branch fields and rules
                  • ifobjectSchema rule
                    View branch fields and rules
                    • enabledbooleanCondition predicate

                      Value: true

                  • thenunspecifiedSchema rule
                    View branch fields and rules
                    • openunspecifiedRequired in this branch

                      Presence constraint in this rule; evaluate its enclosing condition or negation. The field’s type may be defined elsewhere.

                    • closeunspecifiedRequired in this branch

                      Presence constraint in this rule; evaluate its enclosing condition or negation. The field’s type may be defined elsewhere.

                • additionalPropertiesno value allowedSchema rule
              • wednesdayobject; allOf (unspecified)Required in this branch

                All of these schema rules apply together.

                View nested fields
                • enabledbooleanRequired in this branch
                • openstringOptional in this branch

                  pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"

                • closestringOptional in this branch

                  pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"

                • breaksarrayOptional in this branch

                  maxItems: 10

                  View nested fields
                  • []objectArray item
                    View nested fields
                    • startstringRequired in this branch

                      pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"

                    • endstringRequired in this branch

                      pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"

                    • additionalPropertiesno value allowedSchema rule
                • allOf 1unspecifiedSchema branch
                  View branch fields and rules
                  • ifobjectSchema rule
                    View branch fields and rules
                    • enabledbooleanCondition predicate

                      Value: true

                  • thenunspecifiedSchema rule
                    View branch fields and rules
                    • openunspecifiedRequired in this branch

                      Presence constraint in this rule; evaluate its enclosing condition or negation. The field’s type may be defined elsewhere.

                    • closeunspecifiedRequired in this branch

                      Presence constraint in this rule; evaluate its enclosing condition or negation. The field’s type may be defined elsewhere.

                • additionalPropertiesno value allowedSchema rule
              • thursdayobject; allOf (unspecified)Required in this branch

                All of these schema rules apply together.

                View nested fields
                • enabledbooleanRequired in this branch
                • openstringOptional in this branch

                  pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"

                • closestringOptional in this branch

                  pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"

                • breaksarrayOptional in this branch

                  maxItems: 10

                  View nested fields
                  • []objectArray item
                    View nested fields
                    • startstringRequired in this branch

                      pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"

                    • endstringRequired in this branch

                      pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"

                    • additionalPropertiesno value allowedSchema rule
                • allOf 1unspecifiedSchema branch
                  View branch fields and rules
                  • ifobjectSchema rule
                    View branch fields and rules
                    • enabledbooleanCondition predicate

                      Value: true

                  • thenunspecifiedSchema rule
                    View branch fields and rules
                    • openunspecifiedRequired in this branch

                      Presence constraint in this rule; evaluate its enclosing condition or negation. The field’s type may be defined elsewhere.

                    • closeunspecifiedRequired in this branch

                      Presence constraint in this rule; evaluate its enclosing condition or negation. The field’s type may be defined elsewhere.

                • additionalPropertiesno value allowedSchema rule
              • fridayobject; allOf (unspecified)Required in this branch

                All of these schema rules apply together.

                View nested fields
                • enabledbooleanRequired in this branch
                • openstringOptional in this branch

                  pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"

                • closestringOptional in this branch

                  pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"

                • breaksarrayOptional in this branch

                  maxItems: 10

                  View nested fields
                  • []objectArray item
                    View nested fields
                    • startstringRequired in this branch

                      pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"

                    • endstringRequired in this branch

                      pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"

                    • additionalPropertiesno value allowedSchema rule
                • allOf 1unspecifiedSchema branch
                  View branch fields and rules
                  • ifobjectSchema rule
                    View branch fields and rules
                    • enabledbooleanCondition predicate

                      Value: true

                  • thenunspecifiedSchema rule
                    View branch fields and rules
                    • openunspecifiedRequired in this branch

                      Presence constraint in this rule; evaluate its enclosing condition or negation. The field’s type may be defined elsewhere.

                    • closeunspecifiedRequired in this branch

                      Presence constraint in this rule; evaluate its enclosing condition or negation. The field’s type may be defined elsewhere.

                • additionalPropertiesno value allowedSchema rule
              • saturdayobject; allOf (unspecified)Required in this branch

                All of these schema rules apply together.

                View nested fields
                • enabledbooleanRequired in this branch
                • openstringOptional in this branch

                  pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"

                • closestringOptional in this branch

                  pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"

                • breaksarrayOptional in this branch

                  maxItems: 10

                  View nested fields
                  • []objectArray item
                    View nested fields
                    • startstringRequired in this branch

                      pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"

                    • endstringRequired in this branch

                      pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"

                    • additionalPropertiesno value allowedSchema rule
                • allOf 1unspecifiedSchema branch
                  View branch fields and rules
                  • ifobjectSchema rule
                    View branch fields and rules
                    • enabledbooleanCondition predicate

                      Value: true

                  • thenunspecifiedSchema rule
                    View branch fields and rules
                    • openunspecifiedRequired in this branch

                      Presence constraint in this rule; evaluate its enclosing condition or negation. The field’s type may be defined elsewhere.

                    • closeunspecifiedRequired in this branch

                      Presence constraint in this rule; evaluate its enclosing condition or negation. The field’s type may be defined elsewhere.

                • additionalPropertiesno value allowedSchema rule
              • additionalPropertiesno value allowedSchema rule
            • additionalPropertiesno value allowedSchema rule
          • allOf 2unspecifiedSchema branch

            Schedule immediately after this operation was accepted. A replay or management recovery can return this historical state after later changes.

        • preservedAppointmentCountintegerRequired in this branch

          minimum: 0

        • additionalPropertiesno value allowedSchema rule
      • oneOf 2objectSchema branch
        View branch fields and rules
        • operationIdstring · uuidRequired in this branch
        • blockIdstring · uuidRequired in this branch
        • versionintegerRequired in this branch

          minimum: 1

        • releasedbooleanRequired in this branch
        • providerIdanyOf (string | null)Required in this branch

          At least one of these variants must match.

          View nested fields
          • anyOf 1string · uuidSchema branch
          • anyOf 2nullSchema branch
        • startAtstring · date-timeRequired in this branch
        • endAtstring · date-timeRequired in this branch
        • preservedAppointmentCountintegerRequired in this branch

          minimum: 0

        • additionalPropertiesno value allowedSchema rule
    • replayedbooleanRequired in this branch
    • additionalPropertiesno value allowedSchema rule
  • oneOf 3 · status = "committed"objectSchema branch
    View branch fields and rules
    • statusstringRequired in this branch

      Value: "committed"

    • receiptobjectRequired in this branch
      View nested fields
      • operationIdstring · uuidRequired in this branch
      • actionstringRequired in this branch

        Value: "date_schedule"

      • resourceIdoneOf (string | string)Required in this branch

        Exactly one of these variants must match.

        View nested fields
        • oneOf 1stringSchema branch

          Value: "business"

        • oneOf 2string · uuidSchema branch
      • datestring · dateRequired in this branch
      • dayHoursoneOf (object; allOf (unspecified) | null)Required in this branch

        Exactly one of these variants must match.

        View nested fields
        • oneOf 1object; allOf (unspecified)Schema branch

          All of these schema rules apply together.

          View branch fields and rules
          • enabledbooleanRequired in this branch
          • openstringOptional in this branch

            pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"

          • closestringOptional in this branch

            pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"

          • breaksarrayOptional in this branch

            maxItems: 10

            View nested fields
            • []objectArray item
              View nested fields
              • startstringRequired in this branch

                pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"

              • endstringRequired in this branch

                pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"

              • additionalPropertiesno value allowedSchema rule
          • allOf 1unspecifiedSchema branch
            View branch fields and rules
            • ifobjectSchema rule
              View branch fields and rules
              • enabledbooleanCondition predicate

                Value: true

            • thenunspecifiedSchema rule
              View branch fields and rules
              • openunspecifiedRequired in this branch

                Presence constraint in this rule; evaluate its enclosing condition or negation. The field’s type may be defined elsewhere.

              • closeunspecifiedRequired in this branch

                Presence constraint in this rule; evaluate its enclosing condition or negation. The field’s type may be defined elsewhere.

          • additionalPropertiesno value allowedSchema rule
        • oneOf 2nullSchema branch
      • versionstringRequired in this branch

        pattern: "^ds:[a-f0-9]{64}$"

      • preservedAppointmentCountintegerRequired in this branch

        minimum: 0

      • additionalPropertiesno value allowedSchema rule
    • currentobjectRequired in this branch
      View nested fields
      • resourceIdoneOf (string | string)Required in this branch

        Exactly one of these variants must match.

        View nested fields
        • oneOf 1stringSchema branch

          Value: "business"

        • oneOf 2string · uuidSchema branch
      • timezonestringRequired in this branch

        minLength: 1

      • datestring · dateRequired in this branch
      • versionstringRequired in this branch

        pattern: "^ds:[a-f0-9]{64}$"

      • dayHoursobject; allOf (unspecified)Required in this branch

        All of these schema rules apply together.

        View nested fields
        • enabledbooleanRequired in this branch
        • openstringOptional in this branch

          pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"

        • closestringOptional in this branch

          pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"

        • breaksarrayOptional in this branch

          maxItems: 10

          View nested fields
          • []objectArray item
            View nested fields
            • startstringRequired in this branch

              pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"

            • endstringRequired in this branch

              pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"

            • additionalPropertiesno value allowedSchema rule
        • allOf 1unspecifiedSchema branch
          View branch fields and rules
          • ifobjectSchema rule
            View branch fields and rules
            • enabledbooleanCondition predicate

              Value: true

          • thenunspecifiedSchema rule
            View branch fields and rules
            • openunspecifiedRequired in this branch

              Presence constraint in this rule; evaluate its enclosing condition or negation. The field’s type may be defined elsewhere.

            • closeunspecifiedRequired in this branch

              Presence constraint in this rule; evaluate its enclosing condition or negation. The field’s type may be defined elsewhere.

        • additionalPropertiesno value allowedSchema rule
      • weeklyHoursobject; allOf (unspecified)Required in this branch

        All of these schema rules apply together.

        View nested fields
        • enabledbooleanRequired in this branch
        • openstringOptional in this branch

          pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"

        • closestringOptional in this branch

          pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"

        • breaksarrayOptional in this branch

          maxItems: 10

          View nested fields
          • []objectArray item
            View nested fields
            • startstringRequired in this branch

              pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"

            • endstringRequired in this branch

              pattern: "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"

            • additionalPropertiesno value allowedSchema rule
        • allOf 1unspecifiedSchema branch
          View branch fields and rules
          • ifobjectSchema rule
            View branch fields and rules
            • enabledbooleanCondition predicate

              Value: true

          • thenunspecifiedSchema rule
            View branch fields and rules
            • openunspecifiedRequired in this branch

              Presence constraint in this rule; evaluate its enclosing condition or negation. The field’s type may be defined elsewhere.

            • closeunspecifiedRequired in this branch

              Presence constraint in this rule; evaluate its enclosing condition or negation. The field’s type may be defined elsewhere.

        • additionalPropertiesno value allowedSchema rule
      • overriddenbooleanRequired in this branch
      • additionalPropertiesno value allowedSchema rule
    • replayedbooleanRequired in this branch
    • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "oneOf": [
    {
      "type": "object",
      "properties": {
        "status": {
          "const": "not_found"
        }
      },
      "required": [
        "status"
      ],
      "additionalProperties": false
    },
    {
      "type": "object",
      "properties": {
        "status": {
          "const": "committed"
        },
        "receipt": {
          "oneOf": [
            {
              "type": "object",
              "properties": {
                "operationId": {
                  "type": "string",
                  "format": "uuid"
                },
                "schedule": {
                  "allOf": [
                    {
                      "type": "object",
                      "properties": {
                        "resourceId": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string",
                          "pattern": "^b[1-9][0-9]*(?::p[1-9][0-9]*)?$"
                        },
                        "timezone": {
                          "type": "string"
                        },
                        "mode": {
                          "enum": [
                            "inherit",
                            "override"
                          ]
                        },
                        "hours": {
                          "anyOf": [
                            {
                              "type": "object",
                              "properties": {
                                "sunday": {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "properties": {
                                    "enabled": {
                                      "type": "boolean"
                                    },
                                    "open": {
                                      "type": "string",
                                      "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                                    },
                                    "close": {
                                      "type": "string",
                                      "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                                    },
                                    "breaks": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "additionalProperties": false,
                                        "properties": {
                                          "start": {
                                            "type": "string",
                                            "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                                          },
                                          "end": {
                                            "type": "string",
                                            "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                                          }
                                        },
                                        "required": [
                                          "start",
                                          "end"
                                        ]
                                      },
                                      "maxItems": 10
                                    }
                                  },
                                  "required": [
                                    "enabled"
                                  ],
                                  "allOf": [
                                    {
                                      "if": {
                                        "properties": {
                                          "enabled": {
                                            "const": true
                                          }
                                        }
                                      },
                                      "then": {
                                        "required": [
                                          "open",
                                          "close"
                                        ]
                                      }
                                    }
                                  ]
                                },
                                "monday": {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "properties": {
                                    "enabled": {
                                      "type": "boolean"
                                    },
                                    "open": {
                                      "type": "string",
                                      "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                                    },
                                    "close": {
                                      "type": "string",
                                      "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                                    },
                                    "breaks": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "additionalProperties": false,
                                        "properties": {
                                          "start": {
                                            "type": "string",
                                            "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                                          },
                                          "end": {
                                            "type": "string",
                                            "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                                          }
                                        },
                                        "required": [
                                          "start",
                                          "end"
                                        ]
                                      },
                                      "maxItems": 10
                                    }
                                  },
                                  "required": [
                                    "enabled"
                                  ],
                                  "allOf": [
                                    {
                                      "if": {
                                        "properties": {
                                          "enabled": {
                                            "const": true
                                          }
                                        }
                                      },
                                      "then": {
                                        "required": [
                                          "open",
                                          "close"
                                        ]
                                      }
                                    }
                                  ]
                                },
                                "tuesday": {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "properties": {
                                    "enabled": {
                                      "type": "boolean"
                                    },
                                    "open": {
                                      "type": "string",
                                      "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                                    },
                                    "close": {
                                      "type": "string",
                                      "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                                    },
                                    "breaks": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "additionalProperties": false,
                                        "properties": {
                                          "start": {
                                            "type": "string",
                                            "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                                          },
                                          "end": {
                                            "type": "string",
                                            "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                                          }
                                        },
                                        "required": [
                                          "start",
                                          "end"
                                        ]
                                      },
                                      "maxItems": 10
                                    }
                                  },
                                  "required": [
                                    "enabled"
                                  ],
                                  "allOf": [
                                    {
                                      "if": {
                                        "properties": {
                                          "enabled": {
                                            "const": true
                                          }
                                        }
                                      },
                                      "then": {
                                        "required": [
                                          "open",
                                          "close"
                                        ]
                                      }
                                    }
                                  ]
                                },
                                "wednesday": {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "properties": {
                                    "enabled": {
                                      "type": "boolean"
                                    },
                                    "open": {
                                      "type": "string",
                                      "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                                    },
                                    "close": {
                                      "type": "string",
                                      "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                                    },
                                    "breaks": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "additionalProperties": false,
                                        "properties": {
                                          "start": {
                                            "type": "string",
                                            "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                                          },
                                          "end": {
                                            "type": "string",
                                            "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                                          }
                                        },
                                        "required": [
                                          "start",
                                          "end"
                                        ]
                                      },
                                      "maxItems": 10
                                    }
                                  },
                                  "required": [
                                    "enabled"
                                  ],
                                  "allOf": [
                                    {
                                      "if": {
                                        "properties": {
                                          "enabled": {
                                            "const": true
                                          }
                                        }
                                      },
                                      "then": {
                                        "required": [
                                          "open",
                                          "close"
                                        ]
                                      }
                                    }
                                  ]
                                },
                                "thursday": {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "properties": {
                                    "enabled": {
                                      "type": "boolean"
                                    },
                                    "open": {
                                      "type": "string",
                                      "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                                    },
                                    "close": {
                                      "type": "string",
                                      "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                                    },
                                    "breaks": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "additionalProperties": false,
                                        "properties": {
                                          "start": {
                                            "type": "string",
                                            "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                                          },
                                          "end": {
                                            "type": "string",
                                            "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                                          }
                                        },
                                        "required": [
                                          "start",
                                          "end"
                                        ]
                                      },
                                      "maxItems": 10
                                    }
                                  },
                                  "required": [
                                    "enabled"
                                  ],
                                  "allOf": [
                                    {
                                      "if": {
                                        "properties": {
                                          "enabled": {
                                            "const": true
                                          }
                                        }
                                      },
                                      "then": {
                                        "required": [
                                          "open",
                                          "close"
                                        ]
                                      }
                                    }
                                  ]
                                },
                                "friday": {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "properties": {
                                    "enabled": {
                                      "type": "boolean"
                                    },
                                    "open": {
                                      "type": "string",
                                      "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                                    },
                                    "close": {
                                      "type": "string",
                                      "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                                    },
                                    "breaks": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "additionalProperties": false,
                                        "properties": {
                                          "start": {
                                            "type": "string",
                                            "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                                          },
                                          "end": {
                                            "type": "string",
                                            "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                                          }
                                        },
                                        "required": [
                                          "start",
                                          "end"
                                        ]
                                      },
                                      "maxItems": 10
                                    }
                                  },
                                  "required": [
                                    "enabled"
                                  ],
                                  "allOf": [
                                    {
                                      "if": {
                                        "properties": {
                                          "enabled": {
                                            "const": true
                                          }
                                        }
                                      },
                                      "then": {
                                        "required": [
                                          "open",
                                          "close"
                                        ]
                                      }
                                    }
                                  ]
                                },
                                "saturday": {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "properties": {
                                    "enabled": {
                                      "type": "boolean"
                                    },
                                    "open": {
                                      "type": "string",
                                      "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                                    },
                                    "close": {
                                      "type": "string",
                                      "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                                    },
                                    "breaks": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "additionalProperties": false,
                                        "properties": {
                                          "start": {
                                            "type": "string",
                                            "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                                          },
                                          "end": {
                                            "type": "string",
                                            "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                                          }
                                        },
                                        "required": [
                                          "start",
                                          "end"
                                        ]
                                      },
                                      "maxItems": 10
                                    }
                                  },
                                  "required": [
                                    "enabled"
                                  ],
                                  "allOf": [
                                    {
                                      "if": {
                                        "properties": {
                                          "enabled": {
                                            "const": true
                                          }
                                        }
                                      },
                                      "then": {
                                        "required": [
                                          "open",
                                          "close"
                                        ]
                                      }
                                    }
                                  ]
                                }
                              },
                              "additionalProperties": false,
                              "required": [
                                "sunday",
                                "monday",
                                "tuesday",
                                "wednesday",
                                "thursday",
                                "friday",
                                "saturday"
                              ]
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "effectiveHours": {
                          "type": "object",
                          "properties": {
                            "sunday": {
                              "type": "object",
                              "additionalProperties": false,
                              "properties": {
                                "enabled": {
                                  "type": "boolean"
                                },
                                "open": {
                                  "type": "string",
                                  "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                                },
                                "close": {
                                  "type": "string",
                                  "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                                },
                                "breaks": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "additionalProperties": false,
                                    "properties": {
                                      "start": {
                                        "type": "string",
                                        "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                                      },
                                      "end": {
                                        "type": "string",
                                        "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                                      }
                                    },
                                    "required": [
                                      "start",
                                      "end"
                                    ]
                                  },
                                  "maxItems": 10
                                }
                              },
                              "required": [
                                "enabled"
                              ],
                              "allOf": [
                                {
                                  "if": {
                                    "properties": {
                                      "enabled": {
                                        "const": true
                                      }
                                    }
                                  },
                                  "then": {
                                    "required": [
                                      "open",
                                      "close"
                                    ]
                                  }
                                }
                              ]
                            },
                            "monday": {
                              "type": "object",
                              "additionalProperties": false,
                              "properties": {
                                "enabled": {
                                  "type": "boolean"
                                },
                                "open": {
                                  "type": "string",
                                  "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                                },
                                "close": {
                                  "type": "string",
                                  "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                                },
                                "breaks": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "additionalProperties": false,
                                    "properties": {
                                      "start": {
                                        "type": "string",
                                        "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                                      },
                                      "end": {
                                        "type": "string",
                                        "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                                      }
                                    },
                                    "required": [
                                      "start",
                                      "end"
                                    ]
                                  },
                                  "maxItems": 10
                                }
                              },
                              "required": [
                                "enabled"
                              ],
                              "allOf": [
                                {
                                  "if": {
                                    "properties": {
                                      "enabled": {
                                        "const": true
                                      }
                                    }
                                  },
                                  "then": {
                                    "required": [
                                      "open",
                                      "close"
                                    ]
                                  }
                                }
                              ]
                            },
                            "tuesday": {
                              "type": "object",
                              "additionalProperties": false,
                              "properties": {
                                "enabled": {
                                  "type": "boolean"
                                },
                                "open": {
                                  "type": "string",
                                  "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                                },
                                "close": {
                                  "type": "string",
                                  "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                                },
                                "breaks": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "additionalProperties": false,
                                    "properties": {
                                      "start": {
                                        "type": "string",
                                        "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                                      },
                                      "end": {
                                        "type": "string",
                                        "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                                      }
                                    },
                                    "required": [
                                      "start",
                                      "end"
                                    ]
                                  },
                                  "maxItems": 10
                                }
                              },
                              "required": [
                                "enabled"
                              ],
                              "allOf": [
                                {
                                  "if": {
                                    "properties": {
                                      "enabled": {
                                        "const": true
                                      }
                                    }
                                  },
                                  "then": {
                                    "required": [
                                      "open",
                                      "close"
                                    ]
                                  }
                                }
                              ]
                            },
                            "wednesday": {
                              "type": "object",
                              "additionalProperties": false,
                              "properties": {
                                "enabled": {
                                  "type": "boolean"
                                },
                                "open": {
                                  "type": "string",
                                  "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                                },
                                "close": {
                                  "type": "string",
                                  "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                                },
                                "breaks": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "additionalProperties": false,
                                    "properties": {
                                      "start": {
                                        "type": "string",
                                        "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                                      },
                                      "end": {
                                        "type": "string",
                                        "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                                      }
                                    },
                                    "required": [
                                      "start",
                                      "end"
                                    ]
                                  },
                                  "maxItems": 10
                                }
                              },
                              "required": [
                                "enabled"
                              ],
                              "allOf": [
                                {
                                  "if": {
                                    "properties": {
                                      "enabled": {
                                        "const": true
                                      }
                                    }
                                  },
                                  "then": {
                                    "required": [
                                      "open",
                                      "close"
                                    ]
                                  }
                                }
                              ]
                            },
                            "thursday": {
                              "type": "object",
                              "additionalProperties": false,
                              "properties": {
                                "enabled": {
                                  "type": "boolean"
                                },
                                "open": {
                                  "type": "string",
                                  "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                                },
                                "close": {
                                  "type": "string",
                                  "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                                },
                                "breaks": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "additionalProperties": false,
                                    "properties": {
                                      "start": {
                                        "type": "string",
                                        "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                                      },
                                      "end": {
                                        "type": "string",
                                        "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                                      }
                                    },
                                    "required": [
                                      "start",
                                      "end"
                                    ]
                                  },
                                  "maxItems": 10
                                }
                              },
                              "required": [
                                "enabled"
                              ],
                              "allOf": [
                                {
                                  "if": {
                                    "properties": {
                                      "enabled": {
                                        "const": true
                                      }
                                    }
                                  },
                                  "then": {
                                    "required": [
                                      "open",
                                      "close"
                                    ]
                                  }
                                }
                              ]
                            },
                            "friday": {
                              "type": "object",
                              "additionalProperties": false,
                              "properties": {
                                "enabled": {
                                  "type": "boolean"
                                },
                                "open": {
                                  "type": "string",
                                  "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                                },
                                "close": {
                                  "type": "string",
                                  "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                                },
                                "breaks": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "additionalProperties": false,
                                    "properties": {
                                      "start": {
                                        "type": "string",
                                        "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                                      },
                                      "end": {
                                        "type": "string",
                                        "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                                      }
                                    },
                                    "required": [
                                      "start",
                                      "end"
                                    ]
                                  },
                                  "maxItems": 10
                                }
                              },
                              "required": [
                                "enabled"
                              ],
                              "allOf": [
                                {
                                  "if": {
                                    "properties": {
                                      "enabled": {
                                        "const": true
                                      }
                                    }
                                  },
                                  "then": {
                                    "required": [
                                      "open",
                                      "close"
                                    ]
                                  }
                                }
                              ]
                            },
                            "saturday": {
                              "type": "object",
                              "additionalProperties": false,
                              "properties": {
                                "enabled": {
                                  "type": "boolean"
                                },
                                "open": {
                                  "type": "string",
                                  "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                                },
                                "close": {
                                  "type": "string",
                                  "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                                },
                                "breaks": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "additionalProperties": false,
                                    "properties": {
                                      "start": {
                                        "type": "string",
                                        "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                                      },
                                      "end": {
                                        "type": "string",
                                        "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                                      }
                                    },
                                    "required": [
                                      "start",
                                      "end"
                                    ]
                                  },
                                  "maxItems": 10
                                }
                              },
                              "required": [
                                "enabled"
                              ],
                              "allOf": [
                                {
                                  "if": {
                                    "properties": {
                                      "enabled": {
                                        "const": true
                                      }
                                    }
                                  },
                                  "then": {
                                    "required": [
                                      "open",
                                      "close"
                                    ]
                                  }
                                }
                              ]
                            }
                          },
                          "additionalProperties": false,
                          "required": [
                            "sunday",
                            "monday",
                            "tuesday",
                            "wednesday",
                            "thursday",
                            "friday",
                            "saturday"
                          ]
                        }
                      },
                      "required": [
                        "resourceId",
                        "version",
                        "timezone",
                        "mode",
                        "hours",
                        "effectiveHours"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "description": "Schedule immediately after this operation was accepted. A replay or management recovery can return this historical state after later changes."
                    }
                  ]
                },
                "preservedAppointmentCount": {
                  "type": "integer",
                  "minimum": 0
                }
              },
              "required": [
                "operationId",
                "schedule",
                "preservedAppointmentCount"
              ],
              "additionalProperties": false
            },
            {
              "type": "object",
              "properties": {
                "operationId": {
                  "type": "string",
                  "format": "uuid"
                },
                "blockId": {
                  "type": "string",
                  "format": "uuid"
                },
                "version": {
                  "type": "integer",
                  "minimum": 1
                },
                "released": {
                  "type": "boolean"
                },
                "providerId": {
                  "anyOf": [
                    {
                      "type": "string",
                      "format": "uuid"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "startAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "endAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "preservedAppointmentCount": {
                  "type": "integer",
                  "minimum": 0
                }
              },
              "required": [
                "operationId",
                "blockId",
                "version",
                "released",
                "providerId",
                "startAt",
                "endAt",
                "preservedAppointmentCount"
              ],
              "additionalProperties": false
            }
          ]
        },
        "replayed": {
          "type": "boolean"
        }
      },
      "required": [
        "status",
        "receipt",
        "replayed"
      ],
      "additionalProperties": false
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "status": {
          "const": "committed"
        },
        "receipt": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "operationId": {
              "type": "string",
              "format": "uuid"
            },
            "action": {
              "const": "date_schedule"
            },
            "resourceId": {
              "oneOf": [
                {
                  "const": "business"
                },
                {
                  "type": "string",
                  "format": "uuid"
                }
              ]
            },
            "date": {
              "type": "string",
              "format": "date"
            },
            "dayHours": {
              "oneOf": [
                {
                  "type": "object",
                  "additionalProperties": false,
                  "properties": {
                    "enabled": {
                      "type": "boolean"
                    },
                    "open": {
                      "type": "string",
                      "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                    },
                    "close": {
                      "type": "string",
                      "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                    },
                    "breaks": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "properties": {
                          "start": {
                            "type": "string",
                            "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                          },
                          "end": {
                            "type": "string",
                            "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                          }
                        },
                        "required": [
                          "start",
                          "end"
                        ]
                      },
                      "maxItems": 10
                    }
                  },
                  "required": [
                    "enabled"
                  ],
                  "allOf": [
                    {
                      "if": {
                        "properties": {
                          "enabled": {
                            "const": true
                          }
                        }
                      },
                      "then": {
                        "required": [
                          "open",
                          "close"
                        ]
                      }
                    }
                  ]
                },
                {
                  "type": "null"
                }
              ]
            },
            "version": {
              "type": "string",
              "pattern": "^ds:[a-f0-9]{64}$"
            },
            "preservedAppointmentCount": {
              "type": "integer",
              "minimum": 0
            }
          },
          "required": [
            "operationId",
            "action",
            "resourceId",
            "date",
            "dayHours",
            "version",
            "preservedAppointmentCount"
          ]
        },
        "current": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "resourceId": {
              "oneOf": [
                {
                  "const": "business"
                },
                {
                  "type": "string",
                  "format": "uuid"
                }
              ]
            },
            "timezone": {
              "type": "string",
              "minLength": 1
            },
            "date": {
              "type": "string",
              "format": "date"
            },
            "version": {
              "type": "string",
              "pattern": "^ds:[a-f0-9]{64}$"
            },
            "dayHours": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "enabled": {
                  "type": "boolean"
                },
                "open": {
                  "type": "string",
                  "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                },
                "close": {
                  "type": "string",
                  "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                },
                "breaks": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": false,
                    "properties": {
                      "start": {
                        "type": "string",
                        "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                      },
                      "end": {
                        "type": "string",
                        "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                      }
                    },
                    "required": [
                      "start",
                      "end"
                    ]
                  },
                  "maxItems": 10
                }
              },
              "required": [
                "enabled"
              ],
              "allOf": [
                {
                  "if": {
                    "properties": {
                      "enabled": {
                        "const": true
                      }
                    }
                  },
                  "then": {
                    "required": [
                      "open",
                      "close"
                    ]
                  }
                }
              ]
            },
            "weeklyHours": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "enabled": {
                  "type": "boolean"
                },
                "open": {
                  "type": "string",
                  "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                },
                "close": {
                  "type": "string",
                  "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                },
                "breaks": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": false,
                    "properties": {
                      "start": {
                        "type": "string",
                        "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                      },
                      "end": {
                        "type": "string",
                        "pattern": "^(?:[01][0-9]|2[0-3]):[0-5][0-9]$"
                      }
                    },
                    "required": [
                      "start",
                      "end"
                    ]
                  },
                  "maxItems": 10
                }
              },
              "required": [
                "enabled"
              ],
              "allOf": [
                {
                  "if": {
                    "properties": {
                      "enabled": {
                        "const": true
                      }
                    }
                  },
                  "then": {
                    "required": [
                      "open",
                      "close"
                    ]
                  }
                }
              ]
            },
            "overridden": {
              "type": "boolean"
            }
          },
          "required": [
            "resourceId",
            "timezone",
            "date",
            "version",
            "dayHours",
            "weeklyHours",
            "overridden"
          ]
        },
        "replayed": {
          "type": "boolean"
        }
      },
      "required": [
        "status",
        "receipt",
        "current",
        "replayed"
      ]
    }
  ],
  "description": "Recovery of an immutable accepted management receipt, not current resource state. Use the schedule read or block listing for a fresh projection."
}

Errors and recovery

Error responses declared in the contract (10)

The preview contract shares generic error definitions across operations. This list is not an exhaustive list of runtime errors.

401 · Structured error.

application/json · Error

  • errorobjectRequired
    View nested fields
    • codestringRequired
    • requestIdstring · uuidRequired
    • retryAfterintegerOptional

      minimum: 1

    • additionalPropertiesno value allowedSchema rule
  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "error": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "requestId": {
          "type": "string",
          "format": "uuid"
        },
        "retryAfter": {
          "type": "integer",
          "minimum": 1
        }
      },
      "required": [
        "code",
        "requestId"
      ]
    }
  },
  "required": [
    "error"
  ]
}
403 · Structured error.

application/json · Error

  • errorobjectRequired
    View nested fields
    • codestringRequired
    • requestIdstring · uuidRequired
    • retryAfterintegerOptional

      minimum: 1

    • additionalPropertiesno value allowedSchema rule
  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "error": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "requestId": {
          "type": "string",
          "format": "uuid"
        },
        "retryAfter": {
          "type": "integer",
          "minimum": 1
        }
      },
      "required": [
        "code",
        "requestId"
      ]
    }
  },
  "required": [
    "error"
  ]
}
404 · Structured error.

application/json · Error

  • errorobjectRequired
    View nested fields
    • codestringRequired
    • requestIdstring · uuidRequired
    • retryAfterintegerOptional

      minimum: 1

    • additionalPropertiesno value allowedSchema rule
  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "error": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "requestId": {
          "type": "string",
          "format": "uuid"
        },
        "retryAfter": {
          "type": "integer",
          "minimum": 1
        }
      },
      "required": [
        "code",
        "requestId"
      ]
    }
  },
  "required": [
    "error"
  ]
}
409 · Structured error.

application/json · Error

  • errorobjectRequired
    View nested fields
    • codestringRequired
    • requestIdstring · uuidRequired
    • retryAfterintegerOptional

      minimum: 1

    • additionalPropertiesno value allowedSchema rule
  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "error": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "requestId": {
          "type": "string",
          "format": "uuid"
        },
        "retryAfter": {
          "type": "integer",
          "minimum": 1
        }
      },
      "required": [
        "code",
        "requestId"
      ]
    }
  },
  "required": [
    "error"
  ]
}
410 · Structured error.

application/json · Error

  • errorobjectRequired
    View nested fields
    • codestringRequired
    • requestIdstring · uuidRequired
    • retryAfterintegerOptional

      minimum: 1

    • additionalPropertiesno value allowedSchema rule
  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "error": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "requestId": {
          "type": "string",
          "format": "uuid"
        },
        "retryAfter": {
          "type": "integer",
          "minimum": 1
        }
      },
      "required": [
        "code",
        "requestId"
      ]
    }
  },
  "required": [
    "error"
  ]
}
412 · Structured error.

application/json · Error

  • errorobjectRequired
    View nested fields
    • codestringRequired
    • requestIdstring · uuidRequired
    • retryAfterintegerOptional

      minimum: 1

    • additionalPropertiesno value allowedSchema rule
  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "error": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "requestId": {
          "type": "string",
          "format": "uuid"
        },
        "retryAfter": {
          "type": "integer",
          "minimum": 1
        }
      },
      "required": [
        "code",
        "requestId"
      ]
    }
  },
  "required": [
    "error"
  ]
}
422 · Structured error.

application/json · Error

  • errorobjectRequired
    View nested fields
    • codestringRequired
    • requestIdstring · uuidRequired
    • retryAfterintegerOptional

      minimum: 1

    • additionalPropertiesno value allowedSchema rule
  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "error": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "requestId": {
          "type": "string",
          "format": "uuid"
        },
        "retryAfter": {
          "type": "integer",
          "minimum": 1
        }
      },
      "required": [
        "code",
        "requestId"
      ]
    }
  },
  "required": [
    "error"
  ]
}
428 · Structured error.

application/json · Error

  • errorobjectRequired
    View nested fields
    • codestringRequired
    • requestIdstring · uuidRequired
    • retryAfterintegerOptional

      minimum: 1

    • additionalPropertiesno value allowedSchema rule
  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "error": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "requestId": {
          "type": "string",
          "format": "uuid"
        },
        "retryAfter": {
          "type": "integer",
          "minimum": 1
        }
      },
      "required": [
        "code",
        "requestId"
      ]
    }
  },
  "required": [
    "error"
  ]
}
429 · Rate limit; honor Retry-After.

application/json · Error

  • errorobjectRequired
    View nested fields
    • codestringRequired
    • requestIdstring · uuidRequired
    • retryAfterintegerOptional

      minimum: 1

    • additionalPropertiesno value allowedSchema rule
  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "error": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "requestId": {
          "type": "string",
          "format": "uuid"
        },
        "retryAfter": {
          "type": "integer",
          "minimum": 1
        }
      },
      "required": [
        "code",
        "requestId"
      ]
    }
  },
  "required": [
    "error"
  ]
}
503 · Outcome may be unknown. Keep operation key and reconcile.

application/json · Error

  • errorobjectRequired
    View nested fields
    • codestringRequired
    • requestIdstring · uuidRequired
    • retryAfterintegerOptional

      minimum: 1

    • additionalPropertiesno value allowedSchema rule
  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "error": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "requestId": {
          "type": "string",
          "format": "uuid"
        },
        "retryAfter": {
          "type": "integer",
          "minimum": 1
        }
      },
      "required": [
        "code",
        "requestId"
      ]
    }
  },
  "required": [
    "error"
  ]
}