$ initiat commands
$ initiat setup schema
Output the JSON Schema for .initiat/setup.yml files
Back to Docs

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

  1. Generates JSON Schema v7 for setup scripts

  2. Outputs to stdout (default) or saves to file

  3. 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.