Skip to main content

Common

Referenced In

Fields

FieldTypeDescriptionDefault
$schemastringOptional. JSON Schema for this object.

Accepted values: https://raw.githubusercontent.com/doc-detective/common/refs/heads/main/dist/schemas/step_v3.schema.json
stepIdstringOptional. ID of the step.
descriptionstringOptional. Description of the step.
unsafebooleanOptional. Whether or not the step may be unsafe. Unsafe steps may perform actions that could modify the system or environment in unexpected ways. Unsafe steps are only performed within Docker containers or if unsafe steps are enabled with the allowUnsafeSteps config property or the --allow-unsafe flag.false
outputsobject(Outputs (step))Optional. Outputs from step processes and user-defined expressions. Use the outputs object to reference outputs in subsequent steps. If a user-defined output matches the key for a step-defined output, the user-defined output takes precedence.{}
variablesobject(Variables (step))Optional. Environment variables to set from user-defined expressions.{}

Examples

{
"$schema": "https://raw.githubusercontent.com/doc-detective/common/refs/heads/main/dist/schemas/step_v3.schema.json",
"stepId": "example",
"description": "example",
"unsafe": false,
"outputs": {},
"variables": {}
}