From 541a8b4fd2c4b9538e2c88c5a7c4f9ffb5ca25eb Mon Sep 17 00:00:00 2001 From: nsfisis Date: Thu, 25 Jun 2026 04:57:03 +0900 Subject: 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) --- crates/shirabe/Cargo.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'crates/shirabe/Cargo.toml') diff --git a/crates/shirabe/Cargo.toml b/crates/shirabe/Cargo.toml index eb34838..1b07df4 100644 --- a/crates/shirabe/Cargo.toml +++ b/crates/shirabe/Cargo.toml @@ -15,6 +15,7 @@ async-trait.workspace = true base64.workspace = true chrono.workspace = true indexmap.workspace = true +jsonschema.workspace = true md5.workspace = true regex.workspace = true serde.workspace = true -- cgit v1.3.1