[Json] Re: Proposal for use of JSON Text vs JSON Document in JSON Schema
David Kemp <dk190a@gmail.com> Tue, 19 May 2026 16:42 UTC
Return-Path: <dk190a@gmail.com>
X-Original-To: json@mail2.ietf.org
Delivered-To: json@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id 39AE9F0E27CF for <json@mail2.ietf.org>; Tue, 19 May 2026 09:42:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1; t=1779208933; bh=n53CUOGQtiLK730exPPVj9EROxhg8RgQeLy4NEpIwx0=; h=References:In-Reply-To:From:Date:Subject:To:Cc; b=gS7DJUvBGxylWJgcDf/laZ7JeYP0L7eQ5tfo3HSugwqW5LqNFvZfotVHuM9XA7Xnm 68i0Z0uCdyqiV15pt8/v+PwDxFNi5iSoCArBQzHkqKUZTZh5H+BBzh77Zjh9NSJkbl MCFgJCK3lMrOyLevcUrqOrMuheTpPtsX9IdRigGk=
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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=gmail.com
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 qhB7rV2sgFay for <json@mail2.ietf.org>; Tue, 19 May 2026 09:42:12 -0700 (PDT)
Received: from mail-vs1-xe31.google.com (mail-vs1-xe31.google.com [IPv6:2607:f8b0:4864:20::e31]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id 6034AF0E271B for <json@ietf.org>; Tue, 19 May 2026 09:41:48 -0700 (PDT)
Received: by mail-vs1-xe31.google.com with SMTP id ada2fe7eead31-6312970d9e3so2822670137.2 for <json@ietf.org>; Tue, 19 May 2026 09:41:48 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1779208902; cv=none; d=google.com; s=arc-20240605; b=eIBLEUj8KdnHaojaXqc4lv4J/Xz0O23qyAMGMEK5x48WDh8dPb9hjcng18Qn/8pMGO hAtsYv2bbq8B+Hi9wvG5rcqyAHjjee+8sCs+78v6VSRML8Unl4ElNWnOgyJmKrrpALsr Dby56+ffV6OZyIQwYe1BnP7Jpu8HxxVUyw9g9BDkPuRikDvegsenqkNIVV/7QDy0gacj KJuGXjaxrSE+l7IDTfgg0qPd4Da8xyFla6fuZQLGJD7ZJEie4Em9zlMz9fsNYSbrAvBc gxCES+ozUMm8a85GJe+tfOzLgr00bflhlYLbiLnOMKU88u9cjIWPk3C8XCu8YwRjerjp LyyQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=bOnMFPX673Ui9JyBsdbHin47yKgZYtV4VAlXqN9RRic=; fh=nmCC0wVB78/iQJR/Zrub/qkOIkUh6Kp3QDTlz9FLX/s=; b=j/y+OdWhYR+NcjAQ2zDdaq+G4jjz4Fxfya7GqVtPgpJrndyuqytaOSmxePbYlStX2Q dRZTNbsoTZYadmiD5agw8nZInaXy7daZ0n8w933EDUqL30LosUJ/a/lfMbrnSYiDznyv yzU9bNN1o+wuC1BWKIC5x0n/S6q0Ew/j+8HubGLMBpXmHhQDa3mKTwFiXEwROHsIgLXn OA3yeOCwzyP3cl5e3Ez5WvUDuV+DiKT/0oZuB7COwqSiHfOlE7a2h8LyYymXh0RX+qZk 2GE8uMv3uvbtSZVGUvzB9xlX5ueCIdCiqFCL/nCh3kw/1TP4lFW0ZfB5v67woRNGxEmV v+HA==; darn=ietf.org
ARC-Authentication-Results: i=1; mx.google.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1779208902; x=1779813702; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=bOnMFPX673Ui9JyBsdbHin47yKgZYtV4VAlXqN9RRic=; b=CazZGLoWehwGtt9RTQ/sJJL9hUftFQT8uMPwliDE7LAKc0/Bgbpq3xDh5WWHfhBjBB i0g8gibhBbCCucFP6l/DliJXcxs+uID4VcGgN6nrWVCG0tK5HqK2hv+9PrR4IyxWhUHR ISGUTxI55x/P4q2Hn6xcEVb07Li0REl+/IZ6XbMauPHutskVuyUkBiZQm8tQBApa26Kn XQ8eJZkDUzUuqmujbb40iqGPX7xGDgrBDGVliggV6s5zXuFIp4eDtcp3d8wE8WjNb2yi QNEJN90SB/EEbSfyEMppp9XfN4Erv3/0Zgttn9aI+CWrZgRB+3mOvzyCXoPJ1XjntEyQ 88Fw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779208902; x=1779813702; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=bOnMFPX673Ui9JyBsdbHin47yKgZYtV4VAlXqN9RRic=; b=lT6IBTdQ5mpcjI4llmmSGCawFmyUSy+83/H0ZTvYrLP1Zk6h0G1iErefkXcZj37xRT nfhPfHm0DbQZwbkC7xdArS3AoccKqO3lRU0xrS7ElVEHkUTCeu0RhTIDCgygoEd2N4vz nyrHnJOy+UWQK8WTtFDmlePOVc5DVyJe9P5iIEcFx8gmNClUqdO9oHjXW8pmZfk5wzZ7 z1X8avSDBK+5bON4KEJTVq9tyU61fOiy2cSniNi8tGO4qE6+d6Z1hcrq7tgnGi2E5dDk UkUWabGKoGd6tMFKWfz3KKuuiciEh5RWP47d2Y8MWDnDGfU0VzvSZLk8dxdOj/4V3l+A Y8CA==
X-Forwarded-Encrypted: i=1; AFNElJ8pXBXZ6i/qmiml/vs2gkwK1921Ol5FJPqZXCr0mDIoCOkNKVvqqWCHzZVrwQp4H98C3ylF@ietf.org
X-Gm-Message-State: AOJu0Ywsk7X/eH/EvMbvlL5mei2JzoEd0uxv2X1TWtNWPu8UcRhXtiYE YPxR7gQ0kZjWmMUehjQh+5ZpGtDak45YmmljYZ30Je8/9WIihMLKK+/b6vB3X8zRLDSRaEVyrG8 4ycJPH/ibQOYwWFQNwN74RO2+jk7TGz8=
X-Gm-Gg: Acq92OFfmxHNJ6y4yYpfi5VosxoGuiwiF8won1+Y0G0RGA7f2oPQJmbsDmVR1fxLhan i6jYfxhnmewdxIKoAhV2OFyKteVTzBf9uiZ0AS8Fi6WYLp/t5/36pLpcQy5MARABOkJG+Vtn1L4 FOmt1cPzd5zlk2nPQ8AqMNLrFvJQbwSr2lzPuakismj/4nsqxbu92goQhx3oXqKk/TTw1vgwQ3x W2DQVnql/EWWn3KvadLR6K7R+BtL0FRl00mgWAmxuAnPdBTgLeWZFkiyFE67S4hfDbbq0f2Zoex PThzPiX2CKvKH/pBSLVUPnwTmilO1WdnYyP+egIrlF3gKa9GI2g=
X-Received: by 2002:a05:6102:2921:b0:633:78f9:10a2 with SMTP id ada2fe7eead31-63a3f38d34dmr10504850137.20.1779208901806; Tue, 19 May 2026 09:41:41 -0700 (PDT)
MIME-Version: 1.0
References: <CAEi+uC7geTKVn-NXkDsBaPo39dcKLMJ+G2ffFW4229mJd-O5_w@mail.gmail.com> <MN2PR17MB4031C8B63AFF804B4FB54A69CD002@MN2PR17MB4031.namprd17.prod.outlook.com> <725352192.2278846.1779206890302@mail.yahoo.com>
In-Reply-To: <725352192.2278846.1779206890302@mail.yahoo.com>
From: David Kemp <dk190a@gmail.com>
Date: Tue, 19 May 2026 12:41:23 -0400
X-Gm-Features: AVHnY4JCqMxT3zytIz389d73Qb6x6I0SXB7IgRDcA51CsXSEExNK3NJFRd2sYRI
Message-ID: <CAE5tNmrjo6mBQCbjpU43R2DafkovMTdX25=zzsZ_g8SrV3DefA@mail.gmail.com>
To: Henry Andrews <andrews_henry@yahoo.com>
Content-Type: multipart/alternative; boundary="00000000000092cc4106522e5a01"
Message-ID-Hash: TZT6NO5WMA7VLGLNGXFXSAOJBTOTMOUI
X-Message-ID-Hash: TZT6NO5WMA7VLGLNGXFXSAOJBTOTMOUI
X-MailFrom: dk190a@gmail.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-json.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: Lisa Dusseault <lisa.dusseault@gmail.com>, JSON WG <json@ietf.org>, "Salz, Rich" <rsalz=40akamai.com@dmarc.ietf.org>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [Json] Re: Proposal for use of JSON Text vs JSON Document in JSON Schema
List-Id: "JavaScript Object Notation (JSON) WG mailing list" <json.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/json/ktpeLWneEC-UczkDtkrGAicHk9Y>
List-Archive: <https://mailarchive.ietf.org/arch/browse/json>
List-Help: <mailto:json-request@ietf.org?subject=help>
List-Owner: <mailto:json-owner@ietf.org>
List-Post: <mailto:json@ietf.org>
List-Subscribe: <mailto:json-join@ietf.org>
List-Unsubscribe: <mailto:json-leave@ietf.org>
s/JSON document/JSON value/g As Carsten said, there is already a clearly-defined word for the concept of "contrasting schema values with resources" and "an instance value is a unit of serialization". That word is "value", not "document". Using a word in a way that contradicts its widely-understood meaning is a recipe for confusion. Regards, David On Tue, May 19, 2026 at 12:08 PM Henry Andrews <andrews_henry= 40yahoo.com@dmarc.ietf.org> wrote: > JSON Schema does not work directly with JSON Text. If the WG wants to > call what it works with an "information set" (by analogy with XML, I > assume), that's fine with me. > > The "JSON Document" concept is about _contrasting documents with > resources._ It's only relationship to serialization formats is that a > document is a unit of serialization, while a resource is a unit if > identification (identified by an absolute-URI assigned by $id). Documents > can contain multiple resources. The primary use case of this is bundling > multiple schema resources into a single document for ease of distribution, > as some tools do not like references that cross documents, but are OK with > references that cross resource boundaries within a document. > > "JSON Text" is a serialization format (application/json). This is a > different thing, which is only relevant to the media type > (application/schema+json, or whatever +json name we use), which exists to > facilitate interoperable exchange of schemas (not processing- processing is > independent of serialization, as illustrated by the fact that nearly every > project I've ever been involved with writes schemas in YAML for authoring > convenience). > > thanks, > -henry > > On Tuesday, May 19, 2026 at 05:16:45 AM PDT, Salz, Rich <rsalz= > 40akamai.com@dmarc.ietf.org> wrote: > > > > - *My proposal*: This proposal is to keep "*JSON Document*". I make > this proposal because existing JSON Schema specs and usage haven't > experienced problems around the term "JSON Document". It's also biased > towards my own interpretation of "readability". I believe we can address of > the related concerns while not fundamentally changing terminology, with > these changes in the proposal: > > > I believe the reason why there have been no problems is that this document > was known to be “informal” and not something with strict language > conventions that you typically see from an standards organization. We’ve > already seen disagreement from experts[1]: "JSON Schema document is not > JSON text…” > > I think the WG needs to first decide if it’s working with an information > set or JSON Text, and then make the appropriate comprehensive changes in > the draft. I suggest that if/when this is done, that it be the *only* > content in a published version of the draft. > > [1] > https://mailarchive.ietf.org/arch/msg/json/cYRrRFk5jLHtpmbg7IPzRaxTeLc/ > _______________________________________________ > json mailing list -- json@ietf.org > To unsubscribe send an email to json-leave@ietf.org > _______________________________________________ > json mailing list -- json@ietf.org > To unsubscribe send an email to json-leave@ietf.org >
- [Json] Proposal for use of JSON Text vs JSON Docu… Lisa Dusseault
- [Json] Re: Proposal for use of JSON Text vs JSON … Rob Sayre
- [Json] Re: Proposal for use of JSON Text vs JSON … Carsten Bormann
- [Json] Re: Proposal for use of JSON Text vs JSON … Martin J. Dürst
- [Json] Re: Proposal for use of JSON Text vs JSON … Rob Sayre
- [Json] Re: Proposal for use of JSON Text vs JSON … Carsten Bormann
- [Json] Re: Proposal for use of JSON Text vs JSON … David Kemp
- [Json] Re: Proposal for use of JSON Text vs JSON … Salz, Rich
- [Json] Re: Proposal for use of JSON Text vs JSON … Henry Andrews
- [Json] Re: Proposal for use of JSON Text vs JSON … David Kemp
- [Json] Re: Proposal for use of JSON Text vs JSON … Carsten Bormann
- [Json] Re: Proposal for use of JSON Text vs JSON … Henry Andrews
- [Json] Re: Proposal for use of JSON Text vs JSON … David Kemp
- [Json] Re: Proposal for use of JSON Text vs JSON … Henry Andrews
- [Json] Re: Proposal for use of JSON Text vs JSON … John Carlson
- [Json] Re: Proposal for use of JSON Text vs JSON … David Kemp
- [Json] Re: Proposal for use of JSON Text vs JSON … Henry Andrews