{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/miro/json-schema/miro-board-export-job-tasks-list-schema.json",
  "title": "BoardExportJobTasksList",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/miro-board-export-api-openapi.yml#/components/schemas/BoardExportJobTasksList",
  "type": "object",
  "properties": {
    "total": {
      "$ref": "#/$defs/PageTotal"
    },
    "cursor": {
      "$ref": "#/$defs/PageCursor"
    },
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/BoardExportTask"
      }
    }
  },
  "$defs": {
    "BoardExportTask": {
      "type": "object",
      "required": [
        "id",
        "status"
      ],
      "properties": {
        "id": {
          "type": "string",
          "description": "Unique identifier of the board export task."
        },
        "status": {
          "$ref": "#/$defs/ExportTaskStatus"
        },
        "artifactExpiredAt": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time when the artifact will no longer be available in the S3 storage. After this time, the link will no longer be valid and the exported files will not be accessible.\nFormat: 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))."
        },
        "sizeInBytes": {
          "type": "integer",
          "format": "int64",
          "description": "Size of the exported artifact in bytes."
        },
        "errorMessage": {
          "type": "string",
          "description": "Contains the description of the error that occurred during a board export task."
        },
        "errorType": {
          "$ref": "#/$defs/ExportTaskErrorType"
        },
        "board": {
          "type": "object",
          "description": "Information about a board in the board export task.",
          "properties": {
            "key": {
              "type": "string",
              "description": "Unique identifier of the board."
            }
          }
        }
      }
    },
    "ExportTaskErrorType": {
      "type": "string",
      "description": "Indicates the type of error encountered during the board export task.\nPossible values:\n`TEMPORARY`: the board export task encountered a temporary error. Retry the board export task after some time.\n`FATAL`: the board export failed and cannot be retried. This export will never succeed due to issues such as board corruption, non-existence, or other unrecoverable errors. Please verify the board's state or contact support if assistance is needed.\n`UNKNOWN`: the board export task encountered an unexpected exception. Retry the board export task after some time."
    },
    "ExportTaskStatus": {
      "type": "string",
      "description": "Indicates the status of the individual board export task.\nPossible values:\n`SUCCESS`: the board export task was completed successfully and the results are available.\n`ERROR`: the board export task encountered an error and failed to complete. The `errorMessage` field provides more information on the error.\n`CANCELLED`: the board export task was cancelled.\n`SCHEDULED`: the board export task has been scheduled and is waiting to be processed.\n`CREATED`: the board export task was created."
    },
    "PageCursor": {
      "type": "string",
      "description": "Indicator of the position of the next page of the result. To retrieve the next page, make another query setting its cursor field to the value returned by the current query. If the value is empty, there are no more pages to fetch."
    },
    "PageTotal": {
      "type": "integer",
      "description": "Total number of results in the collection.",
      "format": "int32"
    }
  }
}