Re: [Cacao] [EXT] Re: [EXT] RE: Charter

Bret Jordan <jordan.ietf@gmail.com> Thu, 20 June 2019 13:17 UTC

Return-Path: <jordan.ietf@gmail.com>
X-Original-To: cacao@ietfa.amsl.com
Delivered-To: cacao@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 787D4120046 for <cacao@ietfa.amsl.com>; Thu, 20 Jun 2019 06:17:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham 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 nx_AuA_o-Njg for <cacao@ietfa.amsl.com>; Thu, 20 Jun 2019 06:17:47 -0700 (PDT)
Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) (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 658DE12000E for <cacao@ietf.org>; Thu, 20 Jun 2019 06:17:46 -0700 (PDT)
Received: by mail-wm1-x334.google.com with SMTP id u8so3152505wmm.1 for <cacao@ietf.org>; Thu, 20 Jun 2019 06:17:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=oRt/alMVSZ0gAA11o7nMI4b57aVe6o9qvp4gCOIr0IY=; b=RpxSDgI9DxX7MWeQd9vjvQlAzmaZj8GnLBpdE3VCBiwJZZKga7Go3se7y33VJQTxit T2QVpfurNzMpDJ9G257WwtM+Zfht7dH4TpR76JfP81p0KElPVPDyOFhzDeL5nnyIi6Pc sKNnwj6Tbgr2BAmO1IUzU05Jr2/TIyDhEnkoAL98s3jnXmxx/H93pd9J85ctIbnUHs4W 2UyILxIhjAOD3BGQkGM3Ja/19lcpQV8eRDySx1EKzMwmK6tKX/Vq/trnMVDP/eqwCInx 9Ty3WpDNB4RZBsyOXSoRZgeXs4uQL3LTh+rKiEnFxi/1jWI08zvUr+qF/DXXXE0xvcT3 pNAw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=oRt/alMVSZ0gAA11o7nMI4b57aVe6o9qvp4gCOIr0IY=; b=fhYAp6aBBcpBQgaZklHpjc+OZHiTQtQN24x1Nf3oB1apKdpUqV9Ck5dLWNNcXS4hWK 4azB+yVCqn0Fp47SS1BFRucp+yL7TpxGE6Txj00id3gbJ+wexhk+2oZLeqCMiKQZJdOv XtIKh9iB1PRgKuC1/In2DqxTu504pIS1ecbOBlvCc5ZZMwG60dmaQXJ+gnFmz8z8taBP v6K/VCQc8tRbki/RnRuT9/XCO3/5mAOBiKM5HxO4lRb/JRkjqnOH/Xbpi1anMM8W3YYj mwXMQ31jmghOV869jFSTTC/dgLZeQrgnwl1PRwNdHqge7MWxQVKGaWPQOKIlTVv1hmY1 76qg==
X-Gm-Message-State: APjAAAV8wzHbYhC+UkvxQgVE+Shk27UAGxUnuvz0ZA30vnYgk/b9jCGA MReh/RHytc0WOLy44UEaW6VUz967
X-Google-Smtp-Source: APXvYqz0GrPTOKNiZ4ieGJ6oy+MTbTS5z+kpxFfbiPY//v4CCB1bwGYkdnfmufMgQviGDDtDCb2IRw==
X-Received: by 2002:a1c:e108:: with SMTP id y8mr2795804wmg.65.1561036664947; Thu, 20 Jun 2019 06:17:44 -0700 (PDT)
Received: from [172.28.4.156] ([195.238.226.2]) by smtp.gmail.com with ESMTPSA id t14sm16297471wrr.33.2019.06.20.06.17.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 20 Jun 2019 06:17:44 -0700 (PDT)
From: Bret Jordan <jordan.ietf@gmail.com>
Message-Id: <9328900F-8DC8-424B-B1C4-0BACCBFEF6B4@gmail.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_F6305B5C-D8F4-4447-ADAE-0AD5A468B469"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\))
Date: Thu, 20 Jun 2019 15:17:41 +0200
In-Reply-To: <36FFCE0A-5BE2-4582-B101-8532D1930AAF@tzi.org>
Cc: "cacao@ietf.org" <cacao@ietf.org>
To: Carsten Bormann <cabo@tzi.org>
References: <BYAPR16MB30133C3DAF3CF2060CE4B565EDEA0@BYAPR16MB3013.namprd16.prod.outlook.com> <787AE7BB302AE849A7480A190F8B93302EAA890F@OPEXCAUBMA2.corporate.adroot.infra.ftgroup> <BYAPR16MB30137AC9C00633E80C7C8D65EDEA0@BYAPR16MB3013.namprd16.prod.outlook.com> <779CCF55-FABB-4BA1-9D84-1D9761A32944@tzi.org> <BYAPR16MB30139D44233E0256099264DCEDEA0@BYAPR16MB3013.namprd16.prod.outlook.com> <25088b69-1225-3f3c-b0e2-38e25f1f48fb@article19.org> <A7038D6C-C1C3-4B6A-B928-AC87F7A87AFC@gmail.com> <6130.1560896363@dooku.sandelman.ca> <634A811D-3674-42ED-A46F-9CDD8EFD5CEE@symantec.com> <787AE7BB302AE849A7480A190F8B93302EAA8FE0@OPEXCAUBMA2.corporate.adroot.infra.ftgroup> <B29832F6-8239-498C-A65D-A22B70A4A691@gmail.com> <787AE7BB302AE849A7480A190F8B93302EAA905B@OPEXCAUBMA2.corporate.adroot.infra.ftgroup> <05E3F9C3-20C6-47E4-9B68-DE9D81D9C358@lookingglasscyber.com> <787AE7BB302AE849A7480A190F8B93302EAA917C@OPEXCAUBMA2.corporate.adroot.infra.ftgroup> <92A6388D-ED3D-4B77-BA01-AE97E201681F@symantec.com> <787AE7BB302AE849A7480A190F8B93302EAA91C9@OPEXCAUBMA2.corporate.adroot.infra.ftgroup> <A8E5A7FB-F771-477C-90E5-4E2DE4FA69E6@gmail.com> <787AE7BB302AE849A7480A190F8B93302EAA9CD5@OPEXCAUBMA2.corporate.adroot.infra.ftgroup> <3DF37C63-B813-4D7E-8AD0-0BF038899E34@gmail.com> <36FFCE0A-5BE2-4582-B101-8532D1930AAF@tzi.org>
X-Mailer: Apple Mail (2.3445.104.11)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cacao/iBYWEXH_1KT5DgA-agy6Lx8WPHE>
Subject: Re: [Cacao] [EXT] Re: [EXT] RE: Charter
X-BeenThere: cacao@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Collaborative Automated Course of Action Operations <cacao.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cacao>, <mailto:cacao-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cacao/>
List-Post: <mailto:cacao@ietf.org>
List-Help: <mailto:cacao-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cacao>, <mailto:cacao-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 20 Jun 2019 13:17:48 -0000

Thanks Carsten for pointing this out.. Please replace the following terms based on:

~=s/string/strings/g
~=s/integer/number/g

Also, we may define an “integers” property in the spec that uses the JSON numbers type. But that the spec itself limits the value to be an integer. 


Thanks,
Bret
PGP Fingerprint: 63B4 FC53 680A 6B7D 1447  F2C0 74F8 ACAE 7415 0050
"Without cryptography vihv vivc ce xhrnrw, however, the only thing that can not be unscrambled is an egg."

> On Jun 20, 2019, at 2:44 PM, Carsten Bormann <cabo@tzi.org> wrote:
> 
> On Jun 20, 2019, at 14:06, Bret Jordan <jordan.ietf@gmail.com> wrote:
>> 
>> The data model will consist of a series of property tables that are defined using JSON data types. 
> 
> JSON does not define that many data types (copied exactly from RFC 8259:
>   3.  Values  . . . . . . . . . . . . . . . . . . . . . . . . . . .   6
>   4.  Objects . . . . . . . . . . . . . . . . . . . . . . . . . . .   6
>   5.  Arrays  . . . . . . . . . . . . . . . . . . . . . . . . . . .   7
>   6.  Numbers . . . . . . . . . . . . . . . . . . . . . . . . . . .   7
>   7.  Strings . . . . . . . . . . . . . . . . . . . . . . . . . . .   8
> “Values” includes the “three literal names” false, null, and true beyond the other four).
> 
> The example you just gave already shows that this is a bit limited:
> 
>> Example:
>> 
>> Property Name              | Type    | Description 
>> name (required)            | string  | The name of this action 
>> created (required)         | string  | The time that this action was created in RFC 3339
>> sequence_number (optional) | integer | The number ….. 
> 
> There is no such thing as an integer in JSON, so that is your own extension (JSON only has numbers).  If you think integers in JSON are a thing, you’ll be unpleasantly surprised at some point (the large number of surprises in this space led to RFC 7493).
> 
> Also, you seem to feel a need to qualify the second string as “RFC 3339”, which pollutes the “description” column with type information.
> (And what you wrote is very inexact, compare with “format described by the `date-time` production in {{RFC3339}}, as refined by Section 3.3 of {{RFC4287}}”, which is what turned out we needed to write in a similar context.)
> 
> If you want to stick with tables instead of machine-readable form, I’m not going to argue against that right now(*).
> I would still propose that you at least define the types used in these tables in a more well-defined way.  (RFC 8610 would work just about right for me here, but my point is more general: you want to have more structured information about the types employed, and you don’t want to mix it in, in an uncontrolled way, into the description.)
> 
> Grüße, Carsten
> 
> (*) In the long run, you will generate these tables from machine readable form.  
> But this discussion isn’t at that level of detail right now…
>