Re: [mile] JSON representation of IODEF (FW: New Version Notification for draft-takahashi-mile-jsoniodef-00.txt)

Jerome Athias <athiasjerome@gmail.com> Fri, 10 June 2016 06:44 UTC

Return-Path: <athiasjerome@gmail.com>
X-Original-To: mile@ietfa.amsl.com
Delivered-To: mile@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7242212D529 for <mile@ietfa.amsl.com>; Thu, 9 Jun 2016 23:44:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 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, RCVD_IN_DNSWL_LOW=-0.7, 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 Yd7ua2C0QyNG for <mile@ietfa.amsl.com>; Thu, 9 Jun 2016 23:44:33 -0700 (PDT)
Received: from mail-vk0-x235.google.com (mail-vk0-x235.google.com [IPv6:2607:f8b0:400c:c05::235]) (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 C9BC712B046 for <mile@ietf.org>; Thu, 9 Jun 2016 23:44:32 -0700 (PDT)
Received: by mail-vk0-x235.google.com with SMTP id e4so85731140vkb.1 for <mile@ietf.org>; Thu, 09 Jun 2016 23:44:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=ppuD5KbOfLEzjtcGb3Q7Cp2+9khNbwRdiQT8ADfmhcw=; b=ONdIAt7+btjy3AhcxxVnP0psCFB1lL5uAhROSrTxMZ1T4BZdywkdpYecrBVhAT2NQN Y91SQgcCTepNE0aUhshsnAvwNPWr86YHQX1KjXtzwAZDgnF+iEDwTvxIjqjBExztdUmU nSElrUA+JR7YFwGZdwj5DEy8xfD2O3FABB3gZ1yKYIRQl04sC5TuGgzyhJO9Ba7S58DT QuQbKChUu45kJ7Uhu0YG3GTV1iaDp3i1ygQmY+8T7Oa4Twta4mWztv/ws4JFSYSbGXhJ Feu8pCwhN1tzNLc3Eu/VirORr9LzV2/lyxd9kz5daM3ZoCCqGLSqO8dJGi3LGYuBACfg WSKg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=ppuD5KbOfLEzjtcGb3Q7Cp2+9khNbwRdiQT8ADfmhcw=; b=Trd3W1rlt4eYpLnd9ssHsQknBStcjwLtVGwUHc8sdgF0NOXSyuODC1xz36BW/3gHC1 P94RMsBpysOWMsCm6sBOs7WRNxJeutygqF7p3S+jl2vuQ56cQ8FoMzJwJ5s1VKW1jC3h +mELpbhVNbwEodS/JWYTwES45X9s2s/5zYFHivJZ0nOxWELhSEJ2QMGmiHP17gWNGfI8 a9131ZAPt6XwSylCIL9K8sWxPpAw2u28BYv6RIHQZf4Z5ISuwBu3i+Q+5+/n/wDCvhh3 qqmT/sSkHwjw66c9BFsi4PqN7RJ10GVluBNZtTqd17Bfm3wqVly6gE8MpRWTwg7Lu/wD A+Cw==
X-Gm-Message-State: ALyK8tKgJiH2z/5/AIl1zLD0+EOvvG4JwC4slljUFL2d5QCahgG2QDi3NMHdh2n/A1EV/CkIdmr3F7SI++t1LA==
X-Received: by 10.159.35.117 with SMTP id 108mr160923uae.118.1465541071835; Thu, 09 Jun 2016 23:44:31 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.31.210.193 with HTTP; Thu, 9 Jun 2016 23:44:31 -0700 (PDT)
In-Reply-To: <57593681.4040907@tzi.org>
References: <063a01d1c166$c6f58860$54e09920$@nict.go.jp> <CAA=AuEcPmMAtPgWcbVYjbM+XMhF7W+NpZDOomQ=m38xjKuHySA@mail.gmail.com> <57584349.8000803@tzi.org> <57585EA0.7010408@tzi.org> <57585F39.1040902@tzi.org> <000001d1c227$25e62d50$71b287f0$@nict.go.jp> <57593681.4040907@tzi.org>
From: Jerome Athias <athiasjerome@gmail.com>
Date: Fri, 10 Jun 2016 09:44:31 +0300
Message-ID: <CAA=AuEc+Rzq4x5axfxs1FHzr66bgRW22roLCVOqQ0G6ghJj6=Q@mail.gmail.com>
To: Carsten Bormann <cabo@tzi.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/mile/On1iNPzHshg7VckhqX1e8HxFvqc>
Cc: "mile@ietf.org" <mile@ietf.org>
Subject: Re: [mile] JSON representation of IODEF (FW: New Version Notification for draft-takahashi-mile-jsoniodef-00.txt)
X-BeenThere: mile@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: "Managed Incident Lightweight Exchange, IODEF extensions and RID exchanges" <mile.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mile>, <mailto:mile-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mile/>
List-Post: <mailto:mile@ietf.org>
List-Help: <mailto:mile-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mile>, <mailto:mile-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 10 Jun 2016 06:44:34 -0000

I'm sorry, but this is dope! :p


2016-06-09 12:27 GMT+03:00 Carsten Bormann <cabo@tzi.org>:
> Takeshi Takahashi wrote:
>> If there are any nice tools I should be using, please kindly let me know; it would be very helpful to me.
>
> Good question.
>
> We just had a discussion in the JSON WG about JSON "schema languages"
> (or, more generally, ways to describe the JSON data models that we want
> to interchange).  "JSON schema" was not necessarily the favorite tool of
> all participants of that discussion.
>
> Obviously, I'm a bit biased here (CDDL has been developed by students I
> supervised, and I have also written an implementation).  I like CDDL
> because it has much less noise than other approaches:
>
> https://www.iab.org/wp-content/IAB-uploads/2016/03/Noise-in-specifications-hurts.pdf
>
> (For those who know XML, this is a bit like Relax-NG compact vs. W3C
> Schema.)
>
> There are a few tools for working with CDDL, please see Appendix F of
> the draft:
>
> https://tools.ietf.org/html/draft-greevenbosch-appsawg-cbor-cddl-08#appendix-F
>
> While CDDL is still work in progress, its core is quite stable as it is
> based on the concepts of ABNF and Relax-NG.
>
> (And you now have a CDDL version of your "JSON schema" draft :-)
>
> Grüße, Carsten