[weirds] vCard | Was: Re: Entity postal address information in draft-ietf-weirds-json-response-01

Simon Perreault <simon.perreault@viagenie.ca> Fri, 21 December 2012 14:13 UTC

Return-Path: <simon.perreault@viagenie.ca>
X-Original-To: weirds@ietfa.amsl.com
Delivered-To: weirds@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3A9ED21F84DB for <weirds@ietfa.amsl.com>; Fri, 21 Dec 2012 06:13:56 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.399
X-Spam-Level:
X-Spam-Status: No, score=-2.399 tagged_above=-999 required=5 tests=[AWL=0.200, BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ChfrW7+nT4bj for <weirds@ietfa.amsl.com>; Fri, 21 Dec 2012 06:13:55 -0800 (PST)
Received: from jazz.viagenie.ca (jazz.viagenie.ca [IPv6:2620:0:230:8000::2]) by ietfa.amsl.com (Postfix) with ESMTP id 5654621F843E for <weirds@ietf.org>; Fri, 21 Dec 2012 06:13:55 -0800 (PST)
Received: from porto.nomis80.org (unknown [195.98.238.107]) by jazz.viagenie.ca (Postfix) with ESMTPSA id B49EA4044F for <weirds@ietf.org>; Fri, 21 Dec 2012 09:13:54 -0500 (EST)
Message-ID: <50D46EA1.6050307@viagenie.ca>
Date: Fri, 21 Dec 2012 15:13:53 +0100
From: Simon Perreault <simon.perreault@viagenie.ca>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0
MIME-Version: 1.0
To: weirds@ietf.org
References: <50D1C73D.6050801@centralnic.com>
In-Reply-To: <50D1C73D.6050801@centralnic.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 8bit
Subject: [weirds] vCard | Was: Re: Entity postal address information in draft-ietf-weirds-json-response-01
X-BeenThere: weirds@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "WHOIS-based Extensible Internet Registration Data Service \(WEIRDS\)" <weirds.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/weirds>, <mailto:weirds-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/weirds>
List-Post: <mailto:weirds@ietf.org>
List-Help: <mailto:weirds-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/weirds>, <mailto:weirds-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 21 Dec 2012 14:13:56 -0000

Please allow me to remind everyone that the IETF has a standard for such 
information: vCard. Let's use it and focus on WEIRDS, not on postal 
address formats.

And there is a draft about a JSON representation for vCard:
http://tools.ietf.org/html/draft-bhat-vcarddav-json-00

It's really straightforward IMHO...

Simon


Le 2012-12-19 14:55, Gavin Brown a écrit :
> Postal address information for entities is returned in a flat array format:
>
>           "postalAddress" :
>           [
>             "123 Maple Ave",
>             "Suite 90001",
>             "Vancouver",
>             "BC",
>             "12393"
>           ],
>
> For any registry whose database design was developed to support EPP,
> this is quite lossy, since the specific meaning of each field is lost.
>
> I suggest that in addition to the above format, the standard should also
> permit a full object, like so:
>
>           "postalAddress" :
>           {
>             street: [ "123 Maple Ave", "Suite 90001", ],
>             city: "Vancouver",
>             sp: "BC",
>             pc: "12393",
>             cc: "CA"
>           },
>
> It would be pretty easy for clients to work out which model was being
> used, and handle it accordingly. Servers should use one model or the
> other, but not both.
>
> G.
>


-- 
DTN made easy, lean, and smart --> http://postellation.viagenie.ca
NAT64/DNS64 open-source        --> http://ecdysis.viagenie.ca
STUN/TURN server               --> http://numb.viagenie.ca