<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "CKToolJS",
  "identifier" : "/documentation/CKToolJS/CKDBZoneId",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "CKTool JS"
    ],
    "preciseIdentifier" : "struct/CKDBZoneId"
  },
  "title" : "CKDBZoneId"
}
-->

# CKDBZoneId

An object that represents a CloudKit database zone identifier.

```
dictionary CKDBZoneId {
	string zoneName;
	string canonicalName;
	string? zoneType;
	string? ownerRecordName;
};
```

## Overview

In JavaScript, this is a plain object with properties as described.

In TypeScript, this type is imported in the following way:

```javascript
import type { CKDBZoneId } from "@apple/cktool.database";
```

## Topics

### Instance Properties

[`attribute string canonicalName;`](/documentation/CKToolJS/CKDBZoneId/canonicalName)

The unique identifier for a zone within a database.

[`attribute string? ownerRecordName;`](/documentation/CKToolJS/CKDBZoneId/ownerRecordName)

The owner of the zone.

[`attribute string zoneName;`](/documentation/CKToolJS/CKDBZoneId/zoneName)

The name that identifies the record zone.

[`attribute string? zoneType;`](/documentation/CKToolJS/CKDBZoneId/zoneType)

The type for the zone.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)