Re: [regext] Thoughts on the fundamental premise of JSContact

Andrew Newton <andy@hxr.us> Fri, 09 June 2023 15:41 UTC

Return-Path: <andy@hxr.us>
X-Original-To: regext@ietfa.amsl.com
Delivered-To: regext@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 43478C14CE4B for <regext@ietfa.amsl.com>; Fri, 9 Jun 2023 08:41:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.894
X-Spam-Level:
X-Spam-Status: No, score=-1.894 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=hxr-us.20221208.gappssmtp.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GZvamEYZb5fx for <regext@ietfa.amsl.com>; Fri, 9 Jun 2023 08:41:14 -0700 (PDT)
Received: from mail-lj1-x230.google.com (mail-lj1-x230.google.com [IPv6:2a00:1450:4864:20::230]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6355DC151067 for <regext@ietf.org>; Fri, 9 Jun 2023 08:41:14 -0700 (PDT)
Received: by mail-lj1-x230.google.com with SMTP id 38308e7fff4ca-2b1ba50e50bso21165021fa.1 for <regext@ietf.org>; Fri, 09 Jun 2023 08:41:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hxr-us.20221208.gappssmtp.com; s=20221208; t=1686325272; x=1688917272; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=1qk+xA0ELFI42ZkbF3PELBFnVIZC8qo8nAHRzoxRmO0=; b=jZYXw7ggQaXDJ5hD498EliZyI7JKxBnC2h9nZj3H4dkJlpAbnM0HeXVPeb+102OzI1 a7CvZPrvSehRJpbfQykGyCvUoVd9c5FxSb+lQPjyra/uWiiBaem95Tqjx/MCszdVE90x vGU2RfM1MChJNktd8UHwSm86GzzaoQ9Zr3JfVu5Fbi9qA8UOcpjKUJO4vgPEAvpLfsoa c8u1niFveHbSlTpxHaPpgz3sYPzcDM3jFUs2yeXd0D8DhX+i1y3GbfBq5AynXD7o11oc rES5Vj4yBz856wgdnlfu02x/0S35+Pr0OMBqpY8aOWfbyve4mPk9NJ1jF82SIrcsRrTO b3pA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686325272; x=1688917272; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=1qk+xA0ELFI42ZkbF3PELBFnVIZC8qo8nAHRzoxRmO0=; b=CzcCRm82EsokizI8D7CdphR/QVKjYyveuWNvgRXT4E3qGtts5Vs9XF4JsGmFHdsqek HNNolN3aiAGZnb1CIK1WZcmUqEyN+V1lZCrUIP92BAllD4qnUvjYmwlJ+ngE4o9MuIHR kK+c5pLHeZOGN0eAbFJyFtdTDRAvz6eMrHBCC8CtuObl8qS9fBEzYLreKe9oMm3IuA9Z gnVfxrxtXye0xhjaVotYsrXyAHhLNV8Zb06acSfN7i/QUswXOslxZmadyqrkUVGcEzu0 FqUkMd+ErieAGuiPAKJ4pLSLvDpDpaJ/Pw/3urH2pNcDolHZmiXQyrsMr/tFjwK76KDT HxPw==
X-Gm-Message-State: AC+VfDziLSbPflg7JGme1P0iKGASnuO9+Nbzru+EPTFsuVWjIjtTGTsw rK6XFBurkfx19rpIG7fJEtD+wfo6uoLuOK7auQUCeQ==
X-Google-Smtp-Source: ACHHUZ5O0kEtgVXvjX6pnrOzfoUPOdYqDMk7FNKMy4L7riQG0sL0g/0AuXfzfAS7/lKwgeNrbKjWl5IfXMiPFMbyJxk=
X-Received: by 2002:a2e:850f:0:b0:2b1:bbd7:2926 with SMTP id j15-20020a2e850f000000b002b1bbd72926mr1140090lji.46.1686325271856; Fri, 09 Jun 2023 08:41:11 -0700 (PDT)
MIME-Version: 1.0
References: <CAAQiQRdsPDQSBSizbA05PpMY+Jj1V_Os_Be_EnOMvD6n8d=YRA@mail.gmail.com> <EB986591-5A8F-4B23-938A-3314CCB6E372@verisign.com> <2f0bffeaba2c4e388525d4a11a20ef33@verisign.com> <3651EE47-3E81-416C-9538-DA71AA32416B@arin.net> <b41a2eca-ce36-1fce-9776-2ce745ed5048@iit.cnr.it> <B3591FC5-37D9-430C-A19F-946F05DA6FF0@arin.net>
In-Reply-To: <B3591FC5-37D9-430C-A19F-946F05DA6FF0@arin.net>
From: Andrew Newton <andy@hxr.us>
Date: Fri, 09 Jun 2023 11:41:00 -0400
Message-ID: <CAAQiQReDU8_+bgbYwhSyt6cP_4E6zUzDqvOXPBYdJ3ZuZNZFWA@mail.gmail.com>
To: Jasdip Singh <jasdips@arin.net>
Cc: Mario Loffredo <mario.loffredo@iit.cnr.it>, "Hollenbeck, Scott" <shollenbeck=40verisign.com@dmarc.ietf.org>, "jgould=40verisign.com@dmarc.ietf.org" <jgould=40verisign.com@dmarc.ietf.org>, "regext@ietf.org" <regext@ietf.org>, Tom Harrison <tomh@apnic.net>, George Michaelson <ggm@algebras.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/regext/KkC1b7sXDql2VYk6qni9sMbmeEQ>
Subject: Re: [regext] Thoughts on the fundamental premise of JSContact
X-BeenThere: regext@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Registration Protocols Extensions <regext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/regext>, <mailto:regext-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/regext/>
List-Post: <mailto:regext@ietf.org>
List-Help: <mailto:regext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/regext>, <mailto:regext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 09 Jun 2023 15:41:18 -0000

On Fri, Jun 9, 2023 at 10:03 AM Jasdip Singh <jasdips@arin.net> wrote:
>
> Hello Mario,
>
> Your answer made my day! :) I'm still LOL about your "it wouldn't be short-sighted but completely blind" point. Yah, good to think this through before we as a WG take the next step. I recall one of the laws of simplicity [1]: law 9 which says that some things can never be made simple. May be, JSContact falls into that category. Trusting that the CalExt WG thought through about not unnecessarily introducing implementation complexity for JSContact.
>
> Regards,
> Jasdip
>
> [1] http://lawsofsimplicity.com/

TBH, it was the JSContact patchobject that made me re-examine this
space. I don't know the requirements for CalExt, but the necessity to
implement a JSON patching framework to parse postal addresses seems to
me to be beyond what is reasonable for RDAP. James has also pointed
out several times that the JSContact UID may not be a good fit for
RDAP.

>
> On 6/9/23, 5:02 AM, "Mario Loffredo" <mario.loffredo@iit.cnr.it <mailto:mario.loffredo@iit.cnr.it>> wrote:
>
> Hi Jasdip,
>
> Il 08/06/2023 15:39, Jasdip Singh ha scritto:
> > True, we could define an entity object class that serves the DNR and RIR purposes with a simpler JSON, just like we chose to define domain, IP network, and autonomous system number object classes that are specific to these registries' business. However, before abandoning the JSContact effort, one question to ask would be: Would it be short-sighted in precluding future user cases for entities in other registries (say, RDAP use for space related registration data)?
> >
> > Jasdip
>

This is a good question to ask? What if a space registry needs to use
RDAP? Let's say they need star-dates, celestial orbital planes, and
jump-gate coordinates.
Does JSContact currently support star-dates, celestial orbital planes,
and jump-gate coordinates? It probably does not, and therefore they
would have to extend JSContact.
So if they can extend JSContact, why can't they just write an
extension for RDAP itself. In the end, that would be simpler IMHO.

It is also possible that we define a SimpleContact and fail to account
for something a registry is doing today.
If that happens, that registry can still use jCard. As Marc has
pointed out, jCard will be with us for some time to come.
Or they too can create an RDAP extension.
That said, I have high confidence we can create a SimpleContact that
addresses 99% of what is needed given the gTLD space is well-defined,
many of the ccTLDs are similar to gTLDs (many of them run gTLDs these
days), and the RIR space is also defined.

> [ML] Would like to answer your question trying at the same time to recap
> the reasons why 3 years ago we didn't bring on Gavin's proposal about "a
> straight mapping of RFC5733 contact objects into JSON".
>
> I remember that at ROW 2019 George Michaelson from APNIC gave a
> presentation
> (https://regiops.net/wp-content/uploads/2019/05/ROW8-RDAPPanel-In-defence-of-jCard%E2%80%99s-goals-George-Michaelson.pdf <https://regiops.net/wp-content/uploads/2019/05/ROW8-RDAPPanel-In-defence-of-jCard%E2%80%99s-goals-George-Michaelson.pdf>)
> about which requirements a contact representation aiming to replace
> jCard was supposed to meet according to his experience.
>
> In that circumstance, it was clear to everyone that the EPP contact
> representation was pretty unfit to handle non-western registry data in
> general.
>
> Think that hopefully all of those requirements are matched by JSContact
> (e.g. we have recently updated the spec to better model non-western
> addresses but the work is still ongoing).
>
> Tom and George, can you please say your word on this matter ?
>
> Definitively, I believe that embracing the proposal of a contact data
> format based on RFC 5733 would be a huge step backwards in facing this
> problem.

The idea is not to solely base it on RFC 5733. We know that won't
work. The idea is to find a simpler solution that can be mapped into
plain structures much the same way the rest of RDAP works.

And thanks to Tom and George, we do have a good idea of the needs that
EPP doesn't provide:
https://datatracker.ietf.org/doc/html/draft-harrison-regext-rdap-jcard-profile-00

-andy