From 4555e1b21c365ed8303ffb7a3325d773c9b8bf31 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Wed, 19 May 2021 15:44:42 +0000 Subject: Add latest changes from gitlab-org/gitlab@13-12-stable-ee --- config/events/schema.json | 70 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 config/events/schema.json (limited to 'config/events') diff --git a/config/events/schema.json b/config/events/schema.json new file mode 100644 index 00000000000..3a0616e706b --- /dev/null +++ b/config/events/schema.json @@ -0,0 +1,70 @@ +{ + "type": "object", + "required": [], + "properties": { + "description": { + "type": "string" + }, + "category": { + "type": "string" + }, + "action": { + "type": "string" + }, + "label_description": { + "type": ["string", "null"] + }, + "property_description": { + "type": ["string", "null"] + }, + "value_description": { + "type": ["string", "null"] + }, + "extra_properties": { + "type": ["object", "null"] + }, + "identifiers": { + "type": ["array", "null"], + "items": { + "type": "string", + "enum": ["project", "user", "namespace"] + } + }, + "iglu_schema_url": { + "type": ["string", "null"] + }, + "product_section": { + "type": "string" + }, + "product_stage": { + "type": ["string", "null"] + }, + "product_group": { + "type": "string" + }, + "product_category": { + "type": ["string", "null"] + }, + "introduced_by_url": { + "type": ["uri", "null"] + }, + "milestone": { + "type": ["string", "null"], + "pattern": "^[0-9]+\\.[0-9]+$" + }, + "distributions": { + "type": "array", + "items": { + "type": "string", + "enum": ["ee", "ce"] + } + }, + "tiers": { + "type": "array", + "items": { + "type": "string", + "enum": ["free", "premium", "ultimate"] + } + } + } +} -- cgit v1.2.3