Skip to content

Commit 9f62a96

Browse files
authored
change the icon schema
change the icon schema
2 parents 6545292 + 8d15255 commit 9f62a96

1 file changed

Lines changed: 16 additions & 1 deletion

File tree

client/schemas/blueprint-spec2-schema.json

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,22 @@
7070
"type": "boolean"
7171
},
7272
"icon": {
73-
"type": "string"
73+
"oneOf": [
74+
{
75+
"type": "object",
76+
"additionalProperties": false,
77+
"properties": {
78+
"path": {
79+
"type": "string"
80+
}
81+
},
82+
"required": ["path"]
83+
},
84+
{
85+
"type": "null"
86+
}
87+
],
88+
"title": "Blueprint Icon"
7489
},
7590
"blueprint-labels": {
7691
"type": "array",

0 commit comments

Comments
 (0)