[rpp] Re: An implementation of JSContact in JSON Schema
Mario Loffredo <mario.loffredo@iit.cnr.it> Mon, 16 March 2026 14:14 UTC
Return-Path: <mario.loffredo@iit.cnr.it>
X-Original-To: rpp@mail2.ietf.org
Delivered-To: rpp@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id 0359FCB5B20E for <rpp@mail2.ietf.org>; Mon, 16 Mar 2026 07:14:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key) header.d=iit.cnr.it
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id R2q8tqMBcxdk for <rpp@mail2.ietf.org>; Mon, 16 Mar 2026 07:14:51 -0700 (PDT)
Received: from mx5.iit.cnr.it (mx5.iit.cnr.it [146.48.58.12]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id 341CECB5B208 for <rpp@ietf.org>; Mon, 16 Mar 2026 07:14:51 -0700 (PDT)
DKIM-Filter: OpenDKIM Filter v2.11.0 mx5.iit.cnr.it D2404C34A0
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iit.cnr.it; s=mx520231221; t=1773670483; bh=XdUxmLXbaHtr9469jFD6jgtnpveKkWQgMCMKdD3A/Us=; h=Date:Subject:To:References:From:In-Reply-To:From; b=kHvOLn5K87CzwaScgZ588MGyK3WnEgbE2JuU5G1Qq5Jy773rkEfE5vBFM4cL3g8lQ foPlZYQpUEINXSZnBkIs/RGvjq8sEQXeX4I3w/EDufb/CNYpXEeuLOQsEWjMaf2RTf uqArflT99ukbKGKuHYDHHDioERNPZ/KehWR5iwkOZ0zWVWXYJVm4W4Uo/gKFy2wsOc Zny9fCldZY4LsgaX7Fu4Xrmr70K/QK0UEjshnI02H1aZC0VLaeFmhLEr82RYP04SjL 9d9Oi0kKrN+oIX1J1011lLhmtXJSl+S3Ym2ub0UFCOrDoaxUjf1obfTNGcWSHocINf 581YCiB6fCsFw==
Received: from localhost (localhost [127.0.0.1]) by mx5.iit.cnr.it (Postfix) with ESMTP id D2404C34A0 for <rpp@ietf.org>; Mon, 16 Mar 2026 15:14:43 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at mx5.iit.cnr.it
Received: from mx5.iit.cnr.it ([127.0.0.1]) by localhost (mx5.iit.cnr.it [127.0.0.1]) (amavisd-new, port 10028) with ESMTP id tVTpJE8VBusf for <rpp@ietf.org>; Mon, 16 Mar 2026 15:14:43 +0100 (CET)
X-Relay-Autenticated: yes
Message-ID: <2883529d-04cb-4b67-ae2f-4c262c90fb1c@iit.cnr.it>
Date: Mon, 16 Mar 2026 15:14:35 +0100
Mime-Version: 1.0
Content-Language: it
To: rpp@ietf.org
References: <abYT-eacTk_XBcp9@nic.fr> <479a9158-34bc-46a4-ba94-5c5971bbecf6@denic.de> <abfpLjWva5nbf3oL@ietf.bortzmeyer.fr>
From: Mario Loffredo <mario.loffredo@iit.cnr.it>
In-Reply-To: <abfpLjWva5nbf3oL@ietf.bortzmeyer.fr>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: quoted-printable
Message-ID-Hash: SM5DF2CNOZRYKGQWXB5NW3T7RHPQ5DRX
X-Message-ID-Hash: SM5DF2CNOZRYKGQWXB5NW3T7RHPQ5DRX
X-MailFrom: mario.loffredo@iit.cnr.it
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [rpp] Re: An implementation of JSContact in JSON Schema
List-Id: "This list discusses a provisioning protocol based on RESTful principles and corresponding data representations using JSON." <rpp.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/rpp/gTXl9mxz7nP17IxANIpUSnImV2U>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rpp>
List-Help: <mailto:rpp-request@ietf.org?subject=help>
List-Owner: <mailto:rpp-owner@ietf.org>
List-Post: <mailto:rpp@ietf.org>
List-Subscribe: <mailto:rpp-join@ietf.org>
List-Unsubscribe: <mailto:rpp-leave@ietf.org>
Hi Stephane and Pawel,
Il 16/03/2026 12:27, Stephane Bortzmeyer ha scritto:
> On Mon, Mar 16, 2026 at 09:29:49AM +0100, Pawel Kowalik wrote:
>
>> If RPP were to use JSContact it would have to define a different profile of
>> it imho.
> Yes, JSContact is very lax and many things which are probably
> mandatory for us (like the postal address) can be ommited. I think
> that our goal should be that every RPP "document" describing a
> contact/entity must be a valid JSContact card but the opposite does
> not have to be true.
+1.
JSContact profiles are designed to add context-specific constraints to
those defined by the JSContact data model.
An example is the "rdap" profile defined in
draft-ietf-regext-rdap-jscontact.
Do you think that the "rdap" profile is comprehensive enough for use in
the RPP context ?
Best,
Mario
>
>> Your implementation for example used name components for first and last
>> name,
> Which violates
> <https://www.kalzumeus.com/2010/06/17/falsehoods-programmers-believe-about-names/>,
> yes.
>
>> what is not fitting domain registration data model defined in EPP.
> The model of RFC 5733 is more correct but it can be represented in
> JSContact with the "full" property (RFC 9553, section 2.2.1.1). So,
> instead of:
>
> "name": {"components": [{"kind": "given","value": "Li"},
> {"kind": "surname","value": "Ping"}
>
> use:
>
> "name": {"full": "Li Ping"}
>
> _______________________________________________
> rpp mailing list -- rpp@ietf.org
> To unsubscribe send an email to rpp-leave@ietf.org
--
Dott. Mario Loffredo
Senior Technologist
Technological Unit “Digital Innovation”
Institute of Informatics and Telematics (IIT)
National Research Council (CNR)
Address: Via G. Moruzzi 1, I-56124 PISA, Italy
Phone: +39.0503153497
Web: http://www.iit.cnr.it/mario.loffredo
- [rpp] An implementation of JSContact in JSON Sche… Stephane Bortzmeyer
- [rpp] Re: An implementation of JSContact in JSON … Pawel Kowalik
- [rpp] Re: An implementation of JSContact in JSON … Stephane Bortzmeyer
- [rpp] Re: An implementation of JSContact in JSON … Pawel Kowalik
- [rpp] Re: An implementation of JSContact in JSON … Mario Loffredo
- [rpp] Re: An implementation of JSContact in JSON … Pawel Kowalik
- [rpp] Re: An implementation of JSContact in JSON … Jasdip Singh
- [rpp] Re: An implementation of JSContact in JSON … Andy Newton
- [rpp] Re: An implementation of JSContact in JSON … Pawel Kowalik
- [rpp] Re: An implementation of JSContact in JSON … Mario Loffredo
- [rpp] Re: An implementation of JSContact in JSON … Pawel Kowalik
- [rpp] Re: An implementation of JSContact in JSON … Jasdip Singh
- [rpp] Re: An implementation of JSContact in JSON … Pawel Kowalik
- [rpp] Re: An implementation of JSContact in JSON … Jasdip Singh
- [rpp] Re: An implementation of JSContact in JSON … Andy Newton