---
title: maximumPartySize
framework: intents
role: symbol
role_heading: Instance Property
path: intents/ingetavailablerestaurantreservationbookingdefaultsintentresponse/maximumpartysize
---

# maximumPartySize

The maximum party size allowed by the restaurant.

## Declaration

```swift
@NSCopying var maximumPartySize: NSNumber? { get set }
```

## Discussion

Discussion Use this property to specify the maximum party size that the restaurant allows. The system provides the user with this information and prevents the user from booking reservations when the party size exceeds this value. Specify nil for this property if there is no maximum party size for the restaurant.

## See Also

### Specifying the Default Values

- [defaultBookingDate](intents/ingetavailablerestaurantreservationbookingdefaultsintentresponse/defaultbookingdate.md)
- [defaultPartySize](intents/ingetavailablerestaurantreservationbookingdefaultsintentresponse/defaultpartysize.md)
- [minimumPartySize](intents/ingetavailablerestaurantreservationbookingdefaultsintentresponse/minimumpartysize.md)
- [providerImage](intents/ingetavailablerestaurantreservationbookingdefaultsintentresponse/providerimage.md)
