{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/miro/json-schema/miro-board-export-jobs-list-schema.json",
  "title": "BoardExportJobsList",
  "description": "List of export jobs.",
  "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/BoardExportJobsList",
  "type": "object",
  "properties": {
    "total": {
      "$ref": "#/$defs/PageTotal"
    },
    "cursor": {
      "$ref": "#/$defs/PageCursor"
    },
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/BoardExportJob"
      }
    }
  },
  "$defs": {
    "BoardExportJob": {
      "description": "Board export job.",
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Unique identifier of the board export job.",
          "format": "uuid"
        },
        "name": {
          "type": "string",
          "description": "Board export job name."
        },
        "boardFormat": {
          "$ref": "#/$defs/BoardFormat"
        },
        "status": {
          "type": "string",
          "description": "Indicates the current state of the board export job.\nPossible values:\n`created`: the job has been created but not yet started. Retry the status call after some time.\n`in_progress`: the job is in progress, and the results are not ready yet. Retry the status call after some time.\n`cancelled`: the job has been cancelled and will not produce any more results.\n`finished`: the job is complete. You can now get results for the board export job."
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        },
        "modifiedAt": {
          "type": "string",
          "format": "date-time"
        },
        "tasksCount": {
          "type": "object",
          "properties": {
            "total": {
              "type": "integer",
              "format": "int64",
              "description": "Total number of tasks in the export."
            },
            "success": {
              "type": "integer",
              "format": "int64",
              "description": "Successfully exported tasks count."
            },
            "error": {
              "type": "integer",
              "format": "int64",
              "description": "Failed tasks count."
            }
          }
        },
        "creator": {
          "type": "object",
          "properties": {
            "id": {
              "type": "string",
              "description": "Unique identifier of the user who created the board export job."
            }
          }
        }
      }
    },
    "BoardFormat": {
      "type": "string",
      "enum": [
        "SVG",
        "HTML",
        "PDF"
      ],
      "default": "SVG",
      "description": "Specifies the format of the file to which the board will be exported. Supported formats include SVG (default), HTML, and PDF."
    },
    "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"
    }
  }
}