-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Expand file tree
/
Copy pathradar-v1.schema.json
More file actions
117 lines (117 loc) · 3.19 KB
/
Copy pathradar-v1.schema.json
File metadata and controls
117 lines (117 loc) · 3.19 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "FlyPython Project Radar export",
"type": "object",
"additionalProperties": false,
"required": ["$schema", "schema_version", "projects"],
"properties": {
"$schema": {
"const": "./schema/radar-v1.schema.json"
},
"schema_version": {
"const": 1
},
"projects": {
"type": "array",
"minItems": 1,
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"id",
"repo",
"url",
"category",
"status",
"first_seen",
"reviewed_on",
"license",
"evidence",
"ai_familiarity",
"alternatives",
"rationale_en",
"rationale_zh",
"when_not_to_use_en",
"when_not_to_use_zh",
"risk_en",
"risk_zh"
],
"properties": {
"id": {
"type": "string",
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
},
"repo": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$"
},
"url": {
"type": "string",
"format": "uri",
"pattern": "^https://"
},
"category": {
"type": "string",
"enum": [
"tooling-packaging",
"code-quality",
"web-apis",
"ai-agents",
"ai-tools",
"data-pipelines",
"notebooks"
]
},
"status": {
"type": "string",
"enum": [
"new",
"rising",
"stable",
"major-update",
"experimental",
"archived"
]
},
"first_seen": {
"type": "string",
"format": "date"
},
"reviewed_on": {
"type": "string",
"format": "date"
},
"license": {
"type": "string",
"minLength": 1
},
"evidence": {
"type": "object",
"additionalProperties": false,
"required": ["last_release", "release_cadence", "maintenance"],
"properties": {
"last_release": {"type": "string", "minLength": 1},
"release_cadence": {"type": "string", "minLength": 1},
"maintenance": {"type": "string", "minLength": 1}
}
},
"ai_familiarity": {
"type": "string",
"enum": ["low", "medium", "high"]
},
"alternatives": {
"type": "array",
"items": {"type": "string", "minLength": 1},
"uniqueItems": true
},
"rationale_en": {"type": "string", "minLength": 1},
"rationale_zh": {"type": "string", "minLength": 1},
"when_not_to_use_en": {"type": "string", "minLength": 1},
"when_not_to_use_zh": {"type": "string", "minLength": 1},
"risk_en": {"type": "string", "minLength": 1},
"risk_zh": {"type": "string", "minLength": 1}
}
}
}
}
}