From 9c0f4306f6779e40acc3943d7050b706633da93e Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Thu, 11 Mar 2021 15:09:10 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- .../json_schemas/security_scan_info.json | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 app/validators/json_schemas/security_scan_info.json (limited to 'app/validators') 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" + ] + } + } + } +} -- cgit v1.2.3