step.plans.parser.yaml.step-yaml-plan-schema-os-1.0.json Maven / Gradle / Ivy
The newest version!
{
"$schema" : "http://json-schema.org/draft-07/schema#",
"title" : "Plan",
"$defs" : {
"SmartDynamicValueBooleanDef" : {
"oneOf" : [ {
"type" : "boolean"
}, {
"$ref" : "#/$defs/DynamicExpressionDef"
} ]
},
"SmartDynamicValueStringDef" : {
"oneOf" : [ {
"type" : "string"
}, {
"$ref" : "#/$defs/DynamicExpressionDef"
} ]
},
"DynamicExpressionDef" : {
"type" : "object",
"properties" : {
"expression" : {
"type" : "string"
}
},
"additionalProperties" : false
},
"SmartDynamicValueNumDef" : {
"oneOf" : [ {
"type" : "number"
}, {
"$ref" : "#/$defs/DynamicExpressionDef"
} ]
},
"DynamicKeywordInputsDef" : {
"type" : "array",
"items" : {
"type" : "object",
"patternProperties" : {
".*" : {
"anyOf" : [ {
"type" : "number"
}, {
"type" : "boolean"
}, {
"type" : "string"
}, {
"type" : "object"
}, {
"type" : "array"
}, {
"$ref" : "#/$defs/DynamicExpressionDef"
}, {
"type" : "null"
} ]
}
},
"additionalProperties" : false
}
},
"resourceReference" : {
"oneOf" : [ {
"type" : "string"
}, {
"type" : "object",
"additionalProperties" : false,
"properties" : {
"id" : {
"type" : "string"
}
}
} ]
},
"AfterSequenceDef" : {
"type" : "object",
"properties" : {
"afterSequence" : {
"type" : "object",
"properties" : {
"children" : {
"$ref" : "#/$defs/ArtefactArrayDef"
},
"description" : {
"type" : "string"
},
"continueParentNodeExecutionOnError" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"instrumentNode" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"skipNode" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"nodeName" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef",
"default" : "AfterSequence"
},
"pacing" : {
"$ref" : "#/$defs/SmartDynamicValueNumDef"
},
"continueOnError" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
}
}
}
},
"additionalProperties" : false
},
"AfterThreadDef" : {
"type" : "object",
"properties" : {
"afterThread" : {
"type" : "object",
"properties" : {
"children" : {
"$ref" : "#/$defs/ArtefactArrayDef"
},
"description" : {
"type" : "string"
},
"continueParentNodeExecutionOnError" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"instrumentNode" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"skipNode" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"nodeName" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef",
"default" : "AfterThread"
},
"pacing" : {
"$ref" : "#/$defs/SmartDynamicValueNumDef"
},
"continueOnError" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
}
}
}
},
"additionalProperties" : false
},
"AssertDef" : {
"type" : "object",
"properties" : {
"assert" : {
"type" : "object",
"properties" : {
"children" : {
"$ref" : "#/$defs/ArtefactArrayDef"
},
"description" : {
"type" : "string"
},
"continueParentNodeExecutionOnError" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"instrumentNode" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"skipNode" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"nodeName" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef",
"default" : "Assert"
},
"customErrorMessage" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef"
},
"expected" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef"
},
"doNegate" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"operator" : {
"enum" : [ "EQUALS", "BEGINS_WITH", "ENDS_WITH", "CONTAINS", "MATCHES", "LESS_THAN", "LESS_THAN_OR_EQUALS", "GREATER_THAN", "GREATER_THAN_OR_EQUALS", "IS_NULL" ]
},
"actual" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef"
}
}
}
},
"additionalProperties" : false
},
"BeforeSequenceDef" : {
"type" : "object",
"properties" : {
"beforeSequence" : {
"type" : "object",
"properties" : {
"children" : {
"$ref" : "#/$defs/ArtefactArrayDef"
},
"description" : {
"type" : "string"
},
"continueParentNodeExecutionOnError" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"instrumentNode" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"skipNode" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"nodeName" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef",
"default" : "BeforeSequence"
},
"pacing" : {
"$ref" : "#/$defs/SmartDynamicValueNumDef"
},
"continueOnError" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
}
}
}
},
"additionalProperties" : false
},
"BeforeThreadDef" : {
"type" : "object",
"properties" : {
"beforeThread" : {
"type" : "object",
"properties" : {
"children" : {
"$ref" : "#/$defs/ArtefactArrayDef"
},
"description" : {
"type" : "string"
},
"continueParentNodeExecutionOnError" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"instrumentNode" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"skipNode" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"nodeName" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef",
"default" : "BeforeThread"
},
"pacing" : {
"$ref" : "#/$defs/SmartDynamicValueNumDef"
},
"continueOnError" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
}
}
}
},
"additionalProperties" : false
},
"CallKeywordDef" : {
"type" : "object",
"properties" : {
"callKeyword" : {
"type" : "object",
"properties" : {
"children" : {
"$ref" : "#/$defs/ArtefactArrayDef"
},
"description" : {
"type" : "string"
},
"continueParentNodeExecutionOnError" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"instrumentNode" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"skipNode" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"nodeName" : {
"default" : "CallKeyword",
"$ref" : "#/$defs/SmartDynamicValueStringDef"
},
"remote" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"routing" : {
"$ref" : "#/$defs/DynamicKeywordInputsDef"
},
"keyword" : {
"keyword" : {
"oneOf" : [ {
"type" : "string"
}, {
"type" : "object",
"patternProperties" : {
".*" : {
"anyOf" : [ {
"type" : "number"
}, {
"type" : "boolean"
}, {
"type" : "string"
}, {
"type" : "object"
}, {
"type" : "array"
}, {
"$ref" : "#/$defs/DynamicExpressionDef"
}, {
"type" : "null"
} ]
}
},
"additionalProperties" : false
} ]
}
},
"inputs" : {
"$ref" : "#/$defs/DynamicKeywordInputsDef"
},
"resultMap" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef"
}
}
}
},
"additionalProperties" : false
},
"CallPlanDef" : {
"type" : "object",
"properties" : {
"callPlan" : {
"type" : "object",
"properties" : {
"children" : {
"$ref" : "#/$defs/ArtefactArrayDef"
},
"description" : {
"type" : "string"
},
"continueParentNodeExecutionOnError" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"instrumentNode" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"skipNode" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"nodeName" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef",
"default" : "CallPlan"
},
"input" : {
"$ref" : "#/$defs/DynamicKeywordInputsDef"
},
"selectionAttributes" : {
"$ref" : "#/$defs/DynamicKeywordInputsDef"
},
"planId" : {
"type" : "string"
}
}
}
},
"additionalProperties" : false
},
"CaseDef" : {
"type" : "object",
"properties" : {
"case" : {
"type" : "object",
"properties" : {
"children" : {
"$ref" : "#/$defs/ArtefactArrayDef"
},
"description" : {
"type" : "string"
},
"continueParentNodeExecutionOnError" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"instrumentNode" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"skipNode" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"nodeName" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef",
"default" : "Case"
},
"value" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef"
}
}
}
},
"additionalProperties" : false
},
"CheckDef" : {
"type" : "object",
"properties" : {
"check" : {
"type" : "object",
"properties" : {
"children" : {
"$ref" : "#/$defs/ArtefactArrayDef"
},
"description" : {
"type" : "string"
},
"continueParentNodeExecutionOnError" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"instrumentNode" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"skipNode" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"nodeName" : {
"default" : "Check",
"$ref" : "#/$defs/SmartDynamicValueStringDef"
},
"expression" : {
"type" : "string"
}
}
}
},
"additionalProperties" : false
},
"DataSetDef" : {
"type" : "object",
"properties" : {
"dataSet" : {
"type" : "object",
"properties" : {
"children" : {
"$ref" : "#/$defs/ArtefactArrayDef"
},
"description" : {
"type" : "string"
},
"continueParentNodeExecutionOnError" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"instrumentNode" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"skipNode" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"nodeName" : {
"default" : "DataSet",
"$ref" : "#/$defs/SmartDynamicValueStringDef"
},
"userItem" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef"
},
"globalCounter" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef"
},
"threads" : {
"$ref" : "#/$defs/SmartDynamicValueNumDef"
},
"maxFailedLoops" : {
"$ref" : "#/$defs/SmartDynamicValueNumDef"
},
"item" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef"
},
"dataSource" : {
"type" : "object",
"oneOf" : [ {
"type" : "object",
"properties" : {
"csv" : {
"type" : "object",
"properties" : {
"forWrite" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"file" : {
"$ref" : "#/$defs/resourceReference"
},
"delimiter" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef"
}
},
"additionalProperties" : false
}
},
"additionalProperties" : false
}, {
"type" : "object",
"properties" : {
"excel" : {
"type" : "object",
"properties" : {
"forWrite" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"headers" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"worksheet" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef"
},
"file" : {
"$ref" : "#/$defs/resourceReference"
}
},
"additionalProperties" : false
}
},
"additionalProperties" : false
}, {
"type" : "object",
"properties" : {
"file" : {
"type" : "object",
"properties" : {
"forWrite" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"file" : {
"$ref" : "#/$defs/resourceReference"
}
},
"additionalProperties" : false
}
},
"additionalProperties" : false
}, {
"type" : "object",
"properties" : {
"folder" : {
"type" : "object",
"properties" : {
"forWrite" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"folder" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef"
}
},
"additionalProperties" : false
}
},
"additionalProperties" : false
}, {
"type" : "object",
"properties" : {
"gsheet" : {
"type" : "object",
"properties" : {
"forWrite" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"tabName" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef"
},
"serviceAccountKey" : {
"$ref" : "#/$defs/resourceReference"
},
"fileId" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef"
}
},
"additionalProperties" : false
}
},
"additionalProperties" : false
}, {
"type" : "object",
"properties" : {
"json-array" : {
"type" : "object",
"properties" : {
"forWrite" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"json" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef"
}
},
"additionalProperties" : false
}
},
"additionalProperties" : false
}, {
"type" : "object",
"properties" : {
"json" : {
"type" : "object",
"properties" : {
"forWrite" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"json" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef"
}
},
"additionalProperties" : false
}
},
"additionalProperties" : false
}, {
"type" : "object",
"properties" : {
"sequence" : {
"type" : "object",
"properties" : {
"forWrite" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"inc" : {
"$ref" : "#/$defs/SmartDynamicValueNumDef"
},
"end" : {
"$ref" : "#/$defs/SmartDynamicValueNumDef"
},
"start" : {
"$ref" : "#/$defs/SmartDynamicValueNumDef"
}
},
"additionalProperties" : false
}
},
"additionalProperties" : false
}, {
"type" : "object",
"properties" : {
"sql" : {
"type" : "object",
"properties" : {
"forWrite" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"driverClass" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef"
},
"writePKey" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef"
},
"password" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef"
},
"user" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef"
},
"query" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef"
},
"connectionString" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef"
}
},
"additionalProperties" : false
}
},
"additionalProperties" : false
} ]
},
"resetAtEnd" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
}
}
}
},
"additionalProperties" : false
},
"EchoDef" : {
"type" : "object",
"properties" : {
"echo" : {
"type" : "object",
"properties" : {
"children" : {
"$ref" : "#/$defs/ArtefactArrayDef"
},
"description" : {
"type" : "string"
},
"continueParentNodeExecutionOnError" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"instrumentNode" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"skipNode" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"nodeName" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef",
"default" : "Echo"
},
"text" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef"
}
}
}
},
"additionalProperties" : false
},
"ExportDef" : {
"type" : "object",
"properties" : {
"export" : {
"type" : "object",
"properties" : {
"children" : {
"$ref" : "#/$defs/ArtefactArrayDef"
},
"description" : {
"type" : "string"
},
"continueParentNodeExecutionOnError" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"instrumentNode" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"skipNode" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"nodeName" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef",
"default" : "Export"
},
"filter" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef"
},
"prefix" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef"
},
"file" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef"
},
"value" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef"
}
}
}
},
"additionalProperties" : false
},
"FailureDef" : {
"type" : "object",
"properties" : {
"failure" : {
"type" : "object",
"properties" : {
"children" : {
"$ref" : "#/$defs/ArtefactArrayDef"
},
"description" : {
"type" : "string"
},
"continueParentNodeExecutionOnError" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"instrumentNode" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"skipNode" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"nodeName" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef",
"default" : "Failure"
},
"stackTrace" : {
"type" : "string"
},
"message" : {
"type" : "string"
}
}
}
},
"additionalProperties" : false
},
"ForDef" : {
"type" : "object",
"properties" : {
"for" : {
"type" : "object",
"properties" : {
"children" : {
"$ref" : "#/$defs/ArtefactArrayDef"
},
"description" : {
"type" : "string"
},
"continueParentNodeExecutionOnError" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"instrumentNode" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"skipNode" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"nodeName" : {
"default" : "For",
"$ref" : "#/$defs/SmartDynamicValueStringDef"
},
"userItem" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef"
},
"globalCounter" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef"
},
"threads" : {
"$ref" : "#/$defs/SmartDynamicValueNumDef"
},
"maxFailedLoops" : {
"$ref" : "#/$defs/SmartDynamicValueNumDef"
},
"item" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef"
},
"inc" : {
"$ref" : "#/$defs/SmartDynamicValueNumDef"
},
"end" : {
"$ref" : "#/$defs/SmartDynamicValueNumDef"
},
"start" : {
"$ref" : "#/$defs/SmartDynamicValueNumDef"
}
}
}
},
"additionalProperties" : false
},
"ForEachDef" : {
"type" : "object",
"properties" : {
"forEach" : {
"type" : "object",
"properties" : {
"children" : {
"$ref" : "#/$defs/ArtefactArrayDef"
},
"description" : {
"type" : "string"
},
"continueParentNodeExecutionOnError" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"instrumentNode" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"skipNode" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"nodeName" : {
"default" : "ForEach",
"$ref" : "#/$defs/SmartDynamicValueStringDef"
},
"userItem" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef"
},
"globalCounter" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef"
},
"threads" : {
"$ref" : "#/$defs/SmartDynamicValueNumDef"
},
"maxFailedLoops" : {
"$ref" : "#/$defs/SmartDynamicValueNumDef"
},
"item" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef"
},
"dataSource" : {
"type" : "object",
"oneOf" : [ {
"type" : "object",
"properties" : {
"csv" : {
"type" : "object",
"properties" : {
"file" : {
"$ref" : "#/$defs/resourceReference"
},
"delimiter" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef"
}
},
"additionalProperties" : false
}
},
"additionalProperties" : false
}, {
"type" : "object",
"properties" : {
"excel" : {
"type" : "object",
"properties" : {
"headers" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"worksheet" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef"
},
"file" : {
"$ref" : "#/$defs/resourceReference"
}
},
"additionalProperties" : false
}
},
"additionalProperties" : false
}, {
"type" : "object",
"properties" : {
"file" : {
"type" : "object",
"properties" : {
"file" : {
"$ref" : "#/$defs/resourceReference"
}
},
"additionalProperties" : false
}
},
"additionalProperties" : false
}, {
"type" : "object",
"properties" : {
"folder" : {
"type" : "object",
"properties" : {
"folder" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef"
}
},
"additionalProperties" : false
}
},
"additionalProperties" : false
}, {
"type" : "object",
"properties" : {
"gsheet" : {
"type" : "object",
"properties" : {
"tabName" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef"
},
"serviceAccountKey" : {
"$ref" : "#/$defs/resourceReference"
},
"fileId" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef"
}
},
"additionalProperties" : false
}
},
"additionalProperties" : false
}, {
"type" : "object",
"properties" : {
"json-array" : {
"type" : "object",
"properties" : {
"json" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef"
}
},
"additionalProperties" : false
}
},
"additionalProperties" : false
}, {
"type" : "object",
"properties" : {
"json" : {
"type" : "object",
"properties" : {
"json" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef"
}
},
"additionalProperties" : false
}
},
"additionalProperties" : false
}, {
"type" : "object",
"properties" : {
"sequence" : {
"type" : "object",
"properties" : {
"inc" : {
"$ref" : "#/$defs/SmartDynamicValueNumDef"
},
"end" : {
"$ref" : "#/$defs/SmartDynamicValueNumDef"
},
"start" : {
"$ref" : "#/$defs/SmartDynamicValueNumDef"
}
},
"additionalProperties" : false
}
},
"additionalProperties" : false
}, {
"type" : "object",
"properties" : {
"sql" : {
"type" : "object",
"properties" : {
"driverClass" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef"
},
"writePKey" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef"
},
"password" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef"
},
"user" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef"
},
"query" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef"
},
"connectionString" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef"
}
},
"additionalProperties" : false
}
},
"additionalProperties" : false
} ]
}
}
}
},
"additionalProperties" : false
},
"IfDef" : {
"type" : "object",
"properties" : {
"if" : {
"type" : "object",
"properties" : {
"children" : {
"$ref" : "#/$defs/ArtefactArrayDef"
},
"description" : {
"type" : "string"
},
"continueParentNodeExecutionOnError" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"instrumentNode" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"skipNode" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"nodeName" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef",
"default" : "If"
},
"condition" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
}
}
}
},
"additionalProperties" : false
},
"PerformanceAssertDef" : {
"type" : "object",
"properties" : {
"performanceAssert" : {
"type" : "object",
"properties" : {
"children" : {
"$ref" : "#/$defs/ArtefactArrayDef"
},
"description" : {
"type" : "string"
},
"continueParentNodeExecutionOnError" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"instrumentNode" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"skipNode" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"nodeName" : {
"default" : "PerformanceAssert",
"$ref" : "#/$defs/SmartDynamicValueStringDef"
},
"expectedValue" : {
"default" : "3000",
"$ref" : "#/$defs/SmartDynamicValueNumDef"
},
"comparator" : {
"enum" : [ "EQUALS", "HIGHER_THAN", "LOWER_THAN" ]
},
"aggregator" : {
"enum" : [ "AVG", "MAX", "MIN", "COUNT", "SUM" ]
},
"measurementName" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef"
}
}
}
},
"additionalProperties" : false
},
"PlaceholderDef" : {
"type" : "object",
"properties" : {
"placeholder" : {
"type" : "object",
"properties" : {
"children" : {
"$ref" : "#/$defs/ArtefactArrayDef"
},
"description" : {
"type" : "string"
},
"continueParentNodeExecutionOnError" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"instrumentNode" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"skipNode" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"nodeName" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef",
"default" : "Placeholder"
}
}
}
},
"additionalProperties" : false
},
"RetryIfFailsDef" : {
"type" : "object",
"properties" : {
"retryIfFails" : {
"type" : "object",
"properties" : {
"children" : {
"$ref" : "#/$defs/ArtefactArrayDef"
},
"description" : {
"type" : "string"
},
"continueParentNodeExecutionOnError" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"instrumentNode" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"skipNode" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"nodeName" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef",
"default" : "RetryIfFails"
},
"reportLastTryOnly" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"releaseTokens" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"timeout" : {
"$ref" : "#/$defs/SmartDynamicValueNumDef"
},
"gracePeriod" : {
"$ref" : "#/$defs/SmartDynamicValueNumDef"
},
"maxRetries" : {
"$ref" : "#/$defs/SmartDynamicValueNumDef"
}
}
}
},
"additionalProperties" : false
},
"ReturnDef" : {
"type" : "object",
"properties" : {
"return" : {
"type" : "object",
"properties" : {
"children" : {
"$ref" : "#/$defs/ArtefactArrayDef"
},
"description" : {
"type" : "string"
},
"continueParentNodeExecutionOnError" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"instrumentNode" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"skipNode" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"nodeName" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef",
"default" : "Return"
},
"output" : {
"$ref" : "#/$defs/DynamicKeywordInputsDef"
}
}
}
},
"additionalProperties" : false
},
"ScriptDef" : {
"type" : "object",
"properties" : {
"script" : {
"type" : "object",
"properties" : {
"children" : {
"$ref" : "#/$defs/ArtefactArrayDef"
},
"description" : {
"type" : "string"
},
"continueParentNodeExecutionOnError" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"instrumentNode" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"skipNode" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"nodeName" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef",
"default" : "Script"
},
"script" : {
"type" : "string"
}
}
}
},
"additionalProperties" : false
},
"SequenceDef" : {
"type" : "object",
"properties" : {
"sequence" : {
"type" : "object",
"properties" : {
"children" : {
"$ref" : "#/$defs/ArtefactArrayDef"
},
"description" : {
"type" : "string"
},
"continueParentNodeExecutionOnError" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"instrumentNode" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"skipNode" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"nodeName" : {
"default" : "Sequence",
"$ref" : "#/$defs/SmartDynamicValueStringDef"
},
"pacing" : {
"$ref" : "#/$defs/SmartDynamicValueNumDef"
},
"continueOnError" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
}
}
}
},
"additionalProperties" : false
},
"SessionDef" : {
"type" : "object",
"properties" : {
"session" : {
"type" : "object",
"properties" : {
"children" : {
"$ref" : "#/$defs/ArtefactArrayDef"
},
"description" : {
"type" : "string"
},
"continueParentNodeExecutionOnError" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"instrumentNode" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"skipNode" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"nodeName" : {
"default" : "Session",
"$ref" : "#/$defs/SmartDynamicValueStringDef"
},
"remote" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"routing" : {
"$ref" : "#/$defs/DynamicKeywordInputsDef"
},
"containerCommand" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef"
},
"containerUser" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef"
},
"dockerImage" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef"
}
}
}
},
"additionalProperties" : false
},
"SetDef" : {
"type" : "object",
"properties" : {
"set" : {
"type" : "object",
"properties" : {
"children" : {
"$ref" : "#/$defs/ArtefactArrayDef"
},
"description" : {
"type" : "string"
},
"continueParentNodeExecutionOnError" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"instrumentNode" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"skipNode" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"nodeName" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef",
"default" : "Set"
},
"value" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef"
},
"key" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef"
}
}
}
},
"additionalProperties" : false
},
"SleepDef" : {
"type" : "object",
"properties" : {
"sleep" : {
"type" : "object",
"properties" : {
"children" : {
"$ref" : "#/$defs/ArtefactArrayDef"
},
"description" : {
"type" : "string"
},
"continueParentNodeExecutionOnError" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"instrumentNode" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"skipNode" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"nodeName" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef",
"default" : "Sleep"
},
"releaseTokens" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"unit" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef"
},
"duration" : {
"$ref" : "#/$defs/SmartDynamicValueNumDef"
}
}
}
},
"additionalProperties" : false
},
"StreamingArtefactDef" : {
"type" : "object",
"properties" : {
"streamingArtefact" : {
"type" : "object",
"properties" : {
"children" : {
"$ref" : "#/$defs/ArtefactArrayDef"
},
"description" : {
"type" : "string"
},
"continueParentNodeExecutionOnError" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"instrumentNode" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"skipNode" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"nodeName" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef",
"default" : "StreamingArtefact"
}
}
}
},
"additionalProperties" : false
},
"SwitchDef" : {
"type" : "object",
"properties" : {
"switch" : {
"type" : "object",
"properties" : {
"children" : {
"$ref" : "#/$defs/ArtefactArrayDef"
},
"description" : {
"type" : "string"
},
"continueParentNodeExecutionOnError" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"instrumentNode" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"skipNode" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"nodeName" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef",
"default" : "Switch"
},
"expression" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef"
}
}
}
},
"additionalProperties" : false
},
"SynchronizedDef" : {
"type" : "object",
"properties" : {
"synchronized" : {
"type" : "object",
"properties" : {
"children" : {
"$ref" : "#/$defs/ArtefactArrayDef"
},
"description" : {
"type" : "string"
},
"continueParentNodeExecutionOnError" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"instrumentNode" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"skipNode" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"nodeName" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef",
"default" : "Synchronized"
},
"pacing" : {
"$ref" : "#/$defs/SmartDynamicValueNumDef"
},
"continueOnError" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"globalLock" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"lockName" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef"
}
}
}
},
"additionalProperties" : false
},
"TestCaseDef" : {
"type" : "object",
"properties" : {
"testCase" : {
"type" : "object",
"properties" : {
"children" : {
"$ref" : "#/$defs/ArtefactArrayDef"
},
"description" : {
"type" : "string"
},
"continueParentNodeExecutionOnError" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"instrumentNode" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"skipNode" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"nodeName" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef",
"default" : "TestCase"
}
}
}
},
"additionalProperties" : false
},
"TestScenarioDef" : {
"type" : "object",
"properties" : {
"testScenario" : {
"type" : "object",
"properties" : {
"children" : {
"$ref" : "#/$defs/ArtefactArrayDef"
},
"description" : {
"type" : "string"
},
"continueParentNodeExecutionOnError" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"instrumentNode" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"skipNode" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"nodeName" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef",
"default" : "TestScenario"
}
}
}
},
"additionalProperties" : false
},
"TestSetDef" : {
"type" : "object",
"properties" : {
"testSet" : {
"type" : "object",
"properties" : {
"children" : {
"$ref" : "#/$defs/ArtefactArrayDef"
},
"description" : {
"type" : "string"
},
"continueParentNodeExecutionOnError" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"instrumentNode" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"skipNode" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"nodeName" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef",
"default" : "TestSet"
},
"threads" : {
"$ref" : "#/$defs/SmartDynamicValueNumDef"
}
}
}
},
"additionalProperties" : false
},
"ThreadGroupDef" : {
"type" : "object",
"properties" : {
"threadGroup" : {
"type" : "object",
"properties" : {
"children" : {
"$ref" : "#/$defs/ArtefactArrayDef"
},
"description" : {
"type" : "string"
},
"continueParentNodeExecutionOnError" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"instrumentNode" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"skipNode" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"nodeName" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef",
"default" : "ThreadGroup"
},
"userItem" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef"
},
"localItem" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef"
},
"item" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef"
},
"maxDuration" : {
"$ref" : "#/$defs/SmartDynamicValueNumDef"
},
"startOffset" : {
"$ref" : "#/$defs/SmartDynamicValueNumDef"
},
"pacing" : {
"$ref" : "#/$defs/SmartDynamicValueNumDef"
},
"pack" : {
"$ref" : "#/$defs/SmartDynamicValueNumDef"
},
"rampup" : {
"$ref" : "#/$defs/SmartDynamicValueNumDef"
},
"iterations" : {
"$ref" : "#/$defs/SmartDynamicValueNumDef"
},
"users" : {
"$ref" : "#/$defs/SmartDynamicValueNumDef"
}
}
}
},
"additionalProperties" : false
},
"WhileDef" : {
"type" : "object",
"properties" : {
"while" : {
"type" : "object",
"properties" : {
"children" : {
"$ref" : "#/$defs/ArtefactArrayDef"
},
"description" : {
"type" : "string"
},
"continueParentNodeExecutionOnError" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"instrumentNode" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"skipNode" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"nodeName" : {
"$ref" : "#/$defs/SmartDynamicValueStringDef",
"default" : "While"
},
"maxIterations" : {
"$ref" : "#/$defs/SmartDynamicValueNumDef"
},
"timeout" : {
"$ref" : "#/$defs/SmartDynamicValueNumDef"
},
"pacing" : {
"$ref" : "#/$defs/SmartDynamicValueNumDef"
},
"postCondition" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
},
"condition" : {
"$ref" : "#/$defs/SmartDynamicValueBooleanDef"
}
}
}
},
"additionalProperties" : false
},
"ArtefactDef" : {
"type" : "object",
"oneOf" : [ {
"$ref" : "#/$defs/AfterSequenceDef"
}, {
"$ref" : "#/$defs/AfterThreadDef"
}, {
"$ref" : "#/$defs/AssertDef"
}, {
"$ref" : "#/$defs/BeforeSequenceDef"
}, {
"$ref" : "#/$defs/BeforeThreadDef"
}, {
"$ref" : "#/$defs/CallKeywordDef"
}, {
"$ref" : "#/$defs/CallPlanDef"
}, {
"$ref" : "#/$defs/CaseDef"
}, {
"$ref" : "#/$defs/CheckDef"
}, {
"$ref" : "#/$defs/DataSetDef"
}, {
"$ref" : "#/$defs/EchoDef"
}, {
"$ref" : "#/$defs/ExportDef"
}, {
"$ref" : "#/$defs/FailureDef"
}, {
"$ref" : "#/$defs/ForDef"
}, {
"$ref" : "#/$defs/ForEachDef"
}, {
"$ref" : "#/$defs/IfDef"
}, {
"$ref" : "#/$defs/PerformanceAssertDef"
}, {
"$ref" : "#/$defs/PlaceholderDef"
}, {
"$ref" : "#/$defs/RetryIfFailsDef"
}, {
"$ref" : "#/$defs/ReturnDef"
}, {
"$ref" : "#/$defs/ScriptDef"
}, {
"$ref" : "#/$defs/SequenceDef"
}, {
"$ref" : "#/$defs/SessionDef"
}, {
"$ref" : "#/$defs/SetDef"
}, {
"$ref" : "#/$defs/SleepDef"
}, {
"$ref" : "#/$defs/StreamingArtefactDef"
}, {
"$ref" : "#/$defs/SwitchDef"
}, {
"$ref" : "#/$defs/SynchronizedDef"
}, {
"$ref" : "#/$defs/TestCaseDef"
}, {
"$ref" : "#/$defs/TestScenarioDef"
}, {
"$ref" : "#/$defs/TestSetDef"
}, {
"$ref" : "#/$defs/ThreadGroupDef"
}, {
"$ref" : "#/$defs/WhileDef"
} ]
},
"RootArtefactDef" : {
"type" : "object",
"oneOf" : [ {
"$ref" : "#/$defs/SequenceDef"
}, {
"$ref" : "#/$defs/TestCaseDef"
}, {
"$ref" : "#/$defs/TestScenarioDef"
}, {
"$ref" : "#/$defs/TestSetDef"
}, {
"$ref" : "#/$defs/ThreadGroupDef"
} ]
},
"ArtefactArrayDef" : {
"type" : "array",
"items" : {
"$ref" : "#/$defs/ArtefactDef"
}
},
"agentPoolConfigurationDef" : {
"type" : "object",
"properties" : {
"image" : {
"type" : "string"
},
"pool" : {
"type" : "string"
},
"replicas" : {
"type" : "number"
}
}
},
"agentPoolConfigurationArrayDef" : {
"type" : "array",
"items" : {
"$ref" : "#/$defs/agentPoolConfigurationDef"
}
},
"agentsDef" : {
"oneOf" : [ {
"$ref" : "#/$defs/agentPoolConfigurationArrayDef"
}, {
"enum" : [ "auto_detect" ]
} ]
},
"PlanDef" : {
"properties" : {
"name" : {
"type" : "string"
},
"version" : {
"const" : "1.0.0"
},
"categories": {
"type" : "array",
"items" : {
"type" : "string"
}
},
"agents" : {
"$ref" : "#/$defs/agentsDef"
},
"root" : {
"$ref" : "#/$defs/RootArtefactDef"
}
},
"required" : [ "name", "root" ],
"additionalProperties" : false
},
"CompositePlanDef" : {
"properties" : {
"name" : {
"type" : "string"
},
"version" : {
"const" : "1.0.0"
},
"root" : {
"$ref" : "#/$defs/RootArtefactDef"
}
},
"required" : [ "root" ],
"additionalProperties" : false
}
},
"$ref" : "#/$defs/PlanDef"
}