# ProductTypeAvailabilityResponse

Schema: #/components/schemas/ProductTypeAvailabilityResponse

Method: SCHEMA
Version: 2.1
Security: BearerAuth, Authorization

## Schema fields:

  - `data` (object)
    Availability and Price For Specified Date

  - `data.availability` (array | null)
    For all-day products, this contains the daily number of tickets available. For timeslot products, this will be null, and availability is found within each timeslot.

  - `data.availability.category` (string)
    Example: adult

  - `data.availability.quantity` (integer)
    Example: 117

  - `data.availability.type` (string)
    Example: shared

  - `data.date` (string)
    travel date

  - `data.weekday` (string)
    weekday of travel

  - `data.currency` (string)
    currency UUID

  - `data.cancellationPolicy` (array)
    Cancellation policy for the product type.

  - `data.prices` (array)
    An array of price configurations. Different timeslots can be linked to a specific price configuration using the priceId.

  - `data.prices.id` (string)
    Example: cb57b5c6-376c-47f5-ad09-606d6850f5e1

  - `data.prices.rates` (array)

  - `data.prices.rates.amount` (number)
    Example: 98

  - `data.prices.rates.category` (string)
    Example: adult

  - `data.prices.rates.currency` (string)
    Example: SGD

  - `data.prices.rates.format` (string)
    Example: S$98.00

  - `data.prices.rates.meta` (any)
    Example: {"markup":16.8639}

  - `data.prices.rates.type` (string)

  - `data.timeslots` (array)
    Timeslot availability for the travel day. Will be null for all-day products.

  - `data.timeslots.startTime` (string)
    Example: 08:00

  - `data.timeslots.endTime` (string)
    Example: 08:00

  - `data.timeslots.uuid` (string)

  - `data.timeslots.priceId` (string)
    Links to a specific price object in the top-level prices array.

  - `data.timeslots.availability` (array)

  - `data.timezone` (string)
    Timezone of the product type

  - `data.options` (array)
    booking options for product type for travel date, containing two arrays: perBooking (one option per booking) and perPax (one option for each pax)

  - `data.voucherValidity` (object)
    voucher validity for travel date, object containing validity for different ticket types

