trisquel-icecat/icecat/browser/components/asrouter/content-src/templates/OnboardingMessage/BookmarksBarButton.schema.json
2025-10-06 02:35:48 -06:00

40 lines
1,020 B
JSON

{
"$schema": "https://json-schema.org/draft/2019-09/schema",
"$id": "file:///BookmarksBarButton.schema.json",
"title": "BookmarksBarButton",
"description": "A template with a label and a special message action (currently only supports OPEN_URL)",
"allOf": [
{
"$ref": "file:///FxMSCommon.schema.json#/$defs/Message"
}
],
"type": "object",
"properties": {
"template": {
"type": "string",
"const": "bookmarks_bar_button"
},
"content": {
"type": "object",
"properties": {
"action": {
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "Action dispatched by the button."
},
"data": {
"type": "object"
}
},
"required": ["type"],
"additionalProperties": true
}
},
"additionalProperties": true
}
},
"additionalProperties": true,
"required": ["targeting"]
}