Last active
August 12, 2019 15:00
This file contains hidden or 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