diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-04 12:15:02 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-04 12:15:02 +0000 |
commit | f00510286b6ccda154c4926503397590a8851939 (patch) | |
tree | c4cd69ef2d0d6dd5abf30e3963ac00ead7421a19 /app/validators | |
parent | 9e5c2e7342d1393f90e74a2ae4b3f27492c22e1f (diff) | |
download | gitlab-ce-f00510286b6ccda154c4926503397590a8851939.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/validators')
-rw-r--r-- | app/validators/json_schemas/pinned_nav_items.json | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/app/validators/json_schemas/pinned_nav_items.json b/app/validators/json_schemas/pinned_nav_items.json new file mode 100644 index 00000000000..60dee5cc463 --- /dev/null +++ b/app/validators/json_schemas/pinned_nav_items.json @@ -0,0 +1,22 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "description": "Pinned navigation items per panel", + "type": "object", + "properties": { + "group": { + "type": "array", + "items": { + "type": "string" + }, + "uniqueItems": true + }, + "project": { + "type": "array", + "items": { + "type": "string" + }, + "uniqueItems": true + } + }, + "additionalProperties": false +} |