Blame view

node_modules/json-schema/draft-03/examples/calendar 945 Bytes
aaac7fed   liuqimichale   add
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
  {
  	"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" : { "$ref" : "http://json-schema.org/draft-03/geo" }
  	}
  }