Skip to content

Instantly share code, notes, and snippets.

@nickl-
Created December 23, 2012 20:37
Show Gist options
  • Select an option

  • Save nickl-/4365916 to your computer and use it in GitHub Desktop.

Select an option

Save nickl-/4365916 to your computer and use it in GitHub Desktop.
calendar-schema
{
"description": "A representation of an event",
"type": "object",
"properties": {
"dtstart": {
"format": "date-time",
"type": "string",
"description": "Event starting time",
"required": true
},
"dtend": {
"format": "date-time",
"type": "string",
"description": "Event ending time"
},
"summary": { "type": "string", "required": true },
"location": { "type": "string" },
"url": { "type": "string", "format": "uri" },
"duration": {
"format": "time",
"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": { "$ref": "http: //json-schema.org/geo" }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment