BigW Consortium Gitlab

list.json 851 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
{
  "type": "object",
  "required" : [
    "id",
    "list_type",
    "title",
    "position"
  ],
  "properties" : {
    "id": { "type": "integer" },
    "list_type": {
      "type": "string",
      "enum": ["backlog", "label", "done"]
    },
    "label": {
      "type": ["object"],
      "required": [
        "id",
        "color",
20
        "description",
21 22
        "title",
        "priority"
23 24 25 26 27 28 29
      ],
      "properties": {
        "id": { "type": "integer" },
        "color": {
          "type": "string",
          "pattern": "^#[0-9A-Fa-f]{3}{1,2}+$"
        },
30
        "description": { "type": ["string", "null"] },
31 32
        "title": { "type": "string" },
        "priority": { "type": ["integer", "null"] }
33 34 35 36 37 38 39
      }
    },
    "title": { "type": "string" },
    "position": { "type": ["integer", "null"] }
  },
  "additionalProperties": false
}