validate

The validate command allows you to validate a JSON/DSL workspace definition, using the same rules that are implemented by the Structurizr web API.

Options

  • -workspace: The path or URL to the workspace JSON file/DSL file(s) (required)

Example

To validate a JSON workspace definition:

./structurizr.sh validate -workspace workspace.json