Re: [ietf-types] Q's regarding development of +json media types
Sandro Hawke <sandro@w3.org> Fri, 01 October 2010 04:13 UTC
Return-Path: <sandro@w3.org>
X-Original-To: ietf-types@core3.amsl.com
Delivered-To: ietf-types@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 8D0093A6C1E for <ietf-types@core3.amsl.com>; Thu, 30 Sep 2010 21:13:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level:
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Tsdd4QnVntWH for <ietf-types@core3.amsl.com>; Thu, 30 Sep 2010 21:13:12 -0700 (PDT)
Received: from jay.w3.org (ssh.w3.org [128.30.52.60]) by core3.amsl.com (Postfix) with ESMTP id 8DB503A6BE1 for <ietf-types@ietf.org>; Thu, 30 Sep 2010 21:13:12 -0700 (PDT)
Received: from w3cdhcp103.w3.org ([128.30.55.230]) by jay.w3.org with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from <sandro@w3.org>) id 1P1X0I-00047f-1l; Fri, 01 Oct 2010 00:13:50 -0400
From: Sandro Hawke <sandro@w3.org>
To: mike amundsen <mamund@yahoo.com>
In-Reply-To: <AANLkTin8ZO12947T4b16FD7U21wJLAOE3ggJrSddvYWk@mail.gmail.com>
References: <4CA4E494.1010803@webr3.org> <B8818F73-6970-4A9E-9DF6-F187AEAD70AB@kellogg-assoc.com> <1285878779.22377.146.camel@waldron> <AANLkTin8ZO12947T4b16FD7U21wJLAOE3ggJrSddvYWk@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"
Organization: World Wide Web Consortium (W3C)
Date: Fri, 01 Oct 2010 00:13:49 -0400
Message-ID: <1285906429.22377.251.camel@waldron>
Mime-Version: 1.0
X-Mailer: Evolution 2.28.3
Content-Transfer-Encoding: 7bit
Cc: "ietf-types@ietf.org" <ietf-types@ietf.org>
Subject: Re: [ietf-types] Q's regarding development of +json media types
X-BeenThere: ietf-types@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "Media \(MIME\) type review" <ietf-types.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ietf-types>, <mailto:ietf-types-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ietf-types>
List-Post: <mailto:ietf-types@ietf.org>
List-Help: <mailto:ietf-types-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf-types>, <mailto:ietf-types-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 01 Oct 2010 04:13:15 -0000
On Thu, 2010-09-30 at 16:40 -0400, mike amundsen wrote: > Experimental types should use the "prs" facet[1]. > > Vendor-specific types (non experimental, etc.) should use the "vnd" facet[2]. > > [1] http://tools.ietf.org/html/rfc4288#section-3.3 > [2] http://tools.ietf.org/html/rfc4288#section-3.2 Thanks for the pointer, and perhaps I'm being dense, but I still don't see what subtree a developer, like Nathan, who is in the early stages of potentially creating a standard should use. It seems wrong to use vnd, since he's not a vendor and (at least in this hypothetical) has no intention of ever creating a product here, commercial or otherwise. It seems wrong to use prs, since that would associate the media type forever with him, even though he might lose interest in a year, while a community processes takes it over. It seems like there's no name he can use when starting out that will continue to be sensible years down the road, if the type becomes widely adopted, perhaps being blessed by a standards body. Is that the state of the art, that you just have to plan to change the media type at some point? -- Sandro > mca > http://amundsen.com/blog/ > http://twitter.com@mamund > http://mamund.com/foaf.rdf#me > > > #RESTFest 2010 > http://rest-fest.googlecode.com > > > > > On Thu, Sep 30, 2010 at 16:32, Sandro Hawke <sandro@w3.org> wrote: > > On Thu, 2010-09-30 at 16:23 -0400, Gregg Kellogg wrote: > >> I don't think it makes sense to describe JSON serializations of Notation 3 or N-Triples, as these are themselves just serializations of RDF. Perhaps what you're describing is two different JSON serializations of RDF, one which is more closely related to Notation-3 and the other N-Triples. Although, note that Notation-3 is, itself, a super-set of N-Triples (as is Turtle [1]), so is there really a requirement for two different serializations, or isn't it up to the author to chose a particular syntax using different capabilities of the format. > >> > >> Also, note that Notation-3 is more than a syntax, as it includes behavior as well as representation, which is one reason Turtle was created. A purely syntactic version of Notation-3 is n3-rdf [2], which is a relatively small super-set of Turtle itself. > >> > >> Does this relate, in anyway to JSON-LD [3], which is also an RDF serialization in JSON? > >> > >> Perhaps application/rdf+json would be an appropriate mime-type. > > > > When there's a W3C standard for this, in a year or two, sure. Using > > that for one of a dozen experimental candidates doesn't seem like it > > would help interop very much. > > > > On the other hand, I don't have a good answer for Nathan's question. > > What kind of media type name should one use for a random format that > > might be forgotten in 3 months or might take over the world (and be very > > widely implemented)? I can't figure that one out. > > > > -- Sandro > > > >> Gregg > >> > >> [1] http://www.w3.org/TeamSubmission/turtle/ > >> [2] See N3-rdf at http://www.w3.org/DesignIssues/Notation3 > >> [3] http://rdfa.digitalbazaar.com/specs/source/json-ld/ > >> > >> On Sep 30, 2010, at 12:27 PM, Nathan wrote: > >> > >> > Hi, > >> > > >> > I'm currently working on / experimenting with two JSON based > >> > media-types, the first is a JSON based serialization of Notation 3, the > >> > other a JSON based serialization of N-Triples. > >> > > >> > I've got to the point now where I have implementations of both and need > >> > to content-negotiate over them, thus my initial question is what media > >> > type should I use in the interim whilst experimenting? > >> > > >> > For a later date, if I were to move towards seeking registration, would > >> > the best approach be to work on the specifications out with any > >> > standards body, or to do the work as an internet-draft, or? > >> > > >> > Would the recommended approach be to work towards a json-schema approach > >> > or towards a "+json" type? > >> > > >> > And finally, for JSON based media-types do you have any special > >> > considerations or gotcha's I should be taking in to account at an early > >> > stage? > >> > > >> > Best & TIA for any response, > >> > > >> > Nathan > >> > _______________________________________________ > >> > ietf-types mailing list > >> > ietf-types@ietf.org > >> > https://www.ietf.org/mailman/listinfo/ietf-types > >> > >> _______________________________________________ > >> ietf-types mailing list > >> ietf-types@ietf.org > >> https://www.ietf.org/mailman/listinfo/ietf-types > >> > > > > > > _______________________________________________ > > ietf-types mailing list > > ietf-types@ietf.org > > https://www.ietf.org/mailman/listinfo/ietf-types > > >
- [ietf-types] Q's regarding development of +json m… Nathan
- Re: [ietf-types] Q's regarding development of +js… Kris Zyp
- Re: [ietf-types] Q's regarding development of +js… Gregg Kellogg
- Re: [ietf-types] Q's regarding development of +js… Sandro Hawke
- Re: [ietf-types] Q's regarding development of +js… Nathan
- Re: [ietf-types] Q's regarding development of +js… Nathan
- Re: [ietf-types] Q's regarding development of +js… Sandro Hawke
- Re: [ietf-types] Q's regarding development of +js… mike amundsen