ZRM Docs
Domain Model

Sync State

Fields

FieldTypeRequiredDefaultDescription
idstring.uuidYesId
createdAtstring.date-timeYesCreated at
updatedAtstring.date-timeYesUpdated at
workspaceIdstring.uuidYesID of the associated workspace
externalConnectionIdstring.uuidYesID of the associated external connection
localRecordTypestringYesLocal record type
localRecordIdstring.uuidYesID of the associated local record
externalRecordTypestringYesExternal record type
externalRecordIdstringYesID of the associated external record
syncDirectionenum(bidirectional, push, pull, ignore)YesSync direction
fieldSnapshotJsonobjectYesField snapshot json
lastSyncedAtunknownYesLast synced at
lastSyncOriginenum(local, external)YesLast sync origin
syncStatusenum(synced, pending, error, conflict)YesSync status
errorMessageunknownYesError message

Create Schema

Fields accepted when creating a new record:

FieldTypeRequiredDefaultDescription
workspaceIdstring.uuidYesID of the associated workspace
externalConnectionIdstring.uuidYesID of the associated external connection
localRecordTypestringYesLocal record type
localRecordIdstring.uuidYesID of the associated local record
externalRecordTypestringYesExternal record type
externalRecordIdstringYesID of the associated external record
syncDirectionenum(bidirectional, push, pull, ignore)Yes"bidirectional"Sync direction

On this page