{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/stackit/main/json-schema/stackit-command-template-schema-schema.json",
  "title": "CommandTemplateSchema",
  "x-generated": "2026-10-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/stackit-run-command-openapi.yml#/components/schemas/CommandTemplateSchema",
  "properties": {
    "description": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "osType": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "parametersSchema": {
      "$ref": "#/$defs/ParametersSchema"
    },
    "title": {
      "type": "string"
    }
  },
  "type": "object",
  "$defs": {
    "Field": {
      "properties": {
        "default": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "maxLen": {
          "format": "int32",
          "type": "integer"
        },
        "minLen": {
          "format": "int32",
          "type": "integer"
        },
        "readOnly": {
          "type": "boolean"
        },
        "title": {
          "type": "string"
        },
        "type": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "ParametersSchema": {
      "properties": {
        "properties": {
          "$ref": "#/$defs/Properties"
        }
      },
      "type": "object"
    },
    "Properties": {
      "properties": {
        "ConfirmPassword": {
          "$ref": "#/$defs/Field"
        },
        "Password": {
          "$ref": "#/$defs/Field"
        },
        "Script": {
          "$ref": "#/$defs/Field"
        },
        "Username": {
          "$ref": "#/$defs/Field"
        },
        "required": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "type": {
          "type": "string"
        }
      },
      "type": "object"
    }
  }
}