aboutsummaryrefslogtreecommitdiffhomepage
path: root/Cargo.toml
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-06-25 04:57:03 +0900
committernsfisis <nsfisis@gmail.com>2026-06-25 04:57:20 +0900
commit541a8b4fd2c4b9538e2c88c5a7c4f9ffb5ca25eb (patch)
treecbe1e5e9c8edec2a3a875ef0eade99aa4d38e7c4 /Cargo.toml
parentc65cab710bb3d79db20862c9361d4dbbac8ac5d7 (diff)
downloadphp-shirabe-541a8b4fd2c4b9538e2c88c5a7c4f9ffb5ca25eb.tar.gz
php-shirabe-541a8b4fd2c4b9538e2c88c5a7c4f9ffb5ca25eb.tar.zst
php-shirabe-541a8b4fd2c4b9538e2c88c5a7c4f9ffb5ca25eb.zip
feat(json): validate JSON schema via the jsonschema crate
Replace the todo!() json_schema::Validator stub with the jsonschema crate. Errors are surfaced as 'property : message'; the message wording follows the jsonschema crate and is *not* justinrainbow-compatible. Port the ComposerSchemaTest and JsonFileTest schema cases to the new wording (noted per test). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml1
1 files changed, 1 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index f3f6d57..ae264d7 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -20,6 +20,7 @@ base64 = "0.22.1"
chrono = { version = "0.4.44", features = ["serde"] }
fastrand = "2.4.1"
indexmap = { version = "2.14.0", features = ["serde"] }
+jsonschema = { version = "0.46.6", default-features = false }
md5 = "0.7.0"
regex = "1.12.3"
reqwest = "0.13.4"