Figma · Schema

DocumentNode

The root node of a Figma document.

CollaborationDesignGraphicsInterfacesPrototypesPrototypingUI/UX

Properties

Name Type Description
id string A string uniquely identifying this node within the document.
name string The name given to the node by the user in the tool.
type string The type of the node.
children array An array of canvases (pages) attached to the document.
View JSON Schema on GitHub

JSON Schema

figma-rest-document-node-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "DocumentNode",
  "type": "object",
  "description": "The root node of a Figma document.",
  "properties": {
    "id": {
      "type": "string",
      "description": "A string uniquely identifying this node within the document."
    },
    "name": {
      "type": "string",
      "description": "The name given to the node by the user in the tool."
    },
    "type": {
      "type": "string",
      "description": "The type of the node."
    },
    "children": {
      "type": "array",
      "description": "An array of canvases (pages) attached to the document."
    }
  }
}