Skip to content

Commit 30ad582

Browse files
update schema.json
1 parent 2e57089 commit 30ad582

File tree

1 file changed

+164
-136
lines changed

1 file changed

+164
-136
lines changed

apps/web/public/schema.json

Lines changed: 164 additions & 136 deletions
Original file line numberDiff line numberDiff line change
@@ -1,137 +1,165 @@
11
{
2-
"$schema": "http://json-schema.org/draft-07/schema#",
3-
"$id": "https://better-t-stack.dev/schema.json",
4-
"title": "Better-T-Stack Configuration",
5-
"description": "Configuration file for Better-T-Stack projects",
6-
"type": "object",
7-
"properties": {
8-
"$schema": {
9-
"type": "string",
10-
"description": "JSON Schema reference for validation"
11-
},
12-
"version": {
13-
"type": "string",
14-
"description": "CLI version used to create this project",
15-
"pattern": "^\\d+\\.\\d+\\.\\d+$"
16-
},
17-
"createdAt": {
18-
"type": "string",
19-
"format": "date-time",
20-
"description": "Timestamp when the project was created"
21-
},
22-
"database": {
23-
"type": "string",
24-
"enum": ["none", "sqlite", "postgres", "mysql", "mongodb"],
25-
"description": "Database type"
26-
},
27-
"orm": {
28-
"type": "string",
29-
"enum": ["drizzle", "prisma", "mongoose", "none"],
30-
"description": "ORM type"
31-
},
32-
"backend": {
33-
"type": "string",
34-
"enum": [
35-
"hono",
36-
"express",
37-
"fastify",
38-
"next",
39-
"elysia",
40-
"convex",
41-
"none"
42-
],
43-
"description": "Backend framework"
44-
},
45-
"runtime": {
46-
"type": "string",
47-
"enum": ["bun", "node", "workers", "none"],
48-
"description": "Runtime environment (workers only available with hono backend and drizzle orm)"
49-
},
50-
"frontend": {
51-
"type": "array",
52-
"items": {
53-
"type": "string",
54-
"enum": [
55-
"tanstack-router",
56-
"react-router",
57-
"tanstack-start",
58-
"next",
59-
"nuxt",
60-
"native-nativewind",
61-
"native-unistyles",
62-
"svelte",
63-
"solid",
64-
"none"
65-
]
66-
},
67-
"description": "Frontend framework"
68-
},
69-
"addons": {
70-
"type": "array",
71-
"items": {
72-
"type": "string",
73-
"enum": [
74-
"pwa",
75-
"tauri",
76-
"starlight",
77-
"biome",
78-
"husky",
79-
"turborepo",
80-
"none"
81-
]
82-
},
83-
"description": "Additional addons"
84-
},
85-
"examples": {
86-
"type": "array",
87-
"items": {
88-
"type": "string",
89-
"enum": ["todo", "ai", "none"]
90-
},
91-
"description": "Example templates to include"
92-
},
93-
"auth": {
94-
"type": "boolean",
95-
"description": "Whether authentication is enabled"
96-
},
97-
"packageManager": {
98-
"type": "string",
99-
"enum": ["npm", "pnpm", "bun"],
100-
"description": "Package manager"
101-
},
102-
"dbSetup": {
103-
"type": "string",
104-
"enum": [
105-
"turso",
106-
"neon",
107-
"prisma-postgres",
108-
"mongodb-atlas",
109-
"supabase",
110-
"d1",
111-
"none"
112-
],
113-
"description": "Database hosting setup"
114-
},
115-
"api": {
116-
"type": "string",
117-
"enum": ["trpc", "orpc", "none"],
118-
"description": "API type"
119-
}
120-
},
121-
"required": [
122-
"version",
123-
"createdAt",
124-
"database",
125-
"orm",
126-
"backend",
127-
"runtime",
128-
"frontend",
129-
"addons",
130-
"examples",
131-
"auth",
132-
"packageManager",
133-
"dbSetup",
134-
"api"
135-
],
136-
"additionalProperties": false
137-
}
2+
"$schema": "http://json-schema.org/draft-07/schema#",
3+
"$id": "https://better-t-stack.dev/schema.json",
4+
"title": "Better-T-Stack Configuration",
5+
"description": "Configuration file for Better-T-Stack projects",
6+
"type": "object",
7+
"properties": {
8+
"$schema": {
9+
"type": "string",
10+
"description": "JSON Schema reference for validation"
11+
},
12+
"version": {
13+
"type": "string",
14+
"description": "CLI version used to create this project",
15+
"pattern": "^\\d+\\.\\d+\\.\\d+$"
16+
},
17+
"createdAt": {
18+
"type": "string",
19+
"format": "date-time",
20+
"description": "Timestamp when the project was created"
21+
},
22+
"database": {
23+
"type": "string",
24+
"enum": [
25+
"none",
26+
"sqlite",
27+
"postgres",
28+
"mysql",
29+
"mongodb"
30+
],
31+
"description": "Database type"
32+
},
33+
"orm": {
34+
"type": "string",
35+
"enum": [
36+
"drizzle",
37+
"prisma",
38+
"mongoose",
39+
"none"
40+
],
41+
"description": "ORM type"
42+
},
43+
"backend": {
44+
"type": "string",
45+
"enum": [
46+
"hono",
47+
"express",
48+
"fastify",
49+
"next",
50+
"elysia",
51+
"convex",
52+
"none"
53+
],
54+
"description": "Backend framework"
55+
},
56+
"runtime": {
57+
"type": "string",
58+
"enum": [
59+
"bun",
60+
"node",
61+
"workers",
62+
"none"
63+
],
64+
"description": "Runtime environment (workers only available with hono backend and drizzle orm)"
65+
},
66+
"frontend": {
67+
"type": "array",
68+
"items": {
69+
"type": "string",
70+
"enum": [
71+
"tanstack-router",
72+
"react-router",
73+
"tanstack-start",
74+
"next",
75+
"nuxt",
76+
"native-nativewind",
77+
"native-unistyles",
78+
"svelte",
79+
"solid",
80+
"none"
81+
]
82+
},
83+
"description": "Frontend framework"
84+
},
85+
"addons": {
86+
"type": "array",
87+
"items": {
88+
"type": "string",
89+
"enum": [
90+
"pwa",
91+
"tauri",
92+
"starlight",
93+
"biome",
94+
"husky",
95+
"turborepo",
96+
"none"
97+
]
98+
},
99+
"description": "Additional addons"
100+
},
101+
"examples": {
102+
"type": "array",
103+
"items": {
104+
"type": "string",
105+
"enum": [
106+
"todo",
107+
"ai",
108+
"none"
109+
]
110+
},
111+
"description": "Example templates to include"
112+
},
113+
"auth": {
114+
"type": "boolean",
115+
"description": "Whether authentication is enabled"
116+
},
117+
"packageManager": {
118+
"type": "string",
119+
"enum": [
120+
"npm",
121+
"pnpm",
122+
"bun"
123+
],
124+
"description": "Package manager"
125+
},
126+
"dbSetup": {
127+
"type": "string",
128+
"enum": [
129+
"turso",
130+
"neon",
131+
"prisma-postgres",
132+
"mongodb-atlas",
133+
"supabase",
134+
"d1",
135+
"none"
136+
],
137+
"description": "Database hosting setup"
138+
},
139+
"api": {
140+
"type": "string",
141+
"enum": [
142+
"trpc",
143+
"orpc",
144+
"none"
145+
],
146+
"description": "API type"
147+
}
148+
},
149+
"required": [
150+
"version",
151+
"createdAt",
152+
"database",
153+
"orm",
154+
"backend",
155+
"runtime",
156+
"frontend",
157+
"addons",
158+
"examples",
159+
"auth",
160+
"packageManager",
161+
"dbSetup",
162+
"api"
163+
],
164+
"additionalProperties": false
165+
}

0 commit comments

Comments
 (0)