# Event: star-map-navigate
# DNA-27 / RFC-0028
#
# Fired when a visitor opens the /cosmic/star-map page or interacts with the
# embedded star map SVG within the passport page.
# Emitted by the passport-star-map (Adrastea) moon component.

id: star-map-navigate
label: Star Map Navigate
description: >
  A visitor viewed or interacted with the Cosmic Star Map. Emitted once per
  page load on the /cosmic/star-map route, or when the inline star map is
  expanded on the passport page.

category: navigation
autoEmit: false

payload:
  locale:
    type: string
    description: "Active locale at navigation time (e.g. 'de', 'en')"
    required: true
  appId:
    type: string
    description: "The app identifier (e.g. 'my-app')"
    required: true
  source:
    type: string
    description: "Where the map was triggered: 'star-map-page' or 'passport-inline'"
    required: true
