-
-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Expand file tree
/
Copy path_schema.json
More file actions
31 lines (31 loc) · 1 KB
/
Copy path_schema.json
File metadata and controls
31 lines (31 loc) · 1 KB
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
26
27
28
29
30
31
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "OmniRoute Caveman Rule Pack",
"type": "object",
"required": ["language", "category", "rules"],
"properties": {
"language": { "type": "string" },
"category": { "type": "string" },
"rules": {
"type": "array",
"items": {
"type": "object",
"required": ["name", "pattern"],
"properties": {
"name": { "type": "string" },
"pattern": { "type": "string" },
"flags": { "type": "string" },
"replacement": { "type": "string" },
"replacementMap": {
"type": "object",
"additionalProperties": { "type": "string" }
},
"context": { "enum": ["all", "user", "system", "assistant"] },
"category": { "enum": ["filler", "context", "structural", "dedup", "terse", "ultra"] },
"minIntensity": { "enum": ["lite", "full", "ultra"] },
"description": { "type": "string" }
}
}
}
}
}