|
| 1 | +{ |
| 2 | + "$schema": "http://json-schema.org/draft-07/schema#", |
| 3 | + "title": "Manifest", |
| 4 | + "description": "Acode plugin manifest that is contained inside the file `plugin.json`", |
| 5 | + "type": "object", |
| 6 | + "properties": { |
| 7 | + "author": { |
| 8 | + "description": "Details about the plugin author, including name, email, URL, and GitHub username.", |
| 9 | + "type": "object", |
| 10 | + "properties": { |
| 11 | + "email": { |
| 12 | + "description": "Email of the author", |
| 13 | + "type": "string" |
| 14 | + }, |
| 15 | + "github": { |
| 16 | + "description": "GitHub username of the author", |
| 17 | + "type": "string" |
| 18 | + }, |
| 19 | + "name": { |
| 20 | + "description": "Name of the author", |
| 21 | + "type": "string" |
| 22 | + }, |
| 23 | + "url": { |
| 24 | + "description": "Url of the author", |
| 25 | + "type": "string" |
| 26 | + } |
| 27 | + }, |
| 28 | + "required": ["name"] |
| 29 | + }, |
| 30 | + "changelogs": { |
| 31 | + "description": "Path to the changelog file documenting version updates and modifications.", |
| 32 | + "type": "string" |
| 33 | + }, |
| 34 | + "contributors": { |
| 35 | + "description": "An array of objects containing details about project contributors.", |
| 36 | + "type": "array", |
| 37 | + "items": { |
| 38 | + "type": "object", |
| 39 | + "properties": { |
| 40 | + "github": { |
| 41 | + "description": "Contributor's GitHub username.", |
| 42 | + "type": "string" |
| 43 | + }, |
| 44 | + "name": { |
| 45 | + "description": "Contributor's name.", |
| 46 | + "type": "string" |
| 47 | + }, |
| 48 | + "role": { |
| 49 | + "description": "Contributor's role in the project.", |
| 50 | + "type": "string" |
| 51 | + } |
| 52 | + } |
| 53 | + }, |
| 54 | + "uniqueItems": true |
| 55 | + }, |
| 56 | + "dependencies": { |
| 57 | + "description": "An array plugins to be installed along with plugin", |
| 58 | + "type": "array", |
| 59 | + "items": { |
| 60 | + "description": "Plugin id of dependency", |
| 61 | + "type": "string" |
| 62 | + }, |
| 63 | + "uniqueItems": true |
| 64 | + }, |
| 65 | + "files": { |
| 66 | + "description": "An array listing the files to be included in the plugin zip file.", |
| 67 | + "type": "array", |
| 68 | + "items": { |
| 69 | + "type": "string" |
| 70 | + }, |
| 71 | + "uniqueItems": true |
| 72 | + }, |
| 73 | + "icon": { |
| 74 | + "description": "Path to the icon.png file, serving as the visual representation of the plugin. Icon file size must less than or equal to 50Kb", |
| 75 | + "type": "string" |
| 76 | + }, |
| 77 | + "id": { |
| 78 | + "description": "Unique identifier for the plugin, following the reverse domain name format or what ever you want (e.g., \"com.example.plugin\").", |
| 79 | + "type": "string" |
| 80 | + }, |
| 81 | + "keywords": { |
| 82 | + "description": "An array of strings providing searchable terms related to the plugin.", |
| 83 | + "type": "array", |
| 84 | + "items": { |
| 85 | + "type": "string" |
| 86 | + }, |
| 87 | + "uniqueItems": true |
| 88 | + }, |
| 89 | + "main": { |
| 90 | + "description": "Path to the bundled main.js file or your plugin's main javascript file, which contains the actual code for the plugin.", |
| 91 | + "type": "string" |
| 92 | + }, |
| 93 | + "minVersionCode": { |
| 94 | + "description": "Minimum Acode version code required to run the plugin. The plugin will be available only for Acode versions greater than or equal to the specified code.", |
| 95 | + "type": "integer", |
| 96 | + "minimum": 290 |
| 97 | + }, |
| 98 | + "name": { |
| 99 | + "description": "Descriptive name of the plugin.", |
| 100 | + "type": "string" |
| 101 | + }, |
| 102 | + "price": { |
| 103 | + "description": "Price of the plugin in INR (Indian Rupees). If set to 0 or omitted, the plugin is free. This attribute allows for monetization of plugins with a defined price range.", |
| 104 | + "maximum": 10000, |
| 105 | + "minimum": 0, |
| 106 | + "type": "integer" |
| 107 | + }, |
| 108 | + "readme": { |
| 109 | + "description": "Path to the readme.md file, providing documentation and information about the plugin.", |
| 110 | + "type": "string" |
| 111 | + }, |
| 112 | + "version": { |
| 113 | + "description": "Version number of the plugin. Must be incremented for updates.", |
| 114 | + "type": "string" |
| 115 | + } |
| 116 | + }, |
| 117 | + "required": ["id", "name", "main", "version", "readme", "icon", "author"] |
| 118 | +} |
0 commit comments