Skip to content

Instantly share code, notes, and snippets.

@os0x
Created September 2, 2009 11:49
Show Gist options
  • Save os0x/179669 to your computer and use it in GitHub Desktop.
Save os0x/179669 to your computer and use it in GitHub Desktop.
{
"description": "manifest.json for Chromium Extensions",
"type": "object",
"properties": {
"name": {
"type": "string"
},
"version": {
"type": "string",
"default": "1.0"
},
"description": {
"type": "string",
"optional": true
},
"id": {
"type": "string",
"optional": true
},
"key": {
"type": "string",
"optional": true
},
"default_locale": {
"type": "string",
"optional": true
},
"update_url": {
"type": "string",
"optional": true,
"default": "http://"
},
"background_page": {
"type": "string",
"optional": true
},
"content_scripts": {
"type": "array",
"items": {
"type": "object",
"properties": {
"css": {
"type": "array",
"optional": true,
"items": {
"type": "string"
}
},
"js": {
"type": "array",
"optional": true,
"items": {
"type": "string"
}
},
"matches": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"optional": true
},
"page_actions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"icons": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"optional": true
},
"permissions": {
"type": "array",
"items": {
"type": "string"
},
"optional": true
},
"plugins": {
"type": "array",
"items": {
"type": "string"
},
"optional": true
},
"toolstrips": {
"type": "array",
"items": {
"type": [
"string",
"object"
],
"properties": {
"mole": {
"type": "string"
},
"mole_height": {
"type": "number"
},
"path": {
"type": "string"
}
}
},
"optional": true
},
"icons": {
"type": "object",
"optional": true,
"properties": {
"16": {
"type": "string",
"optional": true
},
"32": {
"type": "string",
"optional": true
},
"48": {
"type": "string",
"optional": true
},
"128": {
"type": "string",
"optional": true
}
}
},
"theme": {
"type": "object",
"optional": true,
"properties": {
"images": {
"type": "object",
"optional": true,
"properties": {
"theme_frame": {
"type": "string",
"optional": true
},
"theme_frame_overlay": {
"type": "string",
"optional": true
},
"theme_toolbar": {
"type": "string",
"optional": true
},
"theme_ntp_background": {
"type": "string",
"optional": true
},
"theme_ntp_attribution": {
"type": "string",
"optional": true
}
}
},
"colors": {
"type": "object",
"optional": true,
"properties": {
"frame": {
"type": "array",
"optional": true,
"items": [
{
"type": "number"
},
{
"type": "number"
},
{
"type": "number"
}
]
},
"toolbar": {
"type": "array",
"optional": true,
"items": [
{
"type": "number"
},
{
"type": "number"
},
{
"type": "number"
}
]
},
"ntp_text": {
"type": "array",
"optional": true,
"items": [
{
"type": "number"
},
{
"type": "number"
},
{
"type": "number"
}
]
},
"ntp_link": {
"type": "array",
"optional": true,
"items": [
{
"type": "number"
},
{
"type": "number"
},
{
"type": "number"
}
]
},
"ntp_section": {
"type": "array",
"optional": true,
"items": [
{
"type": "number"
},
{
"type": "number"
},
{
"type": "number"
}
]
},
"button_background": {
"type": "array",
"optional": true,
"items": [
{
"type": "number"
},
{
"type": "number"
},
{
"type": "number"
}
]
}
}
},
"tints": {
"type": "object",
"optional": true,
"properties": {
"buttons": {
"type": "array",
"optional": true,
"items": [
{
"type": "number"
},
{
"type": "number"
},
{
"type": "number"
}
]
}
}
},
"properties": {
"type": "object",
"optional": true,
"properties": {
"ntp_background_alignment": {
"type": "string"
}
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment