Skip to content

Validate contracts

validate contracts - Validate repository contracts against JSON schemas

Validate repository contracts against JSON schemas.

This command validates all EAC repository configuration files against their JSON Schema definitions. It checks: - repository.yml (optional) - repository.yml - environments.yml - testing-tags.yml - test-suites.yml

Schema validation ensures configuration files are well-formed and contain valid values according to the contract specifications.

Notes

Expected Output:

Displays schema validation results for each contract file (repository.yml, environments.yml, testing-tags.yml, test-suites.yml). Shows count of validated items per file. Exit code 0 if all contracts valid, 1 if any validation errors.

Examples

validate contracts

See Also


Tutorials | How-to Guides | Explanation | Reference

You are here: Reference — information-oriented technical descriptions of the system.