{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/miro/json-schema/miro-board-export-task-export-link-schema.json",
  "title": "BoardExportTaskExportLink",
  "description": "Board export task results link.",
  "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/BoardExportTaskExportLink",
  "required": [
    "status"
  ],
  "type": "object",
  "properties": {
    "status": {
      "$ref": "#/$defs/ExportTaskStatus"
    },
    "exportLink": {
      "type": "string",
      "description": "URL of the S3 bucket that contains the exported files."
    },
    "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))."
    },
    "linkExpiredAt": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time when the export link will expire. After this time, the link will no longer be valid.\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))."
    },
    "errorMessage": {
      "type": "string",
      "description": "Contains the description of the error that occurred during a board export task results link creation."
    },
    "errorType": {
      "type": "string",
      "description": "Indicates the type of error encountered during the board export task results link creation.\nPossible values:\n`TEMPORARY`: the board export task encountered a temporary error. Retry the board export task results link creation 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 results link creation after some time."
    }
  },
  "$defs": {
    "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."
    }
  }
}