JSON Schema Definition 'action'

Diagram

Drilldown into /definitions/action/dependencies/popup Drilldown into /definitions/action/dependencies/icons Drilldown into /definitions/action/dependencies/name Drilldown into /definitions/action/properties/default_icon Drilldown into /definitions/uriJSON Schema Diagram of /definitions/action

Value

Object

Properties

Property Name Type Description
default_title string A String value
Tooltip for the main toolbar icon..
default_popup string uri
default_icon any default_icon
Additional Properties Type Description
Any Property Any All values are valid, no restrictions.

Property Dependencies

When a given property is present in the instance object, then the corresponding rule is applied to the object.
Property Name Additional Rules
name When the property 'name' is present, the following schema rules will also apply.
icons When the property 'icons' is present, the following schema rules will also apply.
popup When the property 'popup' is present, the following schema rules will also apply.

Source

"action": {
    "type": "object",
    "properties": {
        "default_title": {
            "type": "string",
            "description": "Tooltip for the main toolbar icon."
        },
        "default_popup": {
            "$ref": "#/definitions/uri",
            "description": "The popup appears when the user clicks the icon."
        },
        "default_icon": {
            "anyOf": [
                {
                    "type": "string",
                    "description": "FIXME: String form is deprecated."
                },
                {
                    "type": "object",
                    "description": "Icon for the main toolbar.",
                    "properties": {
                        "19": {
                            "$ref": "#/definitions/icon"
                        },
                        "38": {
                            "$ref": "#/definitions/icon"
                        }
                    }
                }
            ]
        }
    },
    "dependencies": {
        "name": {
            "not": {
                "required": [
                    "name"
                ]
            }
        },
        "icons": {
            "not": {
                "required": [
                    "icons"
                ]
            }
        },
        "popup": {
            "not": {
                "required": [
                    "popup"
                ]
            }
        }
    }
}
http://json.schemastore.org/chrome-manifest (503:19)

References

Documentation for Chrome Manifest
Generated using Liquid Studio 2018 - JSON Studio Edition 16.0.0.7949