https://github.com/labex-labs/schema
LabEx Schema
https://github.com/labex-labs/schema
labex schema
Last synced: 3 months ago
JSON representation
LabEx Schema
- Host: GitHub
- URL: https://github.com/labex-labs/schema
- Owner: labex-labs
- License: mit
- Created: 2025-02-19T05:39:49.000Z (3 months ago)
- Default Branch: master
- Last Pushed: 2025-02-19T06:11:46.000Z (3 months ago)
- Last Synced: 2025-02-19T06:20:05.518Z (3 months ago)
- Topics: labex, schema
- Homepage: https://www.npmjs.com/package/@labex-labs/schema
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# LabEx Schema
[](https://www.jsdelivr.com/package/gh/labex-labs/schema)
This repository contains the JSON Schema definitions for LabEx configuration files. These schemas define the structure and validation rules for lab and course configurations in the LabEx platform.
## index.json
The `index.json` schema defines the structure for individual lab configurations, including:
- Basic lab information (title, description, difficulty)
- Lab steps and verification rules
- Backend configuration
- Internationalization (i18n) support
- Metadata for SEO
- License and contributor information```json
{
"$schema": "https://cdn.jsdelivr.net/gh/labex-labs/schema/index.json"
}
```## course.json
The `course.json` schema defines the structure for course configurations, including:
- Course information (name, description, level)
- Course organization (labs or stages)
- Skill tree association
- Course settings (fee type, ordering, visibility)
- Internationalization (i18n) support
- Metadata for SEO```json
{
"$schema": "https://cdn.jsdelivr.net/gh/labex-labs/schema/course.json"
}
```## Publish to NPM
Update the version in `package.json`, then run the following commands to publish to NPM:
```bash
npm version patch
git push && git push --tags
```