{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/movementors-com/json-schema/movementors-com-booking-schema.json",
  "title": "Booking",
  "x-generated": "2026-11-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/movementors-com-openapi.json#/components/schemas/Booking",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "status": {
      "type": "string",
      "enum": [
        "PENDING",
        "CONFIRMED",
        "CANCELLED",
        "COMPLETED",
        "NO_SHOW"
      ]
    },
    "priceCents": {
      "type": "integer"
    },
    "currency": {
      "type": "string"
    },
    "partySize": {
      "type": "integer"
    },
    "notes": {
      "type": [
        "string",
        "null"
      ]
    },
    "guestName": {
      "type": [
        "string",
        "null"
      ]
    },
    "guestEmail": {
      "type": [
        "string",
        "null"
      ]
    },
    "createdAt": {
      "type": "string"
    },
    "classSchedule": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "startTime": {
          "type": "string"
        },
        "endTime": {
          "type": "string"
        },
        "timezone": {
          "type": "string"
        },
        "class": {
          "type": "object",
          "properties": {
            "id": {
              "type": "string"
            },
            "title": {
              "type": "string"
            },
            "slug": {
              "type": "string"
            }
          },
          "required": [
            "id",
            "title",
            "slug"
          ]
        }
      },
      "required": [
        "id",
        "startTime",
        "endTime",
        "timezone",
        "class"
      ]
    }
  },
  "required": [
    "id",
    "status",
    "priceCents",
    "currency",
    "partySize",
    "notes",
    "guestName",
    "guestEmail",
    "createdAt",
    "classSchedule"
  ]
}