---
# System prepended metadata

title: Calendar Strucure

---

# Calendar Strucure

We're thinking to manage the state of the calendar on a MST where we would have the following properties:

* StartDate
* EndDate
* Available Dates
* Unavailablea Dates

The main view that we are thinking is one that would return the JSON structure XXX that would be the input of the calendar component

We would have some actions such as:
* HandleDate <- this would be invoke when a date is selected
* ClearDates <- if we need to clear the calendar

We are thinking this structure to be self contained, I mean, this MST could request BE to get available dates or unavailablity.