{
  "toast": {
    "factory": {
      //optional, defaults to true
      "display_once": true,
      //optional, defaults to 5000, or 5 secs
      "display_time_in_milliseconds" : 5000,
      //The item to display on the left corner
      "item": "minecraft:diamond",
      
      //Text and title are required Component fields. This means they can be translated,
      //colored and styled just like any other text you can see in game.
      "text": "Display toasts after certain actions are performed. Fully clientside!",
      "title": "Toasty helps customising your pack!"
    },
    //As of now, only this factory exists
    "toast_factory": "toasty:simple"
  },
  //A toast source is the way through which a player sees the Toast.
  //A toast source's targets are heavily dependant on the source.
  "toast_source": [
    {
      "source_id": "toasty:item_pickup",
      "targets": ["toasty:item_pickup"]
    }
  ]
}