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

"Takeshi Takahashi" <takeshi_takahashi@nict.go.jp> Thu, 09 June 2016 08:15 UTC

Return-Path: <takeshi_takahashi@nict.go.jp>
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 9C16712D0CE for <mile@ietfa.amsl.com>; Thu, 9 Jun 2016 01:15:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.327
X-Spam-Level:
X-Spam-Status: No, score=-3.327 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-1.426, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 HXelyKT8CU3H for <mile@ietfa.amsl.com>; Thu, 9 Jun 2016 01:15:55 -0700 (PDT)
Received: from ns1.nict.go.jp (ns1.nict.go.jp [IPv6:2001:df0:232:300::1]) by ietfa.amsl.com (Postfix) with ESMTP id 8CF9012D1E4 for <mile@ietf.org>; Thu, 9 Jun 2016 01:15:53 -0700 (PDT)
Received: from gw1.nict.go.jp (gw1.nict.go.jp [133.243.18.250]) by ns1.nict.go.jp with ESMTP id u598FowA068696; Thu, 9 Jun 2016 17:15:50 +0900 (JST)
Received: from TakeVaioVJP13 (ssh1.nict.go.jp [133.243.3.49]) by gw1.nict.go.jp with ESMTP id u598FnHs068506; Thu, 9 Jun 2016 17:15:49 +0900 (JST)
From: Takeshi Takahashi <takeshi_takahashi@nict.go.jp>
To: 'Carsten Bormann' <cabo@tzi.org>, 'Jerome Athias' <athiasjerome@gmail.com>
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>
In-Reply-To: <57585F39.1040902@tzi.org>
Date: Thu, 09 Jun 2016 17:15:56 +0900
Message-ID: <000001d1c227$25e62d50$71b287f0$@nict.go.jp>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Outlook 15.0
Thread-Index: AQJQ7kVv6COaRGKIzt8odrMoe9I3cQIZ3MS/AffY7IsCVghqUgH3BsLInp966uA=
Content-Language: ja
X-Virus-Scanned: clamav-milter 0.98.7 at zenith1
X-Virus-Status: Clean
Archived-At: <https://mailarchive.ietf.org/arch/msg/mile/EQCXfz1bHNY3IjVSUt_i5UCgMmI>
Cc: 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: Thu, 09 Jun 2016 08:15:57 -0000

Hi Carsten and Jerome,

Thank you for your prompt replies.
It is great to see that there are people who are interested in the topic.

Carsten, thank you very much for your kind feedback.
Especially, the IODEF json instance you provided is very useful.
Since current version is immature (with lots of place holders), let me start rewriting the draft.

I am currently using the web tool: http://www.jsonschemavalidator.net/  .
Instead of converting an XML into JSON, I have walked through the rfc5070-bis draft and manually typed the json file. (I also wanted to do the final check of rfc5070-bis draft this time.)
If there are any nice tools I should be using, please kindly let me know; it would be very helpful to me.

Thank you, and kind regards,
Take

PS: I'm thinking to use a github for developing this draft, but for now, the files are available below.
https://www.dropbox.com/sh/76dyodjpv4r6jpf/AACT_tURG2wJqyKbDDruLpbXa?dl=0




