{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cloudmersive/json-schema/cloudmersive-set-xlsx-cell-request-schema.json",
  "title": "SetXlsxCellRequest",
  "description": "Input to a Set Cell in XLSX Worksheets request",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cloudmersive-editdocument-api-openapi.yml#/components/schemas/SetXlsxCellRequest",
  "type": "object",
  "properties": {
    "InputFileBytes": {
      "format": "byte",
      "description": "Optional: Bytes of the input file to operate on",
      "type": "string"
    },
    "InputFileUrl": {
      "description": "Optional: URL of a file to operate on as input.  This can be a public URL, or you can also use the begin-editing API to upload a document and pass in the secure URL result from that operation as the URL here (this URL is not public).",
      "type": "string"
    },
    "WorksheetToUpdate": {
      "$ref": "#/$defs/XlsxWorksheet",
      "description": "Optional; Worksheet (tab) within the spreadsheet to update; leave blank to default to the first worksheet"
    },
    "RowIndex": {
      "format": "int32",
      "description": "0-based index of the row, 0, 1, 2, ... to set",
      "type": "integer"
    },
    "CellIndex": {
      "format": "int32",
      "description": "0-based index of the cell, 0, 1, 2, ... in the row to set",
      "type": "integer"
    },
    "CellValue": {
      "$ref": "#/$defs/XlsxSpreadsheetCell",
      "description": "New Cell value to update/overwrite into the Excel XLSX spreadsheet"
    }
  },
  "$defs": {
    "XlsxSpreadsheetCell": {
      "description": "Cell in an Excel Spreadsheet worksheet",
      "type": "object",
      "properties": {
        "Path": {
          "description": "The Path of the location of this object; leave blank for new rows",
          "type": "string"
        },
        "TextValue": {
          "description": "Text value of the cell",
          "type": "string"
        },
        "CellIdentifier": {
          "description": "Cell reference of the cell, e.g. A1, Z22, etc.",
          "type": "string"
        },
        "StyleIndex": {
          "format": "int32",
          "description": "Identifier for the style to apply to this style",
          "type": "integer"
        },
        "Formula": {
          "type": "string"
        }
      }
    },
    "XlsxWorksheet": {
      "description": "A worksheet (tab) in an Excel (XLSX) spreadsheet",
      "type": "object",
      "properties": {
        "Path": {
          "description": "The Path of the location of this object; leave blank for new worksheets",
          "type": "string"
        },
        "WorksheetName": {
          "description": "User-facing name of the worksheet tab",
          "type": "string"
        }
      }
    }
  }
}