Skip to main content

Interface: InputSchema

Defined in: web/lib/api/generated/types/com/atproto/repo/createRecord.ts:21

Properties​

collection​

collection: string

Defined in: web/lib/api/generated/types/com/atproto/repo/createRecord.ts:25

The NSID of the record collection.


record​

record: object

Defined in: web/lib/api/generated/types/com/atproto/repo/createRecord.ts:31

The record itself. Must contain a $type field.

Index Signature​

[key: string]: unknown


repo​

repo: string

Defined in: web/lib/api/generated/types/com/atproto/repo/createRecord.ts:23

The handle or DID of the repo (aka, current account).


rkey?​

optional rkey: string

Defined in: web/lib/api/generated/types/com/atproto/repo/createRecord.ts:27

The Record Key.


swapCommit?​

optional swapCommit: string

Defined in: web/lib/api/generated/types/com/atproto/repo/createRecord.ts:33

Compare and swap with the previous commit by CID.


validate?​

optional validate: boolean

Defined in: web/lib/api/generated/types/com/atproto/repo/createRecord.ts:29

Can be set to 'false' to skip Lexicon schema validation of record data, 'true' to require it, or leave unset to validate only for known Lexicons.