---
title: subscriptionType
framework: CloudKit JS
role: symbol
role_heading: Instance Property
platforms: [cloudkit js 1.0+]
path: cloudkitjs/cloudkit.subscription/subscriptiontype
---

# subscriptionType

The type of subscription. Possible values are: "zone", and "query”. This key is required.

## Declaration

```data
attribute String subscriptionType;
```