> -----Original Message-----
> From: Carsten Bormann [mailto:cabo@tzi.org]
> Sent: Thursday, June 9, 2016 3:09 AM
> To: Takeshi Takahashi <takeshi_takahashi@nict.go.jp>
> Cc: mile@ietf.org
> Subject: Re: [mile] JSON representation of IODEF (FW: New Version Notification
> for draft-takahashi-mile-jsoniodef-00.txt)
> 
> Oh, and here is an automatically generated instance that appears to be valid
> iodef :-)
> 
> Grüße, Carsten
> 
> 
> {
>   "version": "copalite",
>   "lang": "en",
>   "format-id": "endothorax",
>   "private-enum-name": "autocollimator",
>   "private-enum-id": "throttler",
>   "Incidents": [{
>     "purpose": "other",
>     "ext-purpose": "studentless",
>     "lang": "en",
>     "IncidentID": {
>       "id": "pseudaxis",
>       "name": "circumspangle",
>       "ext-restriction": "quartetto"
>     },
>     "AlternativeID": {
>       "gnomonic": "embolismic",
>       "imitative": "amorphousness",
>       "involution": "profitmonger",
>       "unpleasantish": "recultivation"
>     },
>     "RelatedActivity": [],
>     "GenerationTime": "decipolar",
>     "Discovery": [{
>       "source": "soviet",
>       "restriction": "green",
>       "ext-restriction": "Gompholobium"
>     }],
>     "Contacts": [{
>       "role": "transumpt",
>       "ext-role": "metalloid",
>       "type": "Plataean",
>       "ContactName": "tachygraphical",
>       "Description": "anthropic",
>       "Telephone": {
>         "type": "reconnoitringly",
>         "TelephoneNumber": "underreckon"
>       },
>       "Timezone": "haustorium",
>       "Contact": {
>         "role": "tubocurarine",
>         "type": "cointise",
>         "restriction": "amber",
>         "Description": "ruesome",
>         "PostalAddress": "upholstery",
>         "Email": "thieving",
>         "Telephone": {
>           "type": "serenify",
>           "TelephoneNumber": "melodic",
>           "Description": "ericetum"
>         },
>         "Timezone": "wolfberry",
>         "Contact": {
>           "role": "locomobility",
>           "type": "nonirritating",
>           "ext-restriction": "weemen",
>           "ContactTitle": "intact",
>           "Description": "colostomy",
>           "RegistryHandle": "fullish",
>           "Email": "rintherout",
>           "Contact": {
>             "role": "Kieffer",
>             "ext-role": "headless",
>             "type": "microscopy",
>             "ext-restriction": "semidiapason",
>             "ContactName": "outfeat",
>             "Email": "teethily",
>             "Contact": {
>               "role": "isohel",
>               "ext-role": "dished",
>               "type": "dexterity",
>               "ext-restriction": "lineocircular",
>               "ContactName": "plebificate",
>               "Description": "Cannstatt",
>               "RegistryHandle": "hickory",
>               "PostalAddress": "ambuling",
>               "Email": "whizziness",
>               "Telephone": {
>                 "type": "pretercanine",
>                 "TelephoneNumber": "unemerging"
>               },
>               "Timezone": "abatement",
>               "Contact": {
>                 "role": "ungrand",
>                 "ext-role": "sparsedly",
>                 "type": "unmultiplied",
>                 "ContactName": "dukeling",
>                 "RegistryHandle": "fanwise",
>                 "PostalAddress": "prespinal",
>                 "Email": "trophoplast",
>                 "Telephone": {
>                   "TelephoneNumber": "prayingly"
>                 },
>                 "Timezone": "inunctuosity"
>               }
>             },
>             "AdditionalData": [{
>               "name": "inheritrice",
>               "ext-dtype": "asceticism",
>               "meaning": "liquor",
>               "formatid": "undistasteful",
>               "ext-restriction": "seamless",
>               "gastronomic": "suprafeminine"
>             }, {
>               "meaning": "thirtyfold",
>               "formatid": "pavilion",
>               "restriction": "amber",
>               "observable-id": "librarianship"
>             }]
>           },
>           "AdditionalData": []
>         }
>       }
>     }, {
>       "role": "Camorrista",
>       "type": "polytony",
>       "ext-type": "seditiousness",
>       "restriction": "private",
>       "ext-restriction": "smooth",
>       "ContactName": "Negritize",
>       "RegistryHandle": "reappraisal",
>       "Telephone": {
>         "TelephoneNumber": "pantotactic"
>       },
>       "Timezone": "antipoverty",
>       "Contact": {
>         "role": "gastrohysterotomy",
>         "type": "inconditionate",
>         "restriction": "ext-value",
>         "ext-restriction": "nonretiring",
>         "ContactName": "autotruck",
>         "ContactTitle": "scrotofemoral",
>         "Description": "Elonite",
>         "PostalAddress": "unregimented",
>         "Email": "collectorate",
>         "Timezone": "varier",
>         "Contact": {
>           "role": "hulkage",
>           "type": "arcade",
>           "ext-type": "perenniality",
>           "ContactName": "Apayao",
>           "PostalAddress": "torpidness",
>           "Email": "phosphine",
>           "Contact": {
>             "role": "myricin",
>             "ext-role": "subalary",
>             "type": "tactualist",
>             "ContactName": "rhythmizable",
>             "ContactTitle": "reactualize",
>             "Description": "predictate",
>             "RegistryHandle": "filiety",
>             "Telephone": {
>               "type": "caroline",
>               "TelephoneNumber": "testudinous"
>             },
>             "Contact": {
>               "role": "trechmannite",
>               "type": "gobbing",
>               "ContactName": "aristomonarchy",
>               "Description": "palulus",
>               "PostalAddress": "bestorm",
>               "Telephone": {
>                 "type": "cholagogic",
>                 "TelephoneNumber": "usherian",
>                 "Description": "offsider"
>               }
>             }
>           }
>         },
>         "AdditionalData": [{
>           "name": "irreducibly",
>           "dtype": "byte",
>           "ext-dtype": "shelflist",
>           "meaning": "inditement",
>           "observable-id": "naringenin",
>           "unstoicize": "almsful"
>         }, {
>           "dtype": "xml",
>           "formatid": "ventrolaterally",
>           "restriction": "partner",
>           "ext-restriction": "irrationalize",
>           "poticary": "pignoration",
>           "phrenicopericardiac": "anteoccupation"
>         }, {
>           "ext-dtype": "inappetible",
>           "formatid": "pendecagon",
>           "restriction": "public",
>           "observable-id": "winterdykes",
>           "rehearing": "leisure"
>         }, {
>           "name": "compilement",
>           "meaning": "polygamist",
>           "formatid": "unshameful",
>           "restriction": "need-to-know",
>           "ext-restriction": "simkin"
>         }]
>       }
>     }, {
>       "role": "polydisperse",
>       "type": "redknees",
>       "ext-type": "Gregarinoidea",
>       "ext-restriction": "isospore",
>       "ContactName": "bornyl",
>       "PostalAddress": "demifigure",
>       "Email": "choriocele",
>       "Telephone": {
>         "ext-type": "unfuddled",
>         "TelephoneNumber": "perplexing"
>       }
>     }]
>   }]
> }