issue.json 915 Bytes
Newer Older
1 2 3
{
  "type": "object",
  "required" : [
4
    "iid",
5 6 7 8
    "title",
    "confidential"
  ],
  "properties" : {
9
    "iid": { "type": "integer" },
10 11 12 13 14 15 16
    "title": { "type": "string" },
    "confidential": { "type": "boolean" },
    "labels": {
      "type": ["array"],
      "required": [
        "id",
        "color",
17
        "description",
18 19
        "title",
        "priority"
20 21 22 23 24 25 26
      ],
      "properties": {
        "id": { "type": "integer" },
        "color": {
          "type": "string",
          "pattern": "^#[0-9A-Fa-f]{3}{1,2}+$"
        },
27
        "description": { "type": ["string", "null"] },
28 29
        "title": { "type": "string" },
        "priority": { "type": ["integer", "null"] }
30
      }
31 32 33 34 35 36
    },
    "assignee": {
      "id": { "type": "integet" },
      "name": { "type": "string" },
      "username": { "type": "string" },
      "avatar_url": { "type": "uri" }
37 38 39 40
    }
  },
  "additionalProperties": false
}