JSON Schema Validation
Atmos supports JSON Schema validation, which can validate the schema of configurations such as stacks, workflows, and vendoring manifests. JSON Schema is an industry standard and provides a vocabulary to annotate and validate JSON documents for correctness.
Example
Configure Component Validation
In atmos.yaml, add the schemas
section:
atmos.yaml
In the component manifest, add
the settings.validation section:
stacks/catalog/s3-bucket/defaults.yaml
Add the following JSON Schema in the
file stacks/schemas/jsonschema/s3-bucket/validate-s3-bucket-component.json:
examples/quick-start-advanced/stacks/schemas/jsonschema/s3-bucket/validate-s3-bucket-component.json
Try It
Explore a working example that demonstrates JSON Schema validation in action.