-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathschema.json
More file actions
76 lines (76 loc) · 2.17 KB
/
Copy pathschema.json
File metadata and controls
76 lines (76 loc) · 2.17 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "rolecraft Registry Index",
"type": "object",
"required": ["skills", "updated"],
"properties": {
"$schema": {
"type": "string"
},
"updated": {
"type": "string",
"format": "date-time",
"description": "Last update timestamp (ISO 8601)"
},
"skills": {
"type": "array",
"description": "List of published skills",
"items": {
"type": "object",
"required": ["slug", "name", "repo", "author", "latest"],
"properties": {
"slug": {
"type": "string",
"pattern": "^[a-z0-9]+(-[a-z0-9]+)*$",
"description": "Unique skill identifier (kebab-case)"
},
"name": {
"type": "string",
"minLength": 2,
"description": "Human-readable skill name"
},
"description": {
"type": "string",
"description": "Short description of the skill"
},
"repo": {
"type": "string",
"pattern": "^[\\w.-]+/[\\w.-]+$",
"description": "GitHub repository (owner/repo)"
},
"author": {
"type": "string",
"description": "GitHub username of the publisher"
},
"versions": {
"type": "array",
"items": {
"type": "string",
"pattern": "^v?\\d+\\.\\d+\\.\\d+$"
},
"description": "Published versions (semver)"
},
"latest": {
"type": "string",
"pattern": "^v?\\d+\\.\\d+\\.\\d+$",
"description": "Latest published version"
},
"category": {
"type": "string",
"description": "Skill category (e.g. testing, development, frontend, security)"
},
"installs": {
"type": "integer",
"minimum": 0,
"description": "Approximate install count"
},
"stars": {
"type": "integer",
"minimum": 0,
"description": "GitHub stargazers count"
}
}
}
}
}
}