Skip to Content
Data ModelsAirspace Sync

Airspace Sync

Airspace sync covers the adapter change stream for published Airspace Zones: a watermark table (AirspaceSyncState) and a durable change log (AirspaceZoneChange). Consumers advance from the last applied change_id to stay aligned with zone map versions.

Role in the platform

When a zone or its constraint changes, the platform appends a change event with the new zone_version and an optional zone_snapshot for UPSERT (null for DELETE). Sync state tracks the current and minimum change identifiers for a given scope so adapters can catch up safely.

Core fields

AirspaceSyncState

FieldDescription
scopeSync scope key (for example global)
current_change_idHigh-water mark of applied changes
minimum_change_idLowest retained change identifier
updated_atLast watermark update

AirspaceZoneChange

FieldDescription
change_idMonotonic change stream identifier
zone_uuidAffected Airspace Zone
zone_versionZone map version at the change
operationUPSERT or DELETE
zone_snapshotFull sync payload for UPSERT; null for DELETE
changed_atChange timestamp
Last updated on