BigW Consortium Gitlab

issues.json 2.8 KB
Newer Older
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 27 28 29 30 31 32 33 34 35
{
  "type": "array",
  "items": {
    "type": "object",
    "properties" : {
      "id": { "type": "integer" },
      "iid": { "type": "integer" },
      "project_id": { "type": "integer" },
      "title": { "type": "string" },
      "description": { "type": ["string", "null"] },
      "state": { "type": "string" },
      "created_at": { "type": "date" },
      "updated_at": { "type": "date" },
      "labels": {
        "type": "array",
        "items": {
          "type": "string"
        }
      },
      "milestone": {
        "type": "object",
        "properties": {
          "id": { "type": "integer" },
          "iid": { "type": "integer" },
          "project_id": { "type": "integer" },
          "title": { "type": "string" },
          "description": { "type": ["string", "null"] },
          "state": { "type": "string" },
          "created_at": { "type": "date" },
          "updated_at": { "type": "date" },
          "due_date": { "type": "date" },
          "start_date": { "type": "date" }
        },
        "additionalProperties": false
      },
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
      "assignees": {
        "type": "array",
        "items": {
          "type": ["object", "null"],
          "properties": {
            "name": { "type": "string" },
            "username": { "type": "string" },
            "id": { "type": "integer" },
            "state": { "type": "string" },
            "avatar_url": { "type": "uri" },
            "web_url": { "type": "uri" }
          },
          "additionalProperties": false
        }
      },
51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84
      "assignee": {
        "type": ["object", "null"],
        "properties": {
          "name": { "type": "string" },
          "username": { "type": "string" },
          "id": { "type": "integer" },
          "state": { "type": "string" },
          "avatar_url": { "type": "uri" },
          "web_url": { "type": "uri" }
        },
        "additionalProperties": false
      },
      "author": {
        "type": "object",
        "properties": {
          "name": { "type": "string" },
          "username": { "type": "string" },
          "id": { "type": "integer" },
          "state": { "type": "string" },
          "avatar_url": { "type": "uri" },
          "web_url": { "type": "uri" }
        },
        "additionalProperties": false
      },
      "user_notes_count": { "type": "integer" },
      "upvotes": { "type": "integer" },
      "downvotes": { "type": "integer" },
      "due_date": { "type": ["date", "null"] },
      "confidential": { "type": "boolean" },
      "web_url": { "type": "uri" }
    },
    "required": [
      "id", "iid", "project_id", "title", "description",
      "state", "created_at", "updated_at", "labels",
85
      "milestone", "assignees", "author", "user_notes_count",
86 87 88 89 90 91
      "upvotes", "downvotes", "due_date", "confidential",
      "web_url"
    ],
    "additionalProperties": false
  }
}