{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/miro/json-schema/miro-copy-board-changes-schema.json",
  "title": "CopyBoardChanges",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/miro-boards-api-openapi.yml#/components/schemas/CopyBoardChanges",
  "type": "object",
  "properties": {
    "description": {
      "type": "string",
      "description": "Description of the board.",
      "maxLength": 300,
      "minLength": 0
    },
    "name": {
      "type": "string",
      "default": "Untitled",
      "description": "Name for the board.",
      "maxLength": 60,
      "minLength": 1
    },
    "policy": {
      "$ref": "#/$defs/BoardPolicyChange"
    },
    "teamId": {
      "type": "string",
      "description": "Unique identifier (ID) of the team where the board must be placed."
    }
  },
  "$defs": {
    "BoardPermissionsPolicy": {
      "type": "object",
      "description": "Defines the permissions policies for the board.",
      "properties": {
        "collaborationToolsStartAccess": {
          "type": "string",
          "default": "all_editors",
          "description": "Defines who can start or stop timer, voting, video chat, screen sharing, attention management. Others will only be able to join. To change the value for the `collaborationToolsStartAccess` parameter, contact Miro Customer Support.",
          "enum": [
            "all_editors",
            "board_owners_and_coowners"
          ]
        },
        "copyAccess": {
          "type": "string",
          "default": "anyone",
          "description": "Defines who can copy the board, copy objects, download images, and save the board as a template or PDF.",
          "enum": [
            "anyone",
            "team_members",
            "team_editors",
            "board_owner"
          ]
        },
        "sharingAccess": {
          "type": "string",
          "default": "team_members_with_editing_rights",
          "description": "Defines who can change access and invite users to this board. To change the value for the `sharingAccess` parameter, contact Miro Customer Support.",
          "enum": [
            "team_members_with_editing_rights",
            "owner_and_coowners"
          ]
        }
      }
    },
    "BoardPolicyChange": {
      "type": "object",
      "description": "Defines the permissions policies and sharing policies for the board.",
      "properties": {
        "permissionsPolicy": {
          "$ref": "#/$defs/BoardPermissionsPolicy"
        },
        "sharingPolicy": {
          "$ref": "#/$defs/BoardSharingPolicyChange"
        }
      }
    },
    "BoardSharingPolicyChange": {
      "type": "object",
      "description": "Defines the public-level, organization-level, and team-level access for the board. The access level that a user gets depends on the highest level of access that results from considering the public-level, team-level, organization-level, and direct sharing access.",
      "properties": {
        "access": {
          "type": "string",
          "default": "private",
          "description": "Defines the public-level access to the board.",
          "enum": [
            "private",
            "view",
            "edit",
            "comment"
          ]
        },
        "inviteToAccountAndBoardLinkAccess": {
          "type": "string",
          "default": "no_access",
          "description": "Defines the user role when inviting a user via the invite to team and board link. For Enterprise users, the `inviteToAccountAndBoardLinkAccess` parameter is always set to `no_access` regardless of the value that you assign for this parameter.",
          "enum": [
            "viewer",
            "commenter",
            "editor",
            "no_access"
          ]
        },
        "organizationAccess": {
          "type": "string",
          "default": "private",
          "description": "Defines the organization-level access to the board. If the board is created for a team that does not belong to an organization, the `organizationAccess` parameter is always set to the default value.",
          "enum": [
            "private",
            "view",
            "comment",
            "edit"
          ]
        },
        "teamAccess": {
          "type": "string",
          "description": "Defines the team-level access to the board. By default, **edit** for the free plan and **private** for other plans.",
          "enum": [
            "private",
            "view",
            "comment",
            "edit"
          ]
        }
      }
    }
  }
}