ebade 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,195 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "https://nextai.js/schema/project.intent.json",
4
+ "title": "NextAI Project Intent",
5
+ "description": "Schema for AI Agent-readable project intent files",
6
+ "type": "object",
7
+ "required": ["name", "type", "features"],
8
+ "properties": {
9
+ "name": {
10
+ "type": "string",
11
+ "description": "Project name (kebab-case)",
12
+ "pattern": "^[a-z][a-z0-9-]*$"
13
+ },
14
+ "type": {
15
+ "type": "string",
16
+ "description": "Project type - determines base scaffolding",
17
+ "enum": [
18
+ "landing-page",
19
+ "e-commerce",
20
+ "saas-dashboard",
21
+ "blog",
22
+ "portfolio",
23
+ "api-only"
24
+ ]
25
+ },
26
+ "features": {
27
+ "type": "array",
28
+ "description": "List of features to include",
29
+ "items": {
30
+ "type": "string",
31
+ "enum": [
32
+ "product-catalog",
33
+ "shopping-cart",
34
+ "checkout",
35
+ "user-auth",
36
+ "admin-panel",
37
+ "blog-posts",
38
+ "comments",
39
+ "reviews",
40
+ "search",
41
+ "notifications",
42
+ "analytics",
43
+ "dark-mode",
44
+ "i18n",
45
+ "seo"
46
+ ]
47
+ },
48
+ "minItems": 1
49
+ },
50
+ "pages": {
51
+ "type": "array",
52
+ "description": "Custom page definitions",
53
+ "items": {
54
+ "type": "object",
55
+ "required": ["path", "intent"],
56
+ "properties": {
57
+ "path": {
58
+ "type": "string",
59
+ "description": "URL path"
60
+ },
61
+ "intent": {
62
+ "type": "string",
63
+ "description": "Page purpose/intent"
64
+ },
65
+ "auth": {
66
+ "type": "string",
67
+ "enum": ["public", "required", "optional"],
68
+ "default": "public"
69
+ },
70
+ "components": {
71
+ "type": "array",
72
+ "items": { "type": "string" }
73
+ }
74
+ }
75
+ }
76
+ },
77
+ "design": {
78
+ "type": "object",
79
+ "description": "Design system configuration",
80
+ "properties": {
81
+ "style": {
82
+ "type": "string",
83
+ "enum": [
84
+ "minimal-modern",
85
+ "bold-vibrant",
86
+ "corporate-clean",
87
+ "playful-rounded",
88
+ "dark-premium",
89
+ "glassmorphism"
90
+ ]
91
+ },
92
+ "colors": {
93
+ "type": "object",
94
+ "properties": {
95
+ "primary": { "type": "string", "pattern": "^#[0-9a-fA-F]{6}$" },
96
+ "secondary": { "type": "string", "pattern": "^#[0-9a-fA-F]{6}$" },
97
+ "accent": { "type": "string", "pattern": "^#[0-9a-fA-F]{6}$" }
98
+ }
99
+ },
100
+ "font": {
101
+ "type": "string",
102
+ "description": "Primary font family (Google Fonts)"
103
+ },
104
+ "borderRadius": {
105
+ "type": "string",
106
+ "enum": ["none", "sm", "md", "lg", "full"]
107
+ }
108
+ }
109
+ },
110
+ "integrations": {
111
+ "type": "object",
112
+ "description": "Third-party integrations",
113
+ "properties": {
114
+ "database": {
115
+ "type": "string",
116
+ "enum": ["supabase", "firebase", "planetscale", "mongodb", "none"]
117
+ },
118
+ "auth": {
119
+ "type": "string",
120
+ "enum": [
121
+ "clerk",
122
+ "nextauth",
123
+ "supabase-auth",
124
+ "firebase-auth",
125
+ "none"
126
+ ]
127
+ },
128
+ "payments": {
129
+ "type": "string",
130
+ "enum": ["stripe", "lemonsqueezy", "paddle", "none"]
131
+ },
132
+ "analytics": {
133
+ "type": "string",
134
+ "enum": ["vercel", "plausible", "google", "none"]
135
+ },
136
+ "email": {
137
+ "type": "string",
138
+ "enum": ["resend", "sendgrid", "mailgun", "none"]
139
+ }
140
+ }
141
+ },
142
+ "api": {
143
+ "type": "array",
144
+ "description": "API endpoint definitions",
145
+ "items": {
146
+ "type": "object",
147
+ "required": ["path", "methods"],
148
+ "properties": {
149
+ "path": {
150
+ "type": "string",
151
+ "description": "API endpoint path"
152
+ },
153
+ "methods": {
154
+ "type": "array",
155
+ "items": {
156
+ "type": "string",
157
+ "enum": ["GET", "POST", "PUT", "PATCH", "DELETE"]
158
+ }
159
+ },
160
+ "auth": {
161
+ "type": "string",
162
+ "enum": ["none", "required", "optional"]
163
+ },
164
+ "description": {
165
+ "type": "string"
166
+ }
167
+ }
168
+ }
169
+ },
170
+ "data": {
171
+ "type": "object",
172
+ "description": "Data models/entities",
173
+ "additionalProperties": {
174
+ "type": "object",
175
+ "properties": {
176
+ "fields": {
177
+ "type": "object",
178
+ "additionalProperties": {
179
+ "type": "object",
180
+ "properties": {
181
+ "type": { "type": "string" },
182
+ "required": { "type": "boolean" },
183
+ "unique": { "type": "boolean" }
184
+ }
185
+ }
186
+ },
187
+ "relations": {
188
+ "type": "array",
189
+ "items": { "type": "string" }
190
+ }
191
+ }
192
+ }
193
+ }
194
+ }
195
+ }