Skip to content
Richard Gholston edited this page Oct 22, 2016 · 10 revisions

Welcome to the focusbomb wiki!

JSON Format

localStorage: "events"

{
    "events":[
        {
           "name":"unique name provided by users",
           "repeat":"A Boolean for whether an event is repeated or not.",
           "daysRepeated":"Days of week repeated, if repeat is true",
           "exceptionDates":[
                 "dates to ignore 1, if repeat is true.",
                 "dates to ignore 2, if repeat is true.",
                 "..."
           ],
           "date": "If repeat is false, the date of the event goes here",
           "startTime": "The time in which the event starts.",
           "endTime": "The time in which the events ends.",
           "listName":"The name found in the listing"
        },
        "..."
    ]
}

localStorage: "lists"

{
    "lists": [
        {
            "name": "the unique tag provided by the user",
            "type": "b for black or w for white",
            "color": "color in hexadecimal",
            "sites": [
                "example site 1",
                "example site 2",
                "..."
            ]
        },
        "..."
    ]
}
Clone this wiki locally