Type: object
Attribute | Type | Description |
---|---|---|
id | string | The unique id of the variable collection |
created | integer | The unix timestamp when the variable collection was created |
name | string | The name of the variable collection |
description | string (Optional) | The description of the variable collection |
modes | Mode[] | - |
groups | Group[] | - |
source_id | string | Variable collection's identifier in the design tool |
source | Resource Source (Optional) | Source of the variable collection - either project or styleguide . |
Example
{
"id": "6662b9998f1d57de4566e868",
"created": 1717746073,
"name": "Fundamentals",
"source_id": "4ba9866092495c104742f0959edbaa8bfa35e483",
"modes": {
"summary": "Mode",
"value": {
"id": "666062f07fe9b31970400138",
"name": "Mode 1",
"mode_id": "69:0"
}
},
"groups": {
"summary": "Group",
"value": {
"id": "666062f07fe9b31970400139",
"name": "default",
"variables": [
{
"id": "666062f07fe9b3197040013e",
"name": "Black",
"source_id": "d36cffd7c2da067c567ecc4ece9ad5fafff6ec7c",
"values": [
{
"mode_id": "666062f07fe9b31970400138",
"type": "color",
"color": {
"r": 0,
"g": 0,
"b": 0,
"a": 1
}
}
]
}
]
}
}
}