-
-
Save artbear/03f1c8bf94a62ead57ab9bfe253a0db5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"servers": { | |
"type": "array", | |
"items": { | |
"oneOf": [ | |
{ | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string", | |
"description": "Unique ID of SonarQube connection", | |
"uniqueItems": true | |
}, | |
"url": { | |
"type": "string", | |
"format": "uri", | |
"description": "SonarQube Server URL" | |
}, | |
"token": { | |
"type": "string", | |
"description": "Auth token. Can be generated at http://your-server.com/account/security" | |
}, | |
"organizationKey": { | |
"type": "string", | |
"description": "Key of organization, if Organization mode is enabled on your SonarQube server" | |
}, | |
"login": { | |
"type": "string", | |
"description": "Login" | |
}, | |
"password": { | |
"type": "string", | |
"description": "Password" | |
} | |
}, | |
"oneOf": [ | |
{ | |
"required": [ | |
"id", | |
"url", | |
"token" | |
] | |
}, | |
{ | |
"required": [ | |
"id", | |
"url", | |
"login", | |
"password" | |
] | |
} | |
] | |
} | |
] | |
} | |
} | |
}, | |
"required": [ | |
"servers" | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment