@sourcemeta/jsonschema 4.3.2 → 5.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -15
- package/jsonschema-darwin-arm64 +0 -0
- package/jsonschema-darwin-x86_64 +0 -0
- package/jsonschema-linux-x86_64 +0 -0
- package/jsonschema-windows-x86_64.exe +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -27,17 +27,17 @@ Version support
|
|
|
27
27
|
|
|
28
28
|
We aim to fully support _every_ version of JSON Schema and combinations between them.
|
|
29
29
|
|
|
30
|
-
| Dialect | Support
|
|
31
|
-
|
|
32
|
-
| JSON Schema 2020-12 | **Full**
|
|
33
|
-
| JSON Schema 2019-09 | **Full**
|
|
34
|
-
| JSON Schema Draft 7 | **Full**
|
|
35
|
-
| JSON Schema Draft 6 | **Full**
|
|
36
|
-
| JSON Schema Draft 4 | **Full**
|
|
37
|
-
| JSON Schema Draft 3 | Partial (except `validate`, `test`,
|
|
38
|
-
| JSON Schema Draft 2 | Partial (except `validate`, `test`,
|
|
39
|
-
| JSON Schema Draft 1 | Partial (except `validate`, `test`,
|
|
40
|
-
| JSON Schema Draft 0 | Partial (except `validate`, `test`,
|
|
30
|
+
| Dialect | Support |
|
|
31
|
+
|---------------------|-------------------------------------------------------|
|
|
32
|
+
| JSON Schema 2020-12 | **Full** |
|
|
33
|
+
| JSON Schema 2019-09 | **Full** |
|
|
34
|
+
| JSON Schema Draft 7 | **Full** |
|
|
35
|
+
| JSON Schema Draft 6 | **Full** |
|
|
36
|
+
| JSON Schema Draft 4 | **Full** |
|
|
37
|
+
| JSON Schema Draft 3 | Partial (except `validate`, `test`, and `metaschema`) |
|
|
38
|
+
| JSON Schema Draft 2 | Partial (except `validate`, `test`, and `metaschema`) |
|
|
39
|
+
| JSON Schema Draft 1 | Partial (except `validate`, `test`, and `metaschema`) |
|
|
40
|
+
| JSON Schema Draft 0 | Partial (except `validate`, `test`, and `metaschema`) |
|
|
41
41
|
|
|
42
42
|
What our users are saying
|
|
43
43
|
-------------------------
|
|
@@ -63,12 +63,11 @@ documentation:
|
|
|
63
63
|
- [`jsonschema lint`](./docs/lint.markdown)
|
|
64
64
|
- [`jsonschema bundle`](./docs/bundle.markdown) (for inlining remote references in a schema)
|
|
65
65
|
- [`jsonschema frame`](./docs/frame.markdown) (for debugging references)
|
|
66
|
-
- [`jsonschema compile`](./docs/compile.markdown) (for internal debugging)
|
|
67
|
-
- [`jsonschema identify`](./docs/identify.markdown)
|
|
68
|
-
- [`jsonschema canonicalize`](./docs/canonicalize.markdown) (for static analysis)
|
|
69
66
|
- [`jsonschema encode`](./docs/encode.markdown) (for binary compression)
|
|
70
67
|
- [`jsonschema decode`](./docs/decode.markdown)
|
|
71
68
|
|
|
69
|
+
Note that YAML is supported in most commands!
|
|
70
|
+
|
|
72
71
|
Installation
|
|
73
72
|
------------
|
|
74
73
|
|
|
@@ -91,7 +90,7 @@ brew install sourcemeta/apps/jsonschema
|
|
|
91
90
|
Where `X.Y.Z` is replaced with the desired version. For example:
|
|
92
91
|
|
|
93
92
|
```yaml
|
|
94
|
-
- uses: sourcemeta/jsonschema@
|
|
93
|
+
- uses: sourcemeta/jsonschema@v5.0.1
|
|
95
94
|
# Then use as usual
|
|
96
95
|
- run: jsonschema fmt path/to/schemas --check
|
|
97
96
|
```
|
package/jsonschema-darwin-arm64
CHANGED
|
Binary file
|
package/jsonschema-darwin-x86_64
CHANGED
|
Binary file
|
package/jsonschema-linux-x86_64
CHANGED
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sourcemeta/jsonschema",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.1",
|
|
4
4
|
"description": "The CLI for working with JSON Schema. Covers formatting, linting, testing, and much more for both local development and CI/CD pipelines",
|
|
5
5
|
"main": "cli.js",
|
|
6
6
|
"bin": {
|