blob: 0777c701f3e707e425846a03ceeaf10d8be6d726 [file] [log] [blame] [edit]
{
"$schema": "plugin.schema.json",
"info": {
"title": "Cobalt Plugin",
"callsign": "Cobalt",
"locator": "libWPEFrameworkCobalt.so",
"status": "beta",
"description": "The Cobalt plugin provides web browsing functionality based on the Cobalt engine.",
"version": "1.0"
},
"definitions": {
"systemproperties": {
"description": "Configure some properties queried with Starboard System API",
"type": "object",
"required": [],
"properties": {
"modelname": {
"type": "string",
"description": "The production model number of the device"
},
"brandname": {
"type": "string",
"description": "The name of the brand under which the device is being sold"
},
"modelyear": {
"type": "string",
"description": "The year the device was launched"
},
"chipsetmodelnumber": {
"type": "string",
"description": "The full model number of the main platform chipset"
},
"firmwareversion": {
"type": "string",
"description": "The production firmware version number which the device is currently running"
},
"integratorname": {
"type": "string",
"description": "Original manufcature of the device"
},
"friendlyname": {
"type": "string",
"description": "A friendly name for this actual device"
},
"devicetype": {
"type": "string",
"description": "Type of the device. Possible values [SetTopBox, OverTheTopBox, TV]"
}
}
}
},
"configuration": {
"type": "object",
"properties": {
"configuration": {
"type": "object",
"required": [],
"properties": {
"url": {
"type": "string",
"description": "The URL that is loaded upon starting the browser"
},
"language": {
"type": "string",
"description": "POSIX-style Language(Locale) ID. Example: 'en_US'"
},
"preload": {
"type": "boolean",
"description": "Enable pre-loading of application"
},
"autosuspenddelay": {
"type": "number",
"description": "Applicable when pre-loading. Number of seconds to wait before suspending the app"
},
"gstdebug": {
"type": "string",
"description": "Configure GST_DEBUG environment variable, default: 'gstplayer:4,2'"
},
"closurepolicy": {
"type": "string",
"description": "Configures how to handle window close request. Accepted values: [suspend, quit]. Default: 'quit'."
},
"systemproperties": {
"$ref": "#/definitions/systemproperties"
}
}
}
},
"required": [
"callsign",
"classname",
"locator"
]
},
"interface": {
"$ref": "{interfacedir}/Cobalt.json#"
}
}