Microsoft Excel · Schema
microsoft.graph.workbookRangeFormat
AutomationData AnalysisMicrosoftMicrosoft 365OfficeSpreadsheets
Properties
| Name | Type | Description |
|---|---|---|
| id | string | The unique identifier for an entity. Read-only. |
| @odata.type | string | |
| columnWidth | object | The width of all columns within the range. If the column widths aren't uniform, null will be returned. |
| horizontalAlignment | stringnull | The horizontal alignment for the specified object. The possible values are: General, Left, Center, Right, Fill, Justify, CenterAcrossSelection, Distributed. |
| rowHeight | object | The height of all rows in the range. If the row heights aren't uniform null will be returned. |
| verticalAlignment | stringnull | The vertical alignment for the specified object. The possible values are: Top, Center, Bottom, Justify, Distributed. |
| wrapText | booleannull | Indicates whether Excel wraps the text in the object. A null value indicates that the entire range doesn't have a uniform wrap setting. |
| borders | array | Collection of border objects that apply to the overall range selected Read-only. |
| fill | object | Returns the fill object defined on the overall range. Read-only. |
| font | object | Returns the font object defined on the overall range selected Read-only. |
| protection | object | Returns the format protection object for a range. Read-only. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/microsoft-excel/json-schema/microsoft-excel-microsoft-graph-workbook-range-format-schema.json",
"title": "microsoft.graph.workbookRangeFormat",
"x-generated": "2026-11-05",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/microsoft-excel-openapi.yml#/components/schemas/microsoft.graph.workbookRangeFormat",
"allOf": [
{
"$ref": "#/$defs/microsoft.graph.entity"
},
{
"title": "workbookRangeFormat",
"required": [
"@odata.type"
],
"type": "object",
"properties": {
"columnWidth": {
"oneOf": [
{
"type": [
"number",
"null"
],
"format": "double"
},
{
"type": [
"string",
"null"
]
},
{
"$ref": "#/$defs/ReferenceNumeric"
}
],
"description": "The width of all columns within the range. If the column widths aren't uniform, null will be returned."
},
"horizontalAlignment": {
"type": [
"string",
"null"
],
"description": "The horizontal alignment for the specified object. The possible values are: General, Left, Center, Right, Fill, Justify, CenterAcrossSelection, Distributed."
},
"rowHeight": {
"oneOf": [
{
"type": [
"number",
"null"
],
"format": "double"
},
{
"type": [
"string",
"null"
]
},
{
"$ref": "#/$defs/ReferenceNumeric"
}
],
"description": "The height of all rows in the range. If the row heights aren't uniform null will be returned."
},
"verticalAlignment": {
"type": [
"string",
"null"
],
"description": "The vertical alignment for the specified object. The possible values are: Top, Center, Bottom, Justify, Distributed."
},
"wrapText": {
"type": [
"boolean",
"null"
],
"description": "Indicates whether Excel wraps the text in the object. A null value indicates that the entire range doesn't have a uniform wrap setting."
},
"borders": {
"type": "array",
"items": {
"$ref": "#/$defs/microsoft.graph.workbookRangeBorder"
},
"description": "Collection of border objects that apply to the overall range selected Read-only.",
"x-ms-navigationProperty": true
},
"fill": {
"anyOf": [
{
"$ref": "#/$defs/microsoft.graph.workbookRangeFill"
},
{
"type": [
"object",
"null"
]
}
],
"description": "Returns the fill object defined on the overall range. Read-only.",
"x-ms-navigationProperty": true
},
"font": {
"anyOf": [
{
"$ref": "#/$defs/microsoft.graph.workbookRangeFont"
},
{
"type": [
"object",
"null"
]
}
],
"description": "Returns the font object defined on the overall range selected Read-only.",
"x-ms-navigationProperty": true
},
"protection": {
"anyOf": [
{
"$ref": "#/$defs/microsoft.graph.workbookFormatProtection"
},
{
"type": [
"object",
"null"
]
}
],
"description": "Returns the format protection object for a range. Read-only.",
"x-ms-navigationProperty": true
},
"@odata.type": {
"type": "string"
}
}
}
],
"x-ms-discriminator-value": "#microsoft.graph.workbookRangeFormat",
"$defs": {
"ReferenceNumeric": {
"enum": [
"-INF",
"INF",
"NaN"
],
"type": [
"string",
"null"
]
},
"microsoft.graph.entity": {
"title": "entity",
"required": [
"@odata.type"
],
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The unique identifier for an entity. Read-only."
},
"@odata.type": {
"type": "string"
}
}
},
"microsoft.graph.workbookFormatProtection": {
"allOf": [
{
"$ref": "#/$defs/microsoft.graph.entity"
},
{
"title": "workbookFormatProtection",
"required": [
"@odata.type"
],
"type": "object",
"properties": {
"formulaHidden": {
"type": [
"boolean",
"null"
],
"description": "Indicates whether Excel hides the formula for the cells in the range. A null value indicates that the entire range doesn't have uniform formula hidden setting."
},
"locked": {
"type": [
"boolean",
"null"
],
"description": "Indicates whether Excel locks the cells in the object. A null value indicates that the entire range doesn't have uniform lock setting."
},
"@odata.type": {
"type": "string"
}
}
}
],
"x-ms-discriminator-value": "#microsoft.graph.workbookFormatProtection"
},
"microsoft.graph.workbookRangeBorder": {
"allOf": [
{
"$ref": "#/$defs/microsoft.graph.entity"
},
{
"title": "workbookRangeBorder",
"required": [
"@odata.type"
],
"type": "object",
"properties": {
"color": {
"type": [
"string",
"null"
],
"description": "The HTML color code that represents the color of the border line. Can either be of the form #RRGGBB, for example 'FFA500', or a named HTML color, for example 'orange'."
},
"sideIndex": {
"type": [
"string",
"null"
],
"description": "Indicates the specific side of the border. The possible values are: EdgeTop, EdgeBottom, EdgeLeft, EdgeRight, InsideVertical, InsideHorizontal, DiagonalDown, DiagonalUp. Read-only."
},
"style": {
"type": [
"string",
"null"
],
"description": "Indicates the line style for the border. The possible values are: None, Continuous, Dash, DashDot, DashDotDot, Dot, Double, SlantDashDot."
},
"weight": {
"type": [
"string",
"null"
],
"description": "The weight of the border around a range. The possible values are: Hairline, Thin, Medium, Thick."
},
"@odata.type": {
"type": "string"
}
}
}
],
"x-ms-discriminator-value": "#microsoft.graph.workbookRangeBorder"
},
"microsoft.graph.workbookRangeFill": {
"allOf": [
{
"$ref": "#/$defs/microsoft.graph.entity"
},
{
"title": "workbookRangeFill",
"required": [
"@odata.type"
],
"type": "object",
"properties": {
"color": {
"type": [
"string",
"null"
],
"description": "HTML color code representing the color of the border line. Can either be of the form #RRGGBB, for example 'FFA500', or be a named HTML color, for example 'orange'."
},
"@odata.type": {
"type": "string"
}
}
}
],
"x-ms-discriminator-value": "#microsoft.graph.workbookRangeFill"
},
"microsoft.graph.workbookRangeFont": {
"allOf": [
{
"$ref": "#/$defs/microsoft.graph.entity"
},
{
"title": "workbookRangeFont",
"required": [
"@odata.type"
],
"type": "object",
"properties": {
"bold": {
"type": [
"boolean",
"null"
],
"description": "Inidicates whether the font is bold."
},
"color": {
"type": [
"string",
"null"
],
"description": "The HTML color code representation of the text color. For example, #FF0000 represents the color red."
},
"italic": {
"type": [
"boolean",
"null"
],
"description": "Inidicates whether the font is italic."
},
"name": {
"type": [
"string",
"null"
],
"description": "The font name. For example, 'Calibri'."
},
"size": {
"oneOf": [
{
"type": [
"number",
"null"
],
"format": "double"
},
{
"type": [
"string",
"null"
]
},
{
"$ref": "#/$defs/ReferenceNumeric"
}
],
"description": "The font size."
},
"underline": {
"type": [
"string",
"null"
],
"description": "The type of underlining applied to the font. The possible values are: None, Single, Double, SingleAccountant, DoubleAccountant."
},
"@odata.type": {
"type": "string"
}
}
}
],
"x-ms-discriminator-value": "#microsoft.graph.workbookRangeFont"
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/microsoft-excel-microsoft-graph-workbook-range-format"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.