| 1 | { |
| 2 | "description" : "A representation of an event", |
| 3 | "type" : "object", |
| 4 | "properties" : { |
| 5 | "dtstart" : { |
| 6 | "format" : "date-time", |
| 7 | "type" : "string", |
| 8 | "description" : "Event starting time", |
| 9 | "required":true |
| 10 | }, |
| 11 | "summary" : { |
| 12 | "type":"string", |
| 13 | "required":true |
| 14 | }, |
| 15 | "location" : { |
| 16 | "type" : "string" |
| 17 | }, |
| 18 | "url" : { |
| 19 | "type" : "string", |
| 20 | "format" : "url" |
| 21 | }, |
| 22 | "dtend" : { |
| 23 | "format" : "date-time", |
| 24 | "type" : "string", |
| 25 | "description" : "Event ending time" |
| 26 | }, |
| 27 | "duration" : { |
| 28 | "format" : "date", |
| 29 | "type" : "string", |
| 30 | "description" : "Event duration" |
| 31 | }, |
| 32 | "rdate" : { |
| 33 | "format" : "date-time", |
| 34 | "type" : "string", |
| 35 | "description" : "Recurrence date" |
| 36 | }, |
| 37 | "rrule" : { |
| 38 | "type" : "string", |
| 39 | "description" : "Recurrence rule" |
| 40 | }, |
| 41 | "category" : { |
| 42 | "type" : "string" |
| 43 | }, |
| 44 | "description" : { |
| 45 | "type" : "string" |
| 46 | }, |
| 47 | "geo" : { "$ref" : "http://json-schema.org/draft-03/geo" } |
| 48 | } |
| 49 | } |
| 50 | |
| 51 | |
| 52 | |
| 53 | |