Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Task Schema #1

Open
vontell opened this issue Jan 7, 2017 · 1 comment
Open

Create Task Schema #1

vontell opened this issue Jan 7, 2017 · 1 comment
Assignees
Milestone

Comments

@vontell
Copy link
Member

vontell commented Jan 7, 2017

Create a datatype / schema for a task. This must include the format for a task in terms of the task title, subtasks, what's complete, due date, (location ?), etc.

@vontell vontell added this to the Beta Release milestone Jan 7, 2017
@vontell
Copy link
Member Author

vontell commented Jan 7, 2017

I was thinking of something such as the following:

{
    title: string,
    difficulty: double,
    due: date | null,
    completed: boolean,
    note: string | null,
    location: null | {
        lat: double,
        lng: double
    },
    subtasks: [
        {
            title: string,
            completed: boolean
        }, ... 
    ]
}

In the Java implementation, this will include methods to get, set, construct, and save / load to and from a JSON format. @tpatel1781 what do you think? Any other fields you can think of?

vontell added a commit that referenced this issue Jan 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants