[Json] JSON Schema Language, Draft 01

Ulysse Carion <ulysse@segment.com> Fri, 07 June 2019 00:18 UTC

Return-Path: <ulysse@segment.com>
X-Original-To: json@ietfa.amsl.com
Delivered-To: json@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 51D7B120247 for <json@ietfa.amsl.com>; Thu, 6 Jun 2019 17:18:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=segment.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ad5XqvcOI5-x for <json@ietfa.amsl.com>; Thu, 6 Jun 2019 17:18:52 -0700 (PDT)
Received: from mail-io1-xd31.google.com (mail-io1-xd31.google.com [IPv6:2607:f8b0:4864:20::d31]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EED1C12023B for <json@ietf.org>; Thu, 6 Jun 2019 17:18:51 -0700 (PDT)
Received: by mail-io1-xd31.google.com with SMTP id e3so58923ioc.12 for <json@ietf.org>; Thu, 06 Jun 2019 17:18:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=segment.com; s=google; h=mime-version:from:date:message-id:subject:to; bh=zE/u3Iu9DWxB+aeGAdmPRjP3OIdLs379oQNBtJQYcXY=; b=cjuNkkTjLb3ZY5GSab8f8B+pzsC/rbf9vbl4BcpFkbzedIKFdV0n16T9icPoOz4ft7 tIuyfz4tPNrm4X/NSUtf3ktZ/0oCDrdMBhHXeKfrYAi/Qytg507H+AxB/KJ3v1mXdAsC RtcjSKIgEt2whTiSOwH28AbriBkdgXehLLDp4=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=zE/u3Iu9DWxB+aeGAdmPRjP3OIdLs379oQNBtJQYcXY=; b=FWPvzW3fHw32ycZfEM5tYI8blIULxoywuEOgmO67NHPb6jMpEW+6qJaNmO3z6FOont qDUIKstv7q2I+d/gi1mMPVGNQW/hxN+GqCFSOArYxsxbasWGBqnPwZhNknhYKx9Ad+ye oX3ofv9xlDHQF9o/SWNH0ndF1ku/Hak2GiRE7tlO8RT4Pi3SGOYZBJ7EovZ6KlTvNFYR 4wDuBMJByYKZv+984oQOALMDNWaXmyGM209M6WU1g2w1fjfJvQNhgD7WMGOnAj/IqRSS y9UAMlQ1Uxn4W6hQ7ca1dZ6qKlQ1Lb0xxbsTMhDO6JcT0Reth5j3yoS4A1wKhYVoYZMl 35mg==
X-Gm-Message-State: APjAAAVDsGCy2wMU7AvlOfdsxQt6M92BC10ySCF7b+yeIm94QuHxKpG3 r2lowXdJpdFtaw3ZbZs+BHya29NVRaDZzMihqipf+QJM5ag=
X-Google-Smtp-Source: APXvYqyvBZOJY/LU7JC5OewuN1cWEqFW17uJiiUiZXGQhSZHtH7+T6rc6raoqdldSIy/5ejrjicAQ6qb6uuuTVE/S9c=
X-Received: by 2002:a05:6602:2296:: with SMTP id d22mr30201233iod.209.1559866730989; Thu, 06 Jun 2019 17:18:50 -0700 (PDT)
MIME-Version: 1.0
From: Ulysse Carion <ulysse@segment.com>
Date: Thu, 06 Jun 2019 17:18:40 -0700
Message-ID: <CAJK=1Rh6gQE5-4aOu7ZM9Fc-q_hW79U_Q7wkmWwVRS0=GPAnxA@mail.gmail.com>
To: JSON WG <json@ietf.org>
Content-Type: multipart/alternative; boundary="00000000000065f287058ab0c689"
Archived-At: <https://mailarchive.ietf.org/arch/msg/json/f18rfFARCGOQpsqCw8A25lc5fr8>
Subject: [Json] JSON Schema Language, Draft 01
X-BeenThere: json@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "JavaScript Object Notation \(JSON\) WG mailing list" <json.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/json>, <mailto:json-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/json/>
List-Post: <mailto:json@ietf.org>
List-Help: <mailto:json-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/json>, <mailto:json-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 07 Jun 2019 00:19:01 -0000

Hi folks,

Working off discussion in this mailing list, I've published a draft -01 of
JSON Schema Language:

https://tools.ietf.org/html/draft-json-schema-language-01

Notable changes are the addition of "timestamp" (RFC3339) as a type, as
well as the addition of enums. The syntax of JSL is now defined mostly
through CDDL, and an informative appendix maps some JSL schemas to CDDL
ones. The rest of the changes mostly serve to make the spec easier to read
and implement, nothing dramatic.

Would love feedback! What more should be removed or added to move this
forward?

Best,
Ulysse