{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rezdy/json-schema/rezdy-availability-update-request-schema.json",
  "title": "AvailabilityUpdateRequest",
  "description": "Availability update notification",
  "x-generated": "2026-12-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rezdy-rezdyconnect-api-openapi.yml#/components/schemas/AvailabilityUpdateRequest",
  "type": "object",
  "properties": {
    "externalProductCode": {
      "type": "string",
      "description": "Product code stored in the external system"
    },
    "from": {
      "type": "string",
      "description": "Updates all sessions with start time starting at or after this datetime. For a single session refresh, leave the ``to`` parameter empty or set it to the same datetime. The datetime in UTC timezone, ISO 8601 format. Either ``from``, or ``fromLocal`` has to be specified."
    },
    "fromLocal": {
      "type": "string",
      "description": "Updates all sessions with start time starting at or after this datetime. For a single session refresh, leave the ``toLocal`` parameter empty or set it to the same datetime. The datetime is in a local time based on the timezone configure on your Rezdy profile, format is yyyy-MM-dd HH:mm:ss. Either ``from``, or ``fromLocal`` has to be specified."
    },
    "productCode": {
      "type": "string",
      "description": "Rezdy product code"
    },
    "to": {
      "type": "string",
      "description": "Updates all sessions with start time in UTC timezone starting before or at this datetime. For a single session refresh, leave this parameter empty or set it to the same datetime as ``from``. The datetime in UTC timezone, ISO 8601 format."
    },
    "toLocal": {
      "type": "string",
      "description": "Updates all sessions with start time starting before or at this datetime. For a single session refresh, leave this parameter empty or set it to the same datetime as ``fromLocal``. The datetime is in a local time based on the timezone configure on your Rezdy profile, format is yyyy-MM-dd HH:mm:ss."
    }
  }
}