Re: [calsify] SCHEMA vs New Property

Michael Douglass <mikeadouglass@gmail.com> Tue, 09 July 2019 22:18 UTC

Return-Path: <mikeadouglass@gmail.com>
X-Original-To: calsify@ietfa.amsl.com
Delivered-To: calsify@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3C9611201B8 for <calsify@ietfa.amsl.com>; Tue, 9 Jul 2019 15:18:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.703
X-Spam-Level:
X-Spam-Status: No, score=-0.703 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, PDS_NO_HELO_DNS=1.295, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AXZfSJ0ufTgT for <calsify@ietfa.amsl.com>; Tue, 9 Jul 2019 15:18:46 -0700 (PDT)
Received: from mail-qk1-x731.google.com (mail-qk1-x731.google.com [IPv6:2607:f8b0:4864:20::731]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DE70A120141 for <calsify@ietf.org>; Tue, 9 Jul 2019 15:18:45 -0700 (PDT)
Received: by mail-qk1-x731.google.com with SMTP id a27so381595qkk.5 for <calsify@ietf.org>; Tue, 09 Jul 2019 15:18:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=kPi1EhAz8EWICSxYrb35MoHE03d4D4Dc8AaROoOS7+A=; b=oNdFxxeBii7DZ9ppgo2vZpfqjG4z2ltJC92GFebSI2xpDqDAVvpb0b0XZkjqGd5IW8 p+5nsTPR3Cz/uF/u2lx44TEKZ3WY/c9vMCEYpPXxzpBjF4nj9i0yHciEM7jI1z8wVemL ic0CMKODIwTI60kyBBqrl5xsBZWplbCg6I24ajYAbvpYeh93O6thXP//jiyPMRSP8ZRz sBJiX1RWjYJoRFmwOZeNpkGz95e0zSGofeAl9/VebAaLdK/eVLye/GgwcZxm5ONZPRr7 DQMH3JMlg9p3/AQ9LfMcvDXOZg6IRhvQrWr+ek9nim3zTbujls3iz7wz+tHC81Tbb/dv LIHg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=kPi1EhAz8EWICSxYrb35MoHE03d4D4Dc8AaROoOS7+A=; b=f3wJgBWNAahhhSXigxGDCtsPv2DNunZ5+xx9sYSg3Ag2DOsdRHeRZisn+cn3lDpMhJ am1iF0lvnUnUhtR4gojMhrC5b0PfVjBzTIsuDdKRbANocvT017GQX8wYuLe4QrNTnhY+ DXJSbWlu8IraGa+4WaNCLSPFjv7YdxGp3BqFxY1lmWOod54hTykENLjPzZEOL65xtotm iOLrKa76gKfVbrj9TX6MMZwrkcdoNT/+Qv4fM5CCxTMODJWYhOgbEsMXJtoRZH3spGwY g85JqV9d1OhgnK/CV5y5rcG3kmhdc8oKIWTbOAza768q8tLoEiXhn2ZHmrbolLEonhqV X6cw==
X-Gm-Message-State: APjAAAW87EOF3NjRGf3R3izRY9NKxsL+psCCB9aR8/V7eTpCsLgckeBE zhTgj3hRFFs2CH/ksrUDHCqtjRZRakY=
X-Google-Smtp-Source: APXvYqyvRkriaypg/0f4/m0QjbgQkFPLINJT2pXZBelQkqnNiaDsFyCg+UC/ZsdRvOzASukwVGXXTQ==
X-Received: by 2002:a37:6b42:: with SMTP id g63mr20480429qkc.80.1562710724736; Tue, 09 Jul 2019 15:18:44 -0700 (PDT)
Received: from Michaels-MacBook-Pro.local (cpe-74-70-80-66.nycap.res.rr.com. [74.70.80.66]) by smtp.googlemail.com with ESMTPSA id p3sm121352qta.12.2019.07.09.15.18.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Jul 2019 15:18:44 -0700 (PDT)
To: Tim Hare <TimHare@comcast.net>, calsify@ietf.org
References: <CAOxZLy0VntDQYCrdvnpDcef3rPqXibqso36OwEjbFn4kdUSPWQ@mail.gmail.com> <482a9dba-6d92-3b78-a9be-d90682f4d4f2@gmail.com> <CAOxZLy3nGvKcs+D2e3MaUGxy-wsgcX1_a1Znv+9geT2E9HjRSw@mail.gmail.com> <f8457cda-1e96-03e3-f37e-d550c10cfb7d@gmail.com> <05079bf2-6494-4c6b-00dc-1a9ecd6beda0@gmail.com> <019701d53698$f0864d40$d192e7c0$@comcast.net>
From: Michael Douglass <mikeadouglass@gmail.com>
Message-ID: <1887200c-8a74-6e6a-7cf8-abb0409749b3@gmail.com>
Date: Tue, 09 Jul 2019 18:18:43 -0400
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.7.0
MIME-Version: 1.0
In-Reply-To: <019701d53698$f0864d40$d192e7c0$@comcast.net>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 7bit
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/calsify/qIs9zOoQYfk3v33w_SsVDNUgihE>
Subject: Re: [calsify] SCHEMA vs New Property
X-BeenThere: calsify@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <calsify.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/calsify>, <mailto:calsify-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/calsify/>
List-Post: <mailto:calsify@ietf.org>
List-Help: <mailto:calsify-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/calsify>, <mailto:calsify-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 09 Jul 2019 22:18:48 -0000

On 7/9/19 16:57, Tim Hare wrote:
> What is needed is documentation that says all calendar UAs are not required
> to handle STRUCTURED-DATA and SCHEMA,  perhaps that if STRUCTURED-DATA is
> used then DESCRIPTION  SHOULD be present to describe what the structured
> data is so that any CUA can display _that_ text,  but consumers of the
> calendar item that DO understand the SCHEMA can use it.
>
> In my view, defining new properties for every possible kind of VEVENT or
> VTODO amounts to the same amount of work as defining a SCHEMA for that
> structured data.  CUAs would fail, graciously, to process those properties
> in the just about same way as they'd fail to handle the structured data.
> The difference, to me,  is that using STRUCTURED-DATA and SCHEMA  means the
> RFC isn't constantly updated for new use cases involving new kinds of data
> that is related to the calendar event but not calendar data per se.

Additionally - data that is incompatible with the iCalendar format can 
be transported easily.

And I don't think it's quite the same amount of work.

New iCalendar properties need to be generally useful in calendars and 
scheduling. Very specific properties used to address a need such as this 
are probably better contained in data with their own schema.

There's a whole other discussion as to whether or not these properties 
are generally useful - probably not as something only for maintenance.

As an aside having reread the draft - email is not the only possible 
transport mechanism. CalDAV or some other protocol might be appropriate. 
Any draft should probably allow for different ways of transporting the 
messages.


>
> Tim Hare
> Interested Bystander, Non-Inc.
>
>
>
>
> -----Original Message-----
> From: calsify [mailto:calsify-bounces@ietf.org] On Behalf Of Doug Royer
> Sent: Monday, July 8, 2019 11:44 PM
> To: calsify@ietf.org
> Subject: [calsify] SCHEMA vs New Property
>
> On 7/8/19 8:25 PM, Michael Douglass wrote:
>> As Ken said earlier this is a perfect use for the new Structured-Data
> property defined in the eventpub-extensions draft
>> https://datatracker.ietf.org/doc/draft-ietf-calext-eventpub-extensions/
>>
>> (I will try to get a new version out this week)
>>
>> The benefit of this approach is that it requires no further extensions to
> iCalendar - your maintenance data is carried as a payload with a known
> schema.
>
> You say "no further extensions". They would still have to be documented. So
> would that save any documentation work?
> If released as an RFC, then the SCHEMA uri and content value would be
> documented. That seems identical in function  as placing them in their own
> property name.
>
> The only difference is that STRUCTURED-DATA allows, and forces, iCalendar
> implementations to include parsers for each unique SCHEMA. And does that
> without *any* restriction to the content (VALUE) format.
>
> Where as, by defining them as new properties, any compliant iCalendar
> implementation can parse them now, preserve them, even when they do not know
> what to do with them. They can even display them as KEY/VALUE pairs.
>
> STRUCTURED-DATA just forces multiple and unlimited new and random data
> formats into the VALUE. While still requiring them to be documented and
> published. Seems like more documentation work, and more implementation work.
> With one new data type parser for each new SCHEMA published.
>
> Why have 2+ data formats in the same object?
>
> It looks to me as if STRUCTURED-DATA is just a way of passing opaque data
> that will contain proprietary information. This completely reverses the idea
> of a standard calendar object.
>
> If your going to document a new data-set. Document it in iCalendar format.
> Not in unlimited, unrestricted and random formats.
>