Figma · Schema

Figma File

A Figma design file containing a document tree with pages, frames, components, styles, and version metadata. This schema represents the response from the GET /v1/files/{file_key} endpoint.

CollaborationDesignGraphicsInterfacesPrototypesPrototypingUI/UX

Properties

Name Type Description
name string The name of the file as it appears in the Figma editor and file browser.
role string The role of the user making the API request in relation to the file.
lastModified string The UTC ISO 8601 time at which the file was last modified.
editorType string The type of editor associated with this file. Figma is for design files, FigJam is for whiteboarding.
thumbnailUrl string A URL to a thumbnail image of the file. The URL expires after a period of time.
version string The current version number of the file. This changes on every save.
document object
components object A mapping from component IDs to component metadata for all components in the file.
componentSets object A mapping from component set IDs to component set metadata.
schemaVersion integer The version of the Figma file schema that this file uses.
styles object A mapping from style IDs to style metadata for all styles in the file.
mainFileKey string The key of the main file. Present only when this file is a branch.
branches array A list of branches for this file. Only present if branch_data was requested.
View JSON Schema on GitHub