-
Notifications
You must be signed in to change notification settings - Fork 42
Open
Description
On the JSON Schema page the more complex example shows invalid JSON.
{
"typography": {
"h1": {
"Bold": {
"value": {
"fontFamily": "Helvetica",
"fontSize": 24,
"fontWeight": "bold",
"textDecoration": "none",
"textCase": "none"
},
"type": "typography"
},
}
}
},
"shadows": {
"default": {
"value": {
"x": 4,
"y": 4,
"blur": 4,
"spread": 0,
"color": "rgba(0, 0, 0, 0.5)"
"type": "dropShadow" | "innerShadow"
},
"type": "boxShadow"
}
},
}
}
"color": "rgba(0, 0, 0, 0.5)"
is missing a,
- There is an extra
}
in the_ "typography" and "shadows" block "type": "dropShadow" | "innerShadow"
is no valid JSON- Never saw this anywhere else. Might something like
"type": "dropShadow | innerShadow"
be the correct way of defining this?
- Never saw this anywhere else. Might something like
Metadata
Metadata
Assignees
Labels
No labels