You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that schema changes are made to `schema.ts`, and `schema.json` is generated from
38
-
`schema.ts`.
38
+
```bash
39
+
git checkout -b feature/your-feature-name
40
+
```
39
41
40
-
1. Create a new branch:
42
+
## Schema changes
43
+
44
+
Schema changes go in `schema/draft/schema.ts`. To validate your changes, run:
41
45
42
46
```bash
43
-
git checkout -b feature/your-feature-name
47
+
npm run check:schema:ts
44
48
```
45
49
46
-
2. Make your changes.
47
-
48
-
3. Validate schema changes and generate `schema.json`:
50
+
`schema/draft/schema.json` and `docs/specification/draft/schema.mdx` are generated from `schema/draft/schema.ts`; do not edit them directly. To generate them, run:
0 commit comments