feat: add new JSON schemas for Tibi configuration including fields, hooks, jobs, and permissions
continuous-integration/drone/push Build is passing

- Introduced `field-list.schema.json`, `field-meta.schema.json`, and `field.schema.json` for field configurations.
- Added `hooks.schema.json` for defining hooks in the Tibi project.
- Created `image-filter.schema.json` for image processing configurations.
- Implemented `job.schema.json` for job scheduling configurations.
- Added `openapi.schema.json` for OpenAPI metadata generation.
- Introduced `permissions.schema.json` for managing permissions in the project.
- Created `project.schema.json` for overall project configuration.
- Added `projections.schema.json` for defining projections in the project.
- Implemented a validation script `validate-schemas.mjs` to ensure schema compliance.
This commit is contained in:
2026-07-01 09:21:26 +00:00
parent 4b588d1269
commit 0804c3c3c4
40 changed files with 3911 additions and 3231 deletions
+6 -3
View File
@@ -1,9 +1,12 @@
{
"yaml.customTags": ["!include scalar"],
"yaml.schemas": {
"schemas/api-config/config.json": "demo-api/config.y*ml",
"schemas/api-config/collection.json": "demo-api/collections/*.y*ml",
"schemas/api-config/field.json": "demo-api/collections/fields/*.y*ml"
"schemas/config/project.schema.json": "demo-api/config.y*ml",
"schemas/config/collection.schema.json": "demo-api/collections/*.y*ml",
"schemas/config/field.schema.json": "demo-api/collections/fields/*.y*ml",
"schemas/config/field-list.schema.json": "demo-api/collections/fieldLists/*.y*ml",
"schemas/config/job.schema.json": "demo-api/jobs/*.y*ml",
"schemas/config/asset.schema.json": "demo-api/assets/*.y*ml"
},
"editor.formatOnSave": true,
"editor.tabCompletion": "on",