summaryrefslogtreecommitdiff
path: root/config/events/schema.json
blob: 3a0616e706bdb6432ee64de7eb941a4d53484e0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
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"]
      }
    }
  }
}