{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/miro/json-schema/miro-boards-paged-response-schema.json",
  "title": "BoardsPagedResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/miro-boards-api-openapi.yml#/components/schemas/BoardsPagedResponse",
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "description": "Contains the result data.",
      "items": {
        "$ref": "#/$defs/Board"
      }
    },
    "total": {
      "type": "integer",
      "format": "int64",
      "description": "Total number of results available. If the value of the `total` parameter is higher than the value of the `size` parameter, this means that there are more results that you can retrieve. To retrieve more results, you can make another request and set the `offset` value accordingly. For example, if there are `30` results, and the request has the `offset` set to `0` and the `limit` set to `20`, the `size` parameter will return `20` and the `total` parameter will return `30`. This means that there are 9 more results to retrieve (as the offset is zero-based)."
    },
    "size": {
      "type": "integer",
      "format": "int32",
      "description": "Number of results returned in the response. The `size` is the number of results returned considering the `offset` and the `limit` values sent in the request. For example, if there are `30` results, and the request has the offset set to `0` and the `limit` set to `20`, the `size` of the results will be `20`.<br>If there are `10` results, and the request has the offset set to `0` and the `limit` set to `20`, the `size` of the results will be `10`.<br>If there are `30` results, and the request has the offset set to `28` and the `limit` set to `20`, the `size` of the results will be `2` as the `offset` is the zero-based offset of the first item in the collection."
    },
    "offset": {
      "type": "integer",
      "format": "int32",
      "description": "Zero-based index of the first item in the collection. For example, If there are `30` results, and the request has the offset set to `28`, the response will return `2` results."
    },
    "limit": {
      "type": "integer",
      "format": "int32",
      "description": "Maximum number of results returned based on the `limit` specified in the request. For example, if there are `30` results, and the request has the offset set to `0` and the `limit` set to `20`, the `size` of the results will be `20`. The rest of the results will not be returned. To retrieve the rest of the results, you must make another request and set the appropriate value for the offset parameter. In this example, you will set the offset parameter to 20 as the offset is zero-based.\n"
    },
    "links": {
      "$ref": "#/$defs/PageLinks"
    },
    "type": {
      "type": "string"
    }
  },
  "$defs": {
    "Board": {
      "type": "object",
      "description": "Contains the result data.",
      "properties": {
        "createdAt": {
          "type": "string",
          "format": "date-time",
          "description": "Date and time when the board was created. Format: UTC, adheres to [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601), includes a [trailing Z offset](https://en.wikipedia.org/wiki/ISO_8601#Coordinated_Universal_Time_(UTC))."
        },
        "createdBy": {
          "$ref": "#/$defs/UserInfoShort"
        },
        "currentUserMembership": {
          "$ref": "#/$defs/BoardMember"
        },
        "description": {
          "type": "string",
          "description": "Description of the board."
        },
        "id": {
          "type": "string",
          "description": "Unique identifier (ID) of the board."
        },
        "lastOpenedAt": {
          "type": "string",
          "format": "date-time",
          "description": "Date and time when the board was last opened by any user. Format: UTC, adheres to [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601), includes a [trailing Z offset](https://en.wikipedia.org/wiki/ISO_8601#Coordinated_Universal_Time_(UTC))."
        },
        "lastOpenedBy": {
          "$ref": "#/$defs/UserInfoLastOpenedBy"
        },
        "modifiedAt": {
          "type": "string",
          "format": "date-time",
          "description": "Date and time when the board was last modified. Format: UTC, adheres to [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601), includes a [trailing Z offset](https://en.wikipedia.org/wiki/ISO_8601#Coordinated_Universal_Time_(UTC))."
        },
        "modifiedBy": {
          "$ref": "#/$defs/UserInfoShort"
        },
        "name": {
          "type": "string",
          "description": "Name of the board."
        },
        "owner": {
          "$ref": "#/$defs/UserInfoShort"
        },
        "picture": {
          "$ref": "#/$defs/Picture"
        },
        "policy": {
          "$ref": "#/$defs/BoardPolicy"
        },
        "team": {
          "$ref": "#/$defs/Team"
        },
        "project": {
          "$ref": "#/$defs/BoardProject"
        },
        "type": {
          "type": "string",
          "description": "Type of the object that is returned. In this case, type returns `board`."
        },
        "viewLink": {
          "type": "string",
          "description": "URL to view the board."
        }
      },
      "required": [
        "description",
        "id",
        "name",
        "type"
      ]
    },
    "BoardMember": {
      "type": "object",
      "description": "Contains the current user's board membership details. The current user could be different from the board owner.",
      "properties": {
        "id": {
          "type": "string",
          "description": "Unique identifier (ID) of the user."
        },
        "name": {
          "type": "string",
          "description": "Name of the user."
        },
        "role": {
          "type": "string",
          "description": "Role of the board member.",
          "enum": [
            "viewer",
            "commenter",
            "editor",
            "coowner",
            "owner"
          ]
        },
        "type": {
          "type": "string",
          "description": "Type of the object that is returned. In this case, `type` returns `board_member`."
        }
      },
      "required": [
        "id",
        "name",
        "type"
      ]
    },
    "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"
          ]
        }
      }
    },
    "BoardPolicy": {
      "type": "object",
      "description": "Defines the permissions policies and sharing policies for the board.",
      "properties": {
        "permissionsPolicy": {
          "$ref": "#/$defs/BoardPermissionsPolicy"
        },
        "sharingPolicy": {
          "$ref": "#/$defs/BoardSharingPolicy"
        }
      }
    },
    "BoardProject": {
      "type": "object",
      "description": "Contains information about the project with which the board is associated.",
      "properties": {
        "id": {
          "type": "string",
          "format": "int64",
          "description": "Unique identifier (ID) of the project."
        }
      }
    },
    "BoardSharingPolicy": {
      "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",
          "description": "Defines the public-level access to the board.",
          "enum": [
            "private",
            "view",
            "edit",
            "comment"
          ]
        },
        "accessPasswordRequired": {
          "type": "boolean",
          "description": "Defines if a password is required to access the board.",
          "default": false
        },
        "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`.",
          "enum": [
            "viewer",
            "commenter",
            "editor",
            "coowner",
            "owner",
            "guest",
            "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.",
          "enum": [
            "private",
            "view",
            "comment",
            "edit"
          ]
        }
      }
    },
    "PageLinks": {
      "type": "object",
      "description": "Contains pagination links for the collection.",
      "properties": {
        "first": {
          "type": "string",
          "description": "Link to retrieve information in the first page of the collection."
        },
        "last": {
          "type": "string",
          "description": "Link to the retrieve information in the last page of the collection."
        },
        "next": {
          "type": "string",
          "description": "Link to retrieve information in the next page of the collection."
        },
        "prev": {
          "type": "string",
          "description": "Link to retrieve information in the previous page of the collection."
        },
        "self": {
          "type": "string",
          "description": "Link to retrieve information in the current page of the collection."
        }
      }
    },
    "Picture": {
      "type": "object",
      "properties": {
        "id": {
          "type": "number",
          "format": "int64",
          "description": "Id of the picture"
        },
        "imageURL": {
          "type": "string",
          "description": "Url of the picture"
        },
        "originalUrl": {
          "type": "string",
          "description": "Original team picture url for icon generation"
        },
        "type": {
          "type": "string",
          "description": "Type of the object returned.",
          "default": "picture"
        }
      }
    },
    "Team": {
      "required": [
        "id",
        "name"
      ],
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Team id"
        },
        "name": {
          "type": "string",
          "description": "Team name"
        },
        "picture": {
          "$ref": "#/$defs/Picture"
        },
        "type": {
          "type": "string",
          "description": "Type of the object returned.",
          "default": "team"
        }
      }
    },
    "UserInfoLastOpenedBy": {
      "type": "object",
      "description": "Contains information about the user who opened the board last.",
      "properties": {
        "id": {
          "type": "string",
          "description": "Unique identifier (ID) of the user."
        },
        "name": {
          "type": "string",
          "description": "Name of the user."
        },
        "type": {
          "type": "string",
          "description": "Indicates the type of object returned. In this case, `type` returns `user`."
        }
      }
    },
    "UserInfoShort": {
      "type": "object",
      "description": "Contains information about the user who created the board.",
      "properties": {
        "id": {
          "type": "string",
          "description": "Unique identifier (ID) of the user."
        },
        "name": {
          "type": "string",
          "description": "Name of the user."
        },
        "type": {
          "type": "string",
          "description": "Indicates the type of object returned. In this case, `type` returns `user`."
        }
      },
      "required": [
        "id",
        "name",
        "type"
      ]
    }
  }
}