jCal
RFC 7529
Example 1
["vcalendar",
[
["calscale", {}, "text", "GREGORIAN"],
["prodid", {}, "text", "-//Example Inc.//Example Calendar//EN"],
["version", {}, "text", "2.0"]
],
[
["vevent",
[
["dtstamp", {}, "date-time", "2008-02-05T19:12:24Z"],
["dtstart", {}, "date", "2008-10-06"],
["summary", {}, "text", "Planning meeting"],
["uid", {}, "text", "4088E990AD89CB3DBB484909"]
],
[]
]
]
]
The above is a translation of the following iCal formatted data:
BEGIN:VCALENDAR
CALSCALE:GREGORIAN
PRODID:-//Example Inc.//Example Calendar//EN
VERSION:2.0
BEGIN:VEVENT
DTSTAMP:20080205T191224Z
DTSTART:20081006
SUMMARY:Planning meeting
UID:4088E990AD89CB3DBB484909
END:VEVENT
END:VCALENDAR
So BEGIN:VCALENDAR… END:VCALENDAR
becomes [“vcalendar”, [Properties…], [Components…]]
The third element is a nested array of calendar components,
eg BEGIN:VEVENT… END:VEVENT
which become
[“vevent”, [Properties…], [Sub-Components…]]
Each property is a four element array [“name”, {Parameters}, “type”, value]
iCal | schema.org/MusicEvent | Type |
---|---|---|
location | location | |
dtstart | startDate |