ocelotsloth / lib-ical

GNU Affero General Public License v3.0
2 stars 0 forks source link

3.2.15. Relationship Type #12

Open ocelotsloth opened 7 years ago

ocelotsloth commented 7 years ago

Implement the relationship type Parameter Type

Raw RFC Text

3.2.15.  Relationship Type

   Parameter Name:  RELTYPE

   Purpose:  To specify the type of hierarchical relationship associated
      with the calendar component specified by the property.

   Format Definition:  This property parameter is defined by the
      following notation:

       reltypeparam       = "RELTYPE" "="
                           ("PARENT"    ; Parent relationship - Default
                          / "CHILD"     ; Child relationship
                          / "SIBLING"   ; Sibling relationship
                          / iana-token  ; Some other IANA-registered
                                        ; iCalendar relationship type
                          / x-name)     ; A non-standard, experimental
                                        ; relationship type

   Description:  This parameter can be specified on a property that
      references another related calendar.  The parameter specifies the
      hierarchical relationship type of the calendar component
      referenced by the property.  The parameter value can be PARENT, to
      indicate that the referenced calendar component is a superior of
      calendar component; CHILD to indicate that the referenced calendar
      component is a subordinate of the calendar component; or SIBLING
      to indicate that the referenced calendar component is a peer of
      the calendar component.  If this parameter is not specified on an
      allowable property, the default relationship type is PARENT.
      Applications MUST treat x-name and iana-token values they don't
      recognize the same way as they would the PARENT value.

   Example:

       RELATED-TO;RELTYPE=SIBLING:19960401-080045-4000F192713@
        example.com