|
| 1 | +{ |
| 2 | + "$schema": "http://json-schema.org/draft-07/schema#", |
| 3 | + "title": "Tools Catalog", |
| 4 | + "description": "Schema for the awesome-copilot tools catalog (website/data/tools.yml)", |
| 5 | + "type": "object", |
| 6 | + "required": ["tools"], |
| 7 | + "additionalProperties": false, |
| 8 | + "properties": { |
| 9 | + "tools": { |
| 10 | + "type": "array", |
| 11 | + "description": "List of tools in the catalog", |
| 12 | + "minItems": 1, |
| 13 | + "items": { |
| 14 | + "type": "object", |
| 15 | + "required": ["id", "name", "description", "category"], |
| 16 | + "additionalProperties": false, |
| 17 | + "properties": { |
| 18 | + "id": { |
| 19 | + "type": "string", |
| 20 | + "description": "Unique identifier for the tool", |
| 21 | + "pattern": "^[a-z0-9-]+$", |
| 22 | + "minLength": 1, |
| 23 | + "maxLength": 50 |
| 24 | + }, |
| 25 | + "name": { |
| 26 | + "type": "string", |
| 27 | + "description": "Display name for the tool", |
| 28 | + "minLength": 1, |
| 29 | + "maxLength": 100 |
| 30 | + }, |
| 31 | + "description": { |
| 32 | + "type": "string", |
| 33 | + "description": "Description of what this tool does", |
| 34 | + "minLength": 1, |
| 35 | + "maxLength": 1000 |
| 36 | + }, |
| 37 | + "category": { |
| 38 | + "type": "string", |
| 39 | + "description": "Category for grouping tools", |
| 40 | + "minLength": 1, |
| 41 | + "maxLength": 50, |
| 42 | + "examples": ["MCP Servers", "VS Code Extensions", "CLI Tools", "Visual Studio Extensions"] |
| 43 | + }, |
| 44 | + "featured": { |
| 45 | + "type": "boolean", |
| 46 | + "description": "Whether this tool is featured (shown first)", |
| 47 | + "default": false |
| 48 | + }, |
| 49 | + "requirements": { |
| 50 | + "type": "array", |
| 51 | + "description": "List of requirements to use this tool", |
| 52 | + "items": { |
| 53 | + "type": "string", |
| 54 | + "minLength": 1, |
| 55 | + "maxLength": 200 |
| 56 | + }, |
| 57 | + "maxItems": 10 |
| 58 | + }, |
| 59 | + "features": { |
| 60 | + "type": "array", |
| 61 | + "description": "List of key features", |
| 62 | + "items": { |
| 63 | + "type": "string", |
| 64 | + "minLength": 1, |
| 65 | + "maxLength": 200 |
| 66 | + }, |
| 67 | + "maxItems": 20 |
| 68 | + }, |
| 69 | + "links": { |
| 70 | + "type": "object", |
| 71 | + "description": "Links related to this tool", |
| 72 | + "additionalProperties": false, |
| 73 | + "properties": { |
| 74 | + "blog": { |
| 75 | + "type": "string", |
| 76 | + "description": "Link to a blog post about the tool", |
| 77 | + "format": "uri" |
| 78 | + }, |
| 79 | + "documentation": { |
| 80 | + "type": "string", |
| 81 | + "description": "Link to documentation", |
| 82 | + "format": "uri" |
| 83 | + }, |
| 84 | + "github": { |
| 85 | + "type": "string", |
| 86 | + "description": "Link to GitHub repository", |
| 87 | + "format": "uri" |
| 88 | + }, |
| 89 | + "marketplace": { |
| 90 | + "type": "string", |
| 91 | + "description": "Link to VS Code or Visual Studio Marketplace", |
| 92 | + "format": "uri" |
| 93 | + }, |
| 94 | + "npm": { |
| 95 | + "type": "string", |
| 96 | + "description": "Link to npm package", |
| 97 | + "format": "uri" |
| 98 | + }, |
| 99 | + "pypi": { |
| 100 | + "type": "string", |
| 101 | + "description": "Link to PyPI package", |
| 102 | + "format": "uri" |
| 103 | + }, |
| 104 | + "vscode": { |
| 105 | + "type": "string", |
| 106 | + "description": "VS Code install link (vscode: URI or aka.ms link)" |
| 107 | + }, |
| 108 | + "vscode-insiders": { |
| 109 | + "type": "string", |
| 110 | + "description": "VS Code Insiders install link" |
| 111 | + }, |
| 112 | + "visual-studio": { |
| 113 | + "type": "string", |
| 114 | + "description": "Visual Studio install link" |
| 115 | + } |
| 116 | + } |
| 117 | + }, |
| 118 | + "configuration": { |
| 119 | + "type": "object", |
| 120 | + "description": "Configuration snippet for the tool", |
| 121 | + "required": ["type", "content"], |
| 122 | + "additionalProperties": false, |
| 123 | + "properties": { |
| 124 | + "type": { |
| 125 | + "type": "string", |
| 126 | + "description": "Type of configuration (for syntax highlighting)", |
| 127 | + "enum": ["json", "yaml", "bash", "toml", "ini"] |
| 128 | + }, |
| 129 | + "content": { |
| 130 | + "type": "string", |
| 131 | + "description": "The configuration content" |
| 132 | + } |
| 133 | + } |
| 134 | + }, |
| 135 | + "tags": { |
| 136 | + "type": "array", |
| 137 | + "description": "Tags for filtering and discovery", |
| 138 | + "items": { |
| 139 | + "type": "string", |
| 140 | + "pattern": "^[a-z0-9-]+$", |
| 141 | + "minLength": 1, |
| 142 | + "maxLength": 30 |
| 143 | + }, |
| 144 | + "uniqueItems": true, |
| 145 | + "maxItems": 15 |
| 146 | + } |
| 147 | + } |
| 148 | + } |
| 149 | + } |
| 150 | + } |
| 151 | +} |
0 commit comments