Skip to content

Commit f241489

Browse files
Update to Draft v4
The `calendar` schema was not in Draft v4 format, so I updated it. 2 changes was done: 1. Added `$schema` property pointing to v4 draft URI 2. Added root level `required` property
1 parent c6e9565 commit f241489

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

calendar

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
11
{
2+
"$schema": "http://json-schema.org/draft-04/schema#",
23
"description": "A representation of an event",
34
"type": "object",
5+
"required": [ "dtstart", "summary" ],
46
"properties": {
57
"dtstart": {
68
"format": "date-time",
79
"type": "string",
8-
"description": "Event starting time",
9-
"required": true
10+
"description": "Event starting time"
1011
},
1112
"dtend": {
1213
"format": "date-time",
1314
"type": "string",
1415
"description": "Event ending time"
1516
},
16-
"summary": { "type": "string", "required": true },
17+
"summary": { "type": "string" },
1718
"___location": { "type": "string" },
1819
"url": { "type": "string", "format": "uri" },
1920
"duration": {

0 commit comments

Comments
 (0)