Define the event object

This commit is contained in:
Marek S. Lukasiewicz
2025-01-05 17:14:34 +01:00
parent 9d234428d4
commit 1de79df25d
3 changed files with 57 additions and 12 deletions

37
example-google.json Normal file
View File

@@ -0,0 +1,37 @@
{
"summary": "Flight to Minas Tirith (VG 1234)",
"uid": "loremipsum123@google.com",
"created": {
"date": "2024-09-17T20:07:20.000Z",
"type": "DATE-TIME"
},
"lastModified": {
"date": "2024-09-17T20:07:20.000Z",
"type": "DATE-TIME"
},
"stamp": {
"date": "2025-01-05T15:51:40.000Z",
"type": "DATE-TIME"
},
"start": {
"date": "2024-10-28T18:05:00.000Z",
"type": "DATE-TIME"
},
"location": "Shire (SHR)",
"description": "Example data from Google Calendar, as parsed by ts-ics\nit has newlines like this",
"timeTransparent": "TRANSPARENT",
"class": "PRIVATE",
"status": "CONFIRMED",
"attendees": [
{
"email": "hobbit@example.com",
"name": "hobbit@example.com",
"role": "REQ-PARTICIPANT",
"partstat": "ACCEPTED"
}
],
"end": {
"date": "2024-10-28T20:00:00.000Z",
"type": "DATE-TIME"
}
}