{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/provecart-com/json-schema/provecart-com-reservation-verify-in-schema.json",
  "title": "ReservationVerifyIn",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/provecart-com-openapi.json#/components/schemas/ReservationVerifyIn",
  "properties": {
    "mandate_id": {
      "type": "string",
      "title": "Mandate Id"
    },
    "merchant": {
      "$ref": "#/$defs/MerchantIn"
    },
    "provider_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Provider Name"
    },
    "location": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Location"
    },
    "date": {
      "type": "string",
      "title": "Date"
    },
    "time": {
      "type": "string",
      "title": "Time"
    },
    "party_size": {
      "type": "integer",
      "title": "Party Size"
    },
    "name_on_reservation": {
      "type": "string",
      "title": "Name On Reservation"
    },
    "deposit_amount": {
      "type": "number",
      "minimum": 0.0,
      "title": "Deposit Amount",
      "default": 0.0
    },
    "total_amount": {
      "type": "number",
      "minimum": 0.0,
      "title": "Total Amount"
    },
    "currency": {
      "type": "string",
      "title": "Currency",
      "default": "USD"
    },
    "cancellation": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Cancellation"
    },
    "previous_record_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Previous Record Id"
    },
    "reservation_changed": {
      "type": "boolean",
      "title": "Reservation Changed",
      "default": false
    }
  },
  "type": "object",
  "required": [
    "mandate_id",
    "merchant",
    "date",
    "time",
    "party_size",
    "name_on_reservation",
    "total_amount"
  ],
  "$defs": {
    "MerchantIn": {
      "properties": {
        "name": {
          "type": "string",
          "title": "Name"
        },
        "domain": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Domain"
        }
      },
      "type": "object",
      "required": [
        "name"
      ],
      "title": "MerchantIn"
    }
  }
}