BetaOptional BetadatasetOptional BetadocumentBetadocumentOptional BetainitialOptional initial field values for the document. These values will be set when the document is created. System fields (_id, _type, _rev, _createdAt, _updatedAt) are omitted as they are set automatically.
Optional BetaliveIndicates whether this document uses liveEdit mode.
When true, the document does not use the draft/published model and edits are applied directly to the document.
Optional BetaperspectiveOptional BetaprojectOptional BetaresourceExplicit resource to use. On an individual operation this overrides any default;
on a SanityConfig it becomes the instance's default resource. Unlike
projectId/dataset, this can also be a media library or canvas resource.
Betatype
Represents an action to create a new document. Specifies the document type and optionally a document ID (which will be treated as the published ID).