BigW Consortium Gitlab

issue.json 1.25 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
    "labels": {
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
      "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"] }
38
        },
39
        "additionalProperties": false
40
      }
41 42 43 44 45 46
    },
    "assignee": {
      "id": { "type": "integet" },
      "name": { "type": "string" },
      "username": { "type": "string" },
      "avatar_url": { "type": "uri" }
47 48
    },
    "subscribed": { "type": ["boolean", "null"] }
49 50 51
  },
  "additionalProperties": false
}