flutter-calendar icon indicating copy to clipboard operation
flutter-calendar copied to clipboard

Need to settle on payload structure

Open mikemimik opened this issue 9 years ago • 0 comments

Need to decide what the structure of the payload for the widget should look like.

Proposed:

{
    "id": int,
    "title": String,
    "url": String,
    "date_start": DateTime,
    "date_end": DateTime,
    "details": Object
}

Rational:

The title, date_start, and date_end are the bare minimum for the widget to be useful. The url gives the widget a location to get details about this particular event, could be used for future plans. The details property is by far the most useful. Since it's an object, it gives the user the ability to bury whatever data they want into each event. They could then extend the widget to utilizes these things.

mikemimik avatar Dec 04 '16 07:12 mikemimik