30
schemas/qkforce.config.schema.json
Normal file
30
schemas/qkforce.config.schema.json
Normal file
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://github.com/QACGBDT/QKForce-docs/contracts/schemas/qkforce.config-v1.1.schema.json",
|
||||
"title": "QKForce run configuration v1.1",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["schemaVersion", "profile", "run"],
|
||||
"properties": {
|
||||
"schemaVersion": { "const": 1 },
|
||||
"profile": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["id", "language", "bdd", "runner", "adapter", "reporter"],
|
||||
"properties": {
|
||||
"id": { "const": "qkforce-wdio-cucumber-qkta" },
|
||||
"language": { "const": "typescript" },
|
||||
"bdd": { "const": "cucumber" },
|
||||
"runner": { "const": "webdriverio" },
|
||||
"adapter": { "const": "webdriverio-cucumber-node" },
|
||||
"reporter": { "const": "qk-test-analytics" }
|
||||
}
|
||||
},
|
||||
"run": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["targetUrl"],
|
||||
"properties": { "targetUrl": { "type": "string", "format": "uri", "maxLength": 2048 } }
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user