Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-03-11 18:09:10 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-03-11 18:09:10 +0300
commit9c0f4306f6779e40acc3943d7050b706633da93e (patch)
tree30638fb38b4dbd30371c4a01bfb007ec44eff8e3 /app/validators
parent7ca44446277ca15db60b722da28f98f773b8f61a (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/validators')
-rw-r--r--app/validators/json_schemas/security_scan_info.json28
1 files changed, 28 insertions, 0 deletions
diff --git a/app/validators/json_schemas/security_scan_info.json b/app/validators/json_schemas/security_scan_info.json
new file mode 100644
index 00000000000..c8932c1870d
--- /dev/null
+++ b/app/validators/json_schemas/security_scan_info.json
@@ -0,0 +1,28 @@
+{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "type": "object",
+ "title": "Security::Scan#info schema",
+ "description": "The schema validates the content of the Security::Scan#info attribute",
+ "additionalProperties": false,
+ "properties": {
+ "errors": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
+ "type": {
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "message"
+ ]
+ }
+ }
+ }
+}