-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8bd28b8
commit c570baf
Showing
1 changed file
with
72 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
{ | ||
"$schema": "https://json-schema.org/draft-07/schema", | ||
"$id": "https://bitcart.ai/schemas/plugin/1.3.0/plugin.schema.json", | ||
"title": "Plugin", | ||
"description": "Plugin metadata", | ||
"type": "object", | ||
"properties": { | ||
"name": { | ||
"description": "Plugin name", | ||
"type": "string" | ||
}, | ||
"author": { | ||
"description": "Plugin author. Used to install namespaced packages", | ||
"type": "string" | ||
}, | ||
"version": { | ||
"description": "Plugin version", | ||
"type": "string" | ||
}, | ||
"license": { | ||
"description": "Plugin license", | ||
"type": "string" | ||
}, | ||
"website": { | ||
"description": "Plugin website", | ||
"type": "string" | ||
}, | ||
"source_url": { | ||
"description": "Plugin source code URL", | ||
"type": "string" | ||
}, | ||
"docs_url": { | ||
"description": "Plugin documentation URL", | ||
"type": "string" | ||
}, | ||
"description": { | ||
"description": "Plugin description", | ||
"type": "string" | ||
}, | ||
"constraints": { | ||
"description": "Plugin constraints", | ||
"type": "object", | ||
"properties": { | ||
"bitcart": { | ||
"description": "Bitcart version constraint", | ||
"type": "string" | ||
} | ||
}, | ||
"required": ["bitcart"] | ||
}, | ||
"installs": { | ||
"description": "Plugin installable parts", | ||
"type": "array", | ||
"items": { | ||
"type": "object", | ||
"properties": { | ||
"type": { | ||
"description": "Installation type", | ||
"type": "string", | ||
"enum": ["admin", "store", "backend", "daemon", "docker"] | ||
}, | ||
"path": { | ||
"description": "Installation path", | ||
"type": "string" | ||
} | ||
}, | ||
"required": ["type", "path"] | ||
} | ||
} | ||
}, | ||
"required": ["name", "author", "version", "constraints", "installs"] | ||
} |