{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/trimble/json-schema/trimble-changeset-response-schema.json",
  "title": "The status of changeset processing.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/trimble-connect-organizer-openapi.yml#/components/schemas/ChangesetResponse",
  "required": [
    "createdAt",
    "createdBy",
    "id",
    "status"
  ],
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "snapshot": {
      "type": "boolean",
      "description": "The changeset mode used: snapshot or incremental."
    },
    "scopePrefix": {
      "type": "string",
      "description": "The scope inside a tree used to apply the changeset to, expressed as a node name prefix. Used only is snapshot mode."
    },
    "createdAt": {
      "type": "string",
      "description": "The creation of timestamp.",
      "format": "date-time"
    },
    "createdBy": {
      "type": "string",
      "description": "The identifier of the user who created the changeset."
    },
    "startedAt": {
      "type": "string",
      "description": "The timestamp when processing has been started.",
      "format": "date-time"
    },
    "processedAt": {
      "type": "string",
      "description": "The timestamp when processing has been finished.",
      "format": "date-time"
    },
    "status": {
      "type": "string",
      "description": "One of the following statuses - WaitingUpload, Queued, Processing, Done, Failed"
    },
    "message": {
      "type": "string",
      "description": "The human-readable error message."
    },
    "nodeCount": {
      "type": "integer",
      "description": "Number of items successfully processed."
    },
    "unprocessedCount": {
      "type": "integer",
      "description": "Number of items failed to be processed."
    },
    "resultsUrl": {
      "type": "string",
      "description": "Url for downloading the result of the changeset execution. All resources created or modified during the changeset processing are returned. Response from this url is in the Newline Delimited JSON format (see http://ndjson.org/). It contains multiple resource json objects on each line (not an json array)."
    },
    "errorsUrl": {
      "type": "string",
      "description": "Url for downloading a collection of errors that happened during the changeset processing. Response from this url is in Newline Delimited JSON format (see http://ndjson.org/). It contains multiple separate UnprocessedNode json objects on each line (not a json array)."
    }
  }
}