mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-26 05:04:05 -08:00
43 lines
896 B
JSON
43 lines
896 B
JSON
{
|
|
"definitions": {
|
|
"ScenarioData": {
|
|
"type": "object",
|
|
"properties": {
|
|
"workflowFiles": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"required": [],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"type": "object",
|
|
"properties": {
|
|
"$schema": {
|
|
"type": "string",
|
|
"description": "The JSON schema to validate this file"
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"description": "The name of the scenario"
|
|
},
|
|
"description": {
|
|
"type": "string",
|
|
"description": "A longer description of the scenario"
|
|
},
|
|
"scriptPath": {
|
|
"type": "string",
|
|
"description": "Relative path to the k6 test script"
|
|
},
|
|
"scenarioData": {
|
|
"$ref": "#/definitions/ScenarioData",
|
|
"description": "Data to import before running the scenario"
|
|
}
|
|
},
|
|
"required": ["name", "description", "scriptPath", "scenarioData"],
|
|
"additionalProperties": false
|
|
}
|