summaryrefslogtreecommitdiff
path: root/spec/fixtures/api/schemas/entities/label.json
blob: 40dff764c1720d2bce404e6efbffe21503bab9eb (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
{
  "type": "object",
  "required": [
    "id",
    "color",
    "description",
    "title",
    "priority"
  ],
  "properties": {
    "id": { "type": "integer" },
    "color": {
      "type": "string",
      "pattern": "^#[0-9A-Fa-f]{3}{1,2}$"
    },
    "description": { "type": ["string", "null"] },
    "text_color": {
      "type": "string",
      "pattern": "^#[0-9A-Fa-f]{3}{1,2}$"
    },
    "type": { "type": "string" },
    "title": { "type": "string" },
    "priority": { "type": ["integer", "null"] }
  },
  "additionalProperties": false
}