Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-06-15 18:09:53 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-06-15 18:09:53 +0300
commit977720d7565377672df302ecb82b1e7a221cfba6 (patch)
treef258b65ed376a3075e0a76971a9360083ee6a059 /app/validators/json_schemas
parent717436a767395d0ed850a16d07f19cd51c3d4551 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/validators/json_schemas')
-rw-r--r--app/validators/json_schemas/plan_limits_history.json115
1 files changed, 115 insertions, 0 deletions
diff --git a/app/validators/json_schemas/plan_limits_history.json b/app/validators/json_schemas/plan_limits_history.json
new file mode 100644
index 00000000000..80d4165018a
--- /dev/null
+++ b/app/validators/json_schemas/plan_limits_history.json
@@ -0,0 +1,115 @@
+{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "type": "object",
+ "properties": {
+ "enforcement_limit": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "user_id": {
+ "type": "integer"
+ },
+ "username": {
+ "type": "string"
+ },
+ "timestamp": {
+ "type": "integer"
+ },
+ "value": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "user_id",
+ "username",
+ "timestamp",
+ "value"
+ ]
+ }
+ },
+ "notification_limit": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "user_id": {
+ "type": "integer"
+ },
+ "username": {
+ "type": "string"
+ },
+ "timestamp": {
+ "type": "integer"
+ },
+ "value": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "user_id",
+ "username",
+ "timestamp",
+ "value"
+ ]
+ }
+ },
+ "storage_size_limit": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "user_id": {
+ "type": "integer"
+ },
+ "username": {
+ "type": "string"
+ },
+ "timestamp": {
+ "type": "integer"
+ },
+ "value": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "user_id",
+ "username",
+ "timestamp",
+ "value"
+ ]
+ }
+ },
+ "dashboard_limit_enabled_at": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "user_id": {
+ "type": "integer"
+ },
+ "username": {
+ "type": "string"
+ },
+ "timestamp": {
+ "type": "integer"
+ },
+ "value": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "user_id",
+ "username",
+ "timestamp",
+ "value"
+ ]
+ }
+ }
+ },
+ "additionalProperties": false
+}