Created
November 22, 2020 19:48
-
-
Save jmrobles/a792398464c42a1b91653b1c75ec284a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$id": "https://example.com/calendar.schema.json", | |
"$schema": "http://json-schema.org/draft-07/schema#", | |
"description": "A representation of an event", | |
"type": "object", | |
"required": [ "dtstart", "summary" ], | |
"properties": { | |
"dtstart": { | |
"type": "string", | |
"description": "Event starting time" | |
}, | |
"dtend": { | |
"type": "string", | |
"description": "Event ending time" | |
}, | |
"summary": { | |
"type": "string" | |
}, | |
"location": { | |
"type": "string" | |
}, | |
"url": { | |
"type": "string" | |
}, | |
"duration": { | |
"type": "string", | |
"description": "Event duration" | |
}, | |
"rdate": { | |
"type": "string", | |
"description": "Recurrence date" | |
}, | |
"rrule": { | |
"type": "string", | |
"description": "Recurrence rule" | |
}, | |
"category": { | |
"type": "string" | |
}, | |
"description": { | |
"type": "string" | |
}, | |
"geo": { | |
"$ref": "http://example.com/geographical-location.schema.json" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment