{
  "type": "object",
  "allOf": [
    { "$ref": "board.json" },
    {
      "required" : [
        "id",
        "name"
      ],
      "properties": {
        "id": { "type": "integer" },
        "name": { "type": "string" },
        "milestone_id": { "type": ["integer", "null"] },
        "weight": { "type": ["integer", "null"] },
        "label_ids": { "type": "array" },
        "assignee": {
          "type": ["object", "null"],
          "required": [
            "id",
            "name",
            "username",
            "avatar_url"
          ]
        },
        "labels": { "$ref": "board-labels.json" },
        "milestone": {
          "type": ["object", "null"],
          "required": [
            "id",
            "title"
          ],
          "properties": {
            "id": { "type": "integer" },
            "title": { "type": "string" }
          }
        }
      }
    }
  ]
}
