summaryrefslogtreecommitdiff
path: root/app/validators/json_schemas/project_import_stats.json
diff options
context:
space:
mode:
Diffstat (limited to 'app/validators/json_schemas/project_import_stats.json')
-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
+}