{
  "title": "events",
  "description": "Calendar events, including ones synced from iCloud",
  "version": 0,
  "primaryKey": "id",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "id": {
      "type": "string",
      "maxLength": 36
    },
    "space_id": {
      "type": "string",
      "maxLength": 36
    },
    "created_by": {
      "type": "string",
      "maxLength": 36
    },
    "updated_at": {
      "type": "string",
      "maxLength": 32
    },
    "calendar_id": {
      "type": "string",
      "maxLength": 36
    },
    "title": {
      "type": "string",
      "maxLength": 500
    },
    "start_at": {
      "type": "string",
      "maxLength": 32
    },
    "end_at": {
      "type": "string",
      "maxLength": 32
    },
    "all_day": {
      "type": "boolean"
    },
    "location": {
      "type": "string",
      "maxLength": 500
    },
    "rrule": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 500
    },
    "ical_uid": {
      "type": "string",
      "maxLength": 255
    },
    "etag": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 255
    }
  },
  "required": [
    "id",
    "space_id",
    "created_by",
    "updated_at",
    "calendar_id",
    "title",
    "start_at",
    "end_at",
    "all_day",
    "location",
    "rrule",
    "ical_uid",
    "etag"
  ],
  "indexes": [
    [
      "start_at"
    ]
  ]
}
