Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:128168 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by lists.php.net (Postfix) with ESMTPS id AACD01A00BC for ; Mon, 21 Jul 2025 18:39:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1753123054; bh=cKUYi1ped/5Azr0bH0Vf8ktDFaLkeJL1XHzZH3k57PA=; h=References:In-Reply-To:From:Date:Subject:To:From; b=anNtf2+MiNeNOTKkhBvju0SNfjVRcgr72Clm6h9V+tt+d92+Vi8SEqNAMRy7F5o1l 2LwqGkPdT58in4yOly4gjAzBCayKpGioiO7ERKxvcex/JQAjtm9rs3uRfU9mxmyPAh J6awMzJwVdtBPinDrLUPHyBXn7/d53MzWAbx/Eb95bcyc3XVMJXvFTNSHwQrTU7K/V SKQyeTyNruBWr6BQsr+BDHWVt808Lep28zMMDexG8vaMPd4hp1GRsjhvD1JChSPxq0 geskoHTtQfBdjTr7JZVwiLIYuLB+Fb2qJi1N9W0qAyxPvFaXAYx4z1A1AgZ38tH81D yWig45GRM3g5Q== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 3E56A1804DC for ; Mon, 21 Jul 2025 18:37:34 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on php-smtp4.php.net X-Spam-Level: ** X-Spam-Status: No, score=2.7 required=5.0 tests=BAYES_50,DMARC_NONE, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: Error (Cannot connect to unix socket '/var/run/clamav/clamd.ctl': connect: Connection refused) X-Envelope-From: Received: from mail-oi1-f170.google.com (mail-oi1-f170.google.com [209.85.167.170]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Mon, 21 Jul 2025 18:37:34 +0000 (UTC) Received: by mail-oi1-f170.google.com with SMTP id 5614622812f47-41bebd9dd8dso1349087b6e.2 for ; Mon, 21 Jul 2025 11:39:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1753123159; x=1753727959; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=cKUYi1ped/5Azr0bH0Vf8ktDFaLkeJL1XHzZH3k57PA=; b=o0GKXaOl2bXlmtp8hwzYH0fKjI6mCUQ8v/ynRy8kynLjhnaXYFtLcJcBxd9GdtedZR HFWY9DVyP5Z3GmWPeFmpx/Preel/0+MViLEq9bAORbegV6Ie/DARJvsI1nBxm/uCDeuj vzX1vags59KRRGAiQ8tRihqGjPpXMYSd4VfjK2Pd+Y2hEs+pHqZqra9/u2mfn1cGk48L vfptWx4hLEUkag5HjIg6zfVFUFQuVb7uyb7NECib7xuftuKWFWLwBi+VJ9ZaNc0M8sFn FtxjoeLeayv9cQTR75r7w20oZfbH523gUqSsqhU2F/jULrhPlGZnLE0hROd4RjC7BsXU bA7w== X-Gm-Message-State: AOJu0YzacKHO1groJG7qBmVjAkDH+Meo8HVNT9Ej/MDo+ziRpOd4KF6L MObzKutzgeF4ch6Zh1huJjbCMLQqJeY9a1rFjdDktlYb2yE4In6CLMEAAwPrFrE6oDXGr/skfSU 5SMwcYKuiRsgASWW5CDNW052OOHE9soC3Zw== X-Gm-Gg: ASbGnctgCMRJqG7ZOkRxl8GDteFBkxsjEj9gz4qVj6b4FwLw0l7E7fVYz9MHG04tvcT EqWnO+F0NOpgDX1Blc8v9brh89MnUNet2q44gBgOl8bti0JPlrp0ZPLLQbsI/19ZN3pCUvE6ouw t0aZrZvge37xhw8kCyGWSk7O6hDZsCveV2lhnmixPatrGNUT/cSShss70P7GFxPjSqbO4BZvA8o gi6cyHxJgGb6+t96w== X-Google-Smtp-Source: AGHT+IEidkmEHl/9WqFVz5x8ZMp2GMkiNh/6+fT630xJHqkmgp8kfBp+Ap12IBmgkLE6RiLtNCflc6+Xfe8ChnFut0I= X-Received: by 2002:a05:6808:1301:b0:403:529d:fd81 with SMTP id 5614622812f47-41d038d9e6dmr16578805b6e.17.1753123158579; Mon, 21 Jul 2025 11:39:18 -0700 (PDT) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 References: In-Reply-To: Date: Mon, 21 Jul 2025 20:39:07 +0200 X-Gm-Features: Ac12FXxJIQkrviQPJArR-NL02WDj6jD_Gk6Isf6QGGq8NrgR6YH0O_kqe8t3OBY Message-ID: Subject: [PHP-DEV] Re: [RFC] JSON Schema validation support To: PHP internals list Content-Type: multipart/alternative; boundary="0000000000001d5d94063a74cbf6" From: bukka@php.net (Jakub Zelenka) --0000000000001d5d94063a74cbf6 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Jul 4, 2025 at 11:01=E2=80=AFPM Jakub Zelenka wrote= : > Hello, > > I would like introduce and open discussion for RFC proposing the addition > of JSON Schema validation support to JSON extension: > > https://wiki.php.net/rfc/json_schema_validation > > If this is successful, it should be just the first for further > improvements (see the future scope). > I have done some updates to the RFC and I decided to target 8.6 as there is not enough time to get to the state where I would be fully confident that all edge cases are handled and it cannot crash. Basically I need to also integrate full regression pack into it to be sure that all is good. As it was also pointed out, having just few drafts supported could be quite disappointing for users so the plan is to support all the latest drafts as well from the beginning. This is more an implementation detail though so I plan to open vote some time soon (after the feature freeze) to make sure that the API is acceptable and I can just concentrate on getting the implementation done. Kind regards, Jakub --0000000000001d5d94063a74cbf6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Fri, Jul 4, 2025 at 11:01=E2=80=AFPM J= akub Zelenka <bukka@php.net> wro= te:
Hello,

I would like introduce and open discussion for RFC proposing the addition = of JSON Schema validation support to JSON extension:

https://wiki.php.net/rfc/json_schema_validation

If this is successful, it should be just the first for further impr= ovements (see the future scope).

I have done some updates to the RFC and I decided to target 8.6 as there = is not enough time to get to the state where I would be fully confident tha= t all edge cases are handled and it cannot crash. Basically I need to also = integrate full regression pack into it to be sure that all is good. As it w= as also pointed out, having just few drafts supported could be quite disapp= ointing for users so the plan is to support all the latest drafts as well f= rom the beginning. This is more an implementation detail though so I plan t= o open vote some time soon (after the feature freeze) to make sure that the= API is acceptable and I can just concentrate on getting the implementation= done.

Kind regards,

Jaku= b
--0000000000001d5d94063a74cbf6--