---
# System prepended metadata

title: Untitled

---

This is an addition to
https://hackmd.io/5NLyHMl0Ty-y2qW1X-8_Hw

Softly based on https://www.notion.so/dohop/BEP-LegsOfferMapping-595e84df90264fc8b12257f8a86348db#af99981f2c484a95b4a81c2f30b9f539

We need an offer to consist of selectable items. So core of an offer is a list of selectables

```
class Offer:
 select: list[Selectables]
 
 
class Selectable:
	itinerary: Itinerary ( part of total itinerary )
	type: Fare / Bundle
	name
	code(id)
	identifiers (points to the bundles if presetn)
	price
	currency
	services: list[Service]
	additional_services: list[Service]
	// split by price, e.g. price eq 0 = included is limiting us to add a free by-choice selection, for example a tick which does something
	
class Service:
	// this is basically an ancillary in current understanding
```

This structure would allow us send down to the client both the bundles and standalone fares.
This also allows to extend supported types for Bundle/ Fare into JourneyServices and etc