Microsoft Visio API · JSON Structure
Visio Shape Structure
Structural documentation for the Visio Shape object returned by the Visio JavaScript API
Type: object
Properties: 0
Business ProcessCollaborationDiagramsEnterpriseFlowchartsMicrosoft-365Visualization
Visio Shape Structure is a JSON Structure definition published by Microsoft Visio API.
Meta-schema:
JSON Structure
{
"title": "Visio Shape Structure",
"description": "Structural documentation for the Visio Shape object returned by the Visio JavaScript API",
"type": "object",
"fields": [
{ "name": "id", "type": "integer", "required": true, "description": "Unique numeric shape identifier" },
{ "name": "name", "type": "string", "required": true, "description": "Shape name in diagram" },
{ "name": "text", "type": "string", "required": false, "description": "Visible text inside shape" },
{ "name": "select", "type": "boolean", "required": false, "description": "Current selection state" },
{
"name": "boundingBox",
"type": "object",
"required": false,
"description": "Spatial position and dimensions",
"fields": [
{ "name": "x", "type": "number", "description": "X position" },
{ "name": "y", "type": "number", "description": "Y position" },
{ "name": "width", "type": "number", "description": "Shape width" },
{ "name": "height", "type": "number", "description": "Shape height" }
]
},
{
"name": "shapeDataItems",
"type": "object",
"required": false,
"description": "Business data attached to shape",
"fields": [
{
"name": "items",
"type": "array",
"description": "Array of label-value data pairs",
"items": [
{ "name": "label", "type": "string" },
{ "name": "value", "type": "string" },
{ "name": "format", "type": "string" },
{ "name": "formattedValue", "type": "string" }
]
}
]
},
{
"name": "hyperlinks",
"type": "object",
"required": false,
"description": "URL links from shape",
"fields": [
{
"name": "items",
"type": "array",
"items": [
{ "name": "address", "type": "string" },
{ "name": "description", "type": "string" },
{ "name": "subAddress", "type": "string" }
]
}
]
},
{
"name": "comments",
"type": "object",
"required": false,
"fields": [
{
"name": "items",
"type": "array",
"items": [
{ "name": "author", "type": "string" },
{ "name": "date", "type": "string" },
{ "name": "text", "type": "string" }
]
}
]
},
{
"name": "view",
"type": "object",
"required": false,
"fields": [
{ "name": "tooltip", "type": "string" },
{
"name": "highlight",
"type": "object",
"fields": [
{ "name": "color", "type": "string" },
{ "name": "width", "type": "integer" }
]
}
]
}
]
}
Work with this as data
Every JSON Structure 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 json structure
4 MCP tools reach this
find_json_structuresBrowse and filter every JSON Structure 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 Structure
curl "https://apis.io/api/v1/json-structures/visio-shape-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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.