$
initiat commands
$ initiat setup schema
Output the JSON Schema for .initiat/setup.yml files
Usage
initiat setup schema [--output FILE]
Options
-o
|
--output
Save schema to file instead of stdout
Examples
Output schema to stdout
initiat setup schema
Save schema to file
initiat setup schema --output schemas/setup-v1.json
Show output
✅ Schema saved to schemas/setup-v1.json
How it works
-
→
Generates JSON Schema v7 for setup scripts
-
→
Outputs to stdout (default) or saves to file
-
→
Schema includes all action types, validation rules, and constraints
Output
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Setup Script Schema",
"type": "object",
"properties": {
"version": {
"type": "integer",
"const": 1
},
...
}
}
© 2025 Initiat Technologies. All rights reserved.