summaryrefslogtreecommitdiff
path: root/app/validators
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-02-06 18:09:43 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2023-02-06 18:09:43 +0000
commit33998a0e768263828f497685ae030f585193317f (patch)
tree791e2c3322a17f668a2a4abdd251a8362885f381 /app/validators
parent7b69a22d499787378aa30561822ef797a99c22e5 (diff)
downloadgitlab-ce-33998a0e768263828f497685ae030f585193317f.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/validators')
-rw-r--r--app/validators/json_schemas/project_import_stats.json24
1 files changed, 24 insertions, 0 deletions
diff --git a/app/validators/json_schemas/project_import_stats.json b/app/validators/json_schemas/project_import_stats.json
new file mode 100644
index 00000000000..0b601c7cc89
--- /dev/null
+++ b/app/validators/json_schemas/project_import_stats.json
@@ -0,0 +1,24 @@
+{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "description": "Project import stats",
+ "type": "object",
+ "properties": {
+ "fetched": {
+ "type": "object",
+ "patternProperties": {
+ ".*": {
+ "type": "integer"
+ }
+ }
+ },
+ "imported": {
+ "type": "object",
+ "patternProperties": {
+ ".*": {
+ "type": "integer"
+ }
+ }
+ }
+ },
+ "additionalProperties": false
+}