Skip to main content
EXAMPLE

Schema Validation

Validate YAML files against JSON Schemas from three sources — a local file, a remote URL, and an inline schema — before anything runs.

Stacks
cloudposse / atmos

Try it out

Copy the example into a new directory and make it your own:

atmos init examples/demo-schemas
cd demo-schemas

Follow the README for prerequisites and next steps.

See it in action

RECORDED DEMO
demo-schemas
 
Recorded from this example
Real commands. Real output.
README.md1.4 KB
View on GitHub

Example: Demo Schemas

Validate YAML files against JSON Schema before using them in your workflows.

Learn more about Validation.

What You'll See

Try It

cd examples/demo-schemas

# Validate all matched files against their schemas
atmos validate schema

Key Files

FilePurpose
atmos.yamlSchema definitions with three source types
manifest.jsonLocal JSON Schema file
config.yamlValidated against local schema
bower.yamlValidated against remote schema
inline.yamlValidated against inline schema