'Schema evolution validation tool. Check backward compatibility of your JSON Schema changes.'
2.7K
This image runs the chuckd cli tool, for checking backward compatibility of changes to your JSON Schema files.
See https://github.com/anentropic/chuckd for details.
To use this image:
/schemas in the container0) means the versions are compatibleFound incompatible change: Difference{jsonPath='#/properties/age', type=TYPE_NARROWED}e.g.
docker run -v $(pwd)/app/src/test/resources:/schemas anentropic/chuckd person-1.1.0.json person-1.0.0.json
You can configure the compatibility level via -c as detailed below:
chuckd --help
Usage: chuckd [-hV] [-c=<compatibilityLevel>] [-l=<logLevel>] <newSchemaFile>
<previousSchemaFiles>...
Report evolution compatibility of latest vs existing schema versions.
<newSchemaFile>
<previousSchemaFiles>...
-c, --compatibility=<compatibilityLevel>
Valid values: BACKWARD, FORWARD, FULL,
BACKWARD_TRANSITIVE, FORWARD_TRANSITIVE,
FULL_TRANSITIVE
Default: FORWARD_TRANSITIVE
'Backward' means new schema can be used to read data
produced by earlier schema.
'Forward' means data produced by new schema can be read
by earlier schema.
'Full' means both forward and backward compatible.
'Transitive' means check for compatibility against all
earlier schema versions, else just the previous one.
-f, --format=<schemaFormat>
Valid values: JSONSCHEMA, AVRO, PROTOBUF
Default: JSONSCHEMA
Format of schema versions being checked
-h, --help Show this help message and exit.
-l, --log-level=<logLevel>
Valid values: OFF, ALL, DEBUG, INFO, WARN, ERROR, FATAL
Default: OFF
-V, --version Print version information and exit.
Content type
Image
Digest
sha256:7d4aef1d2…
Size
52 MB
Last updated
8 months ago
docker pull anentropic/chuckd