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 ```