Skip to content

Market.entered

Emitted each time a Market is entered.

Market.enter emits Market.entered when it completes on a Market.

PropertyValue
Emitted byMarket.enter
NounMarket
WakesNone.

Payload

Each delivery is an Event record. data holds what Market.enter returns.

FieldTypeRequiredDescription
namestringrequiredMarket.entered.
atdatetimerequiredWhen it happened.
seqintegerIts position in the namespace, one more than the Event before; any seq is a cursor into the history.
datajsonrequiredThe Thing as the Action left it.
data.marketMarketrequiredThe Market, now open to the Startup.
data.market.countriesstring[]requiredISO 3166-1 alpha-2 country codes.
data.market.currencystringrequiredThe ISO 4217 currency Prices show in.
data.market.localesstring[]requiredBCP 47 locale tags, the default first.

Example

JSON
{
  "$id": "https://api.sb/kilnbakery.com/events/event_1",
  "$type": "Event",
  "name": "Market.entered",
  "at": "2026-10-22T12:00:00Z",
  "data": {
    "market": {
      "$id": "https://api.sb/kilnbakery.com/markets/market_1",
      "$type": "Market",
      "countries": [
        "Example countries"
      ],
      "currency": "USD",
      "locales": [
        "Example locales"
      ]
    }
  },
  "seq": 1
}