{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"title": "Calendar category schema",
"description": "Static QR category. Validate calendar category",
"examples": [],
"additionalProperties": false,
"required": [
"type",
"data"
],
"properties": {
"type": {
"type": "string",
"enum": [
"calendar"
]
},
"data": {
"type": "object",
"additionalProperties": false,
"required": [
"name",
"startDate"
],
"properties": {
"name": {
"type": "string",
"description": "Summary of the event"
},
"location": {
"type": "string",
"description": "Location of the event"
},
"description": {
"type": "string",
"description": "Brief description of the event"
},
"startDate": {
"type": "string",
"description": "Start date of the event"
},
"endDate": {
"type": "string",
"description": "End date of the string"
},
"timeZone": {
"type": "string",
"description": "Timezone"
}
}
}
}
}