-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathschema.json
More file actions
25 lines (25 loc) · 803 Bytes
/
schema.json
File metadata and controls
25 lines (25 loc) · 803 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "OpenCode Allowlist Configuration",
"description": "Configuration for allowed directories in OpenCode allowlist plugin",
"type": "object",
"properties": {
"$schema": {
"type": "string",
"description": "JSON Schema reference"
},
"allowedDirectories": {
"type": "array",
"description": "List of absolute directory paths that should be auto-allowed for file access",
"items": {
"type": "string",
"pattern": "^/",
"description": "Absolute path to an allowed directory"
},
"uniqueItems": true,
"examples": [["/Users/username/dev/projects", "/opt/shared/libraries"]]
}
},
"required": ["allowedDirectories"],
"additionalProperties": false
}