Skip to content

Instantly share code, notes, and snippets.

@Aupajo
Created November 6, 2014 20:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Aupajo/351923b8110d7ffe4e50 to your computer and use it in GitHub Desktop.
Save Aupajo/351923b8110d7ffe4e50 to your computer and use it in GitHub Desktop.
Proposed Almanack JSON

Event source

An event source will always have the following properties:

{
  "name": "Event source",
  "type": "static"
}

It may have additional properties:

{
  "name": "Design Meetup",
  "type": "Meetup Group",
  "url": "http://meetup.com/...",
  "description": "The Design Meetup..."
  "photo_url": "http://..."
}

Event

An event belongs to an event source, and will always have the following properties:

{
  "startTime": "2014-11-07T09:28:08+13:00",
  "endTime": "2014-11-07T10:28:08+13:00",
  "title": "An event"
} 

Additional fields that may be present:

{
  "startTime": "2014-11-07T09:28:08+13:00",
  "endTime": "2014-11-07T10:28:08+13:00",
  "title": "An event",
  "description": "About this event. Quite often several lines long, with formatting and occasionally photos – treat as a block of HTML.",
  "url": "http://...",
  "location": "742 Evegreen Tce, ..."
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment