BigW Consortium Gitlab

issue.json 1.3 KB
Newer Older
1 2 3
{
  "type": "object",
  "required" : [
4
    "iid",
5 6 7 8
    "title",
    "confidential"
  ],
  "properties" : {
9
    "id": { "type": "integer" },
10
    "iid": { "type": "integer" },
11 12
    "title": { "type": "string" },
    "confidential": { "type": "boolean" },
13
    "due_date": { "type": ["date", "null"] },
14
    "relative_position": { "type": "integer" },
15
    "labels": {
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
      "type": "array",
      "items": {
        "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}+$"
          },
          "title": { "type": "string" },
          "priority": { "type": ["integer", "null"] }
39
        },
40
        "additionalProperties": false
41
      }
42 43 44 45 46 47
    },
    "assignee": {
      "id": { "type": "integet" },
      "name": { "type": "string" },
      "username": { "type": "string" },
      "avatar_url": { "type": "uri" }
48 49
    },
    "subscribed": { "type": ["boolean", "null"] }
50 51 52
  },
  "additionalProperties": false
}