{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "imports-v2/lanes.json",
  "title": "Lanes",
  "description": "A horizontal lane of a board, such as Core metrics or Urgent, used to group cards across columns. Cards refer to the lane with `lane_ref`, which must be a lane of the card's board. A board without lanes gets one default lane, and a card without `lane_ref` goes to the first lane, that is the first record of the board. The lanes of a board keep the order of their records.",
  "type": "object",
  "properties": {
    "external_id": {
      "type": "string",
      "minLength": 1,
      "maxLength": 512,
      "description": "Your own identifier of the record, for example `k-mrr`, unique within the resource across all of its files and case sensitive. Other records refer to this one by it. The import also keeps it as the external id of the object it creates."
    },
    "board_ref": {
      "type": "string",
      "minLength": 1,
      "maxLength": 512,
      "x-ref": "boards",
      "description": "The board the lane belongs to. Give the external_id of a `boards` record."
    },
    "title": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "description": "Name of the lane, for example `Core metrics`. Up to 128 characters."
    },
    "wip_limit": {
      "type": [
        "integer",
        "null"
      ],
      "minimum": 0,
      "maximum": 9007199254740991,
      "description": "Most cards the lane should hold at once; null or absent means no limit."
    },
    "condition": {
      "type": "string",
      "enum": [
        "active",
        "archived"
      ],
      "description": "`active` for a lane in use, `archived` for a hidden one. Lanes have only these two values, not the `inactive` of other entities.",
      "default": "active"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(Z|[+-]\\d{2}:\\d{2})$",
      "description": "When the record was created, with a time zone, for example `2026-01-12T09:30:00Z`.",
      "x-default-text": "source.exported_at of the manifest"
    }
  },
  "required": [
    "external_id",
    "board_ref",
    "title"
  ],
  "additionalProperties": false
}
