Re: [calsify] SCHEMA vs New Property

Michael Douglass <mikeadouglass@gmail.com> Tue, 09 July 2019 04:04 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 4675912024E for <calsify@ietfa.amsl.com>; Mon, 8 Jul 2019 21:04:41 -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 KoxvWO2eZr0a for <calsify@ietfa.amsl.com>; Mon, 8 Jul 2019 21:04:40 -0700 (PDT)
Received: from mail-qt1-x844.google.com (mail-qt1-x844.google.com [IPv6:2607:f8b0:4864:20::844]) (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 C7FDF12023F for <calsify@ietf.org>; Mon, 8 Jul 2019 21:04:39 -0700 (PDT)
Received: by mail-qt1-x844.google.com with SMTP id l9so12052905qtu.6 for <calsify@ietf.org>; Mon, 08 Jul 2019 21:04:39 -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=AuN3c/vXSFhGuj1GsjJiQv7PG5GLngXBp/WnlMHKpao=; b=lC6J/nxP3vzbbNvPpTLQbDtAlwj8+PvV/RCWsSCNbI8sNpnkCzTl7ir0jQQHLe0Ugh /qbQFxje/2YRCdjFBxsL7E791FyitUeay49a3fNh4DkRzxjrJNe0o6PqMee/wGrosNpJ UiCnU2aUyaFwhQUuEk6eVDP7IR5cqb/QhdMYxIAyQM72P2DExV6zl8xPxaXwxZQKWp+C K/BiNf45r74Q7HaLlLWcq3ntbFGDs5s85/5u+ZdRGmhp9O8QEEyqA3HXb8Ow4eFUZbB7 sTbgi7kWwbUIamKOiXTceMkhm6v95vi7H0RxU5vPBqbNhYWX9YSTGmAr9UjTNAXnp/0O oi0g==
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=AuN3c/vXSFhGuj1GsjJiQv7PG5GLngXBp/WnlMHKpao=; b=pBxuVfLcmwGuTXc20GNetQDTFS5R1YQdJV6pF/HAajQQKUT93NhEC7vNfgvJ2NTvGH MGR8NjS69+2PtwWg31jJeRWUVVE91i1rKZFwF0xVxus0OZjU9r8R40UB3gWVypyuD3t/ ZXqmy+sdCQwOBynSpVOIqU6q2IVsX+jlYh7NsUrvvH4R9oEI6atjXXaPE3AzvQcc2tpF I9HZE4hrT/8aZ6MV4MPU3Uw7H7XVl0399pbunCWMmAfVApPeIdiY8xa6h62z9Xnq6row E3NDy724/DeWpNTIkSlDx5dOAbqX7sxXn6DtGOpRNWLBl2nux3/e+tNKDVx7EA2lN8Q+ jr3Q==
X-Gm-Message-State: APjAAAWRf/mCLm4OIxaLfh+gjaYBW1+k9c59BcZZCeg9D7FYKNq/8j+o kEcCUqf6dNgFD5lhq7CdcdUWwf2S
X-Google-Smtp-Source: APXvYqwCVGC52t/4EKhsfWsq0QnfSdN6SBWs8DiJj1sZVG6rfXWpnkJy2CSRSkj2E5Oxcllg9CIBNA==
X-Received: by 2002:ac8:4252:: with SMTP id r18mr16792924qtm.357.1562645078542; Mon, 08 Jul 2019 21:04:38 -0700 (PDT)
Received: from a-192-168-128-212.dynapool.vpn.nyu.edu (vpnrasa-wwh-pat-01.natpool.nyu.edu. [216.165.95.84]) by smtp.googlemail.com with ESMTPSA id q56sm9546061qtq.64.2019.07.08.21.04.38 for <calsify@ietf.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 08 Jul 2019 21:04:38 -0700 (PDT)
To: 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>
From: Michael Douglass <mikeadouglass@gmail.com>
Message-ID: <968f0c5a-c198-19eb-8e56-7be6e2b6820a@gmail.com>
Date: Tue, 09 Jul 2019 00:04:37 -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: <05079bf2-6494-4c6b-00dc-1a9ecd6beda0@gmail.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/calsify/mGErqfYeKMDP0llb15llewT2E28>
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 04:04:42 -0000

On 7/8/19 23:44, Doug Royer wrote:
> 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.
STRUCTURED-DATA DOES NOT force any client to parse the data. If it 
doesn't recognize the schema it's free to ignore it completely.
>
> 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?
I see no requirement for publishing anything about the schema other than 
to reserve it. The only requirement for publishing is if the schema 
definer wishes 3rd parties to make use of it. It doesn't even have to be 
defined and published with the ietf. It's payload
>
> 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.
So if somebody has XML or JSON data they wish to transport - already 
defined by a schema - they are required to recast that as iCalendar? I 
think not. Without STRUCTURED-DATA they'll just push it across as an 
x-prop or attachment then it's even more opaque.
>