<!--
{
  "availability" : [

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

# CKDBCreateRecordRequestBody

An object that represents the request to create a new record.

```
dictionary CKDBCreateRecordRequestBody {
	string? recordName;
	string recordType;
	dictionary fields;
	boolean? createShortGuid;
	CKDBNullableReference? share;
	CKDBNullableReference? parent;
	CKDBForRecord? forRecord;
	CKDBPermissionType? publicPermission;
	CKDBShareParticipant[]? participants;
};
```

## 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 { CKDBCreateRecordRequestBody } from "@apple/cktool.database";
```

## Topics

### Instance Properties

[`attribute boolean? createShortGuid;`](/documentation/CKToolJS/CKDBCreateRecordRequestBody/createShortGuid)

A Boolean value that indicates whether to create a short GUID for sharing this record.

[`attribute dictionary fields;`](/documentation/CKToolJS/CKDBCreateRecordRequestBody/fields)

The dictionary of key-value pairs whose keys are the record field names and values are field-value dictionaries.

[`attribute CKDBForRecord? forRecord;`](/documentation/CKToolJS/CKDBCreateRecordRequestBody/forRecord)

[`attribute CKDBNullableReference? parent;`](/documentation/CKToolJS/CKDBCreateRecordRequestBody/parent)

[`attribute CKDBShareParticipant[]? participants;`](/documentation/CKToolJS/CKDBCreateRecordRequestBody/participants)

The array of participants in the shared record.

[`attribute CKDBPermissionType? publicPermission;`](/documentation/CKToolJS/CKDBCreateRecordRequestBody/publicPermission)

[`attribute string? recordName;`](/documentation/CKToolJS/CKDBCreateRecordRequestBody/recordName)

The unique name used to identify the record within a zone.

[`attribute string recordType;`](/documentation/CKToolJS/CKDBCreateRecordRequestBody/recordType)

[`attribute CKDBNullableReference? share;`](/documentation/CKToolJS/CKDBCreateRecordRequestBody/share)

---

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)