From b83f463074086cafa87b1a72f91d1fe9cb010dbc Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Wed, 18 Oct 2023 14:21:27 -0400 Subject: [PATCH] docs: adapt to new schema name Signed-off-by: Henry Schreiner --- .pre-commit-config.yaml | 2 +- docs/serialization.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8c6796d..37e0135 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -75,5 +75,5 @@ repos: files: ^src/uhi/resources/histogram.json$ - id: check-jsonschema name: Validate Histogram examples - args: [--schemafile, src/uhi/resources/histogram.json] + args: [--schemafile, src/uhi/resources/histogram.schema.json] files: ^tests/resources/.*\.json diff --git a/docs/serialization.md b/docs/serialization.md index 7390a78..2f723a2 100644 --- a/docs/serialization.md +++ b/docs/serialization.md @@ -111,7 +111,7 @@ eventually, but are not valid by themselves. ## Rendered schema -```{jsonschema} ../src/uhi/resources/histogram.json +```{jsonschema} ../src/uhi/resources/histogram.schema.json ``` @@ -119,6 +119,6 @@ eventually, but are not valid by themselves. The full schema is below: -```{literalinclude} ../src/uhi/resources/histogram.json +```{literalinclude} ../src/uhi/resources/histogram.schema.json :language: json ```