Skip to main content
Static QR category. Validate calendar category

Schema Structure

  • type (string) - enum: calendar (required)
  • data (object) (required)
    • name (string) (required) - Summary of the event
    • location (string) - Location of the event
    • description (string) - Brief description of the event
    • startDate (string) (required) - Start date of the event
    • endDate (string) - End date of the string
    • timeZone (string) - Timezone

Schema

{
  "$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"
        }
      }
    }
  }
}