introduce
In D2C, we will convert the Figma layer into a Schema, and extract the style, nesting relationship, and attributes of the Figma layer into an abstract JSON Schema. Through JSON Schema we can convert the layer tree into any DSL.
The role of Schema includes but is not limited to the following scenarios.

Interface definition
TreeNode
Dependency
ComponentProperties
2023.01 support, click https://www.figma.com/plugin-docs/api/ComponentProperties/ for details
The latest JSON Schema update is at https://bytedance.feishu.cn/wiki/wikcn60H9qkbnzHVExVrBDrETqe
Copy JSON Schema
You can get the D2C JSON Schema in the following ways.
After the translation is complete
After the translation is complete, click the "Copy JSON" button.

After marking is complete
After marking, click the "Copy JSON Schema" button, or "Copy Schema URL".

via command
Press CMD + / on the canvas, enter "Semi", select "Translate Selected Layer", select "Copy as JSON Schema" or "Copy as Schema URL".
