Skip to content

Instantly share code, notes, and snippets.

@BigBlueHat
Created September 30, 2010 11:53
Show Gist options
  • Save BigBlueHat/604454 to your computer and use it in GitHub Desktop.
Save BigBlueHat/604454 to your computer and use it in GitHub Desktop.
JSON Schema of an Event
{"description":"A representation of an event",
"type":"object",
"properties":{
"dtstart":{"format":"date-time","type":"string","description":"Event starting time","required":true},
"summary":{"type":"string","required":true},
"location":{"type":"string"},
"url":{"type":"string","format":"url"},
"dtend":{"format":"date-time","type":"string","description":"Event ending time"},
"duration":{"format":"date","type":"string","description":"Event duration"},
"rdate":{"format":"date-time","type":"string","description":"Recurrence date"},
"rrule":{"type":"string","description":"Recurrence rule"},
"category":{"type":"string"},
"description":{"type":"string"},
"geo":"http://json-schema.org/geo"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment