Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 977EA950E for ; Mon, 9 Apr 2012 18:17:58 +0000 (UTC) Received: (qmail 31883 invoked by uid 500); 9 Apr 2012 18:17:56 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 31802 invoked by uid 500); 9 Apr 2012 18:17:56 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 31529 invoked by uid 99); 9 Apr 2012 18:17:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Apr 2012 18:17:56 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of kevin.r.coombes@gmail.com designates 209.85.214.180 as permitted sender) Received: from [209.85.214.180] (HELO mail-ob0-f180.google.com) (209.85.214.180) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Apr 2012 18:17:48 +0000 Received: by obbun3 with SMTP id un3so8029773obb.11 for ; Mon, 09 Apr 2012 11:17:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:organization:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=Oo1De+3yuyfvLHjKqn1cCyDI6nIpCBvvSe/gORocFbM=; b=MKS1uCYR+2s/84TpK7jlIt7ZDbE7NM3mUkxF6DZgQEgVO9HKoaqOcNOPIgOdQwUK6G xJUymJO5kLCCLXDUcDl2i4e+XyAsga6ilTIr1Flk7jXLTlHYwdTWrRQRo+hLJVAwBBMC +d7/nYD9SHU9m7Qtbf7bqdFIrdPB+Aa529cqJavoG75SytPqxx/vWMK/Q7Xo5GGpSiV1 7CmOHNmHweY3lY7aY5wvvktGZuaB3/3TqMnM0rmqvICqqNXYF41oMqW/0O0rCdyVJijV EfTsA4snL1yC3NID1Gk5bUJ4Lhnpd0B56aGhoHYx9JHGUJJDdftXJhKcln2icOmIB0pf Byuw== Received: by 10.182.169.4 with SMTP id aa4mr11554484obc.62.1333995447672; Mon, 09 Apr 2012 11:17:27 -0700 (PDT) Received: from [10.105.35.136] ([143.111.22.28]) by mx.google.com with ESMTPS id m3sm13364385oem.7.2012.04.09.11.17.26 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 09 Apr 2012 11:17:26 -0700 (PDT) Message-ID: <4F8327B5.1080401@gmail.com> Date: Mon, 09 Apr 2012 13:17:25 -0500 From: "Kevin R. Coombes" Organization: UT M.D. Anderson Cancer Center User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120312 Thunderbird/11.0 MIME-Version: 1.0 To: user@couchdb.apache.org CC: Paul Davis , Jeroen Janssen Subject: Re: formal database schema? References: <4F82F378.1040709@gmail.com> <4F831DBE.90305@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org That was the sort of table I had in mind in my initial question. I've thought about adding an extra column that indicates which fields are used as keys for which views. On 4/9/2012 12:43 PM, Paul Davis wrote: > There's really not much in the way of a formal definition/diagram for > JSON documents. If I were going to try and mollify a reviewer I'd > probably generate a three column table with a key/path column, type, > and intent. > > Also, in a pinch, UML isn't necessarily a bad way to try and show such > things as long as you have explanatory text describes some of the > assumptions that change since its non-relational. > > On Mon, Apr 9, 2012 at 1:34 PM, Kevin R. Coombes > wrote: >> Hmm. This _might_ be what I want, even though my immediate reaction is that >> it may be too self-referential to send back to the reviewer. (Is JSON >> really the write language/format in which to describe JSON documents?) But >> it's a start; thanks. >> Kevin >> >> >> On 4/9/2012 9:41 AM, Jeroen Janssen wrote: >>> Hi, >>> >>> Not sure if this is what you are looking for, but there is a draft >>> JSON schema specification at http://json-schema.org/ which is "a JSON >>> based format for defining the structure of JSON data". >>> >>> Best regards, >>> >>> Jeroen >>> >>> On Mon, Apr 9, 2012 at 4:34 PM, Kevin R. Coombes >>> wrote: >>>> Hi, >>>> >>>> We just had a manuscript that describes three applications of CouchDB in >>>> bioinformatics accepted with minor revisions. (I think this will be the >>>> first paper describing a CouchDB application in the area of >>>> bioinformatics.) >>>> >>>> One of the requested minor changes is for "schematics, data models, etc". >>>> I'm sure that the reviewer is thinking about the kinds of schema >>>> diagrams >>>> that can easily be supplied for a relational database. Other than a >>>> table >>>> or a screenshot showing the reviewer what a typical document looks like >>>> in >>>> these databases, does anyone know of equivalent tools or diagrams to >>>> describe a document-oriented database? Are there any (formal) design or >>>> document conventions that have evolved or are evolving for describing >>>> databases built using Couch? >>>> >>>> Kevin >>>> >>>> In case anyone wants to take a look at the applications, here are the >>>> URLs: >>>> >>>> geneSmash >>>> >>>> >>>> http://app1.bioinformatics.mdanderson.org/genesmash/_design/basic/index.html >>>> drugBase >>>> >>>> >>>> http://app1.bioinformatics.mdanderson.org/drugbase/_design/basic/index.html >>>> HapMap-CN >>>> >>>> http://app1.bioinformatics.mdanderson.org/hapmap/_design/basic/index.html >>>>