Skip to content

feat: stable IDs in snapshot exports#23

Merged
danmaps merged 1 commit intomainfrom
feat/stable-ids-snapshot
Feb 14, 2026
Merged

feat: stable IDs in snapshot exports#23
danmaps merged 1 commit intomainfrom
feat/stable-ids-snapshot

Conversation

@danmaps
Copy link
Owner

@danmaps danmaps commented Feb 14, 2026

Closes #9.

What

  • Adds id fields to exported JSON for:
    • maps.json (MapInfo.id)
    • layers.json (LayerInfo.id)
    • tables.json (TableInfo.id)
  • IDs are deterministic UUIDv5-style GUIDs derived from a fixed namespace + a stable-ish key.

Stability guarantees (best-effort)

  • For data-backed layers/tables, DataSourcePath is included in the key to keep IDs stable across display-name changes.
  • For maps and group layers, renames can change the derived ID (we don’t currently have a true SDK GUID exposed in this exporter).

Notes

  • This is purely additive schema: existing consumers can ignore id.
  • Follow-up (optional): show IDs in arcgispro inspect output.

@danmaps danmaps merged commit 4495e06 into main Feb 14, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Export: stable IDs for maps/layers in snapshot

1 participant