Patent attributes
An online social networking system publishes a new notification type to a single entry point controller. Each new notification type uses the same generic schema. The system maps the same generic schema into the same generic input model, and stores the same generic input model into a database. The system reads the same generic input model from the database, converts the same generic input model into a same generic output model, and transmits the same generic output model to a formatter. The formatter receives a request for a notification event, and transmits the notification event to an application programming interface. The formatter is a sole location that is aware of the new notification type. The formatter decorates and formats the notification event based on the same generic output model. The formatter transmits the notification event to the application programming interface, which transmits the notification event to the client device.