{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/harness/main/json-schema/harness-chaosfaulttemplate-action-template-variables-schema.json", "title": "chaosfaulttemplate.ActionTemplateVariables", "x-generated": "2026-10-04", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/harness-action-templates-api-openapi.yml#/components/schemas/chaosfaulttemplate.ActionTemplateVariables", "type": "object", "properties": { "actionProperties": { "type": "array", "items": { "$ref": "#/$defs/template.Variable" } }, "actionRunProperty": { "type": "array", "items": { "$ref": "#/$defs/template.Variable" } }, "inputs": { "type": "array", "items": { "$ref": "#/$defs/template.Variable" } }, "variables": { "description": "CHAOS-11100", "type": "array", "items": { "$ref": "#/$defs/template.Variable" } } }, "$defs": { "template.InputCategory": { "type": "string", "enum": [ "FaultTarget", "FaultTunable", "TargetInfra", "ExperimentTunable", "ActionProperties", "ProbeProperties", "RunProperties", "FaultAuthentication" ], "x-enum-varnames": [ "CategoryFaultTarget", "CategoryFaultTunable", "CategoryTargetInfra", "CategoryExperimentTunable", "CategoryActionProperties", "CategoryProbeProperties", "CategoryRunProperties", "CategoryFaultAuthentication" ] }, "template.InputType": { "type": "string", "enum": [ "String", "Integer", "Boolean", "Number", "SecretFile", "SecretText" ], "x-enum-varnames": [ "StringInput", "IntegerInput", "BooleanInput", "NumberInput", "SecretFileInput", "SecretTextInput" ] }, "template.Variable": { "type": "object", "required": [ "name", "value" ], "properties": { "allowedValues": { "type": "array", "items": {} }, "category": { "$ref": "#/$defs/template.InputCategory" }, "default": {}, "description": { "type": "string" }, "name": { "type": "string" }, "path": { "type": "string" }, "required": { "type": "boolean" }, "stringify": { "type": "boolean" }, "tags": { "type": "array", "items": { "type": "string" } }, "tooltipId": { "type": "string" }, "type": { "$ref": "#/$defs/template.InputType" }, "validator": { "type": "string" }, "value": {} } } } }