{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "imports-v2/space_boards.json",
  "title": "Space boards",
  "description": "Places a board in a space. A board can be placed in several spaces without being copied; each record is one placement. Mark one placement of a board as `primary` (if none is, the app picks one). A space shows its boards one under another in 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."
    },
    "space_ref": {
      "type": "string",
      "minLength": 1,
      "maxLength": 512,
      "x-ref": "spaces",
      "description": "The space that shows the board. Give the external_id of a `spaces` record."
    },
    "board_ref": {
      "type": "string",
      "minLength": 1,
      "maxLength": 512,
      "x-ref": "boards",
      "description": "The board that is placed. Give the external_id of a `boards` record."
    },
    "primary": {
      "type": "boolean",
      "description": "Whether this is the main placement of the board. When no placement of a board is primary, its first placement in the order of the records becomes primary, as the target does.",
      "default": false
    }
  },
  "required": [
    "external_id",
    "space_ref",
    "board_ref"
  ],
  "additionalProperties": false
}
