-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathregistry.schema.json
More file actions
38 lines (38 loc) · 1.26 KB
/
Copy pathregistry.schema.json
File metadata and controls
38 lines (38 loc) · 1.26 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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Module Registry",
"type": "object",
"required": ["name", "version", "modules"],
"properties": {
"name": { "type": "string" },
"version": { "type": "string" },
"description": { "type": "string" },
"modules": {
"type": "array",
"items": {
"type": "object",
"required": ["name", "path", "description", "category"],
"properties": {
"name": { "type": "string" },
"path": { "type": "string", "description": "Relative path to the module folder" },
"description": { "type": "string" },
"category": {
"type": "string",
"enum": ["chat", "auth", "ui", "data", "notification", "other"]
},
"tags": { "type": "array", "items": { "type": "string" } },
"version": { "type": "string" },
"status": {
"type": "string",
"enum": ["draft", "stable", "deprecated"]
},
"orm": {
"type": "string",
"description": "Optional. Which ORM the module's db code uses. Omit if there is no DB code or the module is ORM-agnostic.",
"enum": ["drizzle", "raw-sqlite", "prisma"]
}
}
}
}
}
}