diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-11 18:09:10 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-11 18:09:10 +0300 |
commit | 9c0f4306f6779e40acc3943d7050b706633da93e (patch) | |
tree | 30638fb38b4dbd30371c4a01bfb007ec44eff8e3 /app/validators | |
parent | 7ca44446277ca15db60b722da28f98f773b8f61a (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/validators')
-rw-r--r-- | app/validators/json_schemas/security_scan_info.json | 28 |
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" + ] + } + } + } +} |