Skip to main content

Interface: InputSchema

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

Properties

collection

collection: string

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

The NSID of the record collection.


record

record: object

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

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:24

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:28

The Record Key.


swapCommit?

optional swapCommit: string

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

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:30

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.