-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathschema.json
More file actions
58 lines (58 loc) · 2.08 KB
/
Copy pathschema.json
File metadata and controls
58 lines (58 loc) · 2.08 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/5dive-ai/loops/main/schema.json",
"title": "Agentic Loops registry",
"type": "object",
"required": ["version", "loops"],
"properties": {
"version": { "type": "integer" },
"loops": { "type": "array", "items": { "$ref": "#/$defs/loop" } }
},
"$defs": {
"loop": {
"type": "object",
"required": ["slug", "jobTitle", "tagline", "trigger"],
"properties": {
"slug": { "type": "string", "pattern": "^[a-z0-9-]+$" },
"jobTitle": { "type": "string" },
"tagline": { "type": "string" },
"trigger": {
"type": "object",
"properties": {
"type": { "enum": ["schedule", "event"] },
"cron": { "type": "string" },
"event": { "type": "string" },
"label": { "type": "string" }
}
},
"skills": { "type": "array", "items": { "type": "string" } },
"requires": {
"type": "object",
"properties": {
"cli": { "type": "array", "items": { "type": "string" } },
"secrets": { "type": "array", "items": { "type": "string" } },
"mcp": { "type": "array", "items": { "type": "string" } },
"network": { "type": "array", "items": { "type": "string" } }
}
},
"starterPrompt": { "type": "string" },
"tags": { "type": "array", "items": { "type": "string" } },
"tier": { "enum": ["frontier", "standard", "fast"] },
"effort": { "enum": ["low", "medium", "high"] },
"concurrency": { "enum": ["skip", "queue", "replace", "allow"] },
"persona": { "type": "string" },
"source": {
"type": "object",
"description": "Attribution for imported/community loops.",
"properties": {
"repo": { "type": "string" },
"url": { "type": "string" },
"author": { "type": "string" },
"license": { "type": "string" }
}
},
"imported": { "type": "boolean" }
}
}
}
}