vdir: Clarify how many items are allowed in one file

This commit is contained in:
Markus Unterwaditzer 2014-10-13 21:14:32 +02:00
parent 6280708aee
commit 9b00fd89d8

View file

@ -18,7 +18,13 @@ An item is:
- An iCalendar_ file, in which case the file extension *must* be `.ics`.
An item *should* contain a ``UID`` property as described by the vCard and
iCalendar standards.
iCalendar standards. If it contains more than one ``UID`` property, the values
of those *must* not differ.
In the case of iCalendar files, the file *must* contain exactly one event or
task. In most cases this also implies only one ``VEVENT`` or ``VTODO``
component per file, but e.g. recurrence exceptions would require multiple
``VEVENT`` components per event.
The filename *should* consist of the ``ident``, followed by the file extension.
The ``ident`` is either the ``UID``, if the item has one, else a string with