[calsify] SCHEMA vs New Property

Doug Royer <douglasroyer@gmail.com> Tue, 09 July 2019 03:44 UTC

Return-Path: <douglasroyer@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 D6A341200EB for <calsify@ietfa.amsl.com>; Mon, 8 Jul 2019 20:44:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.297
X-Spam-Level:
X-Spam-Status: No, score=0.297 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, FREEMAIL_REPLY=1, 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 STq999u90ZBW for <calsify@ietfa.amsl.com>; Mon, 8 Jul 2019 20:44:07 -0700 (PDT)
Received: from mail-pf1-x433.google.com (mail-pf1-x433.google.com [IPv6:2607:f8b0:4864:20::433]) (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 6B7E01200DB for <calsify@ietf.org>; Mon, 8 Jul 2019 20:44:07 -0700 (PDT)
Received: by mail-pf1-x433.google.com with SMTP id b13so3986064pfo.1 for <calsify@ietf.org>; Mon, 08 Jul 2019 20:44:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:subject:to:references:organization:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=nU9t/8xBp4m1fTAUg5D4BMUF0TPDb9P70W9vmE95KVU=; b=L1YTMnymFp/mXiYcvUs9RC03EdWN5VELo76IXFzxDSItc6y9o3vMJ2eqo9fqBn/HwD e9ChuM2XG62SlnRkt2NqyI+AUr6LlQSjbSvdaMe5Ck7cKC81iWGuHx9puCI0Sy9JTTCI FFIF2l7/pcDdWmfx/AqlJLE6nDD/Ui7ihfldSf4UHZk9ipurmJKiYHnCfcZG66HTAdm+ yWb8lUYwePFM7fSLFngHCJNTA5nvw+NJUom33/ffPfviqyQ2sUFYZqvPV8c3pHO5Edly /CNCsPOoHN48n/lSC1Bxo6kVZloiTqNwHO/1eGnoEVCKCVFSQGq2s2mjk3jzOFuCE/d6 yGPA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:references:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=nU9t/8xBp4m1fTAUg5D4BMUF0TPDb9P70W9vmE95KVU=; b=d+I5Wh5OXtaOigsmgdrI9BNZ8o1lWocGxjGP8RZ0if1bJSq7kix0GVrsXJ96cZQ2eT B7oJeVJVWin3Nvhd9I9/3gRIfH5/x6nxqEpeivAkVN2J3e3B9tPcwOigOj6qRhu9uvgC Uo6zWVs8Gc1BcNnNChlPaYVZOtYd4Uafyh/KV5w3NJGsSETFSPkX4dY3QL/mkTrnI3jX EKk2pGR/Vh88+1u5elMU2NZmS8Ngz00z4I1SZjDmq8NDvzxqIgw9WTUakEPhRbzgSdMV Guw0bwek5LRd+/+3Q7ZUfBfSTcUOlRLDlKSWEKZqXF6cbT+XDuI5ZSPsE3NX2FMHqt0A 05cw==
X-Gm-Message-State: APjAAAWgwjl4kxyqR1KosFyN9tXHUweJOYIAh8d98yhhH9T1M3rcQZMY BTNIGqYqhynqZW/ro2pabn7rLHrMLe8E
X-Google-Smtp-Source: APXvYqx60hEHzSoVNSyNK976QpPACJdKQE4VAlZlw0fuW85KMxRxpu2n9pWG0KZ/YXtX/oVe1n9uAg==
X-Received: by 2002:a63:9245:: with SMTP id s5mr13076387pgn.123.1562643846353; Mon, 08 Jul 2019 20:44:06 -0700 (PDT)
Received: from [192.168.1.7] ([174.27.175.146]) by smtp.googlemail.com with ESMTPSA id a26sm6678684pgl.77.2019.07.08.20.44.05 for <calsify@ietf.org> (version=TLS1_3 cipher=AEAD-AES128-GCM-SHA256 bits=128/128); Mon, 08 Jul 2019 20:44:05 -0700 (PDT)
From: Doug Royer <douglasroyer@gmail.com>
X-Google-Original-From: Doug Royer <DouglasRoyer@gmail.com>
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>
Organization: http://SoftwareAndServices.NET
Message-ID: <05079bf2-6494-4c6b-00dc-1a9ecd6beda0@gmail.com>
Date: Mon, 08 Jul 2019 21:44:04 -0600
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1
MIME-Version: 1.0
In-Reply-To: <f8457cda-1e96-03e3-f37e-d550c10cfb7d@gmail.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/calsify/t-hVa72SdMmKUCHHOndBzTOOhi4>
Subject: [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 03:44:09 -0000

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.
  
-- 

Doug Royer - (http://DougRoyer.US)
Douglas.Royer@gmail.com
714-989-6135