Re: [weirds] vCard | Was: Re: Entity postal address information in draft-ietf-weirds-json-response-01
Gavin Brown <gavin.brown@centralnic.com> Mon, 24 December 2012 10:51 UTC
Return-Path: <gavin.brown@centralnic.com>
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 43E1821F87DF for <weirds@ietfa.amsl.com>; Mon, 24 Dec 2012 02:51:02 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.799
X-Spam-Level:
X-Spam-Status: No, score=-2.799 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 O6Eq8nEFE3Kw for <weirds@ietfa.amsl.com>; Mon, 24 Dec 2012 02:51:01 -0800 (PST)
Received: from smtp.centralnic.com (smtp.centralnic.com [193.105.170.131]) by ietfa.amsl.com (Postfix) with ESMTP id 3E84121F87A6 for <weirds@ietf.org>; Mon, 24 Dec 2012 02:51:01 -0800 (PST)
Received: from Gavins-iMac.local (82-68-174-118.in-addr.centralnic.net [82.68.174.118]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.centralnic.com (Postfix) with ESMTP id B0BBB712B89; Mon, 24 Dec 2012 10:50:58 +0000 (UTC)
Message-ID: <50D83392.80404@centralnic.com>
Date: Mon, 24 Dec 2012 10:50:58 +0000
From: Gavin Brown <gavin.brown@centralnic.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/17.0 Thunderbird/17.0
MIME-Version: 1.0
To: Simon Perreault <simon.perreault@viagenie.ca>, andy@arin.net
References: <50D1C73D.6050801@centralnic.com> <50D46EA1.6050307@viagenie.ca>
In-Reply-To: <50D46EA1.6050307@viagenie.ca>
X-Enigmail-Version: 1.4.6
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Cc: weirds@ietf.org
Subject: Re: [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: Mon, 24 Dec 2012 10:51:02 -0000
On 21/12/2012 14:13, Simon Perreault wrote: > 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 Reusing an existing representation makes a lot of sense to me, as long as: 1. the profile is restricted to pretty much the same data as the current spec supports. 2. both flat and structured address data is supported. 3. data which are common to all the object types (registration/update times, sponsoring registrar, etc) have the same names across all objects. 4. the formatting of dates, telephone numbers, etc are the same across all objects. Otherwise, implementations are going to have to introduce special object-specific handlers for the same data, which will be a pain. Here's how I see an entity representation working, with a vCard representation merged with the format in draft-ietf-weirds-json-response-01: { "handle" : "SH8013-REP", "fn" : "John Doe", "status" : [ "validated", "locked" ], "org" : { "text" : "Example Inc" }, "adr" : { /* used by servers with flat address data */ "label" : "123 Example Dr., Suite 100, Dulles, VA, 20166-6503, US", /* used by servers with structured address data */ "street" : "123 Example Dr., Suite 100", "locality" : "Dulles", "region" : "VA", "code" : "20166-6503", "country" : "US" }, "tel" : [ { "type" : "voice", "uri" : "tel : +1.7035555555x1234" }, { "type" : "fax", "uri" : "tel : +1.7035555556" } ], "email" : { "text" : "jdoe@example.com" }, "remarks" : [ "she sells seas shells", "down by the seashore" ], "links" : [ { "value" : "http : //example.com/entity/XXXX", "rel" : "self", "href" : "http : //example.com/entity/XXXX" } ], "port43" : "whois.example.net", "registrationDate" : "1990-12-31T23 : 59 : 60Z", "registrationBy" : "ABC123", "lastChangedDate" : "1990-12-31T23 : 59 : 60Z", "lastChangedBy" : "ABC123", "sponsoredBy" : "SponsorXYZ", "resoldBy" : "ResellerPDQ" } -- Gavin Brown Chief Technology Officer CentralNic Ltd Innovative, Reliable and Flexible Registry Services for ccTLD, gTLD and private domain name registries https://www.centralnic.com/ CentralNic Ltd is a company registered in England and Wales with company number 4985780. Registered Offices: 35-39 Moorgate, London, EC2R 6AR.
- Re: [weirds] vCard | Was: Re: Entity postal addre… Andy Newton
- [weirds] Entity postal address information in dra… Gavin Brown
- Re: [weirds] Entity postal address information in… Andy Newton
- Re: [weirds] Entity postal address information in… Gavin Brown
- Re: [weirds] Entity postal address information in… Jaap Akkerhuis
- Re: [weirds] Entity postal address information in… Arturo Servin
- [weirds] vCard | Was: Re: Entity postal address i… Simon Perreault
- Re: [weirds] vCard | Was: Re: Entity postal addre… Andy Newton
- [weirds] vCard | Was: Re: Entity postal address i… Alex Sergeyev
- Re: [weirds] vCard | Was: Re: Entity postal addre… Simon Perreault
- Re: [weirds] vCard | Was: Re: Entity postal addre… Simon Perreault
- Re: [weirds] vCard | Was: Re: Entity postal addre… Alex Sergeyev
- Re: [weirds] vCard | Was: Re: Entity postal addre… Simon Perreault
- Re: [weirds] vCard | Was: Re: Entity postal addre… Peter Koch
- Re: [weirds] vCard | Was: Re: Entity postal addre… John Levine
- Re: [weirds] vCard | Was: Re: Entity postal addre… Marc Blanchet
- Re: [weirds] vCard | Was: Re: Entity postal addre… John R Levine
- Re: [weirds] vCard | Was: Re: Entity postal addre… Gavin Brown
- Re: [weirds] vCard | Was: Re: Entity postal addre… Alessandro Vesely
- Re: [weirds] vCard | Was: Re: Entity postal addre… Simon Perreault
- Re: [weirds] vCard | Was: Re: Entity postal addre… Alessandro Vesely
- Re: [weirds] vCard | Was: Re: Entity postal addre… Linlin Zhou
- Re: [weirds] vCard | Was: Re: Entity postal addre… Marc Blanchet
- Re: [weirds] vCard | Was: Re: Entity postal addre… Ernie Dainow
- Re: [weirds] vCard | Was: Re: Entity postal addre… Andrew Sullivan
- Re: [weirds] vCard | Was: Re: Entity postal addre… Simon Perreault
- Re: [weirds] vCard | Was: Re: Entity postal addre… Gavin Brown
- Re: [weirds] vCard | Was: Re: Entity postal addre… Peter Koch